View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Sep 18, 2007 7:20 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
I upgraded from R5D1. I deleted my cards in mythtv-setup and set them up from scratch. The PVR350 was working at first, but now the backend is saying that it is failing initialization. I already shut down the machine for 2 minutes with the power cord removed. Should I do this again?

It seems to boot fine:
Code:
Sep 17 12:58:21 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350
Sep 17 12:58:21 mythtv kernel: saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
Sep 17 12:58:21 mythtv kernel: tuner-simple 1-0061: type set to 47 (LG NTSC (TAPE series))
Sep 17 12:58:21 mythtv kernel: tuner 1-0061: type set to LG NTSC (TAPE series)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video1 for encoder MPG (4096 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video32 for encoder YUV (2048 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video24 for encoder PCM (320 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device radio0 for encoder radio
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video16 for decoder MPG (1024 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device vbi8 for decoder VBI (64 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device vbi16 for decoder VOUT
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video48 for decoder YUV (1024 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Initialized card #0: Hauppauge WinTV PVR-350


But, when the backend starts, it throws this error message:
Code:
2007-09-17 12:58:30.858 mythbackend: Problem with capture cards: Card 1failed init


I don't know what's going on here. I'm not using the tvout on this card, btw...

_________________
LinHES 8.3, 1 BE, 3 FE


Last edited by kmkittre on Fri Sep 21, 2007 11:31 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 6:51 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

Since you are not using tv out on the 350, may I assume you answered no during setup to tv out?

If so, then if you check /etc/X11/xorg.conf (linked to xorg.conf.pre350) you may find it empty. If so, try a cp /etc/X11/xorg.conf.1st /etc/X11/xorg.conf (breaks the link also)

If you have a gui, do a ctl + alt + bksp to restart the xserver

Without any hardware information, this about the best I can offer. If the xserver isn't "tuned" to run with your video card, then it can show up in funny ways with some things working and others not.

Also go through all setups just to double check the settings.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 7:34 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
xorg.conf is not empty on the backend. I tried as you suggested and copied xorg.conf.1st over and it still shows the same error on the backend. What's really odd is that this card worked at first...

I'm tempted to just buy another pvr150...

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 7:58 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
When my pvr-350 was working, I was seeing this in the logs:
Code:
Sep 15 03:05:20 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350
Sep 15 03:05:20 mythtv kernel: saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
Sep 15 03:05:20 mythtv kernel: tuner-simple 0-0061: type set to 47 (LG NTSC (TAPE series))
Sep 15 03:05:20 mythtv kernel: tuner 0-0061: type set to LG NTSC (TAPE series)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device video32 for encoder YUV (2048 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device video24 for encoder PCM (320 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device radio0 for encoder radio
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device video16 for decoder MPG (1024 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device vbi8 for decoder VBI (64 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device vbi16 for decoder VOUT
Sep 15 03:05:20 mythtv kernel: ivtv0: Registered device video48 for decoder YUV (1024 kB)
Sep 15 03:05:20 mythtv kernel: ivtv0: Initialized card #0: Hauppauge WinTV PVR-350


Now that it's not working, I'm seeing this:
Code:
Sep 17 12:58:21 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350
Sep 17 12:58:21 mythtv kernel: saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
Sep 17 12:58:21 mythtv kernel: tuner-simple 1-0061: type set to 47 (LG NTSC (TAPE series))
Sep 17 12:58:21 mythtv kernel: tuner 1-0061: type set to LG NTSC (TAPE series)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video1 for encoder MPG (4096 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video32 for encoder YUV (2048 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video24 for encoder PCM (320 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device radio0 for encoder radio
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video16 for decoder MPG (1024 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device vbi8 for decoder VBI (64 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device vbi16 for decoder VOUT
Sep 17 12:58:21 mythtv kernel: ivtv0: Registered device video48 for decoder YUV (1024 kB)
Sep 17 12:58:21 mythtv kernel: ivtv0: Initialized card #0: Hauppauge WinTV PVR-350


For some reason, all the references to video0 are now video1, and I think I know why:

When the 350 was working, this was in the logs for the PCHDTV5500:
Code:
Sep 16 13:58:51 mythtv kernel: cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected]
Sep 16 13:58:51 mythtv kernel: cx88[0]: TV tuner type 64, Radio tuner type -1
Sep 16 13:58:51 mythtv kernel: ivtv:  Start initialization, version 1.1.0
Sep 16 13:58:51 mythtv kernel: cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
Sep 16 13:58:51 mythtv kernel: tuner 0-0043: chip found @ 0x86 (cx88[0])
Sep 16 13:58:51 mythtv kernel: tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
Sep 16 13:58:51 mythtv kernel: tuner 0-0043: type set to tda9887
Sep 16 13:58:51 mythtv kernel: tuner 0-0061: chip found @ 0xc2 (cx88[0])
Sep 16 13:58:51 mythtv kernel: tuner-simple 0-0061: type set to 64 (LG TDVS-H06xF)
Sep 16 13:58:51 mythtv kernel: tuner 0-0061: type set to LG TDVS-H06xF
Sep 16 13:58:51 mythtv kernel: cx2388x alsa driver version 0.0.6 loaded
Sep 16 13:58:51 mythtv kernel: cx88[0]/2: cx2388x 8802 Driver Manager
Sep 16 13:58:51 mythtv kernel: ACPI: PCI Interrupt 0000:00:0d.2[A] -> GSI 18 (level, low) -> IRQ 18
Sep 16 13:58:51 mythtv kernel: cx88[0]/2: found at 0000:00:0d.2, rev: 5, irq: 18, latency: 64, mmio: 0xf8000000


Now it looks like this:
Code:
Sep 17 12:58:21 mythtv kernel: cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected]
Sep 17 12:58:21 mythtv kernel: cx88[0]: TV tuner type 64, Radio tuner type -1
Sep 17 12:58:21 mythtv kernel: cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.6 loaded
Sep 17 12:58:21 mythtv kernel: ivtv:  Start initialization, version 1.1.0
Sep 17 12:58:21 mythtv kernel: cx2388x alsa driver version 0.0.6 loaded
Sep 17 12:58:21 mythtv kernel: tuner 0-0043: chip found @ 0x86 (cx88[0])
Sep 17 12:58:21 mythtv kernel: tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
Sep 17 12:58:21 mythtv kernel: tuner 0-0043: type set to tda9887
Sep 17 12:58:21 mythtv kernel: tuner 0-0061: chip found @ 0xc2 (cx88[0])
Sep 17 12:58:21 mythtv kernel: tuner-simple 0-0061: type set to 64 (LG TDVS-H06xF)
Sep 17 12:58:21 mythtv kernel: tuner 0-0061: type set to LG TDVS-H06xF
Sep 17 12:58:21 mythtv kernel: cx88[0]/0: found at 0000:00:0d.0, rev: 5, irq: 18, latency: 64, mmio: 0xf6000000
Sep 17 12:58:21 mythtv kernel: cx88[0]/0: registered device video0 [v4l2]
Sep 17 12:58:21 mythtv kernel: cx88[0]/0: registered device vbi0
Sep 17 12:58:21 mythtv kernel: cx88[0]/2: cx2388x 8802 Driver Manager
Sep 17 12:58:21 mythtv kernel: ACPI: PCI Interrupt 0000:00:0d.2[A] -> GSI 18 (level, low) -> IRQ 18
Sep 17 12:58:21 mythtv kernel: cx88[0]/2: found at 0000:00:0d.2, rev: 5, irq: 18, latency: 64, mmio: 0xf8000000
Sep 17 12:58:21 mythtv kernel: cx88_audio: probe of 0000:00:0d.1 failed with error -2


This is the line that is catching my eye:
Code:
Sep 17 12:58:21 mythtv kernel: cx88[0]/0: registered device video0 [v4l2]


It looks like the PCHDTV5500 is grabbing video0 and this is preventing the PVR-350 from having access to video0. Any suggestions on why this is happening and how I can fix it?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 9:21 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Okay, I'm not local to my mythbox so I can't test this, but I may have found a solution.

I edited the capturcard table and changed the videodevice for the card from /dev/video0 to /dev/video1 (I changed the V4L card for the pcHDTV5500 to /dev/video0, it was /dev/video1). I restarted the backend and I am not getting the "Card 1failed init" error. Whether or not I can watch TV with the card remains to be seen.

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 12:08 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Well, my wife has been able to watch TV on the card, so it looks like this fixed the problem.

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 11:20 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
So I got home today and the PVR-350 wasn't producing sound... So I restarted the machine. This time the 350 initialized before the pcHDTV5500 and it grabbed video0... This is crazy! /dev/videoX should be a static value, no? What's going on here?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 20, 2007 6:04 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
kmkittre wrote:
So I got home today and the PVR-350 wasn't producing sound... So I restarted the machine. This time the 350 initialized before the pcHDTV5500 and it grabbed video0... This is crazy! /dev/videoX should be a static value, no? What's going on here?
udev. See bruce_s01 and silentmic's posts in http://mysettopbox.tv/phpBB2/viewtopic.php?t=13520 about assigning them permanently.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 20, 2007 9:53 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
You rock slow, thanks for the heads up. Now I just need to learn how to use udev... :D

Some built-in udev feature for myth-setup would be awesome, does anyone know if there are any plans to do so?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 11:30 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Setting up manual rules for udev fixed my problem. Because there have been conflicting instructions, I went ahead and did a write up in the wiki that details how I did my setup:
http://www.knoppmythwiki.org/index.php?page=Udev

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu