On Jan 13, 2008 10:00 PM, David Fishburn <[EMAIL PROTECTED]> wrote: > ivtv 0.8.1 > kernel 2.6.18.1 > ubuntu 7.10 > > Hauppauge PVR-500 > KWorld PCI 115 > > Background: > Have been using MythTV 0.20.2 with my single PVR-500 both tuners > (/dev/video0, /dev/video1) for quite some time. > > I wanted to start trying to get some OTA HD signals. So I picked up a > KWorld PCI 115. It is a dual tuner card as well. It supports digital > cable (64-QAM, 256-QAM) and analog TV and ATSC. > > Apparantely, the analog tuner does not have hardware mpeg support. > This is fine, I have my 2 PVR-500 tuners, so I am good to go. > > Problem: > Moved my PVR-500 from one PCI slot to another so that I could fit in > my KWorld 115 into my ASUS M2NPV-VM motherboard. > I have not loaded any additional modules. I haven't made any > configuration changes. I simply rebooted my box. > > My PVR-500 (/dev/video0) seems to be replaced with the KWorld one. > The second PVR-500 tuner (/dev/video1) appears to be fine. > > So, a few questions, not sure what this list can answer for me. > > 1. How do I tell (permanently) for the PVR-500 to load on /dev/video1 > and /dev/video2 (since /dev/video0 is already taken). > 2. Since the KWorld is a dual tuner, am I going to run into another > problem when I get some more of the other tuners working? Should I > load the PVR-500 at a higher number? > > > I found some references in this list to using udev to manage (#1). > http://ivtvdriver.org/index.php/Howto#Howto_use_udev_rules.21 > > [EMAIL PROTECTED]:/media/mythtv/recordings# udevinfo -V > udevinfo, version 093 > > I am having some troubles crossing the T's and dotting the I's though. > I think I need to add: > > /etc/udev/rules.d/90-lirc.rules > DRIVER=="ivtv", SYSFS{name}=="ivtv0 encoder MPEG", ID=="0000:01:09.0", > SYMLINK+="pvr_500_1" > DRIVER=="ivtv", SYSFS{name}=="ivtv0 encoder MPEG", ID=="0000:02:09.0", > SYMLINK+="pvr_500_2" > > > I think that should work, but am not too certain on the {name} entry > or the ID field for both tuners of the PVR-500. > I think I have provided everything need to determine this below.
I have made some good headway on this. I noticed after several reboots, the /dev/video# was changing. So I followed these instructions: http://www.mythtv.org/wiki/index.php/Device_Filenames_and_udev Which had me create some udev names. Now I have the following: ls /dev/ lrwxrwxrwx 1 root root 7 2008-01-14 23:30 video-kw_115_framegrabber -> video25 lrwxrwxrwx 1 root root 6 2008-01-14 23:30 video-pvr_500_1 -> video1 lrwxrwxrwx 1 root root 6 2008-01-14 23:30 video-pvr_500_2 -> video2 So far so good. The following works great, I can watch the video (and Myth works with it too): mplayer /dev/video1 But if I do this: mplayer /dev/video2 I get: MPlayer 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 79, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick Setting up LIRC support... Playing /dev/video2. Seek failed Exiting... (End of file) dmesg |grep ivtv looks ok: [EMAIL PROTECTED]:~$ dmesg |grep ivtv [ 33.682963] ivtv: ==================== START INIT IVTV ==================== [ 33.682967] ivtv: version 0.8.1 (tagged release) loading [ 33.682969] ivtv: Linux version: 2.6.18.1-custom SMP mod_unload gcc-4.1 [ 33.682971] ivtv: In case of problems please include the debug info between [ 33.682973] ivtv: the START INIT IVTV and END INIT IVTV lines, along with [ 33.682975] ivtv: any module options, when mailing the ivtv-users mailinglist. [ 34.479597] ivtv0: Autodetected Hauppauge card (cx23416 based) [ 34.480119] ivtv0: Unreasonably low latency timer, setting to 64 (was 32) [ 35.202616] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) [ 35.470606] ivtv0: Autodetected WinTV PVR 500 (unit #1) [ 35.507112] tuner 3-0060: chip found @ 0xc0 (ivtv i2c driver #0) [ 35.507524] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0) [ 35.550004] cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) [ 40.049569] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0) [ 40.134319] ivtv0: Encoder revision: 0x02050032 [ 40.134538] ivtv0: Registered device video1 for encoder MPEG [ 40.134849] ivtv0: Registered device video32 for encoder YUV [ 40.135154] ivtv0: Registered device vbi1 for encoder VBI [ 40.135391] ivtv0: Registered device video24 for encoder PCM audio [ 40.135856] ivtv0: Registered device radio0 for encoder radio [ 40.512386] ivtv0: Initialized WinTV PVR 500 (unit #1), card #0 [ 40.512421] ivtv: ====================== NEXT CARD ====================== [ 40.512424] ivtv1: Autodetected Hauppauge card (cx23416 based) [ 40.512979] ivtv1: Unreasonably low latency timer, setting to 64 (was 32) [ 41.145147] ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) [ 41.361644] tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #1) [ 41.384573] cx25840 4-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1) [ 45.676180] wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #1) [ 45.749187] ivtv1: Correcting tveeprom data: no radio present on second unit [ 45.749189] ivtv1: Autodetected WinTV PVR 500 (unit #2) [ 45.833117] ivtv1: Encoder revision: 0x02050032 [ 45.833323] ivtv1: Registered device video2 for encoder MPEG [ 45.833593] ivtv1: Registered device video33 for encoder YUV [ 45.833873] ivtv1: Registered device vbi2 for encoder VBI [ 45.834097] ivtv1: Registered device video25 for encoder PCM audio [ 46.203309] ivtv1: Initialized WinTV PVR 500 (unit #2), card #1 [ 46.203324] ivtv: ==================== END INIT IVTV ==================== Any suggestions on what this problem may be? Getting closer anyway. Thanks, Dave _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
