Re: [linux-pm] [PATCH 0/4] Fix forcedeth hibernate/wake-on-lanproblems

From: Alan Stern
Date: Tue Jun 03 2008 - 16:06:37 EST


On Tue, 3 Jun 2008, Tobias Diedrich wrote:

> > So for some reason your EHCI controller thinks a wakeup event is
> > pending. This means you should examine the contents of the "registers"
> > file in the debugfs directory for the EHCI controller, not OHCI.
>
> melchior:/mnt/ehci/0000:00:02.1# cat registers
> bus pci, device 0000:00:02.1 (driver 10 Dec 2004)
> EHCI Host Controller
> EHCI 1.00, hcd state 1
> ownership 00000001
> SMI sts/enable 0xc0080000
> structural params 0x00101a8a
> capability params 0x0000a086
> status 0008 FLR
> command 010009 (park)=0 ithresh=1 period=256 RUN
> intrenable 37 IAA FATAL PCD ERR INT
> uframe 3f3a
> port 1 status 003400 POWER OWNER sig=k
> port 2 status 001000 POWER sig=se0
> port 3 status 003400 POWER OWNER sig=k
> port 4 status 003400 POWER OWNER sig=k
> port 5 status 001000 POWER sig=se0
> port 6 status 001000 POWER sig=se0
> port 7 status 001000 POWER sig=se0
> port 8 status 001000 POWER sig=se0
> port 9 status 001000 POWER sig=se0
> port 10 status 001000 POWER sig=se0
> irq normal 0 err 0 reclaim 0 (lost 0)
> complete 0 unlink 0

Got to admit, I'm stumped. There's nothing in the state description to
indicate why the controller should want to signal a wakeup event.

As an experiment, you could try disabling wakeup on the EHCI controller
alone, leaving it enabled on the OHCI controller. Since the keyboard
-- and in fact all your USB devices -- is attached to the OHCI
controller, it should do what you want.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/