Re: xHCI immediately wakes up Asus P8Z68-V LX in S5

2012-12-20 Thread lantianyu
于 2012/12/16 8:37, Ben Hutchings 写道: 'echo disabled /sys/bus/pci/devices/:04:00.0/power/wakeup' does *not* work around this. This is strange. Normally, If disable the xhci's wakeup, the xhci's gpe would not be opened and so xhci couldn't wakeup the system. Can you attach the output of

Re: [PATCH 08/10] usb: add usb port auto power off mechanism

2012-12-19 Thread lantianyu
于 2012/12/18 23:58, Alan Stern 写道: On Tue, 18 Dec 2012, lantianyu wrote: What you want here is sort of an alternate debounce routine. The normal routine waits until the connect status has been stable for 100 ms. But you want to wait until the status has stable in the connected state for 100

Re: Bug#677472: [3.1-3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-12-19 Thread lantianyu
于 2012/12/18 4:06, Alan Stern 写道: On Mon, 17 Dec 2012, Octavio Alvarez wrote: On Thu, 13 Dec 2012 00:45:05 -0800, Lan Tianyu tianyu@intel.com wrote: diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index f034716..9335f1b 100644 --- a/drivers/usb/core/hcd.c +++

Re: [PATCH 08/10] usb: add usb port auto power off mechanism

2012-12-18 Thread lantianyu
于 2012/12/17 0:25, Alan Stern 写道: On Sun, 16 Dec 2012, Lan Tianyu wrote: On 2012/12/14 23:44, Alan Stern wrote: On Fri, 14 Dec 2012, Lan Tianyu wrote: Hi Alan: debounce is still needed. If connect status was not stable, resume operation will fail. So how about following? Actually,