Re: [v4l/dvb] identification/ fixed registration order of DVB cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux