El Miércoles, 10 de Mayo de 2006 22:52, Peter Missel escribió: > On Wednesday 10 May 2006 20:58, Jose Alberto Reguero wrote: > > > You need to find out how the card is flagging "key down". Or maybe the > > > card needs you to operate an output GPIO pin to acknowledge the read. > > > > Thanks, I found it. The attached patch work. > > There is still a problem. When the card is working the gpio is changing > > constantly, and generate a lot of debug output. > > > > saa7134[0]/ir: build_key gpio=0x1c14f mask=0x2f200 data=24 > > saa7134[1]/ir: build_key gpio=0x3b3c5 mask=0x2f200 data=55 > > That looks like your mask is including too many bits. Normally, five data > bits are enough for a typical 20- to 30-button remote. You got eight bits > there. > > regards, > Peter The mask_keycode is good. The gpio bits that change are not part of the mask. Data change because I have three cards([0], [1], [2]). In each card the data is the same. When the driver is loaded all works well. But when I start vdr (DVB-T) some gpio bits are changing. Thanks. Jose Alberto _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb