Please be patient, I'm a ivtv/pvr newbie. I'm following the Wilsonet HOWTO to configure a PVR250 card.
Modules installation and configuration card seems to me right but when I try to capture from my antenna TV nothing happens. Size of file test_capture.mpg is steadily to zero while runs of command "cat /dev/video1 > test_capture.mpg" as running "mplayer -vo xv /dev/video1" nothing happens (no windows appears). Where's my fault ? Could the card's TV-IN be off, broken or similar ? Is it right directly capturing from the antenna TV ? I'm in Italy (PAL) so I guess 38 is the tuner id. The PVR250 card is /dev/video1 (/dev/video0 is a Quickcam). Here is the commands sequence used to install, configure and check the card: # modprobe ivtv cardtype=2 ivtv_std=2 tuner=38 tda9887=0 # ivtvctl -d /dev/video1 -u 0xff # ivtvctl -d /dev/video1 -f width=720,height=576 # /usr/lib/ivtv/ptune-ui.pl -d /dev/video1 & # cat /dev/video1 > test_capture.mpg and/or # mplayer -vo xv /dev/video1 And following are all info & logs ivtv related. thanks in advance Lucio ***************************************************************** ivtv installed packages ***************************************************************** kernel-smp-2.6.11-1.14_FC3 ivtv-0.3.2q-78.rhfc3.at ivtvdev-0.8-1.rhfc3.at ivtv-firmware-dec-2.02.023-4.at ivtv-firmware-enc-2.04.024-4.at ivtv-kmdl-2.6.11-1.14_FC3smp-0.3.2q-78.rhfc3.at perl-Video-ivtv-0.13-6.rhfc3.at ***************************************************************** lspci ***************************************************************** 01:04.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) Subsystem: Hauppauge computer works Inc.: Unknown device 8801 Flags: bus master, medium devsel, latency 64, IRQ 169 Memory at f0000000 (32-bit, prefetchable) [size=64M] Capabilities: [44] Power Management version 2 ***************************************************************** ls -l /dev/video* ***************************************************************** lrwxrwxrwx 1 root root 6 15 apr 08:04 /dev/video -> video0 crw------- 1 root root 81, 0 15 apr 08:04 /dev/video0 crw-rw---- 1 root root 81, 1 15 apr 08:38 /dev/video1 crw-rw---- 1 root root 81, 24 15 apr 08:38 /dev/video24 crw-rw---- 1 root root 81, 32 15 apr 08:38 /dev/video32 crw------- 1 root root 81, 0 15 apr 08:04 /dev/video4linux ***************************************************************** /var/log/messages ***************************************************************** kernel: ivtv: no version for "struct_module" found: kernel tainted. kernel: ivtv: ==================== START INIT IVTV ==================== kernel: ivtv: version 0.3.2 (q) loading kernel: ivtv: Linux version: 2.6.11-1.14_FC3smp SMP 686 REGPARM 4KSTACKS gcc-3.4 kernel: ivtv: In case of problems please include the debug info kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when kernel: ivtv: mailing the ivtv-devel mailinglist. kernel: ivtv: User specified WinTV PVR 250 card kernel: ivtv: Found an iTVC16 based chip kernel: ACPI: PCI interrupt 0000:01:04.0[A] -> GSI 18 (level, low) -> IRQ 169 kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32) kernel: ivtv: XXX PCI device: 0x2570 vendor: 0x8086 kernel: ivtv: i2c attach [client=tveeprom,ok] kernel: tveeprom: Hauppauge: model = 26559, rev = C260, serial# = 2884412 kernel: tveeprom: tuner = LG S001D MK3 (idx = 60, type = 4) kernel: tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) kernel: tveeprom: audio_processor = MSP3410D (type = 5) kernel: ivtv: Tuner Type 4, Tuner formats 0x00400e17, Radio: yes, Model 0x008d2590, Revision 0x00000000 kernel: ivtv: Radio detected kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 kernel: ivtv: i2c attach [client=(tuner unset),ok] kernel: saa7115: starting probe for adapter SMBus I801 adapter at 5000 (0x0) kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) kernel: msp3400: error while reading chip version kernel: tda9885/6/7: chip found @ 0x86 kernel: ivtv: i2c attach [client=tda9887,ok] kernel: ivtv: Encoder revision: 0x02040024 kernel: ivtv: Encoder Firmware may be buggy, use version 0x02040011 kernel: ivtv: Configuring WinTV PVR 250 card with 5 streams kernel: ivtv: Registered v4l2 device, streamtype 0 minor 1 kernel: ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total kernel: ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32 kernel: ivtv: Create DMA stream 1 kernel: ivtv: Allocate DMA stream 1 kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224 kernel: ivtv: Create stream 2 using 40 52224 byte buffers 0 kbytes total kernel: ivtv: Allocate stream 2 using 40 52224 byte buffers 2097152 kbytes total kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24 kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total kernel: ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64 kernel: ivtv: Create stream 4 kernel: ivtv: Allocate stream 4 kernel: ivtv: Setting Tuner 38 kernel: tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0 kernel: ivtv: i2c client addr: 0x21 not found! kernel: ivtv: Setting audio matrix to input 3, output 1 kernel: ivtv: i2c client addr: 0x40 not found! kernel: ivtv: Switching standard to PAL. kernel: ivtv: i2c client addr: 0x40 not found! kernel: ivtv: i2c client addr: 0x21 not found! kernel: ivtv: Initialized WinTV PVR 250, card #0 kernel: ivtv: ==================== END INIT IVTV ==================== ***************************************************************** lsmod ***************************************************************** ac 8773 0 ata_piix 13125 4 battery 13253 0 button 10577 0 dm_mod 60741 0 ehci_hcd 37197 0 ext3 131401 3 i2c_algo_bit 13001 1 ivtv i2c_core 25665 7 tda9887,msp3400,saa7115,tuner,tveeprom,i2c_algo_bit,i2c_i801 i2c_i801 12493 0 i915 22721 1 ieee1394 307705 1 ohci1394 ip_conntrack 45481 5 ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,......... ip_conntrack_ftp 76497 0 ip_conntrack_irc 75729 0 iptable_filter 6849 1 iptable_mangle 6721 0 iptable_nat 25597 1 ipt_MASQUERADE ip_tables 25025 9 ipt_limit,iptable_mangle,ipt_LOG,......... ipt_limit 6465 6 ipt_LOG 11073 8 ipt_MASQUERADE 7489 0 ipt_REJECT 11073 1 ipt_state 5825 6 ipt_TOS 6337 0 ipv6 259681 14 ivtv 812740 1 jbd 61401 1 ext3 libata 49093 1 ata_piix lp 16201 0 md5 8129 1 Module Size Used by msp3400 29161 0 ohci1394 37849 0 parport 38793 2 parport_pc,lp parport_pc 31109 1 pwc 83249 0 saa7115 15256 0 scsi_mod 129801 3 usb_storage,libata,sd_mod sd_mod 22337 5 snd 57765 13 snd_usb_audio,snd_rawmidi,snd_seq_device,......... snd_ac97_codec 73145 1 snd_intel8x0 snd_intel8x0 35329 1 snd_mixer_oss 22465 1 snd_pcm_oss snd_page_alloc 13765 2 snd_intel8x0,snd_pcm snd_pcm 92741 4 snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_pcm_oss 55153 0 snd_rawmidi 28129 1 snd_usb_lib snd_seq_device 12493 1 snd_rawmidi snd_timer 28741 1 snd_pcm snd_usb_audio 66561 1 snd_usb_lib 16577 1 snd_usb_audio soundcore 13217 1 snd tda9887 17753 0 tg3 87749 0 tuner 25837 0 tveeprom 16857 0 uhci_hcd 35289 0 usb_storage 69257 0 video 19653 0 videodev 13633 3 ivtv,pwc ***************************************************************** ivtvctl -d /dev/video1 -a ***************************************************************** ioctl: IVTV_IOC_G_CODEC Codec parameters aspect : 2 audio : 0x00e9 bframes : 3 bitrate_mode: 0 bitrate : 8000000 bitrate_peak: 9600000 dnr_mode : 0 dnr_spatial : 0 dnr_temporal: 0 dnr_type : 0 framerate : 0 framespergop: 12 gop_closure : 1 pulldown : 0 stream_type : 0 ioctl: VIDIOC_G_FMT Type : Video Capture Width : 720 Height : 576 ioctl: VIDIOC_QUERYCAP Driver name : ivtv Card type : WinTV PVR 250 Bus info : 0 Driver version: 770 Capabilities : 0x01070011 ioctl: VIDIOC_ENUMINPUT Input : 0 Name : Composite 0 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 1 Name : Composite 1 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 2 Name : Composite 2 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 3 Name : Composite 3 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 4 Name : Tuner 0 Type : 0x00000001 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000000000FF ( PAL ) Status : 0 Input : 5 Name : Composite 4 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 6 Name : S-Video 0 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 7 Name : S-Video 1 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 8 Name : S-Video 2 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 Input : 9 Name : S-Video 3 Type : 0x00000002 Audioset: 0x00000003 Tuner : 0x00000000 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Status : 0 ioctl: VIDIOC_G_INPUT Input = 4 ioctl: VIDIOC_ENUMOUTPUT ioctl: VIDIOC_G_OUTPUT ioctl: VIDIOC_G_OUTPUT failed ioctl: VIDIOC_ENUMAUDIO Input : 0 Name : Tuner Audio In Input : 1 Name : Audio Line In ioctl: VIDIOC_G_AUDIO Input = 0: Tuner Audio In ioctl: VIDIOC_G_FREQUENCY Frequency = 8820 ioctl: VIDIOC_ENUMSTD index : 0 ID : 0x0000000000003000 Name : NTSC Frame period: 1001/30000 Frame lines : 525 index : 1 ID : 0x00000000000000FF Name : PAL Frame period: 1/25 Frame lines : 625 index : 2 ID : 0x00000000007F0000 Name : SECAM Frame period: 1/25 Frame lines : 625 ioctl: VIDIOC_G_STD Standard = 0x000000ff ioctl: VIDIOC_QUERYCTRL Brightness = -447087024 Contrast = -212295680 Saturation = -447087024 Hue = -2146937321 Volume = 0 Mute = 0 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Ivtv-users mailing list Ivtv-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-users