Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Avermedia DVB-T 771 remote. First signs oflife!



Gerd Knorr <kraxel@bytesex.org> writes:

> Try "insmod evdev".

That worked very well. Thanks!

> The mentioned tarball also has a utility to dump and change the
> key maps.

I've now checked all the key codes. They seem to generate the correct
output all of them. I now also understood the suggestion that I should
check the numerical keyboard ;-) Not easy to make everyone happy...

So, my suggested patch is:

diff -urN video4linux_orig/bttv-cards.c video4linux/bttv-cards.c
--- video4linux_orig/bttv-cards.c       2004-09-16 18:07:00.000000000 +0200
+++ video4linux/bttv-cards.c    2004-10-24 12:38:47.504990328 +0200
@@ -2084,9 +2084,7 @@
         .pll            = PLL_28,
         .has_dvb        = 1,
         .no_gpioirq     = 1,
-#if 0 /* untested */
         .has_remote     = 1,
-#endif
 },{
        /* ---- card 0x7c ---------------------------------- */
        /* Matt Jesson <dvb@jesson.eclipse.co.uk> */
diff -urN video4linux_orig/ir-kbd-gpio.c video4linux/ir-kbd-gpio.c
--- video4linux_orig/ir-kbd-gpio.c      2004-09-15 18:27:00.000000000 +0200
+++ video4linux/ir-kbd-gpio.c   2004-10-24 12:39:21.029893768 +0200
@@ -366,7 +366,7 @@
                break;

        case BTTV_AVDVBT_761:
-       /* case BTTV_AVDVBT_771: */
+       case BTTV_AVDVBT_771:
                ir_codes         = ir_codes_avermedia_dvbt;
                ir->mask_keycode = 0x0f00c0;
                ir->mask_keydown = 0x000020;

Not much of a patch though, just uncommenting the things already there.

Regards,
-- 
/Ola Nilsson





Home | Main Index | Thread Index