[linux-dvb] [PATCH] Key map for new remote control that came with Terratec Cinergy T USB XXS
stefan.gehrer at gmx.de
Wed Oct 29 22:46:50 CET 2008
I tried coming up with a patch, and the best way seemed to be to
seperate the Cinergy T USB XXS into a new device description
with its own RC keymap.
Any comments on this?
Stefan Gehrer wrote:
> Hi all,
> I recently bought a Terratec Cinergy T USB XXS device
> and found that the remote control doesn't work correctly
> with kernel 2.7.27, so I had to make the below key table
> to get it to work.
> In function dib0700_rc_query() in file dib0700_devices.c,
> I then activate this keymap with
> if(dvb_usb_dib0700_ir_proto == 1)
> keymap = xxs_new_rc_keys;
> Something like this is necessary as otherwise key codes
> overlap with the key table already in the driver.
> But if other remotes also have dvb_usb_dib0700_ir_proto
> equal to one this is obviously a problem.
> Please advise me if you need any further information
> for getting support for that remote into the driver.
> And one small problem my approach currently has:
> I see neither key repeats nor a key release, so there
> is no way to register long presses. So maybe some more
> changes are required for proper support.
> Best regards
> Stefan Gehrer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the linux-dvb