OK, more info..  Tried using ivtv-0.3.7g.
Sound or Video, but not both!!

Here is my /etc/modprobe.conf
options saa7127 i2c_enable=-1,-1,-1,-1
options cx25840 cardtype=7 i2c_enable=1,1,1,1 cx25840_debug=255
options wm8775 mixer=2
options ivtv ivtv_debug=1 tuner=57,57,57,57

Boot system, load ivtv driver using cardtype=7, I see no video or audio.
Change /etc/modprobe.conf to load cardtype=1, rmmod the 3 drivers,
ivtv, tuner, and , and re modprobe ivtv.
Now I can see video only, no sound.
Change /etc/modprobe.conf to load cardtype=7 again, rmmod and re modprobe ivtv.
Now I can hear audio, but no video..

Strange. Digging into source code, I think I stumbled on something. "cx25840-driver.c" line 1039 of 1120 Where you switch(cardtype), you set only cardtype=1 to pg600_input_layout. Looking on my card, and pulling back the tuner label, I found the following, which makes me believe this card is a pg600 type, and should be set appropriately here for cardtype=7. This is not the only change needed, as I tried, and it still failed to set all up.. :)

I have a Diamond XtremeTV PVR550.
PG-600 Rev:1.0
Tuner PG600V100520000853
   Under label is Q1236/F
The MPEG II encoder chip is a Conexant CX23416-12
The other chip (smaller one), assuming sound..  is a CX25843-23

Tuning appears to work fine in all scenarios I tested using the ptune-ui script.

Hans, can you please confirm, and someone let me know where to go from here...
It works, just not at the same time.. :)

Watching TV when in video mod seems to run fine via mplayer of /dev/video0.
But using MythTV, when I try to watch live TV, it hangs after 5 seconds...??
Is this ivtv problem, or is Myth going into the card and messing it up??
It appears a recording, then playback works, of course without sound at this point...

Here is the logs of my 3 load/unloads of the above series.
----
Aug 20 21:56:43 stargate kernel: ivtv: ==================== START INIT IVTV ====================
Aug 20 21:56:43 stargate kernel: ivtv: version 0.3.7 (g) loading
Aug 20 21:56:43 stargate kernel: ivtv: Linux version: 2.6.12-1.1372_FC3 686 REGPARM 4KSTACKS gcc-3.4 Aug 20 21:56:43 stargate kernel: ivtv: In case of problems please include the debug info Aug 20 21:56:43 stargate kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Aug 20 21:56:43 stargate kernel: ivtv: mailing the ivtv-devel mailinglist.
Aug 20 21:56:43 stargate kernel: ivtv: Autodetected YUAN PG600/DIAMOND PVR-550 (CX FALCON2) card (iTVC16 based) Aug 20 21:56:43 stargate kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32) Aug 20 21:56:43 stargate kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Aug 20 21:56:43 stargate kernel: ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] Aug 20 21:56:45 stargate kernel: ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44] Aug 20 21:56:45 stargate kernel: ivtv: Could not detect tuner standard, defaulting to NTSC.
Aug 20 21:56:45 stargate kernel: ivtv: Encoder revision: 0x02040024
Aug 20 21:56:45 stargate kernel: ivtv warning: Encoder Firmware can be buggy, use version 0x02040011!!!! Aug 20 21:56:45 stargate kernel: ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) Aug 20 21:56:45 stargate kernel: ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) Aug 20 21:56:45 stargate kernel: ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total) Aug 20 21:56:46 stargate kernel: ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) Aug 20 21:56:46 stargate kernel: tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0 Aug 20 21:56:46 stargate kernel: ivtv: Initialized YUAN PG600/DIAMOND PVR-550 (CX FALCON2), card #0 Aug 20 21:56:46 stargate kernel: ivtv: ==================== END INIT IVTV ====================

Tested, nothing...

Aug 20 21:57:00 stargate kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) Aug 20 21:57:23 stargate kernel: ivtv: Removed YUAN PG600/DIAMOND PVR-550 (CX FALCON2), card #0 Aug 20 21:57:39 stargate kernel: ivtv: ==================== START INIT IVTV ====================
Aug 20 21:57:39 stargate kernel: ivtv: version 0.3.7 (g) loading
Aug 20 21:57:39 stargate kernel: ivtv: Linux version: 2.6.12-1.1372_FC3 686 REGPARM 4KSTACKS gcc-3.4 Aug 20 21:57:39 stargate kernel: ivtv: In case of problems please include the debug info Aug 20 21:57:39 stargate kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Aug 20 21:57:39 stargate kernel: ivtv: mailing the ivtv-devel mailinglist.
Aug 20 21:57:39 stargate kernel: ivtv: Autodetected YUAN PG600/DIAMOND PVR-550 (CX FALCON2) card (iTVC16 based) Aug 20 21:57:39 stargate kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Aug 20 21:57:39 stargate kernel: ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] Aug 20 21:57:41 stargate kernel: ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44] Aug 20 21:57:41 stargate kernel: ivtv: Could not detect tuner standard, defaulting to NTSC.
Aug 20 21:57:42 stargate kernel: ivtv: Encoder revision: 0x02040024
Aug 20 21:57:42 stargate kernel: ivtv warning: Encoder Firmware can be buggy, use version 0x02040011!!!! Aug 20 21:57:42 stargate kernel: ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) Aug 20 21:57:42 stargate kernel: ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) Aug 20 21:57:42 stargate kernel: ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total) Aug 20 21:57:42 stargate kernel: ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) Aug 20 21:57:42 stargate kernel: tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0 Aug 20 21:57:43 stargate kernel: ivtv: Initialized YUAN PG600/DIAMOND PVR-550 (CX FALCON2), card #0 Aug 20 21:57:43 stargate kernel: ivtv: ==================== END INIT IVTV ==================== Aug 20 21:57:48 stargate kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)

Tested , video works ONLY..

Aug 20 21:57:59 stargate kernel: ivtv: Removed YUAN PG600/DIAMOND PVR-550 (CX FALCON2), card #0 Aug 20 21:58:18 stargate kernel: ivtv: ==================== START INIT IVTV ====================
Aug 20 21:58:18 stargate kernel: ivtv: version 0.3.7 (g) loading
Aug 20 21:58:18 stargate kernel: ivtv: Linux version: 2.6.12-1.1372_FC3 686 REGPARM 4KSTACKS gcc-3.4 Aug 20 21:58:18 stargate kernel: ivtv: In case of problems please include the debug info Aug 20 21:58:18 stargate kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Aug 20 21:58:18 stargate kernel: ivtv: mailing the ivtv-devel mailinglist.
Aug 20 21:58:18 stargate kernel: ivtv: Autodetected YUAN PG600/DIAMOND PVR-550 (CX FALCON2) card (iTVC16 based) Aug 20 21:58:18 stargate kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Aug 20 21:58:18 stargate kernel: ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] Aug 20 21:58:20 stargate kernel: ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44] Aug 20 21:58:20 stargate kernel: ivtv: Could not detect tuner standard, defaulting to NTSC.
Aug 20 21:58:21 stargate kernel: ivtv: Encoder revision: 0x02040024
Aug 20 21:58:21 stargate kernel: ivtv warning: Encoder Firmware can be buggy, use version 0x02040011!!!! Aug 20 21:58:21 stargate kernel: ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) Aug 20 21:58:21 stargate kernel: ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total) Aug 20 21:58:21 stargate kernel: ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total) Aug 20 21:58:21 stargate kernel: ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) Aug 20 21:58:21 stargate kernel: tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0 Aug 20 21:58:21 stargate kernel: ivtv: Initialized YUAN PG600/DIAMOND PVR-550 (CX FALCON2), card #0 Aug 20 21:58:21 stargate kernel: ivtv: ==================== END INIT IVTV ==================== Aug 20 21:58:27 stargate kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
---

Last test, audio works only, no video!!

Robert Kohler wrote:

Using the Diamond XtremeTV PVR550 (hardware encoder only) on Fedora Core 3
2.6.12-1.1372_FC3 kernel.

ivtv-0.3.3k worked fine, using cx25840 tunercard=2.
Using mplayer and tune util you have, able to get sound and video working. Problems with MythTV interfacing to it, shows 5 seconds, then hangs... So I upgraded.

Now in ivtv-0.3.7d,
Using mplayer and tune util..
   Sound works if tunercard=1, video works if tunercard=2.
Not firing up MythTV until I resolve mplayer spliting out the MPEG stream.

Any ideas how to resolve, or is this just a bleading edge card I need to debug...



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to