From: "Matthias Weber" <matthiaz.weber@gmx.de>
To: linux-media@vger.kernel.org
Subject: [v4l/dvb] identification/ fixed registration order of DVB cards
Date: Wed, 06 Oct 2010 13:13:53 +0200 [thread overview]
Message-ID: <20101006111353.161320@gmx.net> (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
--
GRATIS: Spider-Man 1-3 sowie 300 weitere Videos!
Jetzt freischalten! http://portal.gmx.net/de/go/maxdome
next reply other threads:[~2010-10-06 11:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 11:13 Matthias Weber [this message]
2010-10-06 15:39 ` [v4l/dvb] identification/ fixed registration order of DVB cards VDR User
-- strict thread matches above, loose matches on Subject: below --
2010-10-07 9:04 Matthias Weber
2010-10-07 9:25 Matthias Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101006111353.161320@gmx.net \
--to=matthiaz.weber@gmx.de \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox