[ivtv-devel] Sony Giga Pocket PCI card working w/ ivtv 0.7.0 (except for tuner)

Eric Wescott wescotte at earthlink.net
Thu Aug 10 09:45:02 CEST 2006


I took a Sony Giga Pocket PVR from a Sony Viao PCV-RS430G machine and 
was able to get it partially working with IVTV. The composite and svideo 
inputs are functional under cardtype 19 and I was able to get sound from 
the tuner forcing it to several (see below) but no video from the tuner. 
Any ideas how I can get the tuner to produce video?

lspci reports it as

02:05.0 Multimedia video controller: Internext Compression Inc iTVC16 
(CX23416) MPEG-2 Encoder (rev 01)


lspci -vv

02:05.0 Multimedia video controller: Internext Compression Inc iTVC16 
(CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Sony Corporation: Unknown device 813d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


lspci -vvn

02:05.0 Class 0400: 4444:0016 (rev 01)
        Subsystem: 104d:813d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


dmesg

Linux video capture interface: v2.00
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.7.0 (tagged release) loading
ivtv:  Linux version: 2.6.17-mm6 preempt mod_unload PENTIUM4 4KSTACKS 
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 Hauppauge WinTV PVR-350 (V1) card (detected 
cx23416 based chip)
PCI: Enabling device 0000:02:05.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKB] -> GSI 3 (level, low) 
-> IRQ 3
tuner 4-0060: All bytes are equal. It is not a TEA5767
tuner 4-0060: chip found @ 0xc0 (ivtv i2c driver #0)
saa7115 4-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
tveeprom 4-0050: Encountered bad packet header [aa]. Corrupt or not a 
Hauppauge eeprom.
ivtv0: No tuner detected, default to NTSC
ivtv0: Failed to load module tda9887
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)
BUG: warning at include/asm/dma-mapping.h:26/dma_map_single()
 [<e199d633>] ivtv_stream_alloc+0x180/0x216 [ivtv]
 [<e19a335c>] ivtv_streams_setup+0x115/0x14a [ivtv]
 [<e199f1ed>] ivtv_probe+0x59e/0x91a [ivtv]
 [<c032d1e0>] preempt_schedule+0x3d/0x59
 [<c0120049>] call_usermodehelper_keys+0xad/0xb8
 [<c011ff58>] __call_usermodehelper+0x0/0x44
 [<c01eefb4>] pci_call_probe+0xf/0x12
 [<c01eefea>] __pci_device_probe+0x33/0x47
 [<c01ef01d>] pci_device_probe+0x1f/0x34
 [<c0263a12>] driver_probe_device+0x43/0x9c
 [<c0263acb>] __driver_attach+0x0/0x5c
 [<c0263b02>] __driver_attach+0x37/0x5c
 [<c0263140>] bus_for_each_dev+0x47/0x6d
 [<c01e6a4f>] kobject_add+0xb9/0x102
 [<c0263b3b>] driver_attach+0x14/0x18
 [<c0263acb>] __driver_attach+0x0/0x5c
 [<c0263592>] bus_add_driver+0x54/0x84
 [<c0263f5c>] driver_register+0x7b/0x80
 [<c01124b0>] printk+0xe/0x11
 [<c01ef264>] __pci_register_driver+0x3e/0x4f
 [<e199f9ee>] module_start+0xbc/0xe2 [ivtv]
 [<c012b362>] sys_init_module+0x8d/0x191
 [<c010225b>] syscall_call+0x7/0xb
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
ivtv0 warning: Failed api call 0x0000001a with result 0xfffffff0
ivtv0: ivtv_init_mpeg_decoder failed to set decoder source
tuner 4-0060: type set to 0 (Temic PAL (4002 FH5))
ivtv0: i2c hardware 0x00000008 not found for command 0xc008561c!
ivtv0: i2c hardware 0x00000008 not found for command 0x4008646d!
ivtv0: i2c hardware 0x00000008 not found for command 0xc008561c!
ivtv0 warning: Failed api call 0x00000010 with result 0xfffffff0
ivtv0: i2c hardware 0x00000008 not found for command 0xc008561c!
ivtv0: i2c hardware 0x00000008 not found for command 0xc008561c!
ivtv0: Initialized Hauppauge WinTV PVR-350 (V1), card #0
ivtv:  ====================  END INIT IVTV  ====================


I wrote a little bas script to attempt every combination of card types 
and input options and found type 19 was able to access s-video, composite.

#!/bin/bash
         CARDTYPE=0
        INPUTNUM=0;
         while [  $CARDTYPE -lt 21 ]; do
             echo Testing card $CARDTYPE
                modprobe -r ivtv
                sleep 3
                modprobe ivtv cardtype=$CARDTYPE
                sleep 5
                while [ $INPUTNUM -lt 6 ]; do
                        echo Testing card:$CARDTYPE input: $INPUTNUM
                        ivtvctl -p$INPUTNUM
                        cat /dev/video0 > 
card$CARDTYPE-input$INPUTNUM.mpg & sleep 3; kill $!
                        sleep 4
                        let INPUTNUM=INPUTNUM+1
                done
                INPUTNUM=0;
             let CARDTYPE=CARDTYPE+1
         done

I tested tuner 0 - 69 and was able to get sound (but no picture from the 
following tuner types)
3, 4, 38, 41, 43, 44, 47, 51, 52, 53, 56, 57, 59, 60, 61, 63, 64, 65, & 
68 of which most are phillips tuners.

Any ideas for getting the tuner working? I have images of the card 
itself it that would help.

Thanks
Eric



More information about the ivtv-devel mailing list