Re: [RFC PATCH] Choose dvb adapter number with a driver specific module option

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

 



On Thu, Aug 02, 2007 at 03:15:04AM +0200, Janne Grunau wrote:
> Dynamic loading of modules by udev on startup (aka coldplugging) doesn't
> result in deterministic dvb adapter numbers.

Isn't the usual response to write some udev rules to set the name
based on device characteristics?  Thus taking the naming policy
out of the module and into userspace.

Since you're defining a numbering order when you load the module, if
you have 2 or more devices which use the module then your solution
doesn't solve the problem of controlling the numbers because it
depends which device the kernel finds first. With udev, if there's
some way to distinguish between two of the same device, then rules
can be written to set the name of each.

Nick.

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux