Re: USB client suspend and resume on PXA270

Tech-Archive recommends: Fix windows errors by optimizing your registry



Dear All,

I'm currently facing the same problem..
USB activesync failed to work after suspend resume cycle

1. cold boot -> plug in USB -> activesync works
2. plug out usb cable -> suspend unit -> resume unit
3. plug in usb cable -> on host PC it showed fail to recognize device

further trace revealed that function "UfnMdd_Notify" was not called as it
was before
the suspend resume cycle.

Anyone has a solution or know what's happening ?
Thanks in advance!
(Device is running winCE 5.0)

J.J Jones


"stonely" <stonely@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2D21C59F-3CCA-4DF5-8282-D93D78EEC3C8@xxxxxxxxxxxxxxxx
Dear Mr Zico,

We are also facing the same problem.
Have your problem being solved? If yes, please advise how you solve it.
Thanks in advance.

regards
Stonely

"Zico" wrote:

Upon suspend, the printout was:

IOControl: IOCTL_BUS_GET_POWER_STATE(D4)
SetPowerState: Going from D0 to D4
PowerDown()

Upon resume, it was:

PowerUp()
IOControl: IOCTL_BUS_GET_POWER_STATE(D0)
SetPowerState: Going from D4 to D0
ReInit: (1)udccsr.ulValue= 0x116
ReInit:(1) udccrax.ulValue= 0x200d103
ReInit: (2)udccsr.ulValue= 0x116
ReInit:(2) udccrax.ulValue= 0x2014101
Start()
EnableEndpointInterrupt: Enter. dwEndpoint:0x0,Enable:0x1 --
EnableEndpointInterrupt: Enter. dwEndpoint:0x1,Enable:0x1 --
EnableEndpointInterrupt: Enter. dwEndpoint:0x2,Enable:0x1 --
ThreadRun: : BulUsbDevice dwIntr0Status 0x0, dwIntr1Status
0x8000000,dwIntr0Ctrl=0x3f, dwIntr11Ctrl=0xb8000000

IsCableAttached return TRUE
ThreadRun: : Reset Detected
EnableEndpointInterrupt: Enter. dwEndpoint:0x1,Enable:0x0 --
ResetEndpoint+ (2) UDCCSR =0x0 UDCCRAX = 0x2014101
ResetEndpoint- (2) UDCCSR =0x0 UDCCRAX = 0x2014101
EnableEndpointInterrupt: Enter. dwEndpoint:0x2,Enable:0x0 --

"Michael S. Schaffner, P.E." wrote:

Is your USB client properly notifying the host that it has been
disconnected(suspended) and connected(resumed) so that it can be
enumerated
by the host?

--
Michael Schaffner, P.E.
Senior Software Engineer
Windows CE Technical Group
Applied Data Systems


"Zico" <Zico@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D3A25590-2D8D-4ABA-BC3B-2CF411366EE4@xxxxxxxxxxxxxxxx
Hi,

I am having problems activating USB client after a suspend resume.
Does anyone has a list of corrections that must be done to the code
that
is release in the latest Windows CE 5.0 Mainstone III BSP Update?

Thanks.

Zico





.



Relevant Pages