EHCI / pci power state / suspend annoying interactions
From: Olivier Galibert (galibert_at_pobox.com)
Date: 07/31/04
- Previous message: Aneesh Kumar K.V: "[ANNOUNCE] OpenSSI 1.0.0 released!!"
- Next in thread: Alexander Gran: "Re: EHCI / pci power state / suspend annoying interactions"
- Reply: Alexander Gran: "Re: EHCI / pci power state / suspend annoying interactions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 31 Jul 2004 14:19:44 +0200 To: "Hack inc." <linux-kernel@vger.kernel.org>
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/
- Previous message: Aneesh Kumar K.V: "[ANNOUNCE] OpenSSI 1.0.0 released!!"
- Next in thread: Alexander Gran: "Re: EHCI / pci power state / suspend annoying interactions"
- Reply: Alexander Gran: "Re: EHCI / pci power state / suspend annoying interactions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: keyboard dies during failed suspend attempt
... > I discovered a problem with my laptop keyboard when the machine failed ...
> suspend fails like this. ... It feels like device_resume is not called somewhere when
swsusp fails. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - swsusp in test8 fails with intel-agp and i830
... it fails when X is running. ... If the intel-agp and i830 modules are
not loaded during startup, suspend via ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: EHCI / pci power state / suspend annoying interactions
... > which fails with -EIO. ... The error is propagated back and the suspend
... > aborts. ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: PCI PM & compatibility
... It fails with an ... If you don't suspend it, you must also postpone
all of it's childs. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: 2.6.9-rc2-mm1 swsusp bug report.
... never fails to suspend and is in Linus' tree. ... True tolerance,
however, can cope with others ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel)