linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] USB/ACPI: Add usb port power off mechanism
@ 2012-05-25  5:47 Lan Tianyu
       [not found] ` <1337924882-17332-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  2012-05-25  5:48 ` [RFC PATCH 3/3] usb : Add sysfs files to control usb port's power Lan Tianyu
  0 siblings, 2 replies; 9+ messages in thread
From: Lan Tianyu @ 2012-05-25  5:47 UTC (permalink / raw)
  To: gregkh, lenb; +Cc: linux-usb, linux-acpi, stern, sarah.a.sharp

portx_power_control has three options. "auto", "on" and "off"
"auto" - if port without device, power off the port.
"on" - port must be power on.
"off" - port must be power off

portx_power_state can be used to determine ports's power state.

[RFC PATCH 1/3] xhci: Add clear PORT_POWER feature process in the
[RFC PATCH 2/3] USB/ACPI: Add usb port's acpi power control in the
[RFC PATCH 3/3] usb : Add sysfs files to control usb port's power

 git diff --stat 
 drivers/usb/core/hub.c      |   38 ++++++++++
 drivers/usb/core/sysfs.c    |  167 ++++++++++++++++++++++++++++++++++++++++++-
 drivers/usb/core/usb-acpi.c |   28 +++++++
 drivers/usb/core/usb.c      |    2 +
 drivers/usb/core/usb.h      |    6 ++
 drivers/usb/host/xhci-hub.c |   15 ++++
 include/linux/usb.h         |   22 ++++++
 7 files changed, 275 insertions(+), 3 deletions(-)




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-05-28 15:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-25  5:47 [RFC PATCH 0/3] USB/ACPI: Add usb port power off mechanism Lan Tianyu
     [not found] ` <1337924882-17332-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-05-25  5:48   ` [RFC PATCH 1/3] xhci: Add clear PORT_POWER feature process in the xhci_hub_control() Lan Tianyu
2012-05-28 10:28     ` Andiry Xu
2012-05-28  5:54       ` Lan Tianyu
2012-05-25  5:48   ` [RFC PATCH 2/3] USB/ACPI: Add usb port's acpi power control in the xhci PORT_POWER feature request process Lan Tianyu
2012-05-25  5:48 ` [RFC PATCH 3/3] usb : Add sysfs files to control usb port's power Lan Tianyu
2012-05-25 15:41   ` Alan Stern
2012-05-28  5:35     ` Lan Tianyu
2012-05-28 15:14       ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).