[linux-dvb] getting rid of input dev in dvb-usb (was: Re: [PATCH] Add remote control support to Nova-TD (52009))

Torgeir Veimo torgeir at pobox.com
Thu Sep 25 12:10:19 CEST 2008


On 25 Sep 2008, at 19:59, 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 2.6.26.5 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 user-space.
>
> If hidraw is the right way, I'm with you. So far I wasn't sure what  
> to do?!
>
> How would it work with the key-table onces it is done with hidraw?


I'm not sure if I'm the right person to answer that. But at least I  
could use lircd with /dev/hidraw0 and I would be able to configure  
filtering of IR events as I please.

Maybe a generic table could be set in an input device by cat'ing the  
table in some format to a /sys/../ file.

-- 
Torgeir Veimo
torgeir at pobox.com







More information about the linux-dvb mailing list