diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-01-15 08:35:28 +0100 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2012-01-15 08:35:28 +0100 |
commit | 6528209ba2c94f3a0ef946b7d808d9a15b30ec50 (patch) | |
tree | c3c1b8bcf8ae19f411c53c2f199f923742bcc256 /Documentation/usb/usbmon.txt | |
parent | a056fb3687c40b8a1123de1586f491285cb5fb1f (diff) | |
parent | f2ab2a127d480ee20caf8620440ccf13c014447a (diff) |
Merge remote branch 'stable/linux-2.6.32.y' into 2.6.32-mantismedia/2.6.32-mantis
Diffstat (limited to 'Documentation/usb/usbmon.txt')
-rw-r--r-- | Documentation/usb/usbmon.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Documentation/usb/usbmon.txt b/Documentation/usb/usbmon.txt index 66f92d1194c..40818fffe9d 100644 --- a/Documentation/usb/usbmon.txt +++ b/Documentation/usb/usbmon.txt @@ -43,10 +43,11 @@ This allows to filter away annoying devices that talk continuously. 2. Find which bus connects to the desired device -Run "cat /proc/bus/usb/devices", and find the T-line which corresponds to -the device. Usually you do it by looking for the vendor string. If you have -many similar devices, unplug one and compare two /proc/bus/usb/devices outputs. -The T-line will have a bus number. Example: +Run "cat /sys/kernel/debug/usb/devices", and find the T-line which corresponds +to the device. Usually you do it by looking for the vendor string. If you have +many similar devices, unplug one and compare the two +/sys/kernel/debug/usb/devices outputs. The T-line will have a bus number. +Example: T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 @@ -54,7 +55,10 @@ P: Vendor=0557 ProdID=2004 Rev= 1.00 S: Manufacturer=ATEN S: Product=UC100KM V2.00 -Bus=03 means it's bus 3. +"Bus=03" means it's bus 3. Alternatively, you can look at the output from +"lsusb" and get the bus number from the appropriate line. Example: + +Bus 003 Device 002: ID 0557:2004 ATEN UC100KM V2.00 3. Start 'cat' |