aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-usb31
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
224What: /sys/bus/usb/devices/.../(hub interface)/portX
225Date: August 2012
226Contact: Lan Tianyu <tianyu.lan@intel.com>
227Description:
228 The /sys/bus/usb/devices/.../(hub interface)/portX
229 is usb port device's sysfs directory.
230
231What: /sys/bus/usb/devices/.../(hub interface)/portX/control
232Date: August 2012
233Contact: Lan Tianyu <tianyu.lan@intel.com>
234Description:
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
243What: /sys/bus/usb/devices/.../(hub interface)/portX/state
244Date: August 2012
245Contact: Lan Tianyu <tianyu.lan@intel.com>
246Description:
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