[linux-dvb] [PATCH] Add driver specific module option to choose dvb adapter numbers, second try

Manu Abraham abraham.manu at gmail.com
Wed Apr 9 17:07:06 CEST 2008


Janne Grunau wrote:
> Hi,
> 
> I resubmit this patch since I still think it is a good idea to the this 
> driver option. There is still no udev recipe to guaranty stable dvb 
> adapter numbers. I've tried to come up with some rules but it's tricky 
> due to the multiple device nodes in a subdirectory. I won't claim that 
> it is impossible to get udev to assign driver or hardware specific 
> stable dvb adapter numbers but I think this patch is easier and more 
> clean than a udev based solution.
> 
> I'll drop this patch if a simple udev solution is found in a reasonable 
> amount of time. But if there is no I would like to see the attached 
> patch merged.

As i wrote sometime back, adding adapter numbers to adapters is bad.

In fact, when the kernel advocates udev, working around it is no
solution, but finding the problem and fixing the basic problem is more
important, rather than workarounds.

http://www.gentoo.org/doc/en/udev-guide.xml
http://reactivated.net/writing_udev_rules.html

If there is a general udev issue, it should be taken up with udev and
not working around within adapter drivers.

Regards,
Manu



More information about the linux-dvb mailing list