[mythtv-users] PVR 350 Capture Config Problem
Ken Smith
kens at kensnet.org
Fri Jun 18 13:11:02 UTC 2010
Hi all,
As I have mentioned in other posts I'm in the process of retiring a 0.20
FC6 based Myth system and moving to a 0.23 based Centos 5.5 system with
a 64 bit Pentium D processor.
Part of my plan is to move the capture cards from the old box. One of
these is a PVR-350. I'm in the UK and nowadays I mainly use it to
capture local analog sources. I don't use the TV-Out capability of the
PVR-350.
The card works fine in the old system. But in the new system I cannot
get Myth to get it to recognise any channels when I do a channel scan
with mythtvsetup.
The card appears to be working as I can do the following:-
ivtv-tune --freqtable=europe-west --channel=26
cat /dev/video0 > test.mpg
mplayer test.mpg
And get to see the BBC1 program from Crystal Palace. Tuning it elsewhere
gets other analog channels.
In mythsetup I have tried it set up as either:-
Analogue V4L Capture Card
or
IVTV MPEG-2 encoder card
With the default input as "Tuner 1"
I have a Video Source called Analog
and in Input Connections I have
[V4L : /dev/video0 ] (Tuner 1) -> Analog
And when I scan for channels it doesn't find any.
So what am I missing????
> grep ivtv /var/log/messages
shows this:-
Jun 18 10:12:30 localhost kernel: ivtv: Start initialization, version 1.4.1
Jun 18 10:12:30 localhost kernel: ivtv0: Initializing card 0
Jun 18 10:12:30 localhost kernel: ivtv0: Autodetected Hauppauge card
(cx23415 based)
Jun 18 10:12:30 localhost kernel: ivtv0: Unreasonably low latency timer,
setting to 64 (was 32)
Jun 18 10:12:30 localhost kernel: ivtv0: Autodetected Hauppauge WinTV
PVR-350
Jun 18 10:12:30 localhost kernel: saa7115 1-0021: saa7115 found
(1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
Jun 18 10:12:30 localhost kernel: saa7127 1-0044: saa7129 found @ 0x88
(ivtv i2c driver #0)
Jun 18 10:12:30 localhost kernel: msp3400 1-0040: MSP4418G-B3 found @
0x80 (ivtv i2c driver #0)
Jun 18 10:12:30 localhost kernel: tuner 1-0043: chip found @ 0x86 (ivtv
i2c driver #0)
Jun 18 10:12:30 localhost kernel: tuner 1-0061: chip found @ 0xc2 (ivtv
i2c driver #0)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device video0 for
encoder MPG (4096 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device video32 for
encoder YUV (2048 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device vbi0 for
encoder VBI (1024 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device video24 for
encoder PCM (320 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device radio0 for
encoder radio
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device video16 for
decoder MPG (1024 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device vbi8 for
decoder VBI (64 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device vbi16 for
decoder VOUT
Jun 18 10:12:30 localhost kernel: ivtv0: Registered device video48 for
decoder YUV (1024 kB)
Jun 18 10:12:30 localhost kernel: ivtv0: Initialized card: Hauppauge
WinTV PVR-350
Jun 18 10:12:30 localhost kernel: ivtv: End initialization
Jun 18 10:58:50 localhost kernel: ivtv0: Loaded v4l-cx2341x-enc.fw
firmware (376836 bytes)
Jun 18 10:58:51 localhost kernel: ivtv0: Loaded v4l-cx2341x-dec.fw
firmware (262144 bytes)
Jun 18 10:58:51 localhost kernel: ivtv0: Encoder revision: 0x02060039
Jun 18 10:58:51 localhost kernel: ivtv0: Decoder revision: 0x02020023
Jun 18 10:58:51 localhost kernel: ivtv0: Loaded v4l-cx2341x-init.mpg
firmware (155648 bytes)
> uname -a
Linux localhost.localdomain 2.6.18-194.3.1.el5.centos.plus #1 SMP Wed
May 19 09:14:46 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I kept the modprobe.conf setting of
options ivtv ivtv_first_minor=0
from my old machine to make sure the PVR-350 ends up on /dev/video0
> modinfo ivtv
filename:
/lib/modules/2.6.18-194.3.1.el5.centos.plus/updates/drivers/media/video/ivtv/ivtv.ko
version: 1.4.1
>lsmod | grep ivtv
ivtv 177832 0
i2c_algo_bit 42185 1 ivtv
cx2341x 46084 1 ivtv
v4l2_common 56960 6 tuner,msp3400,saa7127,saa7115,ivtv,cx2341x
videodev 75936 6
tuner,msp3400,saa7127,saa7115,ivtv,v4l2_common
tveeprom 46852 1 ivtv
i2c_core 56641 22
i2c_ec,tuner_simple,tda9887,tda8290,tuner,msp3400,saa7127,dvb_usb_dib0700,dib7000p,saa7115,dib0090,ivtv,dib7000m,i2c_algo_bit,dib0070,dvb_usb,dib8000,v4l2_common,dib3000mc,dibx000_common,tveeprom,i2c_i801
Out of interest the output from the old FC6 machine is as follows
> grep ivtv /var/log/messages
Jun 9 11:49:50 mythtv kernel: ivtv: ==================== START INIT
IVTV ====================
Jun 9 11:49:50 mythtv kernel: ivtv: version 0.10.2 (tagged release)
loading
Jun 9 11:49:50 mythtv kernel: ivtv: Linux version: 2.6.20-1.2948.fc6
SMP mod_unload 686 4KSTACKS
Jun 9 11:49:50 mythtv kernel: ivtv: In case of problems please include
the debug info between
Jun 9 11:49:50 mythtv kernel: ivtv: the START INIT IVTV and END INIT
IVTV lines, along with
Jun 9 11:49:50 mythtv kernel: ivtv: any module options, when mailing
the ivtv-users mailinglist.
Jun 9 11:49:50 mythtv kernel: ivtv0: Autodetected Hauppauge card
(cx23415 based)
Jun 9 11:49:50 mythtv kernel: ivtv0: Unreasonably low latency timer,
setting to 64 (was 32)
Jun 9 11:49:50 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware
(376836 bytes)
Jun 9 11:49:50 mythtv kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware
(262144 bytes)
Jun 9 11:49:50 mythtv kernel: ivtv0: Encoder revision: 0x02060039
Jun 9 11:49:50 mythtv kernel: ivtv0: Decoder revision: 0x02020023
Jun 9 11:49:50 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350
Jun 9 11:49:50 mythtv kernel: tuner 2-0043: chip found @ 0x86 (ivtv i2c
driver #0)
Jun 9 11:49:50 mythtv kernel: tuner 2-0061: chip found @ 0xc2 (ivtv i2c
driver #0)
Jun 9 11:49:50 mythtv kernel: saa7115 2-0021: saa7115 found
(1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
Jun 9 11:49:50 mythtv kernel: ivtv0: Failed to load module saa7127
Jun 9 11:49:50 mythtv kernel: msp3400 2-0040: MSP4418G-B3 found @ 0x80
(ivtv i2c driver #0)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device video0 for
encoder MPEG (4 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device video32 for
encoder YUV (2 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device vbi2 for encoder
VBI (1 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device video24 for
encoder PCM audio (1 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device radio0 for
encoder radio
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device video16 for
decoder MPEG (1 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device vbi8 for decoder
VBI (1 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device vbi16 for
decoder VOUT
Jun 9 11:49:50 mythtv kernel: ivtv0: Registered device video48 for
decoder YUV (1 MB)
Jun 9 11:49:50 mythtv kernel: ivtv0: loaded v4l-cx2341x-init.mpg
firmware (155648 bytes)
Jun 9 11:49:50 mythtv kernel: ivtv0: Initialized Hauppauge WinTV
PVR-350, card #0
Jun 9 11:49:50 mythtv kernel: ivtv: ==================== END INIT
IVTV ====================
and
> modinfo ivtv
filename:
/lib/modules/2.6.20-1.2948.fc6/updates/drivers/media/video/ivtv.ko
version: 0.10.2 (tagged release)
Its interesting to note that the firmware loaded much later in the
process on Centos than on the FC6 system.
Sorry this post is rather long. Is there a way to trace the calls
between Myth and the IVTV driver? If anyone has a PVR 350 configured on
a similar system I'd appreciate knowing what your settings are or any
other suggestions. I've probably missed something obvious.....
Thanks
Ken
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the mythtv-users
mailing list