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

Simon Baxter linuxtv at nzbaxters.com
Mon Apr 24 07:45:16 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
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|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
--------------------------
File to patch: linux/drivers/media/video/cx88/cx88-input.c
patching file linux/drivers/media/video/cx88/cx88-input.c
Hunk #1 FAILED at 40.
Hunk #2 FAILED at 64.
Hunk #3 FAILED at 176.
Hunk #4 FAILED at 368.
Hunk #5 FAILED at 392.
5 out of 5 hunks FAILED -- saving rejects to file 
linux/drivers/media/video/cx88/cx88-input.c.rej


Darren, do you have an updated patch to get the more granular IR codes 
working???

Simon 




More information about the linux-dvb mailing list