[linux-dvb] getting rid of input dev in dvb-usb (was: Re: [PATCH] Add remote control support to Nova-TD (52009))
Mauro Carvalho Chehab
mchehab at infradead.org
Thu Sep 25 12:12:50 CEST 2008
On Thu, 25 Sep 2008, Patrick Boettcher wrote:
> On Thu, 25 Sep 2008, Torgeir Veimo wrote:
>> On 25 Sep 2008, at 19:53, Patrick Boettcher wrote:
>>>> This patch is against the 18.104.22.168 kernel, and adds remote control support
>>>> for the Hauppauge WinTV Nova-TD (Diversity) model. (That's the 52009
>>>> version.) It also adds the key-codes for the credit-card style remote
>>>> control that comes with this particular adapter.
>>> Committed and ask to be pulled, thanks.
>> Am curious, would it be possible to augment these drivers to provide the raw
>> IR codes on a raw hid device, eg. /dev/hidraw0 etc, so that other RC5 remotes
>> than the ones that actually are sold with the card can be used with the card?
> I would love that idea. Maybe this is the solution I have searched for so
> long. I desparately want to put those huge remote-control-table into
> If hidraw is the right way, I'm with you. So far I wasn't sure what to
> How would it work with the key-table onces it is done with hidraw?
If implemented properly, key code tables can be replaced anytime in
We have already a tool for this, under v4l2-apps/util. It is called
keytable. The tool can be used to get the current key association of an
input device, generating a text file, or to load a text file into an input
When you build the tool, the Makefile will parse several keycode tables
already existing on V4L and at the common IR files, writing them into
keycodes/ dir. It would be really easy to parse other files and create
their tables as well.
More information about the linux-dvb