Pvr 350 Ivtv Help! Tuner 47
For the past couple of weeks ive been trying to get my Hauppauge PVR 350 to work under linux, but i seem to be failing somewhere since all my channels are static. I finally decided to dual boot windows just to make sure the card worked. To get the channels to tune under windows i had to download the newest firmware from the hauppauge site and also had to set the cable input to cable-hrc in wintv2000. Here is my system information
Debian Linux Unstable 2.6.8.11-rc3 kernel pvr-350 ivtv-0.2.0-rc3f My tuner is type # 47. so here is what ive done... downloaded linux 2.6.10 and patched with 2.6.11-rc3 patch downloaded ivtv-0.2.0-rc3f downloaed ckennedy's recommended encoder/decoder pvr48wdm_1.8.22037.exe make && make install driver and utils i then created the /dev/video # mknod /dev/video0 c 81 0 # mknod /dev/video16 c 81 16 # mknod /dev/video32 c 81 32 # mknod /dev/video224 c 81 224 i then edited /etc/modutils/ivtv and added alias char-major-81 videodev alias char-major-81-0 ivtv #update-modules #depmod -ae #modprobe ivtv here is the output from /var/log/messages |grep ivtv Feb 8 19:43:11 localhost kernel: ivtv: Initialized WinTV PVR 350, card #0 Feb 8 19:43:11 localhost kernel: ivtv: ==================== END INIT IVTV ==================== Feb 8 19:43:32 localhost kernel: ivtv: ENC: User stopped capture. Feb 9 17:40:27 localhost kernel: ivtv: ENC: User stopped capture. Feb 9 18:37:44 localhost kernel: ivtv: i2c attach [client=tda9887,ok] Feb 9 18:38:53 localhost kernel: ivtv: ENC: User stopped capture. Feb 9 19:15:20 localhost kernel: ivtv: Removing Card #0. Feb 9 19:15:21 localhost kernel: ivtv: Removed WinTV PVR 350, card #0 Feb 9 19:15:38 localhost kernel: ivtv: ==================== START INIT IVTV ==================== Feb 9 19:15:38 localhost kernel: ivtv: version 0.2.0 (rc3f) loading Feb 9 19:15:38 localhost kernel: ivtv: Linux version: 2.6.11-rc3 preempt PENTIUMIII gcc-3.3 Feb 9 19:15:38 localhost kernel: ivtv: In case of problems please include the debug info Feb 9 19:15:38 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when Feb 9 19:15:38 localhost kernel: ivtv: mailing the ivtv-devel mailinglist. Feb 9 19:15:38 localhost kernel: ivtv: Autodetected WinTV PVR 350 card Feb 9 19:15:38 localhost kernel: ivtv: Found an iTVC15 based chip Feb 9 19:15:38 localhost kernel: ivtv: XXX PCI device: 0x7124 vendor: 0x8086 Feb 9 19:15:38 localhost kernel: ivtv: i2c attach [client=tveeprom[1],ok] Feb 9 19:15:38 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Feb 9 19:15:38 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok] Feb 9 19:15:38 localhost kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) Feb 9 19:15:39 localhost kernel: ivtv: i2c attach [client=saa7115[1],ok] Feb 9 19:15:39 localhost kernel: ivtv: i2c attach [client=saa7127[1],ok] Feb 9 19:15:39 localhost kernel: msp34xx: ivtv version Feb 9 19:15:39 localhost kernel: ivtv: i2c attach [client=MSP3448W-A2,ok] Feb 9 19:15:39 localhost kernel: ivtv: i2c attach [client=tda9887,ok] Feb 9 19:15:39 localhost kernel: ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad2598, Revision 0x00000001 Feb 9 19:15:39 localhost kernel: ivtv: NTSC tuner detected Feb 9 19:15:39 localhost kernel: ivtv: Radio detected Feb 9 19:15:40 localhost kernel: ivtv: Encoder revision: 0x02040011 Feb 9 19:15:40 localhost kernel: ivtv: Decoder revision: 0x02020023 Feb 9 19:15:40 localhost kernel: ivtv: Configuring WinTV PVR 350 card with 9 streams Feb 9 19:15:40 localhost kernel: ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total Feb 9 19:15:40 localhost kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0 Feb 9 19:15:40 localhost kernel: ivtv: Create DMA stream 1 Feb 9 19:15:40 localhost kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32 Feb 9 19:15:40 localhost kernel: ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total Feb 9 19:15:40 localhost kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224 Feb 9 19:15:40 localhost kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total Feb 9 19:15:40 localhost kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24 Feb 9 19:15:40 localhost kernel: ivtv: Create stream 4 Feb 9 19:15:40 localhost kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64 Feb 9 19:15:40 localhost kernel: ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total Feb 9 19:15:40 localhost kernel: [pg0+277097517/1070150656] ivtv_init_buffer+0x3d/0x1c0 [ivtv] Feb 9 19:15:40 localhost kernel: [pg0+277097962/1070150656] ivtv_init_queue_nolock+0x3a/0x80 [ivtv] Feb 9 19:15:40 localhost kernel: [pg0+277098119/1070150656] ivtv_init_queues_nolock+0x57/0x90 [ivtv] Feb 9 19:15:40 localhost kernel: [pg0+277122498/1070150656] ivtv_stream_init+0x382/0x4e0 [ivtv] Feb 9 19:15:40 localhost kernel: [pg0+277123406/1070150656] ivtv_streams_setup+0x22e/0x3a0 [ivtv] Feb 9 19:15:40 localhost kernel: [pg0+277107401/1070150656] ivtv_probe+0x249/0x970 [ivtv] Feb 9 19:15:40 localhost kernel: [pg0+277110476/1070150656] module_start+0xcc/0x1f0 [ivtv] Feb 9 19:15:41 localhost kernel: ivtv: Registered v4l2 device, streamtype 5 minor 16 Feb 9 19:15:41 localhost kernel: ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total Feb 9 19:15:41 localhost kernel: ivtv: Registered v4l2 device, streamtype 6 minor 228 Feb 9 19:15:41 localhost kernel: ivtv: Create stream 7 Feb 9 19:15:41 localhost kernel: ivtv: Registered v4l2 device, streamtype 7 minor 232 Feb 9 19:15:41 localhost kernel: ivtv: Create DMA stream 8 Feb 9 19:15:41 localhost kernel: ivtv: Registered v4l2 device, streamtype 8 minor 48 Feb 9 19:15:41 localhost kernel: ivtv: Setting Tuner 47 Feb 9 19:15:41 localhost kernel: tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 Feb 9 19:15:41 localhost kernel: ivtv: Setting audio matrix to input 3, output 1 Feb 9 19:15:41 localhost kernel: ivtv: Switching standard to NTSC. Feb 9 19:15:41 localhost kernel: ivtv: ivtv_enc_thread: pid = 6601, itv = 0xd0bd3720 Feb 9 19:15:41 localhost kernel: ivtv: ivtv_dec_thread: pid = 6602, itv = 0xd0bd3720 Feb 9 19:15:41 localhost kernel: ivtv: Initialized WinTV PVR 350, card #0 Feb 9 19:15:41 localhost kernel: ivtv: ==================== END INIT IVTV ==================== I think i have everything set up correctly, but when i cat /dev/video0 > /tmp/test.mpg the file is just static. when i change the channels in mythtv they are all static as well. am i overlooking something? do i need to add anything to /etc/modules.conf Anyone have any suggestions thanks, jeff |
Try using tuner=39 for the ivtv module option. Use ptune.pl or ptune-gui.pl to change channels because sometimes MythTV does not work. For kernel version 2.6.x, the auto-loading module file is /etc/modprobe.conf. You need to make sure msp3400 and saa7115 modules are loaded, but I think they are already loaded from the logs.
|
thanks for the reply.
ok, so i set my tuner to type 39, and i still see static, but im also seeing several hundred lines in /var/log/messages now that look like the one below Feb 10 20:12:03 localhost kernel: ivtv: ENC IRQ OVERFLOW: #1838 Stealing a Buffer, 1024 currently allocated also if i try to rmmod ivtv after closing mplayer and ptune-ui and kill all ivtv processes i get a message saying ERROR: Module ivtv is in use so now i have to restart my computer to unload the ivtv module :/ |
ok so i figured out how to rmmod ivtv... apparently even after closing mplayer, the process still hung around so i had to kill the mplayer process, but im still confused with the static and also confused with the ivtv: ENC IRQ OVERFLOW: messages in /var/log/messages.
any other suggestions? thanks, Jeff |
All times are GMT -5. The time now is 06:59 PM. |