WinCE5 and PCCARD suspend/resume question

From: Martin Malik (mmalik)
Date: 11/25/04


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



Relevant Pages

  • RE: [UPDATED PATCH] EFI support for ia32 kernels
    ... >> reuse a single driver image for multiple architectures assuming there ... As one of the people responsible for the EFI Specification and our ... Perhaps the UNDI network card interface that Intel developed ... BIOS can't shadow that much ROM code. ...
    (Linux-Kernel)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> because, originally, video cards / system RAM could NOT afford to have ... > GL actually "copies" everything, but it's done by the graphics card, so ... > anyway if it's not hardware accelerated. ... installed the proper driver, then it zooms around the screen... ...
    (alt.lang.asm)
  • Re: XXX_Init only being called once
    ... > My stream interface driver has been stripped right back to try to solve ... > I plug my card in the first time. ... > There are two new active keys in the registry PCMCIA and myDriver. ... > No entry points are called in my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: WDF storage driver is a dead-end street
    ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... AHCI controller card, etc. ... Since the extension is passed in the miniport at ... So I need to create a virtual adapter out of two physical adapters. ...
    (microsoft.public.development.device.drivers)
  • Re: VIA Envy24PT sound card driver loads at startup properly 9 of 10 times
    ... driver updates including the latest and correct driver for the sound card. ... Onboard sound chip is disabled in BIOS and the driver for it is not installed. ... The sound card, Chaintech, Envy24 Family Audio Controller WDM, is installed/seated properly and uses the IRQ 16 exclusively. ...
    (microsoft.public.windowsxp.hardware)