On Friday 17 November 2006 23:20, Hans Verkuil wrote: > Hmm, back to basics I think. Install the standard ivtv-0.8.x > (http://ivtvdriver.org/viewcvs/ivtv/branches/0.8.tar.gz?view=tar). > > 1) Load the driver and post the INIT IVTV messages ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.8.0 (tagged release) loading ivtv: Linux version: 2.6.18-1.2849.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 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. ata2: SATA link down (SStatus 0 SControl 0) scsi2 : sata_promise ata3: SRST failed (status 0xFF) ata3: disabling port ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19 ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [APC4] -> GSI 19 (level, high) -> IRQ 209 NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-9629 Wed Nov 1 19:30:07 PST 2006 i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000 i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5040 ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 22 ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCJ] -> GSI 22 (level, high) -> IRQ 177 PCI: Setting latency timer of device 0000:00:06.0 to 64 input: PC Speaker as /class/input/input2 hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 intel8x0_measure_ac97_clock: measured 50466 usecs intel8x0: clocking to 47498 ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) ACPI: PCI Interrupt Link [APCH] enabled at IRQ 21 ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [APCH] -> GSI 21 (level, high) -> IRQ 185 PCI: Setting latency timer of device 0000:00:04.0 to 64 ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16 ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC1] -> GSI 16 (level, high) -> IRQ 217 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) eth0: forcedeth.c: subsystem: 01462:570c bound to 0000:00:04.0 ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) tveeprom 2-0050: Hauppauge model 26559, rev C260, serial# 7626017 tveeprom 2-0050: tuner model is LG S001D MK3 (idx 60, type 38) tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74) tveeprom 2-0050: audio processor is CX25843 (idx 37) tveeprom 2-0050: decoder processor is CX25843 (idx 30) tveeprom 2-0050: has radio, has no IR remote tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0) tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner) tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0) cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes) wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0) ivtv0: Encoder revision: 0x02050032 ivtv0: Registered device video0 for encoder MPEG ivtv0: Registered device video32 for encoder YUV ivtv0: Registered device vbi0 for encoder VBI ivtv0: Registered device video24 for encoder PCM audio ivtv0: Registered device radio0 for encoder radio tuner 2-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) ivtv0: Initialized Hauppauge WinTV PVR-150, card #0 ivtv: ==================== END INIT IVTV ====================
> 2) run v4l2-ctl -i 1 > 3) start a capture and run in another shell v4l2-ctl --log-status. Post > the output. Status Log: ivtv0: ================= START STATUS CARD #0 ================= tveeprom 2-0050: Hauppauge model 26559, rev C260, serial# 7626017 tveeprom 2-0050: tuner model is LG S001D MK3 (idx 60, type 38) tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 0x74) tveeprom 2-0050: audio processor is CX25843 (idx 37) tveeprom 2-0050: decoder processor is CX25843 (idx 30) tveeprom 2-0050: has radio, has no IR remote tda9887 2-0043: Data bytes: b=0x14 c=0x6e e=0x49 tuner 2-0061: Tuner mode: analog TV tuner 2-0061: Frequency: 400.00 MHz tuner 2-0061: Standard: 0x000000ff cx25840 2-0044: Video signal: present cx25840 2-0044: Detected format: PAL-BDGHI cx25840 2-0044: Specified standard: PAL-BDGHI cx25840 2-0044: Specified video input: S-Video (Luma In1, Chroma In5) cx25840 2-0044: Specified audioclock freq: 48000 Hz cx25840 2-0044: Detected audio mode: forced mode cx25840 2-0044: Detected audio standard: no detected audio standard cx25840 2-0044: Audio muted: no cx25840 2-0044: Audio microcontroller: stopped cx25840 2-0044: Configured audio standard: automatic detection cx25840 2-0044: Configured audio system: automatic standard and mode detection cx25840 2-0044: Specified audio input: External cx25840 2-0044: Preferred audio mode: stereo cx25840 2-0044: Selected 65 MHz format: autodetect cx25840 2-0044: Selected 45 MHz format: chroma wm8775 2-001b: Input: 2 ivtv0: Stream: MPEG-2 Program Stream ivtv0: Video: 720x576, 25 fps ivtv0: Video: MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000 ivtv0: Video: GOP Size 12, 2 B-Frames, GOP Closure, No 3:2 Pulldown ivtv0: Audio: 48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No CRC ivtv0: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0 ivtv0: Temporal Filter: Manual, 0 ivtv0: Median Filter: Off, Luma [0, 255], Chroma [0, 255] ivtv0: ================== END STATUS CARD #0 ================== > 4) run (while capture is still in progress) 'ivtvctl -R chip=cx2584x' > and post the output. > ivtvctl -R chip=cx2584x 2>&1 | head -10 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000000 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000001 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000002 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000003 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000004 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000005 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000006 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000007 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000008 ioctl: VIDIOC_INT_G_REGISTER failed for 0x00000009 (As far as I could see this continues forever, for increasing numbers). > Now go back to ivtv-0.3.2q and: > > 1) Load the driver and post the INIT IVTV messages ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.2 (q) loading ivtv: Linux version: 2.6.11-1.27_FC3 686 REGPARM 4KSTACKS gcc-3.4 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 150 card ivtv: Found an iTVC16 based chip ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11 PCI: setting IRQ 11 as level-triggered ACPI: PCI interrupt 0000:01:07.0[A] -> GSI 11 (level, low) -> IRQ 11 ivtv: Unreasonably low latency timer, setting to 64 (was 32) ivtv: XXX PCI device: 0x01e0 vendor: 0x10de tveeprom: Hauppauge: model = 26559, rev = C260, serial# = 7626017 tveeprom: tuner = LG S001D MK3 (idx = 60, type = 58) tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio_processor = MSP3410D (type = 5) ivtv: i2c attach [client=tveeprom[0],ok] ivtv: Tuner Type 58, Tuner formats 0x00400e17, Radio: yes, Model 0x008d2590, Revision 0x00000001 ivtv: Radio detected tuner: Ignoring new-style parameters in presence of obsolete ones tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach [client=(tuner unset),ok] cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded. cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6 ivtv: i2c attach [client=cx25840[0],ok] ivtv: i2c attach [client=wm8775[0],ok] ivtv: Encoder revision: 0x02050032 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Configuring WinTV PVR 150 card with 5 streams ivtv: Registered v4l2 device, streamtype 0 minor 0 ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create DMA stream 1 ivtv: Allocate DMA stream 1 ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create stream 2 using 40 52224 byte buffers 0 kbytes total ivtv: Allocate stream 2 using 40 52224 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 64 ivtv: Create stream 4 ivtv: Allocate stream 4 ivtv: Setting Tuner 58 tuner: type set to 58 (LG PAL TAPE-S001D) by ivtv i2c driver #0 ivtv: Switching standard to PAL. ivtv: Initialized WinTV PVR 150, card #0 ivtv: ==================== END INIT IVTV ==================== ivtv: ivtv_enc_thread: pid = 1952, itv = 0xd0b09ea0 > 2) Select a working S-Video input (let me know which input you chose) ivtvctl -p 1 > 3) Start a capture and run cx25840ctl -l and post the output. > ioctl: IVTV_IOC_G_CX25840_SETTING failed Opening /dev/video0 (disappointing I guess) > Well, that should give me all the info I need. I really don't understand > it. > > Oh yes, if you play back on the 2.6.18 system something you captured > with 0.3.2q, is it still color? Just in case there is some weirdness > with mplayer :-) > It plays back fine, with a bit lower soundlevel but splendid colour. Cheers Han Holl _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
