Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-14 Thread Alan Stern
On Thu, 14 Jun 2007, Rafael J. Wysocki wrote: > > Hmmm... If you turn on CONFIG_USB_DEBUG, what shows up in > > /sys/class/usb_host/usb_hostN/registers where N is the bus number of > > the controller? > > bus pci, device :00:1d.7 (driver 10 Dec 2004) > EHCI Host Controller > EHCI 1.00, hcd

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-13 Thread Rafael J. Wysocki
On Monday, 11 June 2007 22:10, Alan Stern wrote: > On Mon, 11 Jun 2007, Rafael J. Wysocki wrote: > > > > At that point, does "lspci -vv" show that the controller is trying to > > > signal a wakeup event? That is, is the PME# signal asserted? > > > > > > (Not that knowing this will help very muc

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-11 Thread Alan Stern
On Mon, 11 Jun 2007, Rafael J. Wysocki wrote: > > At that point, does "lspci -vv" show that the controller is trying to > > signal a wakeup event? That is, is the PME# signal asserted? > > > > (Not that knowing this will help very much -- I'm not sure what we > > could do with that information

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-11 Thread Rafael J. Wysocki
On Saturday, 9 June 2007 23:26, Alan Stern wrote: > On Sat, 9 Jun 2007, Rafael J. Wysocki wrote: > > > > You can try using the patch below to see what happens when you manually > > > suspend the controller. It enables PCI devices to respond to the > > > legacy power/state attribute. You should l

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-09 Thread Alan Stern
On Sat, 9 Jun 2007, Rafael J. Wysocki wrote: > > You can try using the patch below to see what happens when you manually > > suspend the controller. It enables PCI devices to respond to the > > legacy power/state attribute. You should look at what "lspci -vv" says > > about the controller's powe

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-09 Thread Rafael J. Wysocki
On Sunday, 3 June 2007 17:31, Alan Stern wrote: > On Sun, 3 Jun 2007, Rafael J. Wysocki wrote: > > > Hi, > > > > One of my test boxes suspends to RAM just fine except that if ehci_hcd is > > loaded before the suspend, the box resumes immediately after going to sleep. > > Evidently the hardware t

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-03 Thread Rafael J. Wysocki
On Sunday, 3 June 2007 17:31, Alan Stern wrote: > On Sun, 3 Jun 2007, Rafael J. Wysocki wrote: > > > Hi, > > > > One of my test boxes suspends to RAM just fine except that if ehci_hcd is > > loaded before the suspend, the box resumes immediately after going to sleep. > > Evidently the hardware t

Re: [linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-03 Thread Alan Stern
On Sun, 3 Jun 2007, Rafael J. Wysocki wrote: > Hi, > > One of my test boxes suspends to RAM just fine except that if ehci_hcd is > loaded before the suspend, the box resumes immediately after going to sleep. Evidently the hardware thinks a wakeup event has occurred. It is possible to disable r

[linux-usb-devel] ehci_hcd causes box to resume immediately after suspend to RAM

2007-06-03 Thread Rafael J. Wysocki
Hi, One of my test boxes suspends to RAM just fine except that if ehci_hcd is loaded before the suspend, the box resumes immediately after going to sleep. Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth