Re: Order of PCI ID's

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

 



On Tue, Jan 26, 2010 at 02:53:36PM +0100, Andreas Besse wrote:
> > Also, Andreas, I see a symlink for all v4l devices already created in a
> > persistant manner on the more recent udev releases.  So you could just
> > use that instead of the "raw" device node, and all should be good.
> >   
> 
> the v4l devices are created by the following udev rule in
> /etc/udev/rules.d/50-udev-default.rules:

What you want are the rules in:
	/lib/udev/rules.d/60-persistent-v4l.rules


As you are using a distro that is a bit old, I suggest you upgrade.

> #default rule
> SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c"
> 
> if i understand udev correctly, udev only uses information on top of
> /sys. 
> 
> If there the information about the PCI slots is not deterministic
> after boot how can udev create the devices in the right order?

It tries the best that it can :)

thanks,

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

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux