* cx88-input questions
@ 2010-04-24 21:07 David Härdeman
0 siblings, 0 replies; only message in thread
From: David Härdeman @ 2010-04-24 21:07 UTC (permalink / raw)
To: linux-media; +Cc: c.pascoe, kraxel, pavel
I've been looking at converting drivers/media/video/cx88/cx88-input.c to
use the ir-core subsystem, and I have a few questions.
As far as I understand the code, the sampling case will sample at a 4Khz
interval and generate one bit for each sample to represent a pulse or
space (i.e. a 250us resolution). This is done by writing a magic value
in __cx88_ir_start:
cx_write(MO_DDS_IO, 0xa80a80);
250us is a quite low resolution, is it possible to get the hardware to
generate samples at a higher rate (say, 20Khz for a 50us resolution)?
Also, how does the polling mode work in the hardware? Is a complete
scancode (or as complete as the hardware can handle at least) returned
from the gpio read after a keypress?
--
David Härdeman
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-24 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-24 21:07 cx88-input questions David Härdeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox