EHCI / pci power state / suspend annoying interactions
The EHCI on the latitude x300 does not have D2 capability:
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Dell Computer Corporation: Unknown device 014f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 10
Region 0: Memory at e0100000 (32-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
That fails suspend-to-ram because dev->suspend which is usb_hcd_pci_suspend calls pci_set_power_state to request level D2, which fails with -EIO. The error is propagated back and the suspend aborts. What should actually happen in that case?
OG.
Am Samstag, 31. Juli 2004 14:19 schrieb Olivier Galibert:
Quoted 6 lines
The EHCI on the latitude x300 does not have D2 capability:
That fails suspend-to-ram because
dev->suspendwhich isusb_hcd_pci_suspendcallspci_set_power_stateto request level D2, which fails with-EIO. The error is propagated back and the suspend aborts. What should actually happen in that case?
This is a known problem. The guys are working on a fix.
regards
Alex
Signature · 2 lines
Encrypted Mails welcome. PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291