Hi, I have spent the last 2 days trying to get a standard wintv-pvr 250 working on a debian linux system with a self compiled 2.6.13 kernel. I have tested 0.2 and 0.3 versions and ran into several problems.
Basically I can get a video with static noise in both cases, thus at least the hardware encoder is working. On the other hand im not sure wether the tuner is detected and / or working correctly. The main problem is, that I have no idea about how to set a specific channel (f.e. 36 for my video recorder, since I am living in germany this corresponds to a frequency of 591,25 MHz), ivtcl --set-freq seems to do something but I have not found any hint about the interpretation of the specified values. According to some sylsog error messages the allowed range is 44-958. Since the value 44 triggers error messages because the specified value is to low, i guess that the freq-value is mapped somehow (f.e. it seems that 1 is mapped to 0.06 ...). On the other hand scantv produces the following error: . . . [defaults] input = Television norm = PAL invalid value for input: television valid choices for "input": "Composite 0", "Composite 1", "Composite 2", "Composite 3", "Tuner 0", "Composite 4", "S-Video 0", "S-Video 1", "S-Video 2", "S-Video 3" vbi: open failed [/dev/vbi] open /dev/vbi: Invalid argument /dev/vbi has the same access rights as /dev/video* which I can access via mplayer. Furthermore I have no idea howto overried the default input value to Tuner 0. Since I could not tune in a correct channel, I attached my vcr via a video cable to the S-Video connector and cycled through all inputs. This produced nearly black videos with reduced noise compared to Tuner input, but I did not get any video as well. This last point gives me the impression that the tuner might not be initialized correctly or working at all. Sordidly I cannot boot my windows system, so I cannot initialize the tuner this way (at least for bttv cards this would work) and I am also not sure wether the hardware is OK (I just bought this card via ebay). One thing I should probably mention is that I have a pctv (bttv-card), which might mess with ivtv, but deinstalling it did not solve any problems (but seems to affect device names if loaded first). Furthermore I use mplayer /dev/video to test the output, this always produces mpeg encoded white-noise. So any information about setting the channel or scanning for channels or about howto check the tuner could help. The entries in /var/log/messages do not provide significant hints anymore, but I had to fix several problems before (wrong modul install pathes for debian packages, removing old tveeprom, msp3400 ... , unloading eeprom, moving firmware to /lib/modules, setting busmastering ...). Currently I get the following for ivtv0.3 from /var/log/messages: Sep 7 05:15:05 MillsMess kernel: ivtv: ==================== START INIT IVTV ==================== Sep 7 05:15:05 MillsMess kernel: ivtv: version 0.3.7 (k) loading Sep 7 05:15:05 MillsMess kernel: ivtv: Linux version: 2.6.13sil-swsp-bootsp SMP preempt K7 gcc-3.3 Sep 7 05:15:05 MillsMess kernel: ivtv: In case of problems please include the debug info Sep 7 05:15:05 MillsMess kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when Sep 7 05:15:05 MillsMess kernel: ivtv: mailing the ivtv-devel mailinglist. Sep 7 05:15:05 MillsMess kernel: ivtv: Autodetected WinTV PVR 250 card (iTVC16 based) Sep 7 05:15:05 MillsMess kernel: ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 16 (level, low) -> IRQ 16 Sep 7 05:15:05 MillsMess kernel: ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] Sep 7 05:15:05 MillsMess kernel: msp34xx: ivtv version Sep 7 05:15:05 MillsMess kernel: msp34xx: init: chip=MSP3418W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode Sep 7 05:15:05 MillsMess kernel: msp34xx: $Id$ compiled on: Sep 6 2005 19:21:45 Sep 7 05:15:05 MillsMess kernel: ivtv: i2c attach to card #0 ok [client=MSP3418W-A2, addr=40] Sep 7 05:15:05 MillsMess kernel: saa7115 debug: starting probe for adapter ivtv i2c driver #0 (0x10005) Sep 7 05:15:05 MillsMess kernel: saa7115 debug: detecting saa7115 client on address 0x42 Sep 7 05:15:05 MillsMess kernel: saa7115 debug: writing init values Sep 7 05:15:05 MillsMess kernel: ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21] Sep 7 05:15:05 MillsMess kernel: saa7115 debug: status: (1E) 0x48, (1F) 0xc0 Sep 7 05:15:05 MillsMess kernel: tveeprom: Hauppauge: model = 32054, rev = B148, serial# = 7160856 Sep 7 05:15:05 MillsMess kernel: tveeprom: tuner = LG TP18PSB11D (idx = 48, type = 29) Sep 7 05:15:05 MillsMess kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, v4l2 = 0x00000007) Sep 7 05:15:05 MillsMess kernel: tveeprom: audio processor = MSP4418 (type = 19) Sep 7 05:15:05 MillsMess kernel: tveeprom: decoder processor = SAA7115 (type = 13) Sep 7 05:15:05 MillsMess kernel: ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50] Sep 7 05:15:06 MillsMess kernel: ivtv: Encoder revision: 0x02040011 Sep 7 05:15:06 MillsMess kernel: ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total) Sep 7 05:15:06 MillsMess kernel: ivtv: Create DMA encoder YUV stream: 0 x 12960 buffers (0KB total) Sep 7 05:15:06 MillsMess kernel: ivtv: Create DMA encoder VBI stream: 0 x 26208 buffers (0KB total) Sep 7 05:15:06 MillsMess kernel: ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total) Sep 7 05:15:06 MillsMess kernel: saa7115 debug: decoder set norm PAL Sep 7 05:15:06 MillsMess kernel: saa7115 debug: set audio: 0x01 Sep 7 05:15:06 MillsMess kernel: saa7115 debug: decoder set input (4) Sep 7 05:15:06 MillsMess kernel: saa7115 debug: now setting Composite input Sep 7 05:15:07 MillsMess kernel: saa7115 debug: decoder set norm PAL Sep 7 05:15:07 MillsMess kernel: saa7115 debug: set audio: 0x01 Sep 7 05:15:07 MillsMess kernel: saa7115 debug: decoder disable output Sep 7 05:15:07 MillsMess kernel: saa7115 debug: decoder enable output Sep 7 05:15:07 MillsMess kernel: ivtv: Initialized WinTV PVR 250, card #0 Sep 7 05:15:07 MillsMess kernel: ivtv: ==================== END INIT IVTV ==================== Sep 7 05:15:11 MillsMess kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) And I get the following for ivtv0.2 from /var/log/syslog (nothing in messages): Sep 7 05:44:30 MillsMess kernel: ivtv: ==================== START INIT IVTV ==================== Sep 7 05:44:30 MillsMess kernel: ivtv: version 0.2.0 (rc3j) loading Sep 7 05:44:30 MillsMess kernel: ivtv: Linux version: 2.6.13sil-swsp-bootsp SMP preempt K7 gcc-3.3 Sep 7 05:44:30 MillsMess kernel: ivtv: In case of problems please include the debug info Sep 7 05:44:30 MillsMess kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when Sep 7 05:44:30 MillsMess kernel: ivtv: mailing the ivtv-devel mailinglist. Sep 7 05:44:30 MillsMess kernel: ivtv: Autodetected WinTV PVR 250 card Sep 7 05:44:30 MillsMess kernel: ivtv: Found an iTVC16 based chip Sep 7 05:44:30 MillsMess kernel: ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 16 (level, low) -> IRQ 16 Sep 7 05:44:30 MillsMess kernel: ivtv: VIA PCI device: 0x3189 vendor: 0x1106 Sep 7 05:44:30 MillsMess kernel: tveeprom: Hauppauge: model = 32054, rev = B148, serial# = 7160856 Sep 7 05:44:30 MillsMess kernel: tveeprom: tuner = LG TP18PSB11D (idx = 48, type = 29) Sep 7 05:44:30 MillsMess kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, v4l2 = 0x00000007) Sep 7 05:44:30 MillsMess kernel: tveeprom: audio_processor = CS5331 (type = 9) Sep 7 05:44:30 MillsMess kernel: ivtv: i2c attach [client=tveeprom,ok] Sep 7 05:44:30 MillsMess kernel: ivtv: Tuner Type 29, Tuner formats 0x00000007, Radio: yes, Model 0x00891518, Revision 0x000 00000 Sep 7 05:44:30 MillsMess kernel: ivtv: PAL tuner detected Sep 7 05:44:30 MillsMess kernel: ivtv: Radio detected Sep 7 05:44:30 MillsMess kernel: tuner: Ignoring new-style parameters in presence of obsolete ones Sep 7 05:44:30 MillsMess kernel: saa7115: starting probe for adapter monid (0x30000) Sep 7 05:44:31 MillsMess kernel: saa7115: starting probe for adapter dvi (0x30000) Sep 7 05:44:31 MillsMess kernel: saa7115: starting probe for adapter vga (0x30000) Sep 7 05:44:31 MillsMess kernel: saa7115: starting probe for adapter crt2 (0x30000) Sep 7 05:44:33 MillsMess kernel: saa7115: starting probe for adapter SMBus Via Pro adapter at e800 (0x0) Sep 7 05:44:33 MillsMess kernel: saa7115: starting probe for adapter ISA main adapter (0x0) Sep 7 05:44:33 MillsMess kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) Sep 7 05:44:33 MillsMess kernel: saa7115: detecting saa7115 client on address 0x42 Sep 7 05:44:33 MillsMess kernel: saa7115: writing init values Sep 7 05:44:33 MillsMess dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14 Sep 7 05:44:33 MillsMess dhclient: DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 9 Sep 7 05:44:33 MillsMess kernel: ivtv: i2c attach [client=saa7115,ok] Sep 7 05:44:33 MillsMess kernel: saa7115: status: (1E) 0x48, (1F) 0xc0 Sep 7 05:44:34 MillsMess kernel: ivtv: Encoder revision: 0x02040011 Sep 7 05:44:34 MillsMess kernel: ivtv: Configuring WinTV PVR 250 card with 5 streams Sep 7 05:44:34 MillsMess kernel: ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total Sep 7 05:44:34 MillsMess dhclient: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 14 Sep 7 05:44:34 MillsMess kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0 Sep 7 05:44:34 MillsMess kernel: ivtv: Create DMA stream 1 Sep 7 05:44:34 MillsMess kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32 Sep 7 05:44:34 MillsMess kernel: ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total Sep 7 05:44:34 MillsMess kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224 Sep 7 05:44:34 MillsMess kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total Sep 7 05:44:34 MillsMess kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24 Sep 7 05:44:34 MillsMess kernel: ivtv: Create stream 4 Sep 7 05:44:34 MillsMess kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64 Sep 7 05:44:34 MillsMess kernel: ivtv: Setting Tuner 29 Sep 7 05:44:34 MillsMess kernel: ivtv: i2c client id: 0x02 not found! Sep 7 05:44:34 MillsMess kernel: saa7115: decoder set input (4) Sep 7 05:44:34 MillsMess kernel: saa7115: now setting Composite input Sep 7 05:44:34 MillsMess kernel: ivtv: Setting audio matrix to input 3, output 1 Sep 7 05:44:34 MillsMess kernel: ivtv: i2c client addr: 0x40 not found! Sep 7 05:44:34 MillsMess last message repeated 2 times Sep 7 05:44:34 MillsMess kernel: ivtv: Switching standard to PAL. Sep 7 05:44:34 MillsMess kernel: ivtv: i2c client id: 0x02 not found! Sep 7 05:44:34 MillsMess kernel: ivtv: i2c client addr: 0x40 not found! Sep 7 05:44:34 MillsMess kernel: saa7115: decoder set norm PAL Sep 7 05:44:34 MillsMess kernel: ivtv: ivtv_enc_thread: pid = 5807, itv = 0xe1b20ca0 Sep 7 05:44:34 MillsMess kernel: saa7115: set audio: 0x01 Sep 7 05:44:34 MillsMess kernel: ivtv: Initialized WinTV PVR 250, card #0 Sep 7 05:44:34 MillsMess kernel: ivtv: ==================== END INIT IVTV ==================== Sascha ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Ivtv-users mailing list Ivtv-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-users