Hi,

I'm using Gentoo's v4l-dvb-hg package and the dvb-usb-dib0700-03-pre1.fwfirmware
The card works perfectly otherwise, but the module is very sluggish in
responding
to remote codes (and the remote seems to send different codes then defined
in dib0700_devices.c)
and I have to press buttons on the remote several times very fast for it to
respond.
How can I make it respond faster and why are the remote controller key codes
different in the source code?

Pressing the Power button of the remote in rapid succession for about 10
second
(I added the F,7E code to the key codes list myself)

Aug  4 17:56:21 fantasy dib0700: Unknown remote controller key : 17 3F
Aug  4 17:56:22 fantasy dib0700: got key[] = { 0,  1, 13,36}
Aug  4 17:56:22 fantasy dib0700: Unknown remote controller key : 13 36
Aug  4 17:56:22 fantasy dib0700: got key[] = { 0,  0, 17,3F}
Aug  4 17:56:22 fantasy dib0700: Unknown remote controller key : 17 3F
Aug  4 17:56:22 fantasy dib0700: got key[] = { 0,  1,  F,7E}
Aug  4 17:56:22 fantasy dib0700: got key[] = { 0,  0, 17,3F}
Aug  4 17:56:22 fantasy dib0700: Unknown remote controller key : 17 3F
Aug  4 17:56:22 fantasy dib0700: got key[] = { 0,  1,  F,7E}

Same for "OK" button:
Aug  4 18:00:54 fantasy dib0700: got key[] = { 0,  0, 13,21}
Aug  4 18:00:54 fantasy dib0700: Unknown remote controller key : 13 21
Aug  4 18:00:55 fantasy dib0700: got key[] = { 0,  1,  7,43}
Aug  4 18:00:55 fantasy dib0700: Unknown remote controller key :  7 43
Aug  4 18:00:55 fantasy dib0700: got key[] = { 0,  0, 13,21}
Aug  4 18:00:55 fantasy dib0700: Unknown remote controller key : 13 21
Aug  4 18:00:55 fantasy dib0700: got key[] = { 0,  1,  7,43}
Aug  4 18:00:55 fantasy dib0700: Unknown remote controller key :  7 43
Aug  4 18:01:00 fantasy dib0700: got key[] = { 0,  0, 13,21}
Aug  4 18:01:00 fantasy dib0700: Unknown remote controller key : 13 21

Also a snippet of the dib0700_devices.c
        if (key[0]==0 && key[1]==0 && key[2]==0 && key[3]==0) return 0;
        if (key[3-1]!=st->rc_toggle) {
                err("got key[] = {%2X, %2X,
%2X,%2X}",(int)key[3-0],(int)key[3-1],(int)key[3-2],(int)key[3-3]);
                for (i=0;i<d->props.rc_key_map_size; i++) {
                        if (keymap[i].custom == key[3-2] && keymap[i].data
== key[3-3]) {
                                *event = keymap[i].event;
                                *state = REMOTE_KEY_PRESSED;
                                st->rc_toggle=key[3-1];
                                return 0;
                        }
                }
                err("Unknown remote controller key : %2X
%2X",(int)key[3-2],(int)key[3-3]);
                st->rc_toggle=key[3-1];


Br, Veli-Matti
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to