On Sun, 2006-01-08 at 09:32 -0800, Mark Knecht wrote: > Michael Sullivan <[EMAIL PROTECTED]> wrote: > > > > I tried the test "cat /dev/video0 > test.mpg" and opening it in mplayer > > and all I got was the blank screen. > > I've been through this numerous times. It's no fun. Sorry. > > First, and most important, what does dmesg about ivtv show when you boot? >
[EMAIL PROTECTED] ~ $ dmesg | grep 'ivtv' ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.0 (tagged release) loading ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 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. ivtv0: Autodetected WinTV PVR 250 card (iTVC16 based) ivtv0: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: ivtv version ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] 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] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] msp34xx: ivtv version ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40] tda9885/6/7: (ivtv) chip found @ 0x86 ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] ivtv0: loading /lib/modules/ivtv-fw-enc.bin 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 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 ivtv0: Initialized WinTV PVR 250, card #0 ivtv: ==================== END INIT IVTV ==================== [EMAIL PROTECTED] ~ $ > Second, when you record 10 seconds of data to test.mpg what is the > file size? Zero/small means ivtv simply isn't working. Large means it > is but the tuner or something else is not working correctly. > camille ~ # cat /dev/video0 > temp.mpg camille ~ # ls -lh temp.mpg -rw-r--r-- 1 root root 13M Jan 8 11:46 temp.mpg > Note that there are a number of us that are unable to reboot PVR > cards. We must cold boot them to have them operate correctly. Info > will show up in dmesg if you are one of this unfortunate select group. > lspci -x after a warm and cold boot would show a difference. > I have ivtv in my /etc/modules.autoload.d/kernel-2.6 file It's been several years since I was sure I knew the difference between warm and cold boot. If I remember correctly, cold boot is starting up the computer from when it had been off for 10+ seconds and warm boot was simply rebooting it. By this definition, here is lspci -x from a "cold" boot: camille ~ # lspci -x 00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Processor to I/O Controller 00: 86 80 80 25 06 01 90 20 00 00 00 06 00 00 00 00 10: 00 00 00 00 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 86 80 47 56 30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Express Chipset Family Graphics Controller 00: 86 80 82 25 07 00 90 00 00 00 00 03 00 00 00 00 10: 00 00 a0 ff 01 ec 00 00 08 00 00 c0 00 00 a8 ff 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 d0 00 00 00 00 00 00 00 0b 01 00 00 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) 00: 86 80 68 26 06 00 10 00 03 00 03 04 10 00 00 00 10: 04 00 ac ff 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 86 80 13 e2 30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) 00: 86 80 60 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 04 04 00 f0 00 00 20 20: 80 ff 80 ff 31 d4 31 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 06 00 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) 00: 86 80 62 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 03 03 00 f0 00 00 20 20: 70 ff 70 ff 21 d4 21 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 02 06 00 00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) 00: 86 80 64 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 02 02 00 f0 00 00 20 20: 60 ff 60 ff 11 d4 11 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 03 06 00 00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) 00: 86 80 66 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 00 20 20: 50 ff 50 ff 01 d4 01 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 04 06 00 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00: 86 80 58 26 05 00 80 02 03 00 03 0c 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 c8 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 00 00 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00: 86 80 59 26 05 00 80 02 03 00 03 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 cc 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00: 86 80 5a 26 05 00 80 02 03 00 03 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 d0 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 05 03 00 00 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00: 86 80 5b 26 05 00 80 02 03 00 03 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 d4 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00: 86 80 5c 26 06 01 90 02 03 20 03 0c 00 00 00 00 10: 00 40 ac ff 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 86 80 47 56 30: 00 00 00 00 50 00 00 00 00 00 00 00 09 01 00 00 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) 00: 86 80 4e 24 07 01 10 00 d3 01 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 05 05 20 b0 b0 80 22 20: 90 ff 90 ff 01 d0 f1 d3 00 00 00 00 00 00 00 00 30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 06 02 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)00: 86 80 40 26 07 01 00 02 03 00 01 06 00 00 80 00 10: 00 00 00 00 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 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) 00: 86 80 6f 26 05 00 88 02 03 8a 01 01 00 00 00 00 10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 20: a1 ff 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00 00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) 00: 86 80 51 26 05 00 b0 02 03 8f 01 01 00 00 00 00 10: 01 e8 00 00 01 e4 00 00 01 e0 00 00 01 dc 00 00 20: 01 d8 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 70 00 00 00 00 00 00 00 0a 02 00 00 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 00: 86 80 6a 26 01 01 80 02 03 00 05 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 c4 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00 05:00.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) 00: 44 44 16 00 16 01 10 02 01 00 00 04 10 40 00 00 10: 08 00 00 d0 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 01 48 30: 00 00 00 00 44 00 00 00 00 00 00 00 03 01 80 08 05:01.0 Communication controller: U.S. Robotics Unknown device 2f00 (rev 01) 00: ec 16 00 2f 07 01 90 02 01 00 80 07 00 20 00 00 10: 00 00 90 ff 01 bc 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 16 13 01 30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00 05:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller (rev 01) 00: 86 80 64 10 17 01 90 02 01 00 00 02 10 20 00 00 10: 00 00 91 ff 01 b8 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 7d 30 30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 08 38 camille ~ # And here is lspci -x from a "warm" boot: camille ~ # lspci -x 00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Processor to I/O Controller 00: 86 80 80 25 06 01 90 20 00 00 00 06 00 00 00 00 10: 00 00 00 00 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 86 80 47 56 30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Express Chipset Family Graphics Controller 00: 86 80 82 25 07 00 90 00 00 00 00 03 00 00 00 00 10: 00 00 a0 ff 01 ec 00 00 08 00 00 c0 00 00 a8 ff 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 d0 00 00 00 00 00 00 00 0b 01 00 00 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) 00: 86 80 68 26 06 00 10 00 03 00 03 04 10 00 00 00 10: 04 00 ac ff 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 86 80 13 e2 30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) 00: 86 80 60 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 04 04 00 f0 00 00 20 20: 80 ff 80 ff 31 d4 31 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 06 00 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) 00: 86 80 62 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 03 03 00 f0 00 00 20 20: 70 ff 70 ff 21 d4 21 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 02 06 00 00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03) 00: 86 80 64 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 02 02 00 f0 00 00 20 20: 60 ff 60 ff 11 d4 11 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 03 06 00 00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03) 00: 86 80 66 26 06 01 10 00 03 00 04 06 10 00 81 00 10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 00 20 20: 50 ff 50 ff 01 d4 01 d4 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 04 06 00 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00: 86 80 58 26 05 00 80 02 03 00 03 0c 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 c8 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 00 00 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00: 86 80 59 26 05 00 80 02 03 00 03 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 cc 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00: 86 80 5a 26 05 00 80 02 03 00 03 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 d0 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 05 03 00 00 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00: 86 80 5b 26 05 00 80 02 03 00 03 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 d4 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00: 86 80 5c 26 06 01 90 02 03 20 03 0c 00 00 00 00 10: 00 40 ac ff 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 86 80 47 56 30: 00 00 00 00 50 00 00 00 00 00 00 00 09 01 00 00 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) 00: 86 80 4e 24 07 01 10 00 d3 01 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 05 05 20 b0 b0 80 22 20: 90 ff 90 ff 01 d0 f1 d3 00 00 00 00 00 00 00 00 30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 06 02 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)00: 86 80 40 26 07 01 00 02 03 00 01 06 00 00 80 00 10: 00 00 00 00 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 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) 00: 86 80 6f 26 05 00 88 02 03 8a 01 01 00 00 00 00 10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 20: a1 ff 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00 00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03) 00: 86 80 51 26 05 00 b0 02 03 8f 01 01 00 00 00 00 10: 01 e8 00 00 01 e4 00 00 01 e0 00 00 01 dc 00 00 20: 01 d8 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 70 00 00 00 00 00 00 00 0a 02 00 00 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 00: 86 80 6a 26 01 01 80 02 03 00 05 0c 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 c4 00 00 00 00 00 00 00 00 00 00 86 80 47 56 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00 05:00.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) 00: 44 44 16 00 16 01 10 02 01 00 00 04 10 40 00 00 10: 08 00 00 d0 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 01 48 30: 00 00 00 00 44 00 00 00 00 00 00 00 03 01 80 08 05:01.0 Communication controller: U.S. Robotics Unknown device 2f00 (rev 01) 00: ec 16 00 2f 07 01 90 02 01 00 80 07 00 20 00 00 10: 00 00 90 ff 01 bc 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 16 13 01 30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00 05:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller (rev 01) 00: 86 80 64 10 17 01 90 02 01 00 00 02 10 20 00 00 10: 00 00 91 ff 01 b8 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 7d 30 30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 08 38 camille ~ # -- gentoo-user@gentoo.org mailing list