Skip to contentSkip to conversation

identification/ fixed registration order of DVB cards

v4l/dvb Matthias Weber 2 participants 2 messages Oct 6, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

we are using two identical DVB cards (TT-budget S2-1600) in one system.

How can we assure that the same card always are assigned to the same device file /dev/dvb/adapter0 (/dev/dvb/adapter1

respectively).

Short example:
Is the card in the first PCI slot always /dev/dvb/adapter0 and the card in the second PCI slot always /dev/dvb/adapter1?

Is this (registration order or whatever it may be called) done in some drivers? Or is it pure luck when booting the system?

If not implemented, what can be done to tell our own software to switch frontend handles or not to?

There might be a way through MAC addresses...
In ttpci-eeprom.c is a function called ttpci_eeprom_parse_mac() which is used in budget_core.c ttpci_budget_init() function. Can this somehow combined with PCI?

Any ideas what would be a smart and easy way?
Thanks!

Cheers
Matthias

Signature · 2 lines
GRATIS: Spider-Man 1-3 sowie 300 weitere Videos!
Jetzt freischalten! http://portal.gmx.net/de/go/maxdome