From: "David Härdeman" <david@hardeman.nu>
To: linux-media@vger.kernel.org
Cc: c.pascoe@itee.uq.edu.au, kraxel@bytesex.org, pavel@ucw.cz
Subject: cx88-input questions
Date: Sat, 24 Apr 2010 23:07:31 +0200 [thread overview]
Message-ID: <20100424210731.GA10819@hardeman.nu> (raw)
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
reply other threads:[~2010-04-24 21:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100424210731.GA10819@hardeman.nu \
--to=david@hardeman.nu \
--cc=c.pascoe@itee.uq.edu.au \
--cc=kraxel@bytesex.org \
--cc=linux-media@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox