WinCE5 and PCCARD suspend/resume question
From: Martin Malik (mmalik)
Date: 11/25/04
- Next message: Sadi: "VoIP CE device"
- Previous message: Tweeeek: "Quitting a program"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Nov 2004 09:01:08 -0800
Hello,
I'm developing on a PXA270 platform, WinCE 5.0 and using the new PCCARD
driver architecture. Does anybody know how the Suspend/Resume procedure works
in this new architecture? My problem is that some cards (Bluetooth, WLAN) do
not respond after returning from Sleep. E.g. after resuming the BTH card
seems to try to communicate with the COM port, but later stops with an error,
closes the COM port and that's all - a reinsertion is required.
My procedure is following:
CPcmciaCardSocket::PowerMgr(bPowerDown = TRUE)
Send SOCK_EVENT_SUSPEND_RESUME changed up
Turn Off socket power
<SYSTEM SUSPEND>
...
<SYSTEM RESUME>
CPcmciaCardSocket::PowerMgr(bPowerDown = FALSE)
Turn socket Power On and reset socket
Send SOCK_EVENT_PWRCYCLE up
Send SOCK_EVENT_SUSPEND_RESUME status up
I guess the problem is that upper-level drivers don't reload their driver
stack after resuming. The CFG_ATTR_NO_SUSPEND_UNLOAD flag seems to be ironed
to SET in the new PCCARD MDD.
I have also tried a memory card and a modem card, but they work correctly
after Resume.
Does anyone have an idea how to solve this problem ?
Am I right, that reloading the upper drivers is the correct way to go ?
Thanks in advance,
Martin Malik
gotive
- Next message: Sadi: "VoIP CE device"
- Previous message: Tweeeek: "Quitting a program"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|