diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-usb')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-usb | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index b6fbe514a86..294aa864a60 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb | |||
@@ -119,42 +119,6 @@ Description: | |||
119 | Write a 1 to force the device to disconnect | 119 | Write a 1 to force the device to disconnect |
120 | (equivalent to unplugging a wired USB device). | 120 | (equivalent to unplugging a wired USB device). |
121 | 121 | ||
122 | What: /sys/bus/usb/drivers/.../new_id | ||
123 | Date: October 2011 | ||
124 | Contact: linux-usb@vger.kernel.org | ||
125 | Description: | ||
126 | Writing a device ID to this file will attempt to | ||
127 | dynamically add a new device ID to a USB device driver. | ||
128 | This may allow the driver to support more hardware than | ||
129 | was included in the driver's static device ID support | ||
130 | table at compile time. The format for the device ID is: | ||
131 | idVendor idProduct bInterfaceClass. | ||
132 | The vendor ID and device ID fields are required, the | ||
133 | interface class is optional. | ||
134 | Upon successfully adding an ID, the driver will probe | ||
135 | for the device and attempt to bind to it. For example: | ||
136 | # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id | ||
137 | |||
138 | Reading from this file will list all dynamically added | ||
139 | device IDs in the same format, with one entry per | ||
140 | line. For example: | ||
141 | # cat /sys/bus/usb/drivers/foo/new_id | ||
142 | 8086 10f5 | ||
143 | dead beef 06 | ||
144 | f00d cafe | ||
145 | |||
146 | The list will be truncated at PAGE_SIZE bytes due to | ||
147 | sysfs restrictions. | ||
148 | |||
149 | What: /sys/bus/usb-serial/drivers/.../new_id | ||
150 | Date: October 2011 | ||
151 | Contact: linux-usb@vger.kernel.org | ||
152 | Description: | ||
153 | For serial USB drivers, this attribute appears under the | ||
154 | extra bus folder "usb-serial" in sysfs; apart from that | ||
155 | difference, all descriptions from the entry | ||
156 | "/sys/bus/usb/drivers/.../new_id" apply. | ||
157 | |||
158 | What: /sys/bus/usb/drivers/.../remove_id | 122 | What: /sys/bus/usb/drivers/.../remove_id |
159 | Date: November 2009 | 123 | Date: November 2009 |
160 | Contact: CHENG Renquan <rqcheng@smu.edu.sg> | 124 | Contact: CHENG Renquan <rqcheng@smu.edu.sg> |
@@ -168,10 +132,6 @@ Description: | |||
168 | match the driver to the device. For example: | 132 | match the driver to the device. For example: |
169 | # echo "046d c315" > /sys/bus/usb/drivers/foo/remove_id | 133 | # echo "046d c315" > /sys/bus/usb/drivers/foo/remove_id |
170 | 134 | ||
171 | Reading from this file will list the dynamically added | ||
172 | device IDs, exactly like reading from the entry | ||
173 | "/sys/bus/usb/drivers/.../new_id" | ||
174 | |||
175 | What: /sys/bus/usb/device/.../avoid_reset_quirk | 135 | What: /sys/bus/usb/device/.../avoid_reset_quirk |
176 | Date: December 2009 | 136 | Date: December 2009 |
177 | Contact: Oliver Neukum <oliver@neukum.org> | 137 | Contact: Oliver Neukum <oliver@neukum.org> |
@@ -182,48 +142,3 @@ Description: | |||
182 | such devices. | 142 | such devices. |
183 | Users: | 143 | Users: |
184 | usb_modeswitch | 144 | usb_modeswitch |
185 | |||
186 | What: /sys/bus/usb/devices/.../power/usb2_hardware_lpm | ||
187 | Date: September 2011 | ||
188 | Contact: Andiry Xu <andiry.xu@amd.com> | ||
189 | Description: | ||
190 | If CONFIG_USB_SUSPEND is set and a USB 2.0 lpm-capable device | ||
191 | is plugged in to a xHCI host which support link PM, it will | ||
192 | perform a LPM test; if the test is passed and host supports | ||
193 | USB2 hardware LPM (xHCI 1.0 feature), USB2 hardware LPM will | ||
194 | be enabled for the device and the USB device directory will | ||
195 | contain a file named power/usb2_hardware_lpm. The file holds | ||
196 | a string value (enable or disable) indicating whether or not | ||
197 | USB2 hardware LPM is enabled for the device. Developer can | ||
198 | write y/Y/1 or n/N/0 to the file to enable/disable the | ||
199 | feature. | ||
200 | |||
201 | What: /sys/bus/usb/devices/.../removable | ||
202 | Date: February 2012 | ||
203 | Contact: Matthew Garrett <mjg@redhat.com> | ||
204 | Description: | ||
205 | Some information about whether a given USB device is | ||
206 | physically fixed to the platform can be inferred from a | ||
207 | combination of hub descriptor bits and platform-specific data | ||
208 | such as ACPI. This file will read either "removable" or | ||
209 | "fixed" if the information is available, and "unknown" | ||
210 | otherwise. | ||
211 | |||
212 | What: /sys/bus/usb/devices/.../ltm_capable | ||
213 | Date: July 2012 | ||
214 | Contact: Sarah Sharp <sarah.a.sharp@linux.intel.com> | ||
215 | Description: | ||
216 | USB 3.0 devices may optionally support Latency Tolerance | ||
217 | Messaging (LTM). They indicate their support by setting a bit | ||
218 | in the bmAttributes field of their SuperSpeed BOS descriptors. | ||
219 | If that bit is set for the device, ltm_capable will read "yes". | ||
220 | If the device doesn't support LTM, the file will read "no". | ||
221 | The file will be present for all speeds of USB devices, and will | ||
222 | always read "no" for USB 1.1 and USB 2.0 devices. | ||
223 | |||
224 | What: /sys/bus/usb/devices/.../(hub interface)/portX | ||
225 | Date: August 2012 | ||
226 | Contact: Lan Tianyu <tianyu.lan@intel.com> | ||
227 | Description: | ||
228 | The /sys/bus/usb/devices/.../(hub interface)/portX | ||
229 | is usb port device's sysfs directory. | ||