[Pkg-alsa-devel] init script

Steve Kowalik stevenk@debian.org
Fri, 16 Apr 2004 08:08:52 +1000


On Thu, 15 Apr 2004 14:00:29 -0400, David B Harris uttered
> I asked two questions of two different people :) To you, I asked "is
> this something we really need to support, this ordering of cards?" and
> you said yeah. So that's requirement number 1, that cards can be
> ordered.
> 
> I asked Md if udev would be useful enough in Sarge to support this. He
> said no.
> 
And yet, at every oppurtunity, Md is touting udev as the best thing
since sliced bread, and anyone who isn't using it, well, should
be. I'm using on my laptop, and I'm not seeing anything strange.

> So, there you go. We can either not support ordering (in which case
> hotplug can blacklist OSS modules and load ALSA modules on its own, in
> which case we don't need to do it in alsa-base), or Md changes his
> opinion about udev, or we keep the module loading in alsa-base.
> 
My workstation has 2 cards, and hotplug actually loads them in the
correct order, but that is more than likely due to their order on the
PCI bus than anything else.

Personally, I feel that hotplug loading every module it can is a GOOD
thing, and should keep doing it - with a few tweaks. I will probably
find Md on IRC and reiterate this, but I think there are 2 bugbears
here - hotplug needs to be told whether or not the user is using ALSA
or OSS modules, and there needs to be an easy way to turn it off - see
the MiniPCI Wireless message on -devel for what I think is a very good
reason why.

I am all for removing the module loading from the init script. If we
also remove /etc/alsa/modutils, and the debconfage from
alsa-base, we can keep the debconfage in alsa-source, but since the
ordering problem for using a select has effectively disappeared, and we
can implement it sanely using a multiselect.

In short, I'm all for removing 80% of the init script. :-)

> Be careful about Md - he's pissed off at his hotplug co-maintainer for
> implementing /etc/hotplug/blacklist.d/, he seems hellbent on getting it
> removed. (Not to mention the fact he *explicitly told me* that the
> proposed solution [which he and I came up with, incidentally, not you
> and I :] was fine. Bastard.)
> 
Hmph. This raises more questions than it answers ...

Bah, I feel like I've left out of the loop too long - but it's no
one's fault but my own.

-- 
					Steve
If it (dieting) was like a real time strategy game, I'd have loaded a save
game from ten years ago.
         - Greg, Columbia Internet