Hi everyone,
I've been trying to get my PVR-350 to work for quite a couple of days now,
and I seem to have a problem I couldn't find a solution for using google, the
ivtv wiki, mailinglist archives, etc. I'm mailing the list as a last resort, I
have no idea what to try next.
First my hardware/software.
I have a PVR-350, according to the box it's model 988.
I'm running Fedora Core 2, with kernel 2.6.9-1.6_FC2 Here's my current /etc/modprobe.conf:
[EMAIL PROTECTED] mythtv]# cat /etc/modprobe.conf alias eth0 8139too alias snd-card-0 snd-via82xx install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || : remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx alias usb-controller uhci-hcd # nvidia kernel module alias char-major-195 nvidia-1_0-6629 # ivtv modules setup alias char-major-81 videodev alias char-major-81-0 ivtv ivtv_debug=1 ivtv_std=2 tda9887=1 Fyi, i've tried without any options for ivtv, and with tda9887=0, but that
makes no difference. I'm in The Netherlands, so I'll probably need to specify
ivtv_std=2 for PAL.
Whatever options I specify, ivtv seems to load perfectly. I've attached the
output from /var/log/messages, since it's a bit of a long list.
Also, when I cat /dev/video0 to a file, I can play it back with mplayer.
"dd if=/dev/video0 of=/dev/video16 bs=64k" also performs as expected, the
tv-screen goes from all black to static.
So far so good, the card seems to be working.
Then, I've tried to tune it to a specific channel. I've used the included
ptune.pl and ptune-ui.pl, but the both give errors, i.e. for
ptune.pl:
[EMAIL PROTECTED] utils]# ./ptune.pl 42 Ch.42: 639250 10228 Error: setFrequency(10228) failed! However, it's also possible to use ivtvctl to change the frequency of the
card, so I did that, and this does seem to be working:
[EMAIL PROTECTED] utils]# ivtvctl -r 10228 ioctl: VIDIOC_S_FREQUENCY Frequency set to 10228 But still only static.
I know there's a channel on number 42, I've been using it on my old tv-card
and I'm still using it on my tv.
I've also tested this with channel 47 and 56, both should have channels on them. Perhaps someone can give me some directions where to go from here, I'm
pretty desperate!
Extra info: The /dev/video devices created by using the information from the install.txt file: [EMAIL PROTECTED] mythtv]# ls -la /dev/video* crw------- 1 root root 81, 0 Feb 23 2004 /dev/video0 crw------- 1 root root 81, 1 Feb 23 2004 /dev/video1 crw------- 1 root root 81, 16 Jan 2 01:14 /dev/video16 crw------- 1 root root 81, 2 Feb 23 2004 /dev/video2 crw------- 1 root root 81, 224 Jan 2 01:14 /dev/video224 crw------- 1 root root 81, 24 Jan 4 00:27 /dev/video24 crw------- 1 root root 81, 3 Feb 23 2004 /dev/video3 crw------- 1 root root 81, 32 Jan 2 01:14 /dev/video32 On a sidenode, I've been playing around with the included 'radio' program. This seems to be able to set the tuner to different frequencies, but I never get reception, when I use my own hifi-set it can tune to numerous frequencies with perfect reception. The output from ivtvctl -a is attached.
Best Regards,
Marc-David
|
Jan 6 00:17:49 localhost kernel: ivtv: ==================== START INIT IVTV ==================== Jan 6 00:17:49 localhost kernel: ivtv: version 0.2.0 (rc3b) loading Jan 6 00:17:49 localhost kernel: ivtv: Linux version: 2.6.9-1.6_FC2 686 REGPARM 4KSTACKS gcc-3.3 Jan 6 00:17:49 localhost kernel: ivtv: In case of problems please include the debug info Jan 6 00:17:49 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when Jan 6 00:17:49 localhost kernel: ivtv: mailing the ivtv-devel mailinglist. Jan 6 00:17:49 localhost kernel: ivtv: Autodetected WinTV PVR 350 card Jan 6 00:17:49 localhost kernel: ivtv: Found an iTVC15 based chip Jan 6 00:17:49 localhost kernel: ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 11 (level, low) -> IRQ 11 Jan 6 00:17:49 localhost kernel: ivtv: VIA PCI device: 0x0305 vendor: 0x1106 Jan 6 00:17:49 localhost kernel: tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671211 Jan 6 00:17:49 localhost kernel: tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38) Jan 6 00:17:49 localhost kernel: tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) Jan 6 00:17:49 localhost kernel: tveeprom: audio_processor = CS5331 (type = 9) Jan 6 00:17:49 localhost kernel: ivtv: i2c attach [client=tveeprom[3],ok] Jan 6 00:17:49 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Jan 6 00:17:49 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok] Jan 6 00:17:49 localhost kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) Jan 6 00:17:49 localhost kernel: saa7115: detecting saa7115 client on address 0x42 Jan 6 00:17:49 localhost kernel: saa7115: writing init values Jan 6 00:17:49 localhost kernel: ivtv: i2c attach [client=saa7115[3],ok] Jan 6 00:17:49 localhost kernel: saa7115: status: (1E) 0x50, (1F) 0xc0 Jan 6 00:17:49 localhost kernel: saa7127: Selecting NTSC video Standard Jan 6 00:17:49 localhost kernel: saa7127: Selecting S-Video+Composite Jan 6 00:17:49 localhost kernel: saa7127: Turn WSS off Jan 6 00:17:49 localhost kernel: saa7127: Widescreen Mode 4:3 Full Format Jan 6 00:17:49 localhost kernel: saa7127: Selecting Normal Encoder Input Jan 6 00:17:49 localhost kernel: saa7127: Enable Video Output Jan 6 00:17:49 localhost kernel: ivtv: i2c attach [client=saa7127[3],ok] Jan 6 00:17:50 localhost kernel: msp34xx: ivtv version Jan 6 00:17:50 localhost kernel: msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G) no-thread mode Jan 6 00:17:50 localhost kernel: msp34xx: $Id$ compiled on: Jan 3 2005 23:08:08 Jan 6 00:17:50 localhost kernel: ivtv: i2c attach [client=MSP3418W-B3,ok] Jan 6 00:17:50 localhost kernel: ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557, Revision 0x00000001 Jan 6 00:17:50 localhost kernel: ivtv: PAL tuner detected Jan 6 00:17:50 localhost kernel: ivtv: SECAM tuner detected Jan 6 00:17:50 localhost kernel: ivtv: Radio detected Jan 6 00:17:51 localhost kernel: ivtv: Encoder revision: 0x02050032 Jan 6 00:17:51 localhost kernel: ivtv: Encoder Firmware is buggy, use version 0x02040011 Jan 6 00:17:51 localhost kernel: ivtv: Decoder revision: 0x02020023 Jan 6 00:17:51 localhost kernel: ivtv: Configuring WinTV PVR 350 card with 9 streams Jan 6 00:17:51 localhost kernel: ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0 Jan 6 00:17:51 localhost kernel: ivtv: Create DMA stream 1 Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32 Jan 6 00:17:51 localhost kernel: ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224 Jan 6 00:17:51 localhost kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24 Jan 6 00:17:51 localhost kernel: ivtv: Create stream 4 Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64 Jan 6 00:17:51 localhost kernel: ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 5 minor 16 Jan 6 00:17:51 localhost kernel: ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 6 minor 228 Jan 6 00:17:51 localhost kernel: ivtv: Create stream 7 Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 7 minor 232 Jan 6 00:17:51 localhost kernel: ivtv: Create DMA stream 8 Jan 6 00:17:51 localhost kernel: ivtv: Registered v4l2 device, streamtype 8 minor 48 Jan 6 00:17:51 localhost kernel: ivtv: Setting Tuner 38 Jan 6 00:17:51 localhost kernel: tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0 Jan 6 00:17:51 localhost kernel: ivtv: Setting audio matrix to input 3, output 1 Jan 6 00:17:51 localhost kernel: ivtv: Switching standard to PAL. Jan 6 00:17:51 localhost kernel: ivtv: ivtv_enc_thread: pid = 4326, itv = 0x2ab2c220 Jan 6 00:17:51 localhost kernel: ivtv: ivtv_dec_thread: pid = 4327, itv = 0x2ab2c220 Jan 6 00:17:51 localhost kernel: saa7115: decoder set norm PAL Jan 6 00:17:52 localhost kernel: saa7115: set audio: 0x01 Jan 6 00:17:52 localhost kernel: saa7127: Setting Encoder Video Standard Jan 6 00:17:52 localhost kernel: saa7127: Set PAL Video Mode Jan 6 00:17:52 localhost kernel: saa7127: Selecting PAL video Standard Jan 6 00:17:52 localhost kernel: ivtv: Initialized WinTV PVR 350, card #0 Jan 6 00:17:52 localhost kernel: ivtv: ==================== END INIT IVTV ====================
[EMAIL PROTECTED] utils]# ivtvctl -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 : Vanilla iTVC15 card Bus info : 0 Driver version: 512 Capabilities : 0x01070033 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: 0x00000000007F00FF ( PAL SECAM ) 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 Output : 0 Name : S-Video + Composite Type : 0x00000002 Audioset: 0x00000001 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Output : 1 Name : Composite Type : 0x00000002 Audioset: 0x00000001 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Output : 2 Name : S-Video Type : 0x00000002 Audioset: 0x00000001 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Output : 3 Name : RGB Type : 0x00000002 Audioset: 0x00000001 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Output : 4 Name : YUV C Type : 0x00000002 Audioset: 0x00000001 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) Output : 5 Name : YUV V Type : 0x00000002 Audioset: 0x00000001 Standard: 0x00000000007F3FFF ( PAL NTSC SECAM ) ioctl: VIDIOC_G_OUTPUT Output = 0 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 = 0 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 = 128 Contrast = 64 Saturation = 64 Hue = 0 Volume = 58880 Mute = 0