Re: Order of DVB devices

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

 



On Tue, Jan 26, 2010 at 03:36:39PM +0100, Andreas Besse wrote:
> Hello,
> 
> i have a system with multiple DVB cards of the same type and want to
> specify the order of the devices /dev/dvb/adapterX. The device plugged
> into the physical PCI slot 1 on the mainboard should be assigned to
> /dev/dvb/adapter0 and the card in PCI slot 2 should be assigned to
> /dev/dvb/adapter1.
> 
> To identify a DVB card I looked at the output of udevinfo for 2 DVB
> devices. The devices don't provide a serial, so the difference is only
> in the KERNELS parameter (e.g. KERNELS=="0000:02:00.0" vs.
> KERNELS=="0000:03:00.0"). The Kernels parameter seem to reflect the PCI
> Bus ID.
> 
> According to the thread
> http://thread.gmane.org/gmane.linux.kernel.pci/7446/focus=7447 on the
> linux-pci mailinglist, the PCI Bus ID is *not* deterministic and
> totally random determined at boot. 
> 
> In the following post
> http://thread.gmane.org/gmane.linux.kernel.pci/7446/focus=7467 there
> is mentioned that the order of the devices can be specified by using
> udev rules.
> 
> But how this can be done? Which information in /sys can be used to
> determine which DVB device is connected to which specific slot?

Did you try the latest version of udev that has the persistant rules for
the v4l devices in it and look at the symlinks that are created to see
if they solve the problem for you?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux