Re: [patch 2/2] support for UHCI suspend / remote wake up

2010-12-01 Thread Gerd Hoffmann
I was seeing bus disconnects when not clearing port resume bit properly. port->ctrl&= ~(val& 0x000a); +port->ctrl&= ~(port->ctrl& 0x0040); /* clear port resume detected */ } This chunk looks suspicious ... I suspect the port suspend/resume emulation is

Re: [patch 2/2] support for UHCI suspend / remote wake up

2010-12-01 Thread Marcelo Tosatti
On Wed, Dec 01, 2010 at 04:12:14PM +0100, Gerd Hoffmann wrote: > On 11/25/10 18:04, Marcelo Tosatti wrote: > >This patch enables USB UHCI global suspend/resume feature. The OS will > >stop the HC once all ports are suspended. If there is activity on the > >port(s), an interrupt signalling remote wa

Re: [patch 2/2] support for UHCI suspend / remote wake up

2010-12-01 Thread Gerd Hoffmann
On 11/25/10 18:04, Marcelo Tosatti wrote: This patch enables USB UHCI global suspend/resume feature. The OS will stop the HC once all ports are suspended. If there is activity on the port(s), an interrupt signalling remote wakeup will be triggered. To enable autosuspend for the USB tablet on Lin