diff options
Diffstat (limited to 'Documentation/usb')
-rw-r--r-- | Documentation/usb/ehci.txt | 2 | ||||
-rw-r--r-- | Documentation/usb/gadget_hid.txt | 6 | ||||
-rw-r--r-- | Documentation/usb/usbmon.txt | 14 |
3 files changed, 14 insertions, 8 deletions
diff --git a/Documentation/usb/ehci.txt b/Documentation/usb/ehci.txt index 9dcafa7d930..160bd6c3ab7 100644 --- a/Documentation/usb/ehci.txt +++ b/Documentation/usb/ehci.txt | |||
@@ -210,3 +210,5 @@ TBD: Interrupt and ISO transfer performance issues. Those periodic | |||
210 | transfers are fully scheduled, so the main issue is likely to be how | 210 | transfers are fully scheduled, so the main issue is likely to be how |
211 | to trigger "high bandwidth" modes. | 211 | to trigger "high bandwidth" modes. |
212 | 212 | ||
213 | TBD: More than standard 80% periodic bandwidth allocation is possible | ||
214 | through sysfs uframe_periodic_max parameter. Describe that. | ||
diff --git a/Documentation/usb/gadget_hid.txt b/Documentation/usb/gadget_hid.txt index f4a51f56742..12696c2e43f 100644 --- a/Documentation/usb/gadget_hid.txt +++ b/Documentation/usb/gadget_hid.txt | |||
@@ -81,8 +81,8 @@ Send and receive HID reports | |||
81 | to do this. | 81 | to do this. |
82 | 82 | ||
83 | hid_gadget_test is a small interactive program to test the HID | 83 | hid_gadget_test is a small interactive program to test the HID |
84 | gadget driver. To use, point it at a hidg device and set the | 84 | gadget driver. To use, point it at a hidg device and set the |
85 | device type (keyboard / mouse / joystick) - E.G.: | 85 | device type (keyboard / mouse / joystick) - E.G.: |
86 | 86 | ||
87 | # hid_gadget_test /dev/hidg0 keyboard | 87 | # hid_gadget_test /dev/hidg0 keyboard |
88 | 88 | ||
@@ -97,7 +97,7 @@ Send and receive HID reports | |||
97 | HID gadget. | 97 | HID gadget. |
98 | 98 | ||
99 | Another interesting example is the caps lock test. Type | 99 | Another interesting example is the caps lock test. Type |
100 | -–caps-lock and hit return. A report is then sent by the | 100 | --caps-lock and hit return. A report is then sent by the |
101 | gadget and you should receive the host answer, corresponding | 101 | gadget and you should receive the host answer, corresponding |
102 | to the caps lock LED status. | 102 | to the caps lock LED status. |
103 | 103 | ||
diff --git a/Documentation/usb/usbmon.txt b/Documentation/usb/usbmon.txt index a4efa0462f0..5335fa8b06e 100644 --- a/Documentation/usb/usbmon.txt +++ b/Documentation/usb/usbmon.txt | |||
@@ -47,10 +47,11 @@ This allows to filter away annoying devices that talk continuously. | |||
47 | 47 | ||
48 | 2. Find which bus connects to the desired device | 48 | 2. Find which bus connects to the desired device |
49 | 49 | ||
50 | Run "cat /proc/bus/usb/devices", and find the T-line which corresponds to | 50 | Run "cat /sys/kernel/debug/usb/devices", and find the T-line which corresponds |
51 | the device. Usually you do it by looking for the vendor string. If you have | 51 | to the device. Usually you do it by looking for the vendor string. If you have |
52 | many similar devices, unplug one and compare two /proc/bus/usb/devices outputs. | 52 | many similar devices, unplug one and compare the two |
53 | The T-line will have a bus number. Example: | 53 | /sys/kernel/debug/usb/devices outputs. The T-line will have a bus number. |
54 | Example: | ||
54 | 55 | ||
55 | T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 | 56 | T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 |
56 | D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 | 57 | D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 |
@@ -58,7 +59,10 @@ P: Vendor=0557 ProdID=2004 Rev= 1.00 | |||
58 | S: Manufacturer=ATEN | 59 | S: Manufacturer=ATEN |
59 | S: Product=UC100KM V2.00 | 60 | S: Product=UC100KM V2.00 |
60 | 61 | ||
61 | Bus=03 means it's bus 3. | 62 | "Bus=03" means it's bus 3. Alternatively, you can look at the output from |
63 | "lsusb" and get the bus number from the appropriate line. Example: | ||
64 | |||
65 | Bus 003 Device 002: ID 0557:2004 ATEN UC100KM V2.00 | ||
62 | 66 | ||
63 | 3. Start 'cat' | 67 | 3. Start 'cat' |
64 | 68 | ||