Re: CE5 device driver in polling mode



Huh? Not sure what you're asking here, but "polling" is just checking a
resource from time to time rather than setting up the resource to
signal only when something intresting has happened to it via say an
event (as when using interrupts). You can take pretty much any basic
event-driven driver you like as base and in the thread procedure change
the WaitForSingleObject call with a Sleep(0) and voila, you have the
base of a polling driver...

Henrik Viklund
http://www.addlogic.se

shiju skrev:

Hello,
Could someone point me to a device driver in wince 5 that does polling
to access data from a device. I need to develop a i2c driver for a
device that does not have interrups. So I need to use polling mechanism
in driver to implement a driver for the device. I could not find any
good document on polling mode for device driver in PB document.
Thanks for your help.

THanks,
Shiju

.



Relevant Pages

  • Re: Polling for ath driver
    ... TCP) livelock is not really an issue, as the the streams will slow their ... These are tradeoffs that one accepts when using polling. ... The interrupts are the RX and TX interrupts. ... ethernet driver, the hifn crypto card driver, and the ath driver. ...
    (freebsd-net)
  • tty_ldisc_try_get(): BUG kmalloc-8: Poison overwritten
    ... some sort of slab corruption going on in tty data structures: ... It's a single bit corruption - but the hardware in question has a ... 5f0878a: tty: Fix oops when scanning the polling list for kgdb ... # Generic Driver Options ...
    (Linux-Kernel)
  • Re: fxp0: device timeout | SCB already complete (me too)
    ... In my case, both the SCSI and NIC are integrated on the motherboard, so I ... Also, as I mentioned, I tried a de0 (PCI card, not onboard, and it ... > The boxes work just fine with the xl0 driver. ... This happens both with or without POLLING ...
    (freebsd-net)
  • RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
    ... Polling For 100 mbps Connections? ... >>from the network into the ethernet receiver. ... not in the ethernet driver code. ... >NetGear cards using the dc driver or DLink cards using the rl driver. ...
    (freebsd-questions)
  • Re: dummynet, em driver, device polling issues :-((
    ... i have been messing with the em driver now for over a month, ... >> We're using polling on nearly all the servers, ... As soon as I enable polling, ierrs on the em0 interface are ... > and did not support ipfw tables to lock out whole lists of IP ...
    (freebsd-net)