Updates! I upgraded to the new Ubuntu with ivtv compiled into the
kernel. Had to learn to use a few new commands, but I think I'm
getting the hang of it. Still seeing the same results, though.
I think that there's an issue with ivtv detected the tuner on the
card. No where in the debug output does it mention actually
initializing the card. I also have strange output from v4l2-ctl.
Here it is, and as always, and help is appreciated!
# Output from dmesg...
[ 6833.387169] ivtv: ==================== START INIT IVTV ====================
[ 6833.387178] ivtv: version 0.9.1 (tagged release) loading
[ 6833.387182] ivtv: Linux version: 2.6.20-6-generic SMP mod_unload 586
[ 6833.387186] ivtv: In case of problems please include the debug info between
[ 6833.387190] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[ 6833.387194] ivtv: any module options, when mailing the ivtv-users
mailinglist.
[ 6833.387273] ivtv0: User specified Yuan PG600, Diamond PVR-550 card
(detected cx23416 based chip)
[ 6833.388390] ivtv0 info: base addr: 0xe0000000
[ 6833.388396] ivtv0 info: Enabling pci device
[ 6833.388426] ACPI: PCI Interrupt 0000:02:06.0[A] -> GSI 22 (level,
low) -> IRQ 21
[ 6833.388443] ivtv0 info: Attempting to enable Bus Mastering
[ 6833.388454] ivtv0 info: Bus Mastering Enabled.
[ 6833.388466] ivtv0 info: 22 (rev 1) at 02:06.0, irq: 21, latency:
64, memory: 0xe0000000
[ 6833.388471] ivtv0 info: attempting ioremap at 0xe0000000 len 0x00800000
[ 6833.388523] ivtv0 info: attempting ioremap at 0xe1000000 len 0x00800000
[ 6833.388560] ivtv0 info: attempting ioremap at 0xe2000000 len 0x00010000
[ 6833.388567] ivtv0 info: Stopping VDM
[ 6833.388570] ivtv0 info: Stopping AO
[ 6833.388572] ivtv0 info: pinging (?) APU
[ 6833.388575] ivtv0 info: Stopping VPU
[ 6833.388577] ivtv0 info: Resetting Hw Blocks
[ 6833.388579] ivtv0 info: Stopping SPU
[ 6833.388582] ivtv0 info: Sleeping for 10ms
[ 6833.396037] ivtv0 info: init Encoder SDRAM pre-charge
[ 6833.396046] ivtv0 info: init Encoder SDRAM refresh to 1us
[ 6833.396049] ivtv0 info: init Decoder SDRAM pre-charge
[ 6833.396052] ivtv0 info: init Decoder SDRAM refresh to 1us
[ 6833.396055] ivtv0 info: Sleeping for 600ms (600 recommended)
[ 6833.995053] ivtv0 info: Card ready for firmware!
[ 6833.995060] ivtv0 info: Loading encoder image
[ 6834.005754] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[ 6834.005762] ivtv0 info: Sleeping for 100 ms
[ 6834.106864] ivtv0 info: Sleeping for 100 ms
[ 6834.206726] ivtv0 info: activating i2c...
[ 6834.206731] ivtv0 i2c: i2c init
[ 6834.206736] ivtv0 i2c: setting scl and sda to 1
[ 6834.206745] **WARNING** I2C adapter driver [ivtv i2c driver #0]
forgot to specify physical device; fix it!
[ 6834.210403] ivtv0 i2c: i2c client attach
[ 6834.241855] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[ 6839.278373] cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[ 6839.390565] ivtv0 i2c: i2c client attach
[ 6839.396644] ivtv0 info: Active card count: 1.
[ 6839.404139] ivtv0 info: Loaded module tuner
[ 6839.414771] ivtv0 info: Loaded module cx25840
[ 6839.414938] ivtv0 i2c: call_i2c_client addr=44
[ 6839.476198] ivtv0 info: About to search for mailboxes
[ 6839.476205] ivtv0 info: Searching for encoder mailbox
[ 6839.476214] ivtv0 info: match: 0x34567812 at 0xf8b80104. match: 1
[ 6839.476220] ivtv0 info: match: 0x56781234 at 0xf8b80108. match: 2
[ 6839.476227] ivtv0 info: match: 0x78123456 at 0xf8b8010c. match: 3
[ 6839.476234] ivtv0 info: found encoder mailbox!
[ 6839.476238] ivtv0 info: Searching for decoder mailbox
[ 6839.476246] ivtv0 info: match: 0x34567812 at 0xf9400104. match: 1
[ 6839.476254] ivtv0 info: match: 0x56781234 at 0xf9400108. match: 2
[ 6839.476262] ivtv0 info: match: 0x78123456 at 0xf940010c. match: 3
[ 6839.476269] ivtv0 info: found decoder mailbox!
[ 6839.476275] ivtv0 api: API Call: 0x00000080 (CX2341X_ENC_PING_FW)
[ 6839.486080] ivtv0 api: Releasing mailbox (before 0x00000007, after
0x00000000)
[ 6839.486087] ivtv0 info: Encoder OK
[ 6839.486090] ivtv0 info: Getting firmware version..
[ 6839.486094] ivtv0 info: Getting encoder firmware rev.
[ 6839.486098] ivtv0 api: API Call: 0x000000c4 (CX2341X_ENC_GET_VERSION)
[ 6839.494065] ivtv0 api: Releasing mailbox (before 0x00000007, after
0x00000000)
[ 6839.494071] ivtv0: Encoder revision: 0x02050032
[ 6839.494075] ivtv0 info: v4l2 streams setup
[ 6839.494078] ivtv0 info: Configuring Yuan PG600, Diamond PVR-550
card with 4 streams
[ 6839.496333] ivtv0: Registered device video0 for encoder MPEG
[ 6839.496344] ivtv0 info: Allocate DMA encoder MPEG stream: 128 x
32768 buffers (4096KB total)
[ 6839.499332] ivtv0: Registered device video32 for encoder YUV
[ 6839.499342] ivtv0 info: Allocate DMA encoder YUV stream: 194 x
10800 buffers (2048KB total)
[ 6839.502211] ivtv0: Registered device vbi0 for encoder VBI
[ 6839.502221] ivtv0 info: Allocate DMA encoder VBI stream: 120 x
17472 buffers (2048KB total)
[ 6839.504852] ivtv0: Registered device video24 for encoder PCM audio
[ 6839.504862] ivtv0 info: Allocate DMA encoder PCM audio stream: 455
x 4608 buffers (2048KB total)
[ 6839.506223] ivtv0 info: Starting Threads
[ 6839.506369] ivtv0 irq: Masking interrupts
[ 6839.506505] ivtv0 ioctl: VIDIOC_S_INPUT
[ 6839.506510] ivtv0 info: Changing input from 1 to 0
[ 6839.506514] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1)
[ 6839.506899] ivtv0 i2c: call_i2c_client addr=44
[ 6839.511210] ivtv0 info: Mute
[ 6839.511330] ivtv0 i2c: call_i2c_client addr=44
[ 6839.526017] ivtv0 info: ivtv_enc_thread: pid = 15805, itv = 0xc2140000
[ 6839.526026] ivtv0 info: encoder thread sleeping 15805
[ 6839.526450] ivtv0 info: ivtv_enc_vbi_thread: pid = 15806, itv = 0xc2140000
[ 6839.526455] ivtv0 info: encoder thread sleeping 15806
[ 6839.571878] ivtv0 i2c: call_i2c_client addr=44
[ 6839.639920] ivtv0 api: API Call: 0x000000cd (CX2341X_ENC_INITIALIZE_INPUT)
[ 6839.741637] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0)
[ 6839.741644] ivtv0 i2c: call_i2c_client addr=44
[ 6839.744434] ivtv0 info: Unmute
[ 6839.744472] ivtv0 ioctl: VIDIOC_S_STD
[ 6839.744584] ivtv0 info: Switching standard to 1000.
[ 6839.775689] ivtv0 ioctl: VIDIOC_S_FREQUENCY
[ 6839.775695] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1)
[ 6839.775700] ivtv0 i2c: call_i2c_client addr=44
[ 6839.779671] ivtv0 info: Mute
[ 6839.779676] ivtv0 info: v4l2 ioctl: set frequency 1076
[ 6839.794462] ivtv0 api: API Call: 0x000000cd (CX2341X_ENC_INITIALIZE_INPUT)
[ 6839.893389] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0)
[ 6839.893396] ivtv0 i2c: call_i2c_client addr=44
[ 6839.896375] ivtv0 info: Unmute
[ 6839.896381] ivtv0: Initialized Yuan PG600, Diamond PVR-550, card #0
[ 6839.896631] ivtv: ==================== END INIT IVTV ====================
#Output from lspci
02:06.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Unknown device ff92:0070
Flags: bus master, medium devsel, latency 64, IRQ 21
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <access denied>
# Output from v4l2-ctl --all
Driver info:
Driver name : ivtv
Card type : Yuan PG600, Diamond PVR-550
Bus info : 0000:02:06.0
Driver version: 2305
Capabilities : 0x01030051
Video Capture
VBI Capture
Sliced VBI Capture
Tuner
Audio
Read/Write
Format:
Type : Video Capture
Width/Height : 720/480
Pixel Format : MPEG
Field : Interlaced
Bytes per Line: 0
Size Image : 131072
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Format:
Type : 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:
Type : 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 : 10
Count 1st Field : 12
Start 2nd Field : 273
Count 2nd Field : 12
Video input : 0 (Tuner 1)
Audio input : 0 (Tuner 1)
Frequency: 0 (0.000000 MHz)
Video standard = 0x00001000
NTSC-M
Tuner:
Capabilities : 62.5 kHz stereo lang1 lang2
Frequency range : 0.0 MHz - 0.0 MHz
Signal strength : 0%
Current audio mode : lang1
Available subchannels: mono lang2
#Output from 'mplayer /dev/video0' continues to be a black screen that
flickers with input changes in ptune-ui.
#/etc/modprobe.d/ivtv
alias char-major-81-0 ivtv
options ivtv cardtype=7
options ivtv tuner=57
options ivtv ivtv_debug=255
Thanks in advance for all your help!
-Keller
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel