linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] USB/ACPI: Add usb port power off mechanism
@ 2012-06-11  2:24 Lan Tianyu
       [not found] ` <1339381474-17413-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Lan Tianyu @ 2012-06-11  2:24 UTC (permalink / raw)
  To: gregkh, lenb, sarah.a.sharp; +Cc: linux-usb, linux-acpi, stern

"portX/control" has two options
"on" - port power must be on.
"off" - port power must be off.

"portX/state" reports usb port's power state
"on" - power on
"off" - power off
"error" - can't get power state

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

This patchset is based on my previous patchset.
[PATCH V3 1/4] usb: add struct usb_hub_port to store
[PATCH V3 2/4] usb: move struct usb_device->children
[PATCH V3 3/4] usb/acpi: add the support of usb hub
[PATCH V3 4/4] usb/acpi: add usb check for the connection

git diff --stat
Documentation/ABI/testing/sysfs-bus-usb |   33 ++++++++++++++++++++++++++++++++
drivers/usb/core/hub.c                  |  168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
drivers/usb/core/usb-acpi.c             |   28 ++++++++++++++++++++++++++++
drivers/usb/host/xhci-hub.c             |   14 ++++++++++++++
include/linux/usb.h                     |   10 ++++++++++
5 files changed, 252 insertions(+), 1 deletion(-)

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

end of thread, other threads:[~2012-06-15  7:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11  2:24 [PATCH 0/3] USB/ACPI: Add usb port power off mechanism Lan Tianyu
     [not found] ` <1339381474-17413-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-06-11  2:24   ` [PATCH 1/3] xhci: Add clear PORT_POWER feature process in the xhci_hub_control() Lan Tianyu
2012-06-11  2:24 ` [PATCH 2/3] USB/ACPI: Add usb port's acpi power control in the xhci PORT_POWER feature request process Lan Tianyu
2012-06-13 19:30   ` Greg KH
2012-06-13 20:53     ` Sarah Sharp
2012-06-13 21:00       ` Greg KH
     [not found]     ` <20120613193038.GA6312-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-06-13 21:10       ` Alan Stern
2012-06-13 21:35         ` Sarah Sharp
2012-06-14  7:22       ` Lan Tianyu
2012-06-14 15:44         ` Greg KH
2012-06-15  7:05           ` Lan Tianyu
2012-06-11  2:24 ` [PATCH 3/3] usb : Add sysfs files to control usb port's power Lan Tianyu
2012-06-11 14:12   ` Alan Stern
     [not found]   ` <1339381474-17413-4-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-06-13 19:33     ` Greg KH
     [not found]       ` <20120613193323.GB6312-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-06-13 21:15         ` Alan Stern
2012-06-13 21:46           ` Greg KH
2012-06-14 13:57             ` Alan Stern
2012-06-14 14:35               ` Greg KH

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).