updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / usbreset / usbreset.pod
blob2bc0b9d81a9b0be0ae37616487df6a4337c6c31b
1 =head1 NAME
3 usbreset - Resets a USB device
5 =head1 SYNOPSIS
7 usbreset device-filename
9 =head1 DESCRIPTION
11 USB devices might need to be reset without being unplugged: this is what usbreset does.
13 B<device-filename>      Path to the USB device, which is /proc/bus/usb/BBB/DDD where BBB is the bus number and DDD the device number.
15 =head1 EXAMPLE
17 Finding the bus and device numbers of a plugged USB device and resetting it:
19         $ lsusb
20         ...
21         Bus 001 Device 004: ID xxxx:xxxx Device description
22         ...
23         $ usbreset /proc/bus/usb/001/004
24         Resetting USB device /proc/bus/usb/001/004
25         Reset successful
27 =head1 REMARKS
29 If the /proc/bus/usb directory is empty, you need to mount the usbfs in there:
31         $ mount -t usbfs none /proc/bus/usb
33 =head1 AUTHORS
35 usbreset was made by Alan Stern and this man page was written by Joan Rieu.