diff options
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-usb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index 5f75f8f7df3..13f3eeee159 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb | |||
@@ -220,3 +220,34 @@ Description: | |||
220 | If the device doesn't support LTM, the file will read "no". | 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 | 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. | 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. | ||
230 | |||
231 | What: /sys/bus/usb/devices/.../(hub interface)/portX/control | ||
232 | Date: August 2012 | ||
233 | Contact: Lan Tianyu <tianyu.lan@intel.com> | ||
234 | Description: | ||
235 | The /sys/bus/usb/devices/.../(hub interface)/portX/control | ||
236 | attribute allows user space to control the power policy on | ||
237 | the usb port. | ||
238 | |||
239 | All ports have one of the following two values for control | ||
240 | "on" - port power must be on. | ||
241 | "off" - port power must be off. | ||
242 | |||
243 | What: /sys/bus/usb/devices/.../(hub interface)/portX/state | ||
244 | Date: August 2012 | ||
245 | Contact: Lan Tianyu <tianyu.lan@intel.com> | ||
246 | Description: | ||
247 | The /sys/bus/usb/devices/.../(hub interface)/portX/state | ||
248 | attribute allows user space to check hub port's power state. | ||
249 | |||
250 | All ports have three following states | ||
251 | "on" - port power on | ||
252 | "off" - port power off | ||
253 | "error" - can't get the hub port's power state | ||