[linux-dvb] [PATCH] cx88-input: filter IR codes by addressforHauppauge cards, don't truncate name

Simon Baxter linuxtv at nzbaxters.com
Tue Apr 25 00:20:57 CEST 2006


>> diff --git a/linux/drivers/media/video/cx88/cx88-input.c
>> b/linux/drivers/media/video/cx88/cx88-input.c
>> --- a/linux/drivers/media/video/cx88/cx88-input.c Thu Mar 23 02:27:41 
>> 2006
>> +++ b/linux/drivers/media/video/cx88/cx88-input.c Thu Mar 23 17:11:18 
>> 2006
>> @@ -40,7 +40,7 @@
>>  struct cx88_core *core;
>>  struct input_dev *input;
>>  struct ir_input_state ir;
>> - char name[32];
>> + char name[72];
>>  char phys[32];
>>
>>  /* sample from gpio pin 16 */
>>>snip
>
> Hi.
> I can't get this patch to apply and if I manually change the lines, as per 
> the patch, v4l-dvb won't compile
>
> [root at media v4l-dvb]# patch -p0 --dry-run < ../cx88-input.patch
<<snip>>
>
> Darren, do you have an updated patch to get the more granular IR codes 
> working???

OK.  I manually worked though an hg from a week ago, and put the changes in 
as per your patch - and it compiled!!

but with the installed module, with the above patch, I get NO IR codes at 
all:

[root at media ~]# input-events -t 600 2
/dev/input/event2
   bustype : BUS_PCI
   vendor  : 0x70
   product : 0x9002
   version : 1
   name    : "cx88 IR (Hauppauge Nova-T DVB-T)"
   phys    : "pci-0000:00:0a.0/ir0"
   bits ev : EV_SYN EV_KEY EV_REP

waiting for events

......nothing!!

Any ideas?? 




More information about the linux-dvb mailing list