[linux-dvb] T200 Remote Oddities

Michael Krufky mkrufky at m1k.net
Wed Oct 26 03:59:54 CEST 2005

Poulter, Nicholas wrote:

>What happens when you don't have LIRC loaded? The remote will work just
>like a keyboard. What you can do is get the DVB-TOOLS package from
>linuxtv.org and compile the program evdev
>Then you can do the following
>evdev /dev/input/event(x) where (x) is your event id of your device.
>This will give you the keypress's that the remote is sending. If the
>issue you are having does not occur when you do this then the problem
>will be with lirc. If it does occur then it could be that something is
>interfering with the remotes reception causing it not to interpret the
>button releases. 
>I don't seem to have any problems with my DVB-T300. Is there anything
>near your remote receiver that could be causing interference at all? 
>If you tail you dmesg you'll see something along the following
>mythbox kernel: saa7134[0]/ir: build_key gpio=0x940f00 mask=0x0 data=0
>mythbox kernel: saa7134[0]/ir: build_key gpio=0x800200 mask=0x0 data=0
>mythbox kernel: saa7134[0]/ir: build_key gpio=0x940200 mask=0x0 data=0
>mythbox kernel: saa7134[0]/ir: build_key gpio=0x800700 mask=0x0 data=0
>mythbox kernel: saa7134[0]/ir: build_key gpio=0x940700 mask=0x0 data=0
>If you could give me a capture of what's happening I'll take a look.
>I don't have a T200 so it's hard to test and that was put in as the T200
>and T300 are so similar. However if the issue is happening with a T300
>then I'll be able to do some tests and see. But if you could give me the
>captures from dmesg and from evdev that would be great.
Hmm... Did you realize that the same code is driving the remote for both 
of these cards?  I applied this to cvs three weeks ago... Maybe this 
should be changed...  Based on the rest of this thread, it sounds to me 
like there might be slightly different GPIO going on...

        * saa7134-cards.c: (saa7134_board_init1):
        * saa7134-input.c: (saa7134_input_init1):
        - enable support for the IR Remote on Compro Videomate T200

        From: Andy Smith <linux-dvb at andrewsmith.plus.com <mailto:linux-dvb at andrewsmith.plus.com>>
        Signed-off-by: Michael Krufky <mkrufky at m1k.net <mailto:mkrufky at m1k.net>>
RCS file: /cvs/video4linux/v4l-kernel/linux/drivers/media/video/saa7134/saa7134-input.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- v4l-kernel/linux/drivers/media/video/saa7134/saa7134-input.c	2005/09/30 15:26:56	1.31
+++ v4l-kernel/linux/drivers/media/video/saa7134/saa7134-input.c	2005/10/03 19:40:13	1.32
@@ -1,5 +1,5 @@
- * $Id: saa7134-input.c,v 1.31 2005/09/30 15:26:56 mchehab Exp $
+ * $Id: saa7134-input.c,v 1.32 2005/10/03 19:40:13 mkrufky Exp $
  * handle saa7134 IR remotes via linux kernel input layer.
@@ -583,6 +583,7 @@
 		polling      = 50; // ms
         case SAA7134_BOARD_VIDEOMATE_DVBT_300:
+        case SAA7134_BOARD_VIDEOMATE_DVBT_200:
 		ir_codes     = videomate_tv_pvr_codes;
 		mask_keycode = 0x003F00;
 		mask_keyup   = 0x040000;

More information about the linux-dvb mailing list