LinHES Forums
http://forum.linhes.org/

DVB cards gets mixed up at boot ?
http://forum.linhes.org/viewtopic.php?f=17&t=13824
Page 1 of 1

Author:  koecks [ Thu Jan 25, 2007 2:01 am ]
Post subject:  DVB cards gets mixed up at boot ?

I have 3 PCI DVB cards and 1 USB DVB stick in my MythTV backend box.
(WinTV Nova, 2*Technotrend (SkyStar 2), Hauppauge USB Stick)

I can configure them fine in the backend, tuning them to correct channels and all,t when I reboot the machine, sometimes - the cards gets mixed up (like Card0 gets to be Card1) - which ofcourse results in no liveTv working.

Is there anyway to force the cards to a specific Card number ?

Or has anyone else experienced this ?

Author:  EvilTwin [ Thu Jan 25, 2007 8:16 am ]
Post subject:  Re: DVB cards gets mixed up at boot ?

koecks wrote:
Is there anyway to force the cards to a specific Card number ?

Yes. You can do this through the "udev rules" configuration. Searching for the quoted terms should find the recent discussions of how to do this.

Author:  koecks [ Fri Jan 26, 2007 6:11 am ]
Post subject: 

hmm.. tried following the setup...

It looks like I can control what is /video0 and /video1 - but when it comes to the dvb devices ? still random - perhaps I am not targeting them correctly.

I use dvb/adapter0 and so forth ? in the local.rules file

Author:  bruce_s01 [ Sat Jan 27, 2007 7:59 am ]
Post subject: 

Looking at my post here you will probably have to use udevinfo -a -p devpath to identify what is distinct about each card.

Bruce S.

Author:  koecks [ Sun Jan 28, 2007 9:11 am ]
Post subject:  looks like working...

Thanks !

I did actually have a look at that post, but could not located the ID of the other DVB cards, but it seems to work if I make a match in the .rules file on the name of the dvb card.

Author:  koecks [ Mon Jan 29, 2007 10:10 am ]
Post subject:  I thought it worked...

I thought it worked...

but it didn't ?
being a newbie in the Linux world.. it is probably something stupid..

What should

SYMLINK=+ point to ?
and
NAME ?

I think it is a bit different setup I have got, as my two DVB-S cards are SkyStar2 cards - so they won't appear as video0 / video1, they will appear as "dvb/adapter0" in the /dev directory.

Can anyone help ?

Author:  bruce_s01 [ Mon Jan 29, 2007 10:30 am ]
Post subject: 

Udev is fairly new, I'm not entirely sure about udev myself. :)
I would ignore the the Symlink statement, I couldn't use the this for the setup of the card in mythtv-setup anyway.
What is the card that seems to move about the most? At a wild guess I would probably say the USB one, it might be worthwhile tying this one down.
Quote:
I think it is a bit different setup I have got, as my two DVB-S cards are SkyStar2 cards - so they won't appear as video0 / video1, they will appear as "dvb/adapter0" in the /dev directory.
I have a suspicion it doesn't matter, so if you call it /dev/usbdvb or /dev/skystardvb1 there shouldn't be a problem.

Bruce S.

Author:  koecks [ Mon Jan 29, 2007 10:50 am ]
Post subject:  well..

I am actually only concentrating on 3 cards at the moment, and those 3 are PCI

2*budget_ci dvb (skystar2 PCI)
1*Win-TV Nova (dvb-t)

It looks like the budget cards stays together, so I would say that it is the Nova card that is either first or last.

Funny thing is that when I look at the attribs for the budget cards, I cannot identify them my attrib {name} - but I guess it is OK to identify them by {irq} instead...

Author:  tjc [ Mon Jan 29, 2007 7:02 pm ]
Post subject: 

As I mentioned in another thread last night the PCI bus id is also a good choice. Use lspci and the numbers in the first column are your Bus IDs.

Author:  koecks [ Tue Jan 30, 2007 2:22 pm ]
Post subject:  still no luck

the linux newbie thing is still bugging me :lol:

tjc -> can you post a working line from your local.rules file ?

I tried both the irq's and the bus id - but still no luck, the cards are still shuffled like a deck of cards... beginning to get quite annoying.

I can see that the card that I want as "Card0" is card "0" if I look at (card type) "MJPEG" under Video Device => "/dev/video0"
But when I look in the (card type) DVB DTV it still shows up as DVB card number 2 ?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/