Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ivtv: devel

UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673]

 

 

ivtv devel RSS feed   Index | Next | Previous | View Threaded


rajesh.padalia at gmail

Nov 7, 2009, 4:46 AM

Post #1 of 15 (6675 views)
Permalink
UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673]

Nov 7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
Nov 7 15:18:11 localhost kernel: ivtv0: Initializing card 0
Nov 7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
[4444:0016]
Nov 7 15:18:11 localhost kernel: ivtv0: subsystem
vendor/device: [1540:9673]
Nov 7 15:18:11 localhost kernel: ivtv0: cx23416 based
Nov 7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
PVR-150 card
Nov 7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
and subsystem vendor/device IDs and what kind of
Nov 7 15:18:11 localhost kernel: ivtv0: card you have to the
ivtv-devel mailinglist (www.ivtvdriver.org)
Nov 7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
[UNKNOWN IVTV CARD].

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


hverkuil at xs4all

Nov 9, 2009, 2:23 AM

Post #2 of 15 (6548 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Saturday 07 November 2009 13:46:30 Rajesh Padalia wrote:
> Nov 7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
> Nov 7 15:18:11 localhost kernel: ivtv0: Initializing card 0
> Nov 7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
> [4444:0016]
> Nov 7 15:18:11 localhost kernel: ivtv0: subsystem
> vendor/device: [1540:9673]
> Nov 7 15:18:11 localhost kernel: ivtv0: cx23416 based
> Nov 7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
> PVR-150 card
> Nov 7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
> and subsystem vendor/device IDs and what kind of
> Nov 7 15:18:11 localhost kernel: ivtv0: card you have to the
> ivtv-devel mailinglist (www.ivtvdriver.org)
> Nov 7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
> [UNKNOWN IVTV CARD].
>
> _______________________________________________
> ivtv-devel mailing list
> ivtv-devel [at] ivtvdriver
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>
>

What card is it? I don't recognize the subsystem IDs, so I'd appreciate it
if you can tell me the brand and model of the card and, if possible, mail me
pictures of the card or, alternatively, list the chips that are on the card.

Thanks,

Hans

--
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom

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


awalls at radix

Nov 9, 2009, 3:34 AM

Post #3 of 15 (6421 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Mon, 2009-11-09 at 11:23 +0100, Hans Verkuil wrote:
> On Saturday 07 November 2009 13:46:30 Rajesh Padalia wrote:
> > Nov 7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
> > Nov 7 15:18:11 localhost kernel: ivtv0: Initializing card 0
> > Nov 7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
> > [4444:0016]
> > Nov 7 15:18:11 localhost kernel: ivtv0: subsystem
> > vendor/device: [1540:9673]
> > Nov 7 15:18:11 localhost kernel: ivtv0: cx23416 based
> > Nov 7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
> > PVR-150 card
> > Nov 7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
> > and subsystem vendor/device IDs and what kind of
> > Nov 7 15:18:11 localhost kernel: ivtv0: card you have to the
> > ivtv-devel mailinglist (www.ivtvdriver.org)
> > Nov 7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
> > [UNKNOWN IVTV CARD].
> >
> > _______________________________________________
> > ivtv-devel mailing list
> > ivtv-devel [at] ivtvdriver
> > http://ivtvdriver.org/mailman/listinfo/ivtv-devel
> >
> >
>
> What card is it? I don't recognize the subsystem IDs, so I'd appreciate it
> if you can tell me the brand and model of the card and, if possible, mail me
> pictures of the card or, alternatively, list the chips that are on the card.

Hans,

My reasearch indicates it's a Provideo Multimedia PV-967C - a tunerless
CX23416 based card. I think it's a "C" because of the "3" in "9673".

See my previous list postings:

http://ivtvdriver.org/pipermail/ivtv-users/2009-November/009644.html
http://ivtvdriver.org/pipermail/ivtv-users/2009-November/009645.html

It looks like Interact-TV may be on the hook legally to provide modified
kernel sources (at least the ivtv driver mods) that support this card.
I was waiting to see what luck Rajesh would have with requesting them.

Regards,
Andy

> Thanks,
>
> Hans
>


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


awalls at radix

Nov 9, 2009, 4:25 PM

Post #4 of 15 (6415 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Mon, 2009-11-09 at 20:12 +0300, Rajesh Padalia wrote:
> Hans,
> Attached are pictures of the card. I can see there are three chips on the card
> 1. Conexant MPEG II A/V Encoder, CX23416-12,
> 2. Hynix 417A, HY57V64322OCT-6
> 3. Conexant, CX25843-24Z
> On the card front it is written as 947D-4.
>
> Andy,
> I haven't heard from Interact-TV yet.
>
> Thank you.
>
> Rajesh

OK. The card is a little different than what I thought. The card
should be straightforward to support.

Here's an interesting post I found:

http://www.ivtvdriver.org/pipermail/ivtv-users/2006-December/005240.html

So first, could you try:

(close all application that may have a /dev/video* device node open)
# modprobe -r ivtv
# modprobe ivtv card=7 tuner=57


Card 7 (YUAN PG600/DIAMONDMM PVR-550) is a fairly simple design which
has a good chance of matching your card given the picture and chips you
list.

Tune 57 (TUNER_PHILIPS_FQ1236A_MK4) is close to the FQ1236/F H-3, so it
has a good chance of working as well.

Regards,
Andy

> On Mon, Nov 9, 2009 at 1:23 PM, Hans Verkuil <hverkuil [at] xs4all> wrote:
> > On Saturday 07 November 2009 13:46:30 Rajesh Padalia wrote:
> >> Nov 7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
> >> Nov 7 15:18:11 localhost kernel: ivtv0: Initializing card 0
> >> Nov 7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
> >> [4444:0016]
> >> Nov 7 15:18:11 localhost kernel: ivtv0: subsystem
> >> vendor/device: [1540:9673]
> >> Nov 7 15:18:11 localhost kernel: ivtv0: cx23416 based
> >> Nov 7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
> >> PVR-150 card
> >> Nov 7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
> >> and subsystem vendor/device IDs and what kind of
> >> Nov 7 15:18:11 localhost kernel: ivtv0: card you have to the
> >> ivtv-devel mailinglist (www.ivtvdriver.org)
> >> Nov 7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
> >> [UNKNOWN IVTV CARD].
> >>
> >> _______________________________________________
> >> ivtv-devel mailing list
> >> ivtv-devel [at] ivtvdriver
> >> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
> >>
> >>
> >
> > What card is it? I don't recognize the subsystem IDs, so I'd appreciate it
> > if you can tell me the brand and model of the card and, if possible, mail me
> > pictures of the card or, alternatively, list the chips that are on the card.
> >
> > Thanks,
> >
> > Hans
> >
> > --
> > Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
> >


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


rajesh.padalia at gmail

Nov 10, 2009, 4:50 AM

Post #5 of 15 (6481 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Andy,
I got message when I did modprobe ivtv card=7 tuner=57:
"FATAL: Error inserting ivtv
(/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
Unknown symbol in module, or unknown parameter (see dmesg)"

dmesg:
ivtv0: info: Removing card
ivtv0: info: Stopping all streams
ivtv0: info: Stopping decoding
ivtv0: info: Preparing for firmware halt.
ivtv0: info: Stopping VDM
ivtv0: info: Stopping AO
ivtv0: info: pinging (?) APU
ivtv0: info: Stopping VPU
ivtv0: info: Resetting Hw Blocks
ivtv0: info: Stopping SPU
ivtv0: info: init Encoder SDRAM pre-charge
ivtv0: info: init Encoder SDRAM refresh to 1us
ivtv0: info: Sleeping for 600ms
ivtv0: i2c: i2c exit
tda9887 1-0043: destroying instance
ivtv0: info: releasing reg_mem
ivtv0: info: releasing enc_mem
ivtv 0000:03:01.0: PCI INT A disabled
ivtv: Removed Hauppauge WinTV PVR-150
ivtv: Unknown parameter `card'

Thanks...
Rajesh


On Tue, Nov 10, 2009 at 3:25 AM, Andy Walls <awalls [at] radix> wrote:
> On Mon, 2009-11-09 at 20:12 +0300, Rajesh Padalia wrote:
>> Hans,
>> Attached are pictures of the card. I can see there are three chips on the card
>> 1. Conexant MPEG II A/V Encoder, CX23416-12,
>> 2. Hynix 417A, HY57V64322OCT-6
>> 3. Conexant, CX25843-24Z
>> On the card front it is written as 947D-4.
>>
>> Andy,
>> I haven't heard from Interact-TV yet.
>>
>> Thank you.
>>
>> Rajesh
>
> OK.  The card is a little different than what I thought.  The card
> should be straightforward to support.
>
> Here's an interesting post I found:
>
> http://www.ivtvdriver.org/pipermail/ivtv-users/2006-December/005240.html
>
> So first, could you try:
>
> (close all application that may have a /dev/video* device node open)
> # modprobe -r ivtv
> # modprobe ivtv card=7 tuner=57
>
>
> Card 7 (YUAN PG600/DIAMONDMM PVR-550) is a fairly simple design which
> has a good chance of matching your card given the picture and chips you
> list.
>
> Tune 57 (TUNER_PHILIPS_FQ1236A_MK4) is close to the FQ1236/F H-3, so it
> has a good chance of working as well.
>
> Regards,
> Andy
>
>> On Mon, Nov 9, 2009 at 1:23 PM, Hans Verkuil <hverkuil [at] xs4all> wrote:
>> > On Saturday 07 November 2009 13:46:30 Rajesh Padalia wrote:
>> >> Nov  7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
>> >> Nov  7 15:18:11 localhost kernel: ivtv0: Initializing card 0
>> >> Nov  7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
>> >> [4444:0016]
>> >> Nov  7 15:18:11 localhost kernel: ivtv0:               subsystem
>> >> vendor/device: [1540:9673]
>> >> Nov  7 15:18:11 localhost kernel: ivtv0:               cx23416 based
>> >> Nov  7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
>> >> PVR-150 card
>> >> Nov  7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
>> >> and subsystem vendor/device IDs and what kind of
>> >> Nov  7 15:18:11 localhost kernel: ivtv0: card you have to the
>> >> ivtv-devel mailinglist (www.ivtvdriver.org)
>> >> Nov  7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
>> >> [UNKNOWN IVTV CARD].
>> >>
>> >> _______________________________________________
>> >> ivtv-devel mailing list
>> >> ivtv-devel [at] ivtvdriver
>> >> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>> >>
>> >>
>> >
>> > What card is it? I don't recognize the subsystem IDs, so I'd appreciate it
>> > if you can tell me the brand and model of the card and, if possible, mail me
>> > pictures of the card or, alternatively, list the chips that are on the card.
>> >
>> > Thanks,
>> >
>> >        Hans
>> >
>> > --
>> > Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
>> >
>
>

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


awalls at radix

Nov 10, 2009, 3:43 PM

Post #6 of 15 (6387 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Tue, 2009-11-10 at 15:50 +0300, Rajesh Padalia wrote:
> Andy,
> I got message when I did modprobe ivtv card=7 tuner=57:
> "FATAL: Error inserting ivtv
> (/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)"

Oops: that should have been

# modprobe ivtv cardtype=7 tuner=57

Please try again.


For reference

# modinfo ivtv

will show you the possible module option names.

Regards,
Andy

> dmesg:
> ivtv0: info: Removing card
> ivtv0: info: Stopping all streams
> ivtv0: info: Stopping decoding
> ivtv0: info: Preparing for firmware halt.
> ivtv0: info: Stopping VDM
> ivtv0: info: Stopping AO
> ivtv0: info: pinging (?) APU
> ivtv0: info: Stopping VPU
> ivtv0: info: Resetting Hw Blocks
> ivtv0: info: Stopping SPU
> ivtv0: info: init Encoder SDRAM pre-charge
> ivtv0: info: init Encoder SDRAM refresh to 1us
> ivtv0: info: Sleeping for 600ms
> ivtv0: i2c: i2c exit
> tda9887 1-0043: destroying instance
> ivtv0: info: releasing reg_mem
> ivtv0: info: releasing enc_mem
> ivtv 0000:03:01.0: PCI INT A disabled
> ivtv: Removed Hauppauge WinTV PVR-150
> ivtv: Unknown parameter `card'
>
> Thanks...
> Rajesh
>
>
> On Tue, Nov 10, 2009 at 3:25 AM, Andy Walls <awalls [at] radix> wrote:
> > On Mon, 2009-11-09 at 20:12 +0300, Rajesh Padalia wrote:
> >> Hans,
> >> Attached are pictures of the card. I can see there are three chips on the card
> >> 1. Conexant MPEG II A/V Encoder, CX23416-12,
> >> 2. Hynix 417A, HY57V64322OCT-6
> >> 3. Conexant, CX25843-24Z
> >> On the card front it is written as 947D-4.
> >>
> >> Andy,
> >> I haven't heard from Interact-TV yet.
> >>
> >> Thank you.
> >>
> >> Rajesh
> >
> > OK. The card is a little different than what I thought. The card
> > should be straightforward to support.
> >
> > Here's an interesting post I found:
> >
> > http://www.ivtvdriver.org/pipermail/ivtv-users/2006-December/005240.html
> >
> > So first, could you try:
> >
> > (close all application that may have a /dev/video* device node open)
> > # modprobe -r ivtv
> > # modprobe ivtv card=7 tuner=57
> >
> >
> > Card 7 (YUAN PG600/DIAMONDMM PVR-550) is a fairly simple design which
> > has a good chance of matching your card given the picture and chips you
> > list.
> >
> > Tune 57 (TUNER_PHILIPS_FQ1236A_MK4) is close to the FQ1236/F H-3, so it
> > has a good chance of working as well.
> >
> > Regards,
> > Andy
> >
> >> On Mon, Nov 9, 2009 at 1:23 PM, Hans Verkuil <hverkuil [at] xs4all> wrote:
> >> > On Saturday 07 November 2009 13:46:30 Rajesh Padalia wrote:
> >> >> Nov 7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: Initializing card 0
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
> >> >> [4444:0016]
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: subsystem
> >> >> vendor/device: [1540:9673]
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: cx23416 based
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
> >> >> PVR-150 card
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
> >> >> and subsystem vendor/device IDs and what kind of
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: card you have to the
> >> >> ivtv-devel mailinglist (www.ivtvdriver.org)
> >> >> Nov 7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
> >> >> [UNKNOWN IVTV CARD].
> >> >>
> >> >> _______________________________________________
> >> >> ivtv-devel mailing list
> >> >> ivtv-devel [at] ivtvdriver
> >> >> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
> >> >>
> >> >>
> >> >
> >> > What card is it? I don't recognize the subsystem IDs, so I'd appreciate it
> >> > if you can tell me the brand and model of the card and, if possible, mail me
> >> > pictures of the card or, alternatively, list the chips that are on the card.
> >> >
> >> > Thanks,
> >> >
> >> > Hans
> >> >
> >> > --
> >> > Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
> >> >
> >
> >
>


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


rajesh.padalia at gmail

Nov 11, 2009, 8:55 AM

Post #7 of 15 (6361 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Hi Andy,
It works! I was able to capture video. I am yet to get Audio. Any idea?
-------------------------------
Output of 'v4l2-ctl --all' :

Driver Info:
Driver name : ivtv
Card type : Yuan PG600, Diamond PVR-550
Bus info : PCI:0000:03:01.0
Driver version: 66561
Capabilities : 0x01030051
Video Capture
VBI Capture
Sliced VBI Capture
Tuner
Audio
Read/Write
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'MPEG'
Field : Interlaced
Bytes per Line: 0
Size Image : 131072
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Format Sliced VBI Capture:
Service Set :
Service Line 0: /
Service Line 1: /
Service Line 2: /
Service Line 3: /
Service Line 4: /
Service Line 5: /
Service Line 6: /
Service Line 7: /
Service Line 8: /
Service Line 9: /
Service Line 10: /
Service Line 11: /
Service Line 12: /
Service Line 13: /
Service Line 14: /
Service Line 15: /
Service Line 16: /
Service Line 17: /
Service Line 18: /
Service Line 19: /
Service Line 20: /
Service Line 21: /
Service Line 22: /
Service Line 23: /
I/O Size : 0
Format VBI Capture:
Sampling Rate : 27000000 Hz
Offset : 248 samples (9.18519e-06 secs after leading edge)
Samples per Line: 1440
Sample Format : GREY
Start 1st Field : 6
Count 1st Field : 18
Start 2nd Field : 318
Count 2nd Field : 18
Crop Capability Video Output:
Bounds : Left 0, Top 0, Width 720, Height 480
Default : Left 0, Top 0, Width 720, Height 480
Pixel Aspect: 10/11
Video input : 2 (Composite 1)
Audio input : 1 (Line In 1)
Frequency: 1076 (67.250000 MHz)
Video Standard = 0x000000ff
PAL-B/B1/G/H/I/D/D1/K
Tuner:
Name : ivtv TV Tuner
Capabilities : 62.5 kHz multi-standard stereo lang1 lang2
Frequency range : 44.0 MHz - 958.0 MHz
Signal strength/AFC : 100%/187500
Current audio mode : lang1
Available subchannels: mono lang2
---------------------------------------------------------------------------------------------
Thanks for your help.
Rajesh

On Wed, Nov 11, 2009 at 2:43 AM, Andy Walls <awalls [at] radix> wrote:
> On Tue, 2009-11-10 at 15:50 +0300, Rajesh Padalia wrote:
>> Andy,
>> I got message when I did modprobe ivtv card=7 tuner=57:
>> "FATAL: Error inserting ivtv
>> (/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
>> Unknown symbol in module, or unknown parameter (see dmesg)"
>
> Oops:  that should have been
>
> # modprobe ivtv cardtype=7 tuner=57
>
> Please try again.
>
>
> For reference
>
> # modinfo ivtv
>
> will show you the possible module option names.
>
> Regards,
> Andy
>
>> dmesg:
>> ivtv0:  info: Removing card
>> ivtv0:  info: Stopping all streams
>> ivtv0:  info: Stopping decoding
>> ivtv0:  info: Preparing for firmware halt.
>> ivtv0:  info: Stopping VDM
>> ivtv0:  info: Stopping AO
>> ivtv0:  info: pinging (?) APU
>> ivtv0:  info: Stopping VPU
>> ivtv0:  info: Resetting Hw Blocks
>> ivtv0:  info: Stopping SPU
>> ivtv0:  info: init Encoder SDRAM pre-charge
>> ivtv0:  info: init Encoder SDRAM refresh to 1us
>> ivtv0:  info: Sleeping for 600ms
>> ivtv0:  i2c: i2c exit
>> tda9887 1-0043: destroying instance
>> ivtv0:  info: releasing reg_mem
>> ivtv0:  info: releasing enc_mem
>> ivtv 0000:03:01.0: PCI INT A disabled
>> ivtv: Removed Hauppauge WinTV PVR-150
>> ivtv: Unknown parameter `card'
>>
>> Thanks...
>> Rajesh
>>
>>
>> On Tue, Nov 10, 2009 at 3:25 AM, Andy Walls <awalls [at] radix> wrote:
>> > On Mon, 2009-11-09 at 20:12 +0300, Rajesh Padalia wrote:
>> >> Hans,
>> >> Attached are pictures of the card. I can see there are three chips on the card
>> >> 1. Conexant MPEG II A/V Encoder, CX23416-12,
>> >> 2. Hynix 417A, HY57V64322OCT-6
>> >> 3. Conexant, CX25843-24Z
>> >> On the card front it is written as 947D-4.
>> >>
>> >> Andy,
>> >> I haven't heard from Interact-TV yet.
>> >>
>> >> Thank you.
>> >>
>> >> Rajesh
>> >
>> > OK.  The card is a little different than what I thought.  The card
>> > should be straightforward to support.
>> >
>> > Here's an interesting post I found:
>> >
>> > http://www.ivtvdriver.org/pipermail/ivtv-users/2006-December/005240.html
>> >
>> > So first, could you try:
>> >
>> > (close all application that may have a /dev/video* device node open)
>> > # modprobe -r ivtv
>> > # modprobe ivtv card=7 tuner=57
>> >
>> >
>> > Card 7 (YUAN PG600/DIAMONDMM PVR-550) is a fairly simple design which
>> > has a good chance of matching your card given the picture and chips you
>> > list.
>> >
>> > Tune 57 (TUNER_PHILIPS_FQ1236A_MK4) is close to the FQ1236/F H-3, so it
>> > has a good chance of working as well.
>> >
>> > Regards,
>> > Andy
>> >
>> >> On Mon, Nov 9, 2009 at 1:23 PM, Hans Verkuil <hverkuil [at] xs4all> wrote:
>> >> > On Saturday 07 November 2009 13:46:30 Rajesh Padalia wrote:
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv: Start initialization, version 1.4.1
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0: Initializing card 0
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0: Unknown card: vendor/device:
>> >> >> [4444:0016]
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0:               subsystem
>> >> >> vendor/device: [1540:9673]
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0:               cx23416 based
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0: Defaulting to Hauppauge WinTV
>> >> >> PVR-150 card
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0: Please mail the vendor/device
>> >> >> and subsystem vendor/device IDs and what kind of
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0: card you have to the
>> >> >> ivtv-devel mailinglist (www.ivtvdriver.org)
>> >> >> Nov  7 15:18:11 localhost kernel: ivtv0: Prefix your subject line with
>> >> >> [UNKNOWN IVTV CARD].
>> >> >>
>> >> >> _______________________________________________
>> >> >> ivtv-devel mailing list
>> >> >> ivtv-devel [at] ivtvdriver
>> >> >> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>> >> >>
>> >> >>
>> >> >
>> >> > What card is it? I don't recognize the subsystem IDs, so I'd appreciate it
>> >> > if you can tell me the brand and model of the card and, if possible, mail me
>> >> > pictures of the card or, alternatively, list the chips that are on the card.
>> >> >
>> >> > Thanks,
>> >> >
>> >> >        Hans
>> >> >
>> >> > --
>> >> > Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
>> >> >
>> >
>> >
>>
>
>

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


awalls at radix

Nov 11, 2009, 3:18 PM

Post #8 of 15 (6348 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
> Hi Andy,
> It works! I was able to capture video. I am yet to get Audio. Any idea?
> -------------------------------

1. Please provide the output of

$ v4l2-ctl --log-status

while capturing TV.

2. Also could you provide the chip numbers from the two black chips
next to the end of the metal tuner can just above the 27.00 MHz crystal?
I can't read them from the photograph. One looks like it has a
"Philips" logo, but I can't tell much else.

3. Make sure you have the firmware for the cx25843 chip in the proper
firmware directory for your distirbution. You will never get broadcast
audio without that firmware loaded into the CX25843.

Regards,
Andy

> ---------------------------------------------------------------------------------------------
> Thanks for your help.
> Rajesh
>
> On Wed, Nov 11, 2009 at 2:43 AM, Andy Walls <awalls [at] radix> wrote:
> > On Tue, 2009-11-10 at 15:50 +0300, Rajesh Padalia wrote:
> >> Andy,
> >> I got message when I did modprobe ivtv card=7 tuner=57:
> >> "FATAL: Error inserting ivtv
> >> (/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
> >> Unknown symbol in module, or unknown parameter (see dmesg)"
> >
> > Oops: that should have been
> >
> > # modprobe ivtv cardtype=7 tuner=57
> >
> > Please try again.
> >
> >
> > For reference
> >
> > # modinfo ivtv
> >
> > will show you the possible module option names.
> >
> > Regards,
> > Andy
> >



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


rajesh.padalia at gmail

Nov 12, 2009, 9:34 AM

Post #9 of 15 (6323 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Hi Andy,
1. $ v4l2-ctl --log-status:
Status Log:

ivtv0: ================= START STATUS CARD #0 =================
ivtv0: Version: 1.4.1 Card: Yuan PG600, Diamond PVR-550
cx25840 1-0044: Video signal: present
cx25840 1-0044: Detected format: PAL-BDGHI
cx25840 1-0044: Specified standard: NTSC-M
cx25840 1-0044: Specified video input: Composite 1
cx25840 1-0044: Specified audioclock freq: 48000 Hz
cx25840 1-0044: Detected audio mode: mono
cx25840 1-0044: Detected audio standard: no detected audio standard
cx25840 1-0044: Audio muted: no
cx25840 1-0044: Audio microcontroller: stopped
cx25840 1-0044: Configured audio standard: automatic detection
cx25840 1-0044: Configured audio system: BTSC
cx25840 1-0044: Specified audio input: External
cx25840 1-0044: Preferred audio mode: stereo
tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
tuner 1-0060: Tuner mode: analog TV
tuner 1-0060: Frequency: 67.25 MHz
tuner 1-0060: Standard: 0x00001000
ivtv0: Video Input: Composite 1
ivtv0: Audio Input: Line In 1
ivtv0: Tuner: TV
ivtv0: Stream: MPEG-2 Program Stream
ivtv0: VBI Format: No VBI
ivtv0: Video: 720x480, 30 fps
ivtv0: Video: MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
ivtv0: Video: GOP Size 15, 2 B-Frames, GOP Closure
ivtv0: Audio: 48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No
Emphasis, No CRC
ivtv0: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
ivtv0: Temporal Filter: Manual, 8
ivtv0: Median Filter: Off, Luma [0, 255], Chroma [0, 255]
ivtv0: Status flags: 0x00200000
ivtv0: Stream encoder MPG: status 0x0118, 0% of 4096 KiB (128 buffers) in use
ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
ivtv0: Read MPG/VBI: 19052480/0 bytes
ivtv0: ================== END STATUS CARD #0 ==================

2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
The other one is: 5333KZ, GZ0337

3. I have '/lib/firmware/v4l-cx25840.fw' in my Fedora distro

Today I got picture which seems to be out of sync.

Thank you,

Rajesh


On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
> On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
>> Hi Andy,
>> It works! I was able to capture video. I am yet to get Audio. Any idea?
>> -------------------------------
>
> 1. Please provide the output of
>
> $ v4l2-ctl --log-status
>
> while capturing TV.
>
> 2.  Also could you provide the chip numbers from the two black chips
> next to the end of the metal tuner can just above the 27.00 MHz crystal?
> I can't read them from the photograph.  One looks like it has a
> "Philips" logo, but I can't tell much else.
>
> 3. Make sure you have the firmware for the cx25843 chip in the proper
> firmware directory for your distirbution.  You will never get broadcast
> audio without that firmware loaded into the CX25843.
>
> Regards,
> Andy
>
>> ---------------------------------------------------------------------------------------------
>> Thanks for your help.
>> Rajesh
>>
>> On Wed, Nov 11, 2009 at 2:43 AM, Andy Walls <awalls [at] radix> wrote:
>> > On Tue, 2009-11-10 at 15:50 +0300, Rajesh Padalia wrote:
>> >> Andy,
>> >> I got message when I did modprobe ivtv card=7 tuner=57:
>> >> "FATAL: Error inserting ivtv
>> >> (/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
>> >> Unknown symbol in module, or unknown parameter (see dmesg)"
>> >
>> > Oops:  that should have been
>> >
>> > # modprobe ivtv cardtype=7 tuner=57
>> >
>> > Please try again.
>> >
>> >
>> > For reference
>> >
>> > # modinfo ivtv
>> >
>> > will show you the possible module option names.
>> >
>> > Regards,
>> > Andy
>> >
>
>
>

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


rajesh.padalia at gmail

Nov 12, 2009, 10:04 AM

Post #10 of 15 (6328 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Hi Andy,
I could resolve issue of óut of sync' by setting video standard to PAL
Thanks...
Rajesh

On Thu, Nov 12, 2009 at 8:34 PM, Rajesh Padalia
<rajesh.padalia [at] gmail> wrote:
> Hi Andy,
> 1. $ v4l2-ctl --log-status:
> Status Log:
>
>   ivtv0: =================  START STATUS CARD #0  =================
>   ivtv0: Version: 1.4.1 Card: Yuan PG600, Diamond PVR-550
>   cx25840 1-0044: Video signal:              present
>   cx25840 1-0044: Detected format:           PAL-BDGHI
>   cx25840 1-0044: Specified standard:        NTSC-M
>   cx25840 1-0044: Specified video input:     Composite 1
>   cx25840 1-0044: Specified audioclock freq: 48000 Hz
>   cx25840 1-0044: Detected audio mode:       mono
>   cx25840 1-0044: Detected audio standard:   no detected audio standard
>   cx25840 1-0044: Audio muted:               no
>   cx25840 1-0044: Audio microcontroller:     stopped
>   cx25840 1-0044: Configured audio standard: automatic detection
>   cx25840 1-0044: Configured audio system:   BTSC
>   cx25840 1-0044: Specified audio input:     External
>   cx25840 1-0044: Preferred audio mode:      stereo
>   tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
>   tuner 1-0060: Tuner mode:      analog TV
>   tuner 1-0060: Frequency:       67.25 MHz
>   tuner 1-0060: Standard:        0x00001000
>   ivtv0: Video Input:  Composite 1
>   ivtv0: Audio Input:  Line In 1
>   ivtv0: Tuner:  TV
>   ivtv0: Stream: MPEG-2 Program Stream
>   ivtv0: VBI Format: No VBI
>   ivtv0: Video:  720x480, 30 fps
>   ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
>   ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
>   ivtv0: Audio:  48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No
> Emphasis, No CRC
>   ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
>   ivtv0: Temporal Filter: Manual, 8
>   ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
>   ivtv0: Status flags:    0x00200000
>   ivtv0: Stream encoder MPG: status 0x0118, 0% of 4096 KiB (128 buffers) in use
>   ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
>   ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
>   ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
>   ivtv0: Read MPG/VBI: 19052480/0 bytes
>   ivtv0: ==================  END STATUS CARD #0  ==================
>
> 2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
>    The other one is: 5333KZ, GZ0337
>
> 3. I have '/lib/firmware/v4l-cx25840.fw' in my Fedora distro
>
> Today I got picture which seems to be out of sync.
>
> Thank you,
>
> Rajesh
>
>
> On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
>> On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
>>> Hi Andy,
>>> It works! I was able to capture video. I am yet to get Audio. Any idea?
>>> -------------------------------
>>
>> 1. Please provide the output of
>>
>> $ v4l2-ctl --log-status
>>
>> while capturing TV.
>>
>> 2.  Also could you provide the chip numbers from the two black chips
>> next to the end of the metal tuner can just above the 27.00 MHz crystal?
>> I can't read them from the photograph.  One looks like it has a
>> "Philips" logo, but I can't tell much else.
>>
>> 3. Make sure you have the firmware for the cx25843 chip in the proper
>> firmware directory for your distirbution.  You will never get broadcast
>> audio without that firmware loaded into the CX25843.
>>
>> Regards,
>> Andy
>>
>>> ---------------------------------------------------------------------------------------------
>>> Thanks for your help.
>>> Rajesh
>>>
>>> On Wed, Nov 11, 2009 at 2:43 AM, Andy Walls <awalls [at] radix> wrote:
>>> > On Tue, 2009-11-10 at 15:50 +0300, Rajesh Padalia wrote:
>>> >> Andy,
>>> >> I got message when I did modprobe ivtv card=7 tuner=57:
>>> >> "FATAL: Error inserting ivtv
>>> >> (/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
>>> >> Unknown symbol in module, or unknown parameter (see dmesg)"
>>> >
>>> > Oops:  that should have been
>>> >
>>> > # modprobe ivtv cardtype=7 tuner=57
>>> >
>>> > Please try again.
>>> >
>>> >
>>> > For reference
>>> >
>>> > # modinfo ivtv
>>> >
>>> > will show you the possible module option names.
>>> >
>>> > Regards,
>>> > Andy
>>> >
>>
>>
>>
>

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


rajesh.padalia at gmail

Nov 12, 2009, 11:07 AM

Post #11 of 15 (6318 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Andy,
More updates:
Using TV Tuner input I could get audio in some channel, however no
video using TV Tuner.
Thanks and best regards,
Rajesh

On Thu, Nov 12, 2009 at 9:04 PM, Rajesh Padalia
<rajesh.padalia [at] gmail> wrote:
> Hi Andy,
> I could resolve issue of óut of sync' by setting video standard to PAL
> Thanks...
> Rajesh
>
> On Thu, Nov 12, 2009 at 8:34 PM, Rajesh Padalia
> <rajesh.padalia [at] gmail> wrote:
>> Hi Andy,
>> 1. $ v4l2-ctl --log-status:
>> Status Log:
>>
>>   ivtv0: =================  START STATUS CARD #0  =================
>>   ivtv0: Version: 1.4.1 Card: Yuan PG600, Diamond PVR-550
>>   cx25840 1-0044: Video signal:              present
>>   cx25840 1-0044: Detected format:           PAL-BDGHI
>>   cx25840 1-0044: Specified standard:        NTSC-M
>>   cx25840 1-0044: Specified video input:     Composite 1
>>   cx25840 1-0044: Specified audioclock freq: 48000 Hz
>>   cx25840 1-0044: Detected audio mode:       mono
>>   cx25840 1-0044: Detected audio standard:   no detected audio standard
>>   cx25840 1-0044: Audio muted:               no
>>   cx25840 1-0044: Audio microcontroller:     stopped
>>   cx25840 1-0044: Configured audio standard: automatic detection
>>   cx25840 1-0044: Configured audio system:   BTSC
>>   cx25840 1-0044: Specified audio input:     External
>>   cx25840 1-0044: Preferred audio mode:      stereo
>>   tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
>>   tuner 1-0060: Tuner mode:      analog TV
>>   tuner 1-0060: Frequency:       67.25 MHz
>>   tuner 1-0060: Standard:        0x00001000
>>   ivtv0: Video Input:  Composite 1
>>   ivtv0: Audio Input:  Line In 1
>>   ivtv0: Tuner:  TV
>>   ivtv0: Stream: MPEG-2 Program Stream
>>   ivtv0: VBI Format: No VBI
>>   ivtv0: Video:  720x480, 30 fps
>>   ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
>>   ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
>>   ivtv0: Audio:  48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No
>> Emphasis, No CRC
>>   ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
>>   ivtv0: Temporal Filter: Manual, 8
>>   ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
>>   ivtv0: Status flags:    0x00200000
>>   ivtv0: Stream encoder MPG: status 0x0118, 0% of 4096 KiB (128 buffers) in use
>>   ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
>>   ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
>>   ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
>>   ivtv0: Read MPG/VBI: 19052480/0 bytes
>>   ivtv0: ==================  END STATUS CARD #0  ==================
>>
>> 2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
>>    The other one is: 5333KZ, GZ0337
>>
>> 3. I have '/lib/firmware/v4l-cx25840.fw' in my Fedora distro
>>
>> Today I got picture which seems to be out of sync.
>>
>> Thank you,
>>
>> Rajesh
>>
>>
>> On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
>>> On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
>>>> Hi Andy,
>>>> It works! I was able to capture video. I am yet to get Audio. Any idea?
>>>> -------------------------------
>>>
>>> 1. Please provide the output of
>>>
>>> $ v4l2-ctl --log-status
>>>
>>> while capturing TV.
>>>
>>> 2.  Also could you provide the chip numbers from the two black chips
>>> next to the end of the metal tuner can just above the 27.00 MHz crystal?
>>> I can't read them from the photograph.  One looks like it has a
>>> "Philips" logo, but I can't tell much else.
>>>
>>> 3. Make sure you have the firmware for the cx25843 chip in the proper
>>> firmware directory for your distirbution.  You will never get broadcast
>>> audio without that firmware loaded into the CX25843.
>>>
>>> Regards,
>>> Andy
>>>
>>>> ---------------------------------------------------------------------------------------------
>>>> Thanks for your help.
>>>> Rajesh
>>>>
>>>> On Wed, Nov 11, 2009 at 2:43 AM, Andy Walls <awalls [at] radix> wrote:
>>>> > On Tue, 2009-11-10 at 15:50 +0300, Rajesh Padalia wrote:
>>>> >> Andy,
>>>> >> I got message when I did modprobe ivtv card=7 tuner=57:
>>>> >> "FATAL: Error inserting ivtv
>>>> >> (/lib/modules/2.6.31.5-117.fc12.x86_64/kernel/drivers/media/video/ivtv/ivtv.ko):
>>>> >> Unknown symbol in module, or unknown parameter (see dmesg)"
>>>> >
>>>> > Oops:  that should have been
>>>> >
>>>> > # modprobe ivtv cardtype=7 tuner=57
>>>> >
>>>> > Please try again.
>>>> >
>>>> >
>>>> > For reference
>>>> >
>>>> > # modinfo ivtv
>>>> >
>>>> > will show you the possible module option names.
>>>> >
>>>> > Regards,
>>>> > Andy
>>>> >
>>>
>>>
>>>
>>
>

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


awalls at radix

Nov 13, 2009, 11:32 AM

Post #12 of 15 (6288 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Thu, 2009-11-12 at 20:34 +0300, Rajesh Padalia wrote:
> Hi Andy,
> 1. $ v4l2-ctl --log-status:
> Status Log:
>
> ivtv0: ================= START STATUS CARD #0 =================
> ivtv0: Version: 1.4.1 Card: Yuan PG600, Diamond PVR-550
> cx25840 1-0044: Video signal: present
> cx25840 1-0044: Detected format: PAL-BDGHI
> cx25840 1-0044: Specified standard: NTSC-M
> cx25840 1-0044: Specified video input: Composite 1
> cx25840 1-0044: Specified audioclock freq: 48000 Hz
> cx25840 1-0044: Detected audio mode: mono
> cx25840 1-0044: Detected audio standard: no detected audio standard
> cx25840 1-0044: Audio muted: no
> cx25840 1-0044: Audio microcontroller: stopped
> cx25840 1-0044: Configured audio standard: automatic detection
> cx25840 1-0044: Configured audio system: BTSC
> cx25840 1-0044: Specified audio input: External
> cx25840 1-0044: Preferred audio mode: stereo
> tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
> tuner 1-0060: Tuner mode: analog TV
> tuner 1-0060: Frequency: 67.25 MHz
> tuner 1-0060: Standard: 0x00001000
> ivtv0: Video Input: Composite 1
> ivtv0: Audio Input: Line In 1
> ivtv0: Tuner: TV
> ivtv0: Stream: MPEG-2 Program Stream
> ivtv0: VBI Format: No VBI
> ivtv0: Video: 720x480, 30 fps
> ivtv0: Video: MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
> ivtv0: Video: GOP Size 15, 2 B-Frames, GOP Closure
> ivtv0: Audio: 48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No
> Emphasis, No CRC
> ivtv0: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
> ivtv0: Temporal Filter: Manual, 8
> ivtv0: Median Filter: Off, Luma [0, 255], Chroma [0, 255]
> ivtv0: Status flags: 0x00200000
> ivtv0: Stream encoder MPG: status 0x0118, 0% of 4096 KiB (128 buffers) in use
> ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
> ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
> ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
> ivtv0: Read MPG/VBI: 19052480/0 bytes
> ivtv0: ================== END STATUS CARD #0 ==================

OK. You figured out that setting NTSc whne a PAL video signal is coming
in, doesn't work so well.


> 2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
> The other one is: 5333KZ, GZ0337

OK those chips are what I needed to know:

Philips/NXP 74HC4053 Triple 2:1 analog multiplexer:
http://www.nxp.com/acrobat_download/datasheets/74HC_HCT4053_4.pdf

Cirrus Logic CS5333 24 bit, 96 kHz stereo A/D converter:
http://www.digchip.com/datasheets/download_datasheet.php?id=228624&part-number=CDB5333

This is where the information from Ineteract-TV could save everyone a
lot of time and effort. *sigh*

Oh, well. I have created a preliminary card entry for the PV-947D in my
repository here:

http://linuxtv.org/hg/~awalls/ivtv-provideo/


The easiest thing to do is to download the tar.gz archive from this
link:

http://linuxtv.org/hg/~awalls/ivtv-provideo/archive/tip.tar.gz

And build and install the v4l-dvb subsystem modules:

$ tar -xvf tip.tar.gz
$ cd (into the newly extarcted archive)
$ make
$ cd v4l2-apps
$ make (it will fail, but ivtv-ctl will get built)
$ cd ..
$ su root
# make install
# make unload; make unload
# /sbin/modprobe ivtv

(*WARNING* The 'make install' step will overwrite all of you existing
v4l-dvb (media subsystem) modules under /lib/modules/`uname -r` . Back
them up if you wan to save them.)

Now ivtv should at least automatically recognize your card.

And now the fun part: *you* have to experiment and fix the card
definition.

1. You will have to figure out which of the 8 CX25843 analog inputs
correspond to which of the following:

a. RF tuner assembly CVBS (composite) video
b. RF Sound IF (SIF) audio
c. Rear bracket CVBS (composite) video
d. Rear bracket SVideo Luma (Y) video component
e. Rear bracket SVideo Chroma (C) video component

I assume you'll just ignore the internal black video connector with pins
labeled Y (Luma or CVBS?), C (Chroma), AV (?), and G (ground) as these
would be for Compsite 2 and SVideo 2.


2. You will have to figure out how to set the GPIO pin direction, and
masks for audio routing:

a. RF tuner baseband audio (if you can't use SIF audio for some reason)
b. Rear bracket Line-in 1 L and R audio

I assume you'll ignore the the internal black video connector with pins
labeled L (Left), R (Right) and G (ground) as these would be Line in 2
audio.


OK. So that's the task. Now how do you do it? You'll need to edit

linux/drivers/media/video/ivtv/ivtv-cards.c

to fix up the card entry for the Provideo PV-947D. It currently looks Like this:

static const struct ivtv_card ivtv_card_provideo = {
.type = IVTV_CARD_PROVIDEO_PV947,
.name = "Provideo Multimedia PV-947D",
.v4l2_capabilities = IVTV_CAP_ENCODER,
.hw_video = IVTV_HW_CX25840,
.hw_audio = IVTV_HW_CX25840,
.hw_audio_ctrl = IVTV_HW_CX25840,
.hw_muxer = IVTV_HW_GPIO,
.hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER | IVTV_HW_GPIO,
.video_inputs = {
{ IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 },
/* Rear Bracket connectors */
{ IVTV_CARD_INPUT_SVIDEO1, 1,
CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
{ IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
/* Internal Video-In connectors */
{ IVTV_CARD_INPUT_SVIDEO2, 2,
CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
{ IVTV_CARD_INPUT_COMPOSITE2, 2, CX25840_COMPOSITE1 },
},
.audio_inputs = {
{ IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5, 0 },
{ IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, 1 },
{ IVTV_CARD_INPUT_LINE_IN2, CX25840_AUDIO_SERIAL, 2 },
},
.tuners = {
{ .std = V4L2_STD_NTSC, .tuner = TUNER_PHILIPS_FQ1236A_MK4 },
},
/*
* The 74HC4053 Triple 2:1 multiplexer must be controlled by 3 GPIOs.
* It is likely the mux switches Audio L and R between the rear bracket
* connector and the internal connectors.
* It is unclear if the third unit in the triple mux switches Y or C or
* something else.
*
* The board also has an LED (D2) which is likely controlled by a GPIO
*/
.gpio_init = { .direction = 0x0000, .initial_value = 0 },
.gpio_audio_input = { .mask = 0x0000,
.tuner = 0x0000,
.linein = 0x0000, /* Line In 1: rear bracket */
.radio = 0x0000 }, /* Line in 2: internal con */
.pci_list = ivtv_pci_provideo,
.i2c = &ivtv_i2c_std,
};




1. I assume you don't have an NTSC-M RF source available to you, so
we'll forget about the RF tuner for now. That means we won't be editing
the lines that look like these:

{ IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 },

{ IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5, 0 },

.tuner = 0x0000,

2. Set the card using v4l2-ctl to "Composite 1" and the proper video
standard for the incoming signal (PAL, SECAM, NTSC) on the rear bracket
connector. If you have color video that looks correct go to the next
step. If not change this line:

{ IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },

so the last argument is CX25840_COMPOSITE2, rebuild the driver,
reinstall the drivers, unload the ivtv module, load the new ivtv module
and test again. If that doesn't work continue to test
CX24840_COMPOSITE3 through 8. One of them should work.


3. Set the card using v4l2-ctl to "SVideo 1" and the proper video
standard for the incoming SVideo signal (PAL, SECAM, NTSC) on the rear
bracket connector. If you have color video that looks correct go to the
next step. Otherwise change this line:

{ IVTV_CARD_INPUT_SVIDEO1, 1,
CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },

so the last argument's LUMA value is CX25840_SVIDEO_LUMA1. rebuild the
driver, reinstall the drivers, unload the ivtv module, load the new ivtv
module and test again. If that doesn't work continue to test
CX25840_SVIDEO_LUMA2 through 8, skipping the value you found to be
correct for video in the previous step(s). One of them should work such
that you get at least a good black and white picture.

Once you have Black and White SVideo, repeat the process with the
CX25840_SVIDEO_CHROMAn values, skipping the values you already know are
correct for previous step(s), until you get good color.



4. You will need to determine the GPIO output settings for to make line
in 1 audio work. Using v4l2-ctl set the iput to "Composite 1" or
"SVideo 1" and start a capture. As root, from where you built the
drivers, run

# v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio

to show that state of the 16 GPIO pins. They should all have their
direction set as input, and some random garbage should be read in for
the in and out values. You will now use

# v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xuuuu,val=0xvvvv
# v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio

To set 2 GPIO output pins (one for Line in 1 L audio, one for Line in 1
R audio) to a high level (or maybe a low level) to hear audio from Line
in 1. I would start with the highest bits first:

# v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0xc000
# v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0x0000

and work my way down to the lowest bits. (One of the 16 bit will likely
end up controlling the LED on the board.)

One you find the bits that give you good Line in 1 audio: you will edit
these lines in the card entry:

.gpio_init = { .direction = 0x0000, .initial_value = 0 },
.gpio_audio_input = { .mask = 0x0000,
.tuner = 0x0000,
.linein = 0x0000, /* Line In 1: rear bracket */
.radio = 0x0000 }, /* Line in 2: internal con */

To fix the direction, mask, and linein value.


Good luck.

Regards,
Andy


> On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
> > On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
> >> Hi Andy,
> >> It works! I was able to capture video. I am yet to get Audio. Any idea?
> >> -------------------------------
> >
> > 1. Please provide the output of
> >
> > $ v4l2-ctl --log-status
> >
> > while capturing TV.
> >
> > 2. Also could you provide the chip numbers from the two black chips
> > next to the end of the metal tuner can just above the 27.00 MHz crystal?
> > I can't read them from the photograph. One looks like it has a
> > "Philips" logo, but I can't tell much else.
> >
> > 3. Make sure you have the firmware for the cx25843 chip in the proper
> > firmware directory for your distirbution. You will never get broadcast
> > audio without that firmware loaded into the CX25843.
> >
> > Regards,
> > Andy
> >
> >> ---------------------------------------------------------------------------------------------
> >> Thanks for your help.
> >> Rajesh




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


rajesh.padalia at gmail

Nov 13, 2009, 12:33 PM

Post #13 of 15 (6259 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Andy,
That's great stuff. I am excited to try all what you have advised.
I will be trying it out in few days time. I am going to Singapore for
4 days and will be back on Thursday. Hopefully I should be able to try
it out next weekend. I am also sending reminder to Interact-TV today.
Thanks a lot for all your help.
Rajesh

On Fri, Nov 13, 2009 at 10:32 PM, Andy Walls <awalls [at] radix> wrote:
> On Thu, 2009-11-12 at 20:34 +0300, Rajesh Padalia wrote:
>> Hi Andy,
>> 1. $ v4l2-ctl --log-status:
>> Status Log:
>>
>>    ivtv0: =================  START STATUS CARD #0  =================
>>    ivtv0: Version: 1.4.1 Card: Yuan PG600, Diamond PVR-550
>>    cx25840 1-0044: Video signal:              present
>>    cx25840 1-0044: Detected format:           PAL-BDGHI
>>    cx25840 1-0044: Specified standard:        NTSC-M
>>    cx25840 1-0044: Specified video input:     Composite 1
>>    cx25840 1-0044: Specified audioclock freq: 48000 Hz
>>    cx25840 1-0044: Detected audio mode:       mono
>>    cx25840 1-0044: Detected audio standard:   no detected audio standard
>>    cx25840 1-0044: Audio muted:               no
>>    cx25840 1-0044: Audio microcontroller:     stopped
>>    cx25840 1-0044: Configured audio standard: automatic detection
>>    cx25840 1-0044: Configured audio system:   BTSC
>>    cx25840 1-0044: Specified audio input:     External
>>    cx25840 1-0044: Preferred audio mode:      stereo
>>    tda9887 1-0043: Data bytes: b=0xd4 c=0x30 e=0x44
>>    tuner 1-0060: Tuner mode:      analog TV
>>    tuner 1-0060: Frequency:       67.25 MHz
>>    tuner 1-0060: Standard:        0x00001000
>>    ivtv0: Video Input:  Composite 1
>>    ivtv0: Audio Input:  Line In 1
>>    ivtv0: Tuner:  TV
>>    ivtv0: Stream: MPEG-2 Program Stream
>>    ivtv0: VBI Format: No VBI
>>    ivtv0: Video:  720x480, 30 fps
>>    ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
>>    ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
>>    ivtv0: Audio:  48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No
>> Emphasis, No CRC
>>    ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
>>    ivtv0: Temporal Filter: Manual, 8
>>    ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
>>    ivtv0: Status flags:    0x00200000
>>    ivtv0: Stream encoder MPG: status 0x0118, 0% of 4096 KiB (128 buffers) in use
>>    ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
>>    ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
>>    ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
>>    ivtv0: Read MPG/VBI: 19052480/0 bytes
>>    ivtv0: ==================  END STATUS CARD #0  ==================
>
> OK.  You figured out that setting NTSc whne a PAL video signal is coming
> in, doesn't work so well.
>
>
>> 2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
>>     The other one is: 5333KZ, GZ0337
>
> OK those chips are what I needed to know:
>
> Philips/NXP 74HC4053 Triple 2:1 analog multiplexer:
> http://www.nxp.com/acrobat_download/datasheets/74HC_HCT4053_4.pdf
>
> Cirrus Logic CS5333 24 bit, 96 kHz stereo A/D converter:
> http://www.digchip.com/datasheets/download_datasheet.php?id=228624&part-number=CDB5333
>
> This is where the information from Ineteract-TV could save everyone a
> lot of time and effort.  *sigh*
>
> Oh, well.  I have created a preliminary card entry for the PV-947D in my
> repository here:
>
>        http://linuxtv.org/hg/~awalls/ivtv-provideo/
>
>
> The easiest thing to do is to download the tar.gz archive from this
> link:
>
>        http://linuxtv.org/hg/~awalls/ivtv-provideo/archive/tip.tar.gz
>
> And build and install the v4l-dvb subsystem modules:
>
>        $ tar -xvf tip.tar.gz
>        $ cd (into the newly extarcted archive)
>        $ make
>        $ cd v4l2-apps
>        $ make   (it will fail, but ivtv-ctl will get built)
>        $ cd ..
>        $ su root
>        # make install
>        # make unload; make unload
>        # /sbin/modprobe ivtv
>
> (*WARNING* The 'make install' step will overwrite all of you existing
> v4l-dvb (media subsystem) modules under /lib/modules/`uname -r` .  Back
> them up if you wan to save them.)
>
> Now ivtv should at least automatically recognize your card.
>
> And now the fun part: *you* have to experiment and fix the card
> definition.
>
> 1. You will have to figure out which of the 8 CX25843 analog inputs
> correspond to which of the following:
>
> a. RF tuner assembly CVBS (composite) video
> b. RF Sound IF (SIF) audio
> c. Rear bracket CVBS (composite) video
> d. Rear bracket SVideo Luma (Y) video component
> e. Rear bracket SVideo Chroma (C) video component
>
> I assume you'll just ignore the internal black video connector with pins
> labeled Y (Luma or CVBS?), C (Chroma), AV (?), and G (ground) as these
> would be for Compsite 2 and SVideo 2.
>
>
> 2. You will have to figure out how to set the GPIO pin direction, and
> masks for audio routing:
>
> a. RF tuner baseband audio (if you can't use SIF audio for some reason)
> b. Rear bracket Line-in 1 L and R audio
>
> I assume you'll ignore the the internal black video connector with pins
> labeled L (Left), R (Right) and G (ground) as these would be Line in 2
> audio.
>
>
> OK. So that's the task.  Now how do you do it?  You'll need to edit
>
>        linux/drivers/media/video/ivtv/ivtv-cards.c
>
> to fix up the card entry for the Provideo PV-947D.  It currently looks Like this:
>
> static const struct ivtv_card ivtv_card_provideo = {
>        .type = IVTV_CARD_PROVIDEO_PV947,
>        .name = "Provideo Multimedia PV-947D",
>        .v4l2_capabilities = IVTV_CAP_ENCODER,
>        .hw_video = IVTV_HW_CX25840,
>        .hw_audio = IVTV_HW_CX25840,
>        .hw_audio_ctrl = IVTV_HW_CX25840,
>        .hw_muxer = IVTV_HW_GPIO,
>        .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER | IVTV_HW_GPIO,
>        .video_inputs = {
>                { IVTV_CARD_INPUT_VID_TUNER,  0, CX25840_COMPOSITE2 },
>                /* Rear Bracket connectors */
>                { IVTV_CARD_INPUT_SVIDEO1,    1,
>                  CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
>                { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
>                /* Internal Video-In connectors */
>                { IVTV_CARD_INPUT_SVIDEO2,    2,
>                  CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
>                { IVTV_CARD_INPUT_COMPOSITE2, 2, CX25840_COMPOSITE1 },
>        },
>        .audio_inputs = {
>                { IVTV_CARD_INPUT_AUD_TUNER,  CX25840_AUDIO5,           0 },
>                { IVTV_CARD_INPUT_LINE_IN1,   CX25840_AUDIO_SERIAL,     1 },
>                { IVTV_CARD_INPUT_LINE_IN2,   CX25840_AUDIO_SERIAL,     2 },
>        },
>        .tuners = {
>                { .std = V4L2_STD_NTSC, .tuner = TUNER_PHILIPS_FQ1236A_MK4 },
>        },
>        /*
>         * The 74HC4053 Triple 2:1 multiplexer must be controlled by 3 GPIOs.
>         * It is likely the mux switches Audio L and R between the rear bracket
>         * connector and the internal connectors.
>         * It is unclear if the third unit in the triple mux switches Y or C or
>         * something else.
>         *
>         * The board also has an LED (D2) which is likely controlled by a GPIO
>         */
>        .gpio_init = { .direction = 0x0000, .initial_value = 0 },
>        .gpio_audio_input  = { .mask   = 0x0000,
>                               .tuner  = 0x0000,
>                               .linein = 0x0000,   /* Line In 1: rear bracket */
>                               .radio  = 0x0000 }, /* Line in 2: internal con */
>        .pci_list = ivtv_pci_provideo,
>        .i2c = &ivtv_i2c_std,
> };
>
>
>
>
> 1. I assume you don't have an NTSC-M RF source available to you, so
> we'll forget about the RF tuner for now.  That means we won't be editing
> the lines that look like these:
>
>        { IVTV_CARD_INPUT_VID_TUNER,  0, CX25840_COMPOSITE2 },
>
>        { IVTV_CARD_INPUT_AUD_TUNER,  CX25840_AUDIO5,           0 },
>
>        .tuner  = 0x0000,
>
> 2. Set the card using v4l2-ctl to "Composite 1" and the proper video
> standard for the incoming signal (PAL, SECAM, NTSC) on the rear bracket
> connector.  If you have color video that looks correct go to the next
> step.  If not change this line:
>
>        { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
>
> so the last argument is CX25840_COMPOSITE2, rebuild the driver,
> reinstall the drivers, unload the ivtv module, load the new ivtv module
> and test again.  If that doesn't work continue to test
> CX24840_COMPOSITE3 through 8.  One of them should work.
>
>
> 3. Set the card using v4l2-ctl to "SVideo 1" and the proper video
> standard for the incoming SVideo signal (PAL, SECAM, NTSC) on the rear
> bracket connector.  If you have color video that looks correct go to the
> next step.  Otherwise change this line:
>
>        { IVTV_CARD_INPUT_SVIDEO1,    1,
>                  CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
>
> so the last argument's LUMA value is CX25840_SVIDEO_LUMA1. rebuild the
> driver, reinstall the drivers, unload the ivtv module, load the new ivtv
> module and test again.  If that doesn't work continue to test
> CX25840_SVIDEO_LUMA2 through 8, skipping the value you found to be
> correct for video in the previous step(s).  One of them should work such
> that you get at least a good black and white picture.
>
> Once you have Black and White SVideo, repeat the process with the
> CX25840_SVIDEO_CHROMAn values, skipping the values you already know are
> correct for previous step(s), until you get good color.
>
>
>
> 4. You will need to determine the GPIO output settings for to make line
> in 1 audio work.  Using v4l2-ctl set the iput to "Composite 1" or
> "SVideo 1" and start a capture.  As root, from where you built the
> drivers, run
>
>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio
>
> to show that state of the 16 GPIO pins.  They should all have their
> direction set as input, and some random garbage should be read in for
> the in and out values.  You will now use
>
>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xuuuu,val=0xvvvv
>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio
>
> To set 2 GPIO output pins (one for Line in 1 L audio, one for Line in 1
> R audio) to a high level (or maybe a low level) to hear audio from Line
> in 1.  I would start with the highest bits first:
>
>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0xc000
>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0x0000
>
> and work my way down to the lowest bits.  (One of the 16 bit will likely
> end up controlling the LED on the board.)
>
> One you find the bits that give you good Line in 1 audio: you will edit
> these lines in the card entry:
>
>        .gpio_init = { .direction = 0x0000, .initial_value = 0 },
>        .gpio_audio_input  = { .mask   = 0x0000,
>                               .tuner  = 0x0000,
>                               .linein = 0x0000,   /* Line In 1: rear bracket */
>                               .radio  = 0x0000 }, /* Line in 2: internal con */
>
> To fix the direction, mask, and linein value.
>
>
> Good luck.
>
> Regards,
> Andy
>
>
>> On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
>> > On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
>> >> Hi Andy,
>> >> It works! I was able to capture video. I am yet to get Audio. Any idea?
>> >> -------------------------------
>> >
>> > 1. Please provide the output of
>> >
>> > $ v4l2-ctl --log-status
>> >
>> > while capturing TV.
>> >
>> > 2.  Also could you provide the chip numbers from the two black chips
>> > next to the end of the metal tuner can just above the 27.00 MHz crystal?
>> > I can't read them from the photograph.  One looks like it has a
>> > "Philips" logo, but I can't tell much else.
>> >
>> > 3. Make sure you have the firmware for the cx25843 chip in the proper
>> > firmware directory for your distirbution.  You will never get broadcast
>> > audio without that firmware loaded into the CX25843.
>> >
>> > Regards,
>> > Andy
>> >
>> >> ---------------------------------------------------------------------------------------------
>> >> Thanks for your help.
>> >> Rajesh
>
>
>
>

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


awalls at radix

Nov 21, 2009, 12:56 PM

Post #14 of 15 (5895 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

On Sat, 2009-11-21 at 18:53 +0300, Rajesh Padalia wrote:
> Andy,
> I am back and have started testing.
> Some of clarifications:
> 1. I am trying different combination when video capture is on (mplayer
> /dev/video0).

Yes. There will be a short delay of a few seconds before you will be
able to tell if a change of GPIO lines changes the audio.


> 1. Should I try different combinations for 'dir' .i.e. from 0xc000,
> 0xb000....0x0000 and even 0xffff?
> 2. You recommended to try 'val' from 0xc000 to 0x0000. Do I have to
> try values like 0xf000, 0xcd00, 0x0010?

Try not to top post. Look below .....

> BTW, no response from Interact-TV inspite of reminder.
> Thanks for your help.
> Regards,
> Rajesh
>

> >>
> >>> 2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
> >>> The other one is: 5333KZ, GZ0337
> >>
> >> OK those chips are what I needed to know:
> >>
> >> Philips/NXP 74HC4053 Triple 2:1 analog multiplexer:
> >> http://www.nxp.com/acrobat_download/datasheets/74HC_HCT4053_4.pdf
> >>
> >> Cirrus Logic CS5333 24 bit, 96 kHz stereo A/D converter:
> >> http://www.digchip.com/datasheets/download_datasheet.php?id=228624&part-number=CDB5333
> >>
> >> This is where the information from Ineteract-TV could save everyone a
> >> lot of time and effort. *sigh*
> >>
> >> Oh, well. I have created a preliminary card entry for the PV-947D in my
> >> repository here:
> >>
> >> http://linuxtv.org/hg/~awalls/ivtv-provideo/
> >>
> >>
> >> The easiest thing to do is to download the tar.gz archive from this
> >> link:
> >>
> >> http://linuxtv.org/hg/~awalls/ivtv-provideo/archive/tip.tar.gz
> >>
> >> And build and install the v4l-dvb subsystem modules:
> >>
> >> $ tar -xvf tip.tar.gz
> >> $ cd (into the newly extarcted archive)
> >> $ make
> >> $ cd v4l2-apps
> >> $ make (it will fail, but ivtv-ctl will get built)
> >> $ cd ..
> >> $ su root
> >> # make install
> >> # make unload; make unload
> >> # /sbin/modprobe ivtv
> >>
> >> (*WARNING* The 'make install' step will overwrite all of you existing
> >> v4l-dvb (media subsystem) modules under /lib/modules/`uname -r` . Back
> >> them up if you wan to save them.)
> >>
> >> Now ivtv should at least automatically recognize your card.
> >>
> >> And now the fun part: *you* have to experiment and fix the card
> >> definition.
> >>
> >> 1. You will have to figure out which of the 8 CX25843 analog inputs
> >> correspond to which of the following:
> >>
> >> a. RF tuner assembly CVBS (composite) video
> >> b. RF Sound IF (SIF) audio
> >> c. Rear bracket CVBS (composite) video
> >> d. Rear bracket SVideo Luma (Y) video component
> >> e. Rear bracket SVideo Chroma (C) video component
> >>
> >> I assume you'll just ignore the internal black video connector with pins
> >> labeled Y (Luma or CVBS?), C (Chroma), AV (?), and G (ground) as these
> >> would be for Compsite 2 and SVideo 2.
> >>
> >>
> >> 2. You will have to figure out how to set the GPIO pin direction, and
> >> masks for audio routing:
> >>
> >> a. RF tuner baseband audio (if you can't use SIF audio for some reason)
> >> b. Rear bracket Line-in 1 L and R audio
> >>
> >> I assume you'll ignore the the internal black video connector with pins
> >> labeled L (Left), R (Right) and G (ground) as these would be Line in 2
> >> audio.
> >>
> >>
> >> OK. So that's the task. Now how do you do it? You'll need to edit
> >>
> >> linux/drivers/media/video/ivtv/ivtv-cards.c
> >>
> >> to fix up the card entry for the Provideo PV-947D. It currently looks Like this:
> >>
> >> static const struct ivtv_card ivtv_card_provideo = {
> >> .type = IVTV_CARD_PROVIDEO_PV947,
> >> .name = "Provideo Multimedia PV-947D",
> >> .v4l2_capabilities = IVTV_CAP_ENCODER,
> >> .hw_video = IVTV_HW_CX25840,
> >> .hw_audio = IVTV_HW_CX25840,
> >> .hw_audio_ctrl = IVTV_HW_CX25840,
> >> .hw_muxer = IVTV_HW_GPIO,
> >> .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER | IVTV_HW_GPIO,
> >> .video_inputs = {
> >> { IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 },
> >> /* Rear Bracket connectors */
> >> { IVTV_CARD_INPUT_SVIDEO1, 1,
> >> CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
> >> { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
> >> /* Internal Video-In connectors */
> >> { IVTV_CARD_INPUT_SVIDEO2, 2,
> >> CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
> >> { IVTV_CARD_INPUT_COMPOSITE2, 2, CX25840_COMPOSITE1 },
> >> },
> >> .audio_inputs = {
> >> { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5, 0 },
> >> { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL, 1 },
> >> { IVTV_CARD_INPUT_LINE_IN2, CX25840_AUDIO_SERIAL, 2 },
> >> },
> >> .tuners = {
> >> { .std = V4L2_STD_NTSC, .tuner = TUNER_PHILIPS_FQ1236A_MK4 },
> >> },
> >> /*
> >> * The 74HC4053 Triple 2:1 multiplexer must be controlled by 3 GPIOs.
> >> * It is likely the mux switches Audio L and R between the rear bracket
> >> * connector and the internal connectors.
> >> * It is unclear if the third unit in the triple mux switches Y or C or
> >> * something else.
> >> *
> >> * The board also has an LED (D2) which is likely controlled by a GPIO
> >> */
> >> .gpio_init = { .direction = 0x0000, .initial_value = 0 },
> >> .gpio_audio_input = { .mask = 0x0000,
> >> .tuner = 0x0000,
> >> .linein = 0x0000, /* Line In 1: rear bracket */
> >> .radio = 0x0000 }, /* Line in 2: internal con */
> >> .pci_list = ivtv_pci_provideo,
> >> .i2c = &ivtv_i2c_std,
> >> };
> >>
> >>
> >>
> >>
> >> 1. I assume you don't have an NTSC-M RF source available to you, so
> >> we'll forget about the RF tuner for now. That means we won't be editing
> >> the lines that look like these:
> >>
> >> { IVTV_CARD_INPUT_VID_TUNER, 0, CX25840_COMPOSITE2 },
> >>
> >> { IVTV_CARD_INPUT_AUD_TUNER, CX25840_AUDIO5, 0 },
> >>
> >> .tuner = 0x0000,
> >>
> >> 2. Set the card using v4l2-ctl to "Composite 1" and the proper video
> >> standard for the incoming signal (PAL, SECAM, NTSC) on the rear bracket
> >> connector. If you have color video that looks correct go to the next
> >> step. If not change this line:
> >>
> >> { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
> >>
> >> so the last argument is CX25840_COMPOSITE2, rebuild the driver,
> >> reinstall the drivers, unload the ivtv module, load the new ivtv module
> >> and test again. If that doesn't work continue to test
> >> CX24840_COMPOSITE3 through 8. One of them should work.
> >>
> >>
> >> 3. Set the card using v4l2-ctl to "SVideo 1" and the proper video
> >> standard for the incoming SVideo signal (PAL, SECAM, NTSC) on the rear
> >> bracket connector. If you have color video that looks correct go to the
> >> next step. Otherwise change this line:
> >>
> >> { IVTV_CARD_INPUT_SVIDEO1, 1,
> >> CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
> >>
> >> so the last argument's LUMA value is CX25840_SVIDEO_LUMA1. rebuild the
> >> driver, reinstall the drivers, unload the ivtv module, load the new ivtv
> >> module and test again. If that doesn't work continue to test
> >> CX25840_SVIDEO_LUMA2 through 8, skipping the value you found to be
> >> correct for video in the previous step(s). One of them should work such
> >> that you get at least a good black and white picture.
> >>
> >> Once you have Black and White SVideo, repeat the process with the
> >> CX25840_SVIDEO_CHROMAn values, skipping the values you already know are
> >> correct for previous step(s), until you get good color.
> >>
> >>
> >>
> >> 4. You will need to determine the GPIO output settings for to make line
> >> in 1 audio work. Using v4l2-ctl set the iput to "Composite 1" or
> >> "SVideo 1" and start a capture. As root, from where you built the
> >> drivers, run
> >>
> >> # v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio
> >>
> >> to show that state of the 16 GPIO pins. They should all have their
> >> direction set as input, and some random garbage should be read in for
> >> the in and out values. You will now use
> >>
> >> # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xuuuu,val=0xvvvv
> >> # v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio
> >>
> >> To set 2 GPIO output pins (one for Line in 1 L audio, one for Line in 1
> >> R audio) to a high level (or maybe a low level) to hear audio from Line
> >> in 1. I would start with the highest bits first:
> >>
> >> # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0xc000
> >> # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0x0000
> >>
> >> and work my way down to the lowest bits. (One of the 16 bit will likely
> >> end up controlling the LED on the board.)

You will want to try 2 bits at at time: setting their direction as
output and setting their output as either both high(1) or both as low
(0).

So use these values:

0xc000 (1100 0000 0000 0000)
0x6000 (0110 0000 0000 0000)
0x3000 (0011 0000 0000 0000)
0x1800 (0001 1000 0000 0000)
0x0c00 (0000 1100 0000 0000)
0x0600 (0000 0110 0000 0000)
0x0300 (0000 0011 0000 0000)
0x0180 (0000 0001 1000 0000)
0x00c0 (0000 0000 1100 0000)
0x0060 (0000 0000 0110 0000)
0x0030 (0000 0000 0011 0000)
0x0018 (0000 0000 0001 1000)
0x000c (0000 0000 0000 1100)
0x0006 (0000 0000 0000 0110)
0x0003 (0000 0000 0000 0011)

Report back which of those 15 values:

1. enables left audio from the rear panel connector
2. enables right audio from the rear panel connector
3. enables the LED (if you can see it)


If a value doesn't seem to have an effect, do not leave those bits set
with their direction as "output" (1) for a long time to avoid any
possible damage to the card.

Regards,
Andy

> >> One you find the bits that give you good Line in 1 audio: you will edit
> >> these lines in the card entry:
> >>
> >> .gpio_init = { .direction = 0x0000, .initial_value = 0 },
> >> .gpio_audio_input = { .mask = 0x0000,
> >> .tuner = 0x0000,
> >> .linein = 0x0000, /* Line In 1: rear bracket */
> >> .radio = 0x0000 }, /* Line in 2: internal con */
> >>
> >> To fix the direction, mask, and linein value.
> >>
> >>
> >> Good luck.
> >>
> >> Regards,
> >> Andy
> >>
> >>
> >>> On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
> >>> > On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
> >>> >> Hi Andy,
> >>> >> It works! I was able to capture video. I am yet to get Audio. Any idea?
> >>> >> -------------------------------
> >>> >
> >>> > 1. Please provide the output of
> >>> >
> >>> > $ v4l2-ctl --log-status
> >>> >
> >>> > while capturing TV.
> >>> >
> >>> > 2. Also could you provide the chip numbers from the two black chips
> >>> > next to the end of the metal tuner can just above the 27.00 MHz crystal?
> >>> > I can't read them from the photograph. One looks like it has a
> >>> > "Philips" logo, but I can't tell much else.
> >>> >
> >>> > 3. Make sure you have the firmware for the cx25843 chip in the proper
> >>> > firmware directory for your distirbution. You will never get broadcast
> >>> > audio without that firmware loaded into the CX25843.
> >>> >
> >>> > Regards,
> >>> > Andy
> >>> >
> >>> >> ---------------------------------------------------------------------------------------------
> >>> >> Thanks for your help.
> >>> >> Rajesh
> >>
> >>
> >>
> >>
> >
>



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


rajesh.padalia at gmail

Nov 23, 2009, 8:55 AM

Post #15 of 15 (5823 views)
Permalink
Re: UNKNOWN IVTV CARD: vendor/device: [4444:0016] subsystem vendor/device: [1540:9673] [In reply to]

Andy,
0x0180 and 0x00c0 enables the LED on board, however I could not hear
audio for any of the bits.
Thanks and regards,
Rajesh

On Sat, Nov 21, 2009 at 11:56 PM, Andy Walls <awalls [at] radix> wrote:
> On Sat, 2009-11-21 at 18:53 +0300, Rajesh Padalia wrote:
>> Andy,
>> I am back and have started testing.
>> Some of clarifications:
>> 1. I am trying different combination when video capture is on (mplayer
>> /dev/video0).
>
> Yes.  There will be a short delay of a few seconds before you will be
> able to tell if a change of GPIO lines changes the audio.
>
>
>> 1. Should I try different combinations for 'dir' .i.e. from 0xc000,
>> 0xb000....0x0000 and even 0xffff?
>> 2. You recommended to try 'val' from 0xc000 to 0x0000. Do I have to
>> try values like 0xf000, 0xcd00, 0x0010?
>
> Try not to top post.  Look below .....
>
>> BTW, no response from Interact-TV inspite of reminder.
>> Thanks for your help.
>> Regards,
>> Rajesh
>>
>
>> >>
>> >>> 2. The one close to crystal is : 74HC4053D, AG124 29, URO 0348D
>> >>>     The other one is: 5333KZ, GZ0337
>> >>
>> >> OK those chips are what I needed to know:
>> >>
>> >> Philips/NXP 74HC4053 Triple 2:1 analog multiplexer:
>> >> http://www.nxp.com/acrobat_download/datasheets/74HC_HCT4053_4.pdf
>> >>
>> >> Cirrus Logic CS5333 24 bit, 96 kHz stereo A/D converter:
>> >> http://www.digchip.com/datasheets/download_datasheet.php?id=228624&part-number=CDB5333
>> >>
>> >> This is where the information from Ineteract-TV could save everyone a
>> >> lot of time and effort.  *sigh*
>> >>
>> >> Oh, well.  I have created a preliminary card entry for the PV-947D in my
>> >> repository here:
>> >>
>> >>        http://linuxtv.org/hg/~awalls/ivtv-provideo/
>> >>
>> >>
>> >> The easiest thing to do is to download the tar.gz archive from this
>> >> link:
>> >>
>> >>        http://linuxtv.org/hg/~awalls/ivtv-provideo/archive/tip.tar.gz
>> >>
>> >> And build and install the v4l-dvb subsystem modules:
>> >>
>> >>        $ tar -xvf tip.tar.gz
>> >>        $ cd (into the newly extarcted archive)
>> >>        $ make
>> >>        $ cd v4l2-apps
>> >>        $ make   (it will fail, but ivtv-ctl will get built)
>> >>        $ cd ..
>> >>        $ su root
>> >>        # make install
>> >>        # make unload; make unload
>> >>        # /sbin/modprobe ivtv
>> >>
>> >> (*WARNING* The 'make install' step will overwrite all of you existing
>> >> v4l-dvb (media subsystem) modules under /lib/modules/`uname -r` .  Back
>> >> them up if you wan to save them.)
>> >>
>> >> Now ivtv should at least automatically recognize your card.
>> >>
>> >> And now the fun part: *you* have to experiment and fix the card
>> >> definition.
>> >>
>> >> 1. You will have to figure out which of the 8 CX25843 analog inputs
>> >> correspond to which of the following:
>> >>
>> >> a. RF tuner assembly CVBS (composite) video
>> >> b. RF Sound IF (SIF) audio
>> >> c. Rear bracket CVBS (composite) video
>> >> d. Rear bracket SVideo Luma (Y) video component
>> >> e. Rear bracket SVideo Chroma (C) video component
>> >>
>> >> I assume you'll just ignore the internal black video connector with pins
>> >> labeled Y (Luma or CVBS?), C (Chroma), AV (?), and G (ground) as these
>> >> would be for Compsite 2 and SVideo 2.
>> >>
>> >>
>> >> 2. You will have to figure out how to set the GPIO pin direction, and
>> >> masks for audio routing:
>> >>
>> >> a. RF tuner baseband audio (if you can't use SIF audio for some reason)
>> >> b. Rear bracket Line-in 1 L and R audio
>> >>
>> >> I assume you'll ignore the the internal black video connector with pins
>> >> labeled L (Left), R (Right) and G (ground) as these would be Line in 2
>> >> audio.
>> >>
>> >>
>> >> OK. So that's the task.  Now how do you do it?  You'll need to edit
>> >>
>> >>        linux/drivers/media/video/ivtv/ivtv-cards.c
>> >>
>> >> to fix up the card entry for the Provideo PV-947D.  It currently looks Like this:
>> >>
>> >> static const struct ivtv_card ivtv_card_provideo = {
>> >>        .type = IVTV_CARD_PROVIDEO_PV947,
>> >>        .name = "Provideo Multimedia PV-947D",
>> >>        .v4l2_capabilities = IVTV_CAP_ENCODER,
>> >>        .hw_video = IVTV_HW_CX25840,
>> >>        .hw_audio = IVTV_HW_CX25840,
>> >>        .hw_audio_ctrl = IVTV_HW_CX25840,
>> >>        .hw_muxer = IVTV_HW_GPIO,
>> >>        .hw_all = IVTV_HW_CX25840 | IVTV_HW_TUNER | IVTV_HW_GPIO,
>> >>        .video_inputs = {
>> >>                { IVTV_CARD_INPUT_VID_TUNER,  0, CX25840_COMPOSITE2 },
>> >>                /* Rear Bracket connectors */
>> >>                { IVTV_CARD_INPUT_SVIDEO1,    1,
>> >>                  CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
>> >>                { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
>> >>                /* Internal Video-In connectors */
>> >>                { IVTV_CARD_INPUT_SVIDEO2,    2,
>> >>                  CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
>> >>                { IVTV_CARD_INPUT_COMPOSITE2, 2, CX25840_COMPOSITE1 },
>> >>        },
>> >>        .audio_inputs = {
>> >>                { IVTV_CARD_INPUT_AUD_TUNER,  CX25840_AUDIO5,           0 },
>> >>                { IVTV_CARD_INPUT_LINE_IN1,   CX25840_AUDIO_SERIAL,     1 },
>> >>                { IVTV_CARD_INPUT_LINE_IN2,   CX25840_AUDIO_SERIAL,     2 },
>> >>        },
>> >>        .tuners = {
>> >>                { .std = V4L2_STD_NTSC, .tuner = TUNER_PHILIPS_FQ1236A_MK4 },
>> >>        },
>> >>        /*
>> >>         * The 74HC4053 Triple 2:1 multiplexer must be controlled by 3 GPIOs.
>> >>         * It is likely the mux switches Audio L and R between the rear bracket
>> >>         * connector and the internal connectors.
>> >>         * It is unclear if the third unit in the triple mux switches Y or C or
>> >>         * something else.
>> >>         *
>> >>         * The board also has an LED (D2) which is likely controlled by a GPIO
>> >>         */
>> >>        .gpio_init = { .direction = 0x0000, .initial_value = 0 },
>> >>        .gpio_audio_input  = { .mask   = 0x0000,
>> >>                               .tuner  = 0x0000,
>> >>                               .linein = 0x0000,   /* Line In 1: rear bracket */
>> >>                               .radio  = 0x0000 }, /* Line in 2: internal con */
>> >>        .pci_list = ivtv_pci_provideo,
>> >>        .i2c = &ivtv_i2c_std,
>> >> };
>> >>
>> >>
>> >>
>> >>
>> >> 1. I assume you don't have an NTSC-M RF source available to you, so
>> >> we'll forget about the RF tuner for now.  That means we won't be editing
>> >> the lines that look like these:
>> >>
>> >>        { IVTV_CARD_INPUT_VID_TUNER,  0, CX25840_COMPOSITE2 },
>> >>
>> >>        { IVTV_CARD_INPUT_AUD_TUNER,  CX25840_AUDIO5,           0 },
>> >>
>> >>        .tuner  = 0x0000,
>> >>
>> >> 2. Set the card using v4l2-ctl to "Composite 1" and the proper video
>> >> standard for the incoming signal (PAL, SECAM, NTSC) on the rear bracket
>> >> connector.  If you have color video that looks correct go to the next
>> >> step.  If not change this line:
>> >>
>> >>        { IVTV_CARD_INPUT_COMPOSITE1, 1, CX25840_COMPOSITE1 },
>> >>
>> >> so the last argument is CX25840_COMPOSITE2, rebuild the driver,
>> >> reinstall the drivers, unload the ivtv module, load the new ivtv module
>> >> and test again.  If that doesn't work continue to test
>> >> CX24840_COMPOSITE3 through 8.  One of them should work.
>> >>
>> >>
>> >> 3. Set the card using v4l2-ctl to "SVideo 1" and the proper video
>> >> standard for the incoming SVideo signal (PAL, SECAM, NTSC) on the rear
>> >> bracket connector.  If you have color video that looks correct go to the
>> >> next step.  Otherwise change this line:
>> >>
>> >>        { IVTV_CARD_INPUT_SVIDEO1,    1,
>> >>                  CX25840_SVIDEO_LUMA3 | CX25840_SVIDEO_CHROMA4 },
>> >>
>> >> so the last argument's LUMA value is CX25840_SVIDEO_LUMA1. rebuild the
>> >> driver, reinstall the drivers, unload the ivtv module, load the new ivtv
>> >> module and test again.  If that doesn't work continue to test
>> >> CX25840_SVIDEO_LUMA2 through 8, skipping the value you found to be
>> >> correct for video in the previous step(s).  One of them should work such
>> >> that you get at least a good black and white picture.
>> >>
>> >> Once you have Black and White SVideo, repeat the process with the
>> >> CX25840_SVIDEO_CHROMAn values, skipping the values you already know are
>> >> correct for previous step(s), until you get good color.
>> >>
>> >>
>> >>
>> >> 4. You will need to determine the GPIO output settings for to make line
>> >> in 1 audio work.  Using v4l2-ctl set the iput to "Composite 1" or
>> >> "SVideo 1" and start a capture.  As root, from where you built the
>> >> drivers, run
>> >>
>> >>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio
>> >>
>> >> to show that state of the 16 GPIO pins.  They should all have their
>> >> direction set as input, and some random garbage should be read in for
>> >> the in and out values.  You will now use
>> >>
>> >>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xuuuu,val=0xvvvv
>> >>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --list-gpio
>> >>
>> >> To set 2 GPIO output pins (one for Line in 1 L audio, one for Line in 1
>> >> R audio) to a high level (or maybe a low level) to hear audio from Line
>> >> in 1.  I would start with the highest bits first:
>> >>
>> >>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0xc000
>> >>        # v4l2-apps/util/ivtv-ctl -d /dev/video0 --set-gpio dir=0xc000,val=0x0000
>> >>
>> >> and work my way down to the lowest bits.  (One of the 16 bit will likely
>> >> end up controlling the LED on the board.)
>
> You will want to try 2 bits at at time: setting their direction as
> output and setting their output as either both high(1) or both as low
> (0).
>
> So use these values:
>
> 0xc000 (1100 0000 0000 0000)
> 0x6000 (0110 0000 0000 0000)
> 0x3000 (0011 0000 0000 0000)
> 0x1800 (0001 1000 0000 0000)
> 0x0c00 (0000 1100 0000 0000)
> 0x0600 (0000 0110 0000 0000)
> 0x0300 (0000 0011 0000 0000)
> 0x0180 (0000 0001 1000 0000)
> 0x00c0 (0000 0000 1100 0000)
> 0x0060 (0000 0000 0110 0000)
> 0x0030 (0000 0000 0011 0000)
> 0x0018 (0000 0000 0001 1000)
> 0x000c (0000 0000 0000 1100)
> 0x0006 (0000 0000 0000 0110)
> 0x0003 (0000 0000 0000 0011)
>
> Report back which of those 15 values:
>
> 1. enables left audio from the rear panel connector
> 2. enables right audio from the rear panel connector
> 3. enables the LED (if you can see it)
>
>
> If a value doesn't seem to have an effect, do not leave those bits set
> with their direction as "output" (1) for a long time to avoid any
> possible damage to the card.
>
> Regards,
> Andy
>
>> >> One you find the bits that give you good Line in 1 audio: you will edit
>> >> these lines in the card entry:
>> >>
>> >>        .gpio_init = { .direction = 0x0000, .initial_value = 0 },
>> >>        .gpio_audio_input  = { .mask   = 0x0000,
>> >>                               .tuner  = 0x0000,
>> >>                               .linein = 0x0000,   /* Line In 1: rear bracket */
>> >>                               .radio  = 0x0000 }, /* Line in 2: internal con */
>> >>
>> >> To fix the direction, mask, and linein value.
>> >>
>> >>
>> >> Good luck.
>> >>
>> >> Regards,
>> >> Andy
>> >>
>> >>
>> >>> On Thu, Nov 12, 2009 at 2:18 AM, Andy Walls <awalls [at] radix> wrote:
>> >>> > On Wed, 2009-11-11 at 19:55 +0300, Rajesh Padalia wrote:
>> >>> >> Hi Andy,
>> >>> >> It works! I was able to capture video. I am yet to get Audio. Any idea?
>> >>> >> -------------------------------
>> >>> >
>> >>> > 1. Please provide the output of
>> >>> >
>> >>> > $ v4l2-ctl --log-status
>> >>> >
>> >>> > while capturing TV.
>> >>> >
>> >>> > 2.  Also could you provide the chip numbers from the two black chips
>> >>> > next to the end of the metal tuner can just above the 27.00 MHz crystal?
>> >>> > I can't read them from the photograph.  One looks like it has a
>> >>> > "Philips" logo, but I can't tell much else.
>> >>> >
>> >>> > 3. Make sure you have the firmware for the cx25843 chip in the proper
>> >>> > firmware directory for your distirbution.  You will never get broadcast
>> >>> > audio without that firmware loaded into the CX25843.
>> >>> >
>> >>> > Regards,
>> >>> > Andy
>> >>> >
>> >>> >> ---------------------------------------------------------------------------------------------
>> >>> >> Thanks for your help.
>> >>> >> Rajesh
>> >>
>> >>
>> >>
>> >>
>> >
>>
>
>
>

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

ivtv devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.