Revert "usb : Add sysfs files to control port power."
This reverts commit ca9c9d0c92
.
Rafael wants more time to work on the user api to handle port power
issues, so let's just revert the sysfs changes for now.
Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Lan Tianyu <tianyu.lan@intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
这个提交包含在:
@@ -227,27 +227,3 @@ Contact: Lan Tianyu <tianyu.lan@intel.com>
|
||||
Description:
|
||||
The /sys/bus/usb/devices/.../(hub interface)/portX
|
||||
is usb port device's sysfs directory.
|
||||
|
||||
What: /sys/bus/usb/devices/.../(hub interface)/portX/control
|
||||
Date: August 2012
|
||||
Contact: Lan Tianyu <tianyu.lan@intel.com>
|
||||
Description:
|
||||
The /sys/bus/usb/devices/.../(hub interface)/portX/control
|
||||
attribute allows user space to control the power policy on
|
||||
the usb port.
|
||||
|
||||
All ports have one of the following two values for control
|
||||
"on" - port power must be on.
|
||||
"off" - port power must be off.
|
||||
|
||||
What: /sys/bus/usb/devices/.../(hub interface)/portX/state
|
||||
Date: August 2012
|
||||
Contact: Lan Tianyu <tianyu.lan@intel.com>
|
||||
Description:
|
||||
The /sys/bus/usb/devices/.../(hub interface)/portX/state
|
||||
attribute allows user space to check hub port's power state.
|
||||
|
||||
All ports have three following states
|
||||
"on" - port power on
|
||||
"off" - port power off
|
||||
"error" - can't get the hub port's power state
|
||||
|
在新工单中引用
屏蔽一个用户