[Pkg-alsa-devel] init script

David B Harris dbharris@eelf.ddts.net
Thu, 15 Apr 2004 23:08:50 -0400


On Fri, 16 Apr 2004 12:27:51 +1000
Steve Kowalik <stevenk@debian.org> wrote:
> On Thu, 15 Apr 2004 21:50:24 -0400, David B Harris uttered
> > You also don't need to convince me it's a good idea; it's what I've
> > wanted all along.
> 
> - Rip out the guts of the init script.

Yeah - all that should remain is alsactl stuff.

> - Completly rip out alsa-base's card selection debconfage. Do we even
>   want to keep the other questions?

It would make sense to keep the alsactl save question, I believe - since
there'll likely be no module-removing functionality in hotplug before
long (and indeed, module removing is seriously deprecated in 2.6).
What's more, it'll be the only one left, so having the one question
isn't so bad.

We can also model it after the setserial debconf question, ie: "Autosave
allways", "Save once at next shutdown", "Never save automatically".

> - Change alsa-source to ask a multiselect question, rather than like 
>   alsa-base.

It already is? :)

> - Add a big, flashing entry to NEWS.Debian about the change. (And get
>   People That Can Speak English Better Than I Can to proofread)

I can do that, yeah.

> Do you think anything else needs to be done?

Getting rid of /etc/alsa/modutils/ and /etc/alsa/0.9/, and just using
regular files in /etc/modprobe.d/ and /etc/modutils/ would be good.
Specifically to alias the OSS stuff to ALSA; I'd suggest loading
snd-{mixer,seq,pcm}-oss when snd gets loaded (can be done with
modprobe.conf's 'install' directive and modules.conf's 'post'
directive).

-- 
     Arguing with an engineer is like wrestling with a pig in mud.
	   After a while, you realise the pig is enjoying it.

		   OpenPGP v4 key ID: 4096R/59DDCB9F
    Fingerprint: CC53 F124 35C0 7BC2 58FE  7A3C 157D DFD9 59DD CB9F
	  Retreive from subkeys.pgp.net or risk key corruption