SourceForge has been redesigned. Learn more.
Close

#10 Patch for Sony Giga Tuner Card

open
nobody
None
5
2004-04-19
2004-04-19
Eiffel
No

This patch is against this driver version :
ivtv-cvs-latest+1125A+M179+close_stream.tar
(PatchesHowTo Wiki Pages)

I have used the following documentation :
Hacking_GPIO_of_CX23416/CX23415
(http://www.paken.org/linuxwiki/index.php?cmd=read&page=Hacking_GPIO_of_CX23416%2FCX23415&word=Hacking_GPIO_of_CX23416%2FCX23415)

I am now able to use the tuner with Fedora Core 1.
Audio is also working.

File ivtv-driver.c :

339,340c339,341
< {IVTV_M179, 1, USE_GPIO, NOT_HANDLE_VOL}
< };
---
> {IVTV_M179, 1, USE_GPIO, NOT_HANDLE_VOL},
> {IVTV_MYCARD, 0, USE_GPIO, NOT_HANDLE_VOL}
> };
444c445,450
< ~0x4000, 0x0000, 0x4000, 0x0000}
---
> ~0x4000, 0x0000, 0x4000, 0x0000},
> {IVTV_MYCARD, 1, 0x0381, 0x0104, /* Normal/main
ch./Stereo */
> 0xffbf, 0x0000, 0x0040, 0xffff, 0x0000, 0x0000,
> 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
> 0xffff, 0x0000, 0x0000, 0x0000,
> 0xf6ff, 0x0100, 0x0900, 0x0100}
454c460,461
< {IVTV_M179, IVTV_M179_TUNER_I2C_ADDR,
IVTV_SAA7115_I2C_ADDR, 0}
---
> {IVTV_M179, IVTV_M179_TUNER_I2C_ADDR,
IVTV_SAA7115_I2C_ADDR, 0},
> {IVTV_MYCARD, IVTV_MPG600_TUNER_I2C_ADDR,
IVTV_SAA7115_I2C_ADDR, 0}
464c471,472
< {IVTV_M179, 0, 0}
---
> {IVTV_M179, 0, 0},
> {IVTV_MYCARD, 0, 0}
511a520,527
> {IVTV_MYCARD, IVTV_PCI_ID_MYCARD,
> (V4L2_CAP_VIDEO_CAPTURE|V4L2_CAP_TUNER|
> V4L2_CAP_AUDIO|V4L2_CAP_READWRITE),
> IVTV_MYCARD_STREAMS,
> "YUAN MPG600/Sony ITVC16",
> "iTVC16"},
>
>

File ivtv-driver.h :

83a84
> #define IVTV_PCI_ID_MYCARD 0x816d
91a93
> #define IVTV_MYCARD 6 /* Sony */
98a101
> #define IVTV_MYCARD_STREAMS 3

Discussion


Log in to post a comment.