Hello all,

I have struggled now for 3 days to get a WinTV PVR 500 with Samsung
tuners to work.  I'm hoping that somebody can confirm they are
experiencing the same issue or better yet, somebody has solved this
one.  I've tried two different kernel versions (2.6.15 and 2.6.13) and 3
different versions of ivtv (4.4,4.3, and 4.0).  The first tuner appears
to be working correctly as "cat /dev/video0 > temp.mpg" works.  However,
"cat /dev/video1 > temp.mpg" simply produces an empty file.

For the purposes of this email, I'm currently configured on kernel
2.6.13.2-chw-3 and ivtv drivers 0.4.4.  I have tried many other
combinations to no avail.

My /etc/mythtv/modules/ivtv (it's a knoppmyth thing):

    alias char-major-89     i2c-dev
    alias char-major-81 videodev
    alias char-major-61 lirc_i2c
    alias char-major-81-0 ivtv
    alias char-major-81-1 ivtv
    options i2c-algo-bit bit_test=1
    options ivtv ivtv_std=0 tuner=68,68 ivtv_debug=1,1 cardtype=6
    ivtv_debug=1,1 tda9887=0,0
    options msp3400 once=1


Tuning appears to work properly on both:

    [EMAIL PROTECTED]:/home/mythtv# ivtv-tune -d /dev/video1 -c 12
    /dev/video1: 205.250 MHz  (Signal Detected)
    [EMAIL PROTECTED]:/home/mythtv# ivtv-tune -d /dev/video0 -c 12
    /dev/video0: 205.250 MHz  (Signal Detected)
    [EMAIL PROTECTED]:/home/mythtv#


The relevant ivtv lines in dmesg.  Please note that for some odd reason
(perhaps the source of the issue itself) the first tuner (ivtv0)
attaches cx25840, but the second one (ivtv1) does not.  I have no idea
if this is normal or not, but given the corresponding errors further
down for addr 0x44 on ivtv1 I'd say it is not normal:

    ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
    ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=60]
    ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
    ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
    ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x40085618!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
    ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
    ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
    ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]


[EMAIL PROTECTED]:/home/mythtv# dmesg | grep ivtv

    ivtv:  ==================== START INIT IVTV ====================
    ivtv:  version 0.4.4 (tagged release) loading
    ivtv:  Linux version: 2.6.13.2-chw-3 SMP preempt 586 gcc-3.3
    ivtv:  In case of problems please include the debug info between
    ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
    ivtv:  any module options, when mailing the ivtv-users mailinglist.
    ivtv0: User specified WinTV PVR 150 card (detected cx23416 based chip)
    tveeprom: ivtv version
    ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
    ivtv0: This is the first unit of a PVR500
    tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
    ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=60]
    tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
    ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
    cx25840 0-0044: ivtv driver
    cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
    ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
    wm8775 0-001b: ivtv driver
    wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
    ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
    ivtv0: Detected a TEA5767 radio tuner. Enabling radio support.
    ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
    ivtv0: Encoder revision: 0x02050032
    ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
    total)
    ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB
    total)
    ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB
    total)
    ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers
    (2048KB total)
    ivtv0: Create encoder radio stream
    tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x40085618!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!
    ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
    ivtv:  ======================  NEXT CARD  ======================
    ivtv1: Autodetected WinTV PVR 150 card (cx23416 based)
    tveeprom: ivtv version
    ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
    tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
    ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
    wm8775 1-001b: ivtv driver
    wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
    ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
    ivtv1: This is the second unit of a PVR500
    ivtv1: Correcting tveeprom data: no radio present on second unit
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc008561c!
    ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
    ivtv1: Encoder revision: 0x02050032
    ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
    total)
    ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB
    total)
    ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB
    total)
    ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers
    (2048KB total)
    tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40085618!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc0045627!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046d11!
    ivtv1 warning: i2c client addr: 0x43 not found for command 0x40085618!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40085618!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc008561c!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40045613!
    ivtv1 warning: i2c client addr: 0x43 not found for command 0x402c5639!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x402c5639!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40045612!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc008561c!
    ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
    ivtv:  ====================  END INIT IVTV  ====================
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc0cc5605!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x80046467!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x6d02!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x40085618!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x6d02!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x40085618!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc0cc5605!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40045613!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40045612!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc008561c!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40045613!
    ivtv1 warning: i2c client addr: 0x43 not found for command 0x402c5639!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x402c5639!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0x40045612!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc008561c!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc054561d!
    ivtv1 warning: i2c client addr: 0x44 not found for command 0xc054561d!
    ivtv0 warning: i2c client addr: 0x43 not found for command 0x402c5639!


lspci -xx produces the following after a fresh boot:

    0000:03:08.0 Multimedia video controller: Internext Compression Inc
    iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
    00: 44 44 16 00 06 01 10 02 01 00 00 04 08 40 00 00
    10: 08 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 70 00 07 e8
    30: 00 00 00 00 44 00 00 00 00 00 00 00 05 01 80 08

    0000:03:09.0 Multimedia video controller: Internext Compression Inc
    iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
    00: 44 44 16 00 06 01 10 02 01 00 00 04 08 40 00 00
    10: 08 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 70 00 17 e8
    30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 80 08


And after running for a while (possibly unloading/reloading the ivtv
driver):

    0000:03:08.0 Multimedia video controller: Internext Compression Inc
    iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
    00: 44 44 16 00 06 01 10 02 01 00 00 04 08 40 00 00
    10: 08 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 70 00 07 08
    30: 00 00 00 00 44 00 00 00 00 00 00 00 05 01 80 08

    0000:03:09.0 Multimedia video controller: Internext Compression Inc
    iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
    00: 44 44 16 00 06 01 10 02 01 00 00 04 08 40 00 00
    10: 08 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 70 00 07 08
    30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 80 08


Any help/advice would be greatly appreciated.


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

Reply via email to