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

Eduard Huguet eduardhc at gmail.com
Tue Apr 8 12:27:02 CEST 2008


>
> ---------- Missatge reenviat ----------
> From: Janne Grunau <janne-dvb at grunau.be>
> To: linux-dvb at linuxtv.org
> Date: Tue, 8 Apr 2008 10:30:04 +0200
> Subject: Re: [linux-dvb] [PATCH] Add driver specific module option to
> choose dvb adapter numbers, second try
> On Sunday 30 March 2008 20:17:49 Janne Grunau wrote:
> > On Sunday 30 March 2008 13:53:33 Janne Grunau wrote:
> > > I agree. Fixed, updated patch attached.
> >
> > Next try:
> >
> > replaced module option definition in each driver by a macro,
> > fixed all checkpatch.pl error and warning
> > added Signed-off-by line and patch description
>
> ping.
>
> Any interest in this change? Anything speaking against merging this
> except the potential duplication of udev functinality?
>
> Janne
>

I think it's a good idea.  I don't think there's an easy way to create a
fixed numbering schema for DVB adaptors by just using udev rules. Udev
allows you to easily create named symlinks pointing to the devices, but this
is just not useful for MythTV, as this only uses a number to identify the
DVB adaptors to use.

(Well, there's probably a way: tell udev to create fixed  numerical type
symlinks like 'dvb10', etc... pointing to the right devices, and use for
those a numbering schema higher than your adaptor count. Probably MythTV
will allow you to use these, but I think this hack is just ugly).

Currently I just disabled udev for my adaptors by blacklisting the modules,
and manually loading them after udev in the appropiate order. This is the
only way I've found to get a consistent numberging schema.

So, in a nutshell: yes, I think your patch would be really useful for people
having more than one adaptor.

Regards,
  Eduard Huguet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080408/b50894cd/attachment.htm 


More information about the linux-dvb mailing list