Messages in this thread |  | | Date | Sat, 31 Jul 2004 14:19:44 +0200 | | From | Olivier Galibert <> | | Subject | 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |