[Pkg-alsa-devel] Re: Bug#240125: hotplug: Loads all sound cards automatically.

Marco d'Itri md@Linux.IT
Thu, 25 Mar 2004 23:11:14 +0100


On Mar 25, Scott Robinson <scott@tranzoa.com> wrote:

> I have browsed over the recent bug reports, and I imagine this one will too
> be shrugged off as "too bad, PCI enumeration is here to stay." But...
Correct.

> Hotplug is now automatically loading all the ALSA drivers for the sound
> cards in my system. Previously, the alsa-base package's /etc/init.d/alsa
> took care of this.
> 
> The older behavior was preferable. I have multiple sound cards in my system.
> Specifically, I have an on-board sound card (motherboard) which sucks and I
> have a PCI sound card which sound much better and has more features.
> 
> With the ALSA configuration, I specified the PCI sound card to be loaded
> first (just becoming the default sound card for most Linux applications) and
> the on-board sound was loaded second. (if at all)
> 
> Hotplug has now taken the loading process from ALSA and caused the card
> order to be changed.
> 
> Is there a better solution outside blacklisting and allowing ALSA support to
> fall down to the ALSA packages itself.
Yes: you can use udev to force bind specific names to the PCI bus
position of the device or its PCI vendor ID.

> If not, someone should inform the apparently MIA ALSA maintainers about the
> order change. (OSS emulation is not loaded by default by hotplug without
> added lines to the modprobe.d files) It seems like a bit of a coup.
I think they already know (and are not MIA), but I have Cc'ed them.
BTW, I already asked them to fix OSS emulation autoloading.

> Do I still need to have discover installed? It seems hotplug is doing that
> work too...
It has other uses (like X autoconfiguration).

-- 
ciao, |
Marco | [5353 su/gqRwL4huiE]