On Friday 17 November 2006 10:40, Hans Verkuil wrote:

> Of course! Edit ivtv-cards.c, look for the Hauppauge pvr150 card
> definition (search for 'ivtv_card_pvr150'). Now change this:
>
> .video_inputs = {
>         { IVTV_CARD_INPUT_VID_TUNER,  0, CX25840_COMPOSITE7 },
>         { IVTV_CARD_INPUT_SVIDEO1,    1, CX25840_SVIDEO1    },
>
> to this:
>
> .video_inputs = {
>         { IVTV_CARD_INPUT_VID_TUNER,  0, CX25840_COMPOSITE7 },
>         { IVTV_CARD_INPUT_SVIDEO1,    1,
>               CX25840_SVIDEO_LUMA1 | CX25840_SVIDEO_CHROMA4    },
>
> Compile, install, etc. and test with input 1 (v4l2-ctl -i1). See if you
> get color. Now also do the same test with CX25840_SVIDEO_CHROMA5, 6, 7
> and 8.
>
Ok, I created 5 files ivtv-cards-c4.c etc, and ran the following script:
#!/bin/bash

for i in 4 5 6 7 8
do
  mv ivtv-cards-c$i.c ivtv-cards.c
  touch ivtv-cards.c
  make
  mv ivtv.ko ivtv-c$i.ko
done

Are the dependencies ok, or should I do make clean in between. In this mode 
three files got recompiled each time.
I'll try them tonight. Must I do cold reboots, or would rmmod/insmod suffice ?

Thanks,

Han Holl

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to