From: "Matthias Weber" <matthiaz.weber@gmx.de>
To: linux-media@vger.kernel.org
Subject: Re: [v4l/dvb] identification/ fixed registration order of DVB cards
Date: Thu, 07 Oct 2010 11:04:43 +0200 [thread overview]
Message-ID: <20101007090443.54550@gmx.net> (raw)
>Can't this be forced using udev rules?
udev seems to be a good way. I tried several different configurations.. my last one (file called '50-dvb_cards.rules'):
# Create a symlink /dev/dvb/adapter104 pointing to dvb card with PCI bus id 04:00.0
SUBSYSTEM=="dvb", KERNEL=="0000:04:00.0", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter104/%%s $${K#*.}'", SYMLINK+="%c"
# Create a symlink /dev/dvb/adapter106 pointing to dvb card with PCI bus id 04:02.0
SUBSYSTEM=="dvb", KERNEL=="0000:04:02.0", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter106/%%s $${K#*.}'", SYMLINK+="%c"
BUS and ID combinations I saw on different other webpages seem to be out of date. Not sure what I am doing wrong as there still is only /dev/dvb/adapter0 and /dev/dvb/adapter1.
I also tried to get my usbstick running with
BUS=="usb", SYSFS{idVendor}=="058f", SYMLINK=+"usbstick"
but this didn't work also.
Any help appreciated. Thanks!
Cheers
Matthias
--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
next reply other threads:[~2010-10-07 9:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-07 9:04 Matthias Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-10-07 9:25 [v4l/dvb] identification/ fixed registration order of DVB cards Matthias Weber
2010-10-06 11:13 Matthias Weber
2010-10-06 15:39 ` VDR User
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=20101007090443.54550@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