TomIsaacson
Mon Aug 20 18:54:00 CDT 2007
No, I don't have Premium Source, just the Private code that ships with WinCE
5.0.
This code's been part of our application for over 2 years so I know it's
fine. It's just the move to the latest hardware (Samsung S3C2443) and kernel
that's causing a problem. The device failure rate is about 1% so I'm guessing
there's a device driver / hardware tolerance issue.
"Paul G. Tobey [eMVP]" wrote:
> I was planning to download the CE5 so-call Premium Source here in the next
> week or so. Do you already have that (with the smart-card-protected access
> to the Code Center Premium site)? If not, I'll take a look, once I've got
> it installed and try to figure out when that's sent and if anything there
> looks like the problem.
>
> Have you tried registering for *other* events that would fire with similar
> frequency or at similar times to see if it's the notification database,
> maybe, rather than the specific event? Are you perhaps registering over and
> over, as far as the database is concerned? Maybe the database is persistent
> through the sleep/wake cycle, but you register again on every wake? Just
> throwing out some ideas...
>
> Paul T.
>
> "Tom Isaacson" <TomIsaacson@discussions.microsoft.com> wrote in message
> news:FC7D0AC0-8220-4D1B-829E-100D74BC47E6@microsoft.com...
> > Yes, but all of those hits are about listening to the event, not sending
> > it!
> >
> > Multiple wakeup events aren't actually a problem. What we do find is that
> > occasionally on some devices when you come out of standby the device runs
> > slowly, and this continues until a cold boot. If we stop listening for
> > NOTIFICATION_EVENT_WAKEUP this problem seems to disappear. We're trying to
> > find where the wakeup event is generated and why there are multiple events
> > as
> > a possible cause.
> >
> > Tom
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> I don't have the full private source for CE5 here, but you're right, it's
> >> not obvious. I suppose that you could check for more than one event
> >> within
> >> a second, say, of the first, and ignore those on the assumption that no
> >> more
> >> than one could really be a wake up that soon.
> >>
> >> I did a search for that string "NOTIFICATION_EVENT_WAKEUP" in the 5.0
> >> help
> >> and got 6 hits...
> >>
> >> Paul T.
> >>
> >> "Tom Isaacson" <TomIsaacson@discussions.microsoft.com> wrote in message
> >> news:3BBACA3C-A2E3-4574-8F28-00C272770DE6@microsoft.com...
> >> > We're having a problem on our WinCE 5.00 device where we receive
> >> > several
> >> > NOTIFICATION_EVENT_WAKEUP events after wakeup. The only reference I can
> >> > find
> >> > is here:
> >> >
http://msdn2.microsoft.com/en-us/library/ms899084.aspx
> >> > "the GWE shutdown thread generates the NOTIFICATION_EVENT_WAKEUP
> >> > event."
> >> >
> >> > I can't find this source code anywhere in WinCE 5.00. Does anyone know
> >> > where
> >> > I can get it, or alternatively what triggers the sending of the wakup
> >> > event
> >> > in the GWE shutdown thread?
> >> >
> >> > Thanks.
> >>
> >>
> >>
>
>
>