Web lists-archives.org

Re: lirc project needs your help!




Mauro Carvalho Chehab wrote:

> > Do you, or someone else, have the hardware to test if bit 0x800 is
> > all that's needed?  Is so, there are many more masks defined in
> > lirc_gpio.c, I guess they'll all need to be checked against the
> > ones in bttv-input.c and check none are missing before lirc_gpio
> > can be officially deprecated
> 
> Unfortunately, I don't have. We may assume that lirc_gpio is correct,
> and write an experimental patch, asking people to test. Could you
> prepare such patch?


Well, I did so, but haven't had any response yet:
http://www.nabble.com/Support-for-winfast-2000-xp---Preparing-to-drop-lirc_gpio-td14586233.html
(patch also attached)

Does anyone else here have the Winfast 2000 XP card to test it?  Even
if you don't use lirc, please consider helping.  What you'd need to do
is on linux 2.6.22, check lirc with the input method doesn't work,
(ie. repeat what aputerguy does in
http://www.nabble.com/Re%3A-LIRC-GPIO-Unnecessary-now--p13608717.html )

apply the patch to linux, then see if it starts working. To make this
as easy as possible, to install lirc basically do:

wget http://lirc.sourceforge.net/software/snapshots/lirc-0.8.3pre1.tar.bz2
tar jxf lirc-0.8.3pre1.tar.bz2 && cd lirc-0.8.3pre1
./configure --with-driver=devinput && make && sudo make install


Thanks,
Laurence
--- linux-2.6.23.12.orig/drivers/media/video/bt8xx/bttv-input.c	2007-12-18 21:55:57.000000000 +0000
+++ linux-2.6.23.12/drivers/media/video/bt8xx/bttv-input.c	2008-01-02 18:09:57.000000000 +0000
@@ -242,7 +242,15 @@ int bttv_input_init(struct bttv *btv)
 
 	case BTTV_BOARD_WINFAST2000:
 		ir_codes         = ir_codes_winfast;
-		ir->mask_keycode = 0x1f8;
+		switch (btv->cardid) {
+		case 0x6606107d:
+		case 0x6609107d:
+		case 0xff06107d:
+			ir->mask_keycode = 0x9f8;
+			break;
+		default:
+			ir->mask_keycode = 0x1f8;
+		}
 		break;
 	case BTTV_BOARD_MAGICTVIEW061:
 	case BTTV_BOARD_MAGICTVIEW063:
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list