[mythtv-users] TV Out with PVR-350
mythtv at thekinseys.net
mythtv at thekinseys.net
Thu May 12 03:24:30 UTC 2005
I am attempting to set up my first MythTV box on FC3 with a PVR-350 by
following the guide at http://wilsonet.com/
I am now into Chapter 10 - Get and Install Video Capture Driver(s) and have
run into my first problem. Everything so far has installed with no problems
(I haven't seen any error messages anyway). I can view live tv on the
computer's monitor through the integrated video card and can record video
with the PVR-350 and view it through the integrated video card on the
computer's monitor, but I am not getting anything displayed on the
television connected to the TV-Out of the PVR-350 with composite
connections.
I have found that others have had the same problems with this card, but I
can't find how anyone has resolved it (at least in a way that I understand).
Any help would be greatly appreciated, and please keep it as noobie friendly
as possible (I'm new at Linux and MythTV).
Here is what I have done:
# apt-get install ivtv-firmware
# apt-get install ivtv-kmdl-$KVER
# apt-get install ivtv
# apt-get install ivtvdev
my modprobe.conf file looks like this:
alias char-major-61 lirc_i2c
alias eth0 e100
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
lirc_i2c
I edited my grub.conf file to look like this:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.14_FC3)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.14_FC3 ro root=LABEL=/1 rhgb quiet vga=791
initrd /initrd-2.6.11-1.14_FC3.img
title Fedora Core (2.6.10-1.770_14.rhfc3.at)
root (hd0,0)
kernel /vmlinuz-2.6.10-1.770_14.rhfc3.at ro root=LABEL=/1 rhgb quiet
vga=791
initrd /initrd-2.6.10-1.770_14.rhfc3.at.img
title Fedora Core (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/1 rhgb quiet vga=791
initrd /initrd-2.6.9-1.667.img
# /sbin/lspci -v returns the following concerning my PVR-350:
01:01.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2
Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR-350
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
$ ll /dev/video* returns the following:
lrwxrwxrwx 1 root root 6 May 10 20:14 /dev/video -> video0
crw------- 1 mythtv root 81, 0 May 10 20:14 /dev/video0
crw------- 1 mythtv root 81, 16 May 10 20:14 /dev/video16
crw------- 1 mythtv root 81, 24 May 10 20:14 /dev/video24
crw------- 1 mythtv root 81, 32 May 10 20:14 /dev/video32
crw------- 1 mythtv root 81, 48 May 10 20:14 /dev/video48
crw------- 1 mythtv root 81, 48 May 10 20:14 /dev/video4linux
# /bin/dmesg |grep Initialized returns:
[drm] Initialized drm 1.0.0 20040925
ivtv: Initialized WinTV PVR 350, card #0
ieee1394: Initialized config rom entry `ip1394'
[drm] Initialized i915 1.1.0 20040405 on minor 0:
# cat /var/log/messages |grep "iTVC15 TV out" returns:
localhost kernel: ivtv-osd: fb0: iTVC15 TV out frame buffer device
Then the problems start.... I run /sbin/rmmod saa7127 and then run
/sbin/modprobe saa7127 test_image=1 and nothing comes up on my TV screen. In
/var/log/messages, I get the following:
May 11 23:09:23 localhost kernel: saa7127: video encoder driver unloaded
May 11 23:09:38 localhost kernel: saa7127: Unknown parameter `test_image'
May 11 23:09:38 localhost kernel: saa7127: Ignoring new-style parameters in
presence of obsolete ones
May 11 23:09:38 localhost kernel: saa7127: video encoder driver version V
0.3 loaded
May 11 23:09:38 localhost kernel: saa7127: detecting saa7127 client on
address 0x88
May 11 23:09:38 localhost kernel: saa7127: Selecting NTSC video Standard
May 11 23:09:38 localhost kernel: saa7127: Selecting S-Video+Composite
May 11 23:09:38 localhost kernel: saa7127: Turn WSS off
May 11 23:09:38 localhost kernel: saa7127: Widescreen Mode 4:3 Full Format
May 11 23:09:38 localhost kernel: saa7127: Selecting Normal Encoder Input
May 11 23:09:38 localhost kernel: saa7127: Enable Video Output
May 11 23:09:38 localhost kernel: ivtv: i2c attach [client=saa7127[0],ok]
May 11 23:09:38 localhost kernel: saa7127: detecting saa7127 client on
address 0x88
May 11 23:09:39 localhost kernel: saa7127: Selecting NTSC video Standard
May 11 23:09:39 localhost kernel: saa7127: Selecting S-Video+Composite
May 11 23:09:39 localhost kernel: saa7127: Turn WSS off
May 11 23:09:39 localhost kernel: saa7127: Widescreen Mode 4:3 Full Format
May 11 23:09:39 localhost kernel: saa7127: Selecting Normal Encoder Input
May 11 23:09:39 localhost kernel: saa7127: Enable Video Output
If I run # cat /dev/video0 > /tmp/test_capture.mpg and then mplayer -vo xv
/tmp/test_capture.mpg, I can view the capturd video just fine through the
computer's monitor with mplayer. If I run # /usr/lib/ivtv/ptune-ui.pl & and
# mplayer -vo xv /dev/video0, I can watch live video using mplayer on the
computer's monitor.
If I run /usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha and then #
dd if=/dev/video0 of=/dev/video16 bs=64k, it appears to be running (I get
records in and the same number of records out), but nothing shows up on my
television. Just snow...
The IVTV portion of /var/log/messages is
May 11 00:14:25 localhost kernel: ivtv: ==================== START INIT IVTV
====================
May 11 00:14:25 localhost kernel: ivtv: version 0.2.0 (rc3j) loading
May 11 00:14:25 localhost kernel: ivtv: Linux version: 2.6.11-1.14_FC3 686
REGPARM 4KSTACKS gcc-3.4
May 11 00:14:25 localhost kernel: ivtv: In case of problems please include
the debug info
May 11 00:14:25 localhost kernel: ivtv: between the START INIT IVTV and END
INIT IVTV lines when
May 11 00:14:25 localhost kernel: ivtv: mailing the ivtv-devel mailinglist.
May 11 00:14:25 localhost kernel: ivtv: Autodetected WinTV PVR 350 card
May 11 00:14:25 localhost rpcidmapd: rpc.idmapd startup succeeded
May 11 00:14:25 localhost kernel: ivtv: Found an iTVC15 based chip
May 11 00:14:25 localhost kernel: ACPI: PCI Interrupt Link [LNKG] enabled at
IRQ 10
May 11 00:14:25 localhost kernel: PCI: setting IRQ 10 as level-triggered
May 11 00:14:25 localhost kernel: ACPI: PCI interrupt 0000:01:01.0[A] -> GSI
10 (level, low) -> IRQ 10
May 11 00:14:25 localhost kernel: ivtv: XXX PCI device: 0x2570 vendor:
0x8086
May 11 00:14:25 localhost kernel: tveeprom: Hauppauge: model = 48132, rev =
K168, serial# = 2942429
May 11 00:14:25 localhost kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx =
68, type = 47)
May 11 00:14:25 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
May 11 00:14:25 localhost kernel: tveeprom: audio_processor = MSP3440 (type
= 11)
May 11 00:14:25 localhost kernel: ivtv: i2c attach [client=tveeprom[0],ok]
May 11 00:14:25 localhost kernel: ivtv: Tuner Type 47, Tuner formats
0x00001000, Radio: yes, Model 0x00ad1598, Revision 0x00000001
May 11 00:14:25 localhost kernel: ivtv: NTSC tuner detected
May 11 00:14:25 localhost kernel: ivtv: Radio detected
May 11 00:14:25 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus
ivtv i2c driver #0
May 11 00:14:25 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok]
May 11 00:14:25 localhost kernel: saa7115: starting probe for adapter ivtv
i2c driver #0 (0x10005)
May 11 00:14:25 localhost kernel: saa7115: detecting saa7115 client on
address 0x42
May 11 00:14:25 localhost kernel: saa7115: writing init values
May 11 00:14:25 localhost kernel: ivtv: i2c attach [client=saa7115[0],ok]
May 11 00:14:25 localhost kernel: saa7115: status: (1E) 0x00, (1F) 0xc0
May 11 00:14:25 localhost kernel: saa7127: Ignoring new-style parameters in
presence of obsolete ones
May 11 00:14:25 localhost kernel: saa7127: video encoder driver version V
0.3 loaded
May 11 00:14:25 localhost kernel: saa7127: detecting saa7127 client on
address 0x88
May 11 00:14:25 localhost kernel: saa7127: Selecting NTSC video Standard
May 11 00:14:25 localhost kernel: saa7127: Selecting S-Video+Composite
May 11 00:14:25 localhost kernel: saa7127: Turn WSS off
May 11 00:14:25 localhost kernel: saa7127: Widescreen Mode 4:3 Full Format
May 11 00:14:25 localhost kernel: saa7127: Selecting Normal Encoder Input
May 11 00:14:25 localhost kernel: saa7127: Enable Video Output
May 11 00:14:25 localhost kernel: ivtv: i2c attach [client=saa7127[0],ok]
May 11 00:14:25 localhost kernel: msp34xx: init: chip=MSP3448W-A2 +nicam
+simple +simpler +radio mode=simple
May 11 00:14:25 localhost kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
May 11 00:14:25 localhost kernel: msp3410: daemon started
May 11 00:14:26 localhost kernel: ivtv: Encoder revision: 0x02040024
May 11 00:14:26 localhost kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
May 11 00:14:26 localhost kernel: ivtv: Decoder revision: 0x02020023
May 11 00:14:26 localhost kernel: ivtv: Configuring WinTV PVR 350 card with
9 streams
May 11 00:14:26 localhost kernel: ivtv: Create DMA stream 0 using 256 16384
byte buffers 4194304 kbytes total
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 0
minor 0
May 11 00:14:26 localhost kernel: ivtv: Create DMA stream 1
May 11 00:14:26 localhost netfs: Mounting other filesystems: succeeded
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 1
minor 32
May 11 00:14:26 localhost kernel: ivtv: Create stream 2 using 40 52224 byte
buffers 2097152 kbytes total
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 2
minor 224
May 11 00:14:26 localhost kernel: ivtv: Create DMA stream 3 using 455 4608
byte buffers 2097152 kbytes total
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 3
minor 24
May 11 00:14:26 localhost kernel: ivtv: Create stream 4
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 4
minor 64
May 11 00:14:26 localhost kernel: ivtv: Create DMA stream 5 using 16 65536
byte buffers 1048576 kbytes total
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 5
minor 16
May 11 00:14:26 localhost kernel: ivtv: Create stream 6 using 1024 2048 byte
buffers 262144 kbytes total
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 6
minor 228
May 11 00:14:26 localhost kernel: ivtv: Create stream 7
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 7
minor 232
May 11 00:14:26 localhost kernel: ivtv: Create DMA stream 8
May 11 00:14:26 localhost kernel: ivtv: Registered v4l2 device, streamtype 8
minor 48
May 11 00:14:26 localhost kernel: ivtv: Setting Tuner 47
May 11 00:14:26 localhost kernel: tuner: type set to 47 (LG NTSC (TAPE
series)) by ivtv i2c driver #0
May 11 00:14:26 localhost kernel: saa7115: decoder set input (4)
May 11 00:14:26 localhost kernel: saa7115: now setting Composite input
May 11 00:14:26 localhost kernel: ivtv: Setting audio matrix to input 3,
output 1
May 11 00:14:26 localhost kernel: ivtv: Switching standard to NTSC.
May 11 00:14:26 localhost kernel: saa7115: decoder set norm NTSC
May 11 00:14:26 localhost kernel: saa7115: set audio: 0x01
May 11 00:14:26 localhost kernel: saa7127: Setting Encoder Video Standard
May 11 00:14:26 localhost kernel: saa7127: Set NTSC Video Mode
May 11 00:14:26 localhost kernel: saa7127: Selecting NTSC video Standard
May 11 00:14:26 localhost kernel: ivtv: ivtv_enc_thread: pid = 1950, itv =
0xd0a040a0
May 11 00:14:26 localhost kernel: ivtv: ivtv_dec_thread: pid = 1951, itv =
0xd0a040a0
May 11 00:14:26 localhost kernel: ivtv: Initialized WinTV PVR 350, card #0
May 11 00:14:26 localhost kernel: ivtv: ==================== END INIT IVTV
====================
More information about the mythtv-users
mailing list