[Pkg-alsa-devel] init script

Steve Kowalik steven@wedontsleep.org
Fri, 16 Apr 2004 13:47:38 +1000


On Thu, 15 Apr 2004 23:08:50 -0400, David B Harris uttered
> > - 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".
> 
That sounds good.

> > - Change alsa-source to ask a multiselect question, rather than like 
> >   alsa-base.
> 
> It already is? :)
> 
Heh. I never noticed.

> > - 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.
> 
Okay, cool. Someone who has a better gramatical grasp of the language
would be great. (IE: you)

> > 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).
> 
So, we get rid of /etc/alsa/modutils, remove the symlinks, and then
create 2 new files to load the OSS modules. Sounds good.

The new list, is:

- Stop alsa-base's and alsa-source's sharing of the card list.
- Rip out the guts of the init script.
- Leave one question for alsa-base, for alsactl: "Autosave always", 
  "Save once at next shutdown", "Never save automatically".
- Add a big, flashing entry to NEWS.Debian about the change. (And get
  People That Can Speak English Better Than I Can to proofread)
- Purge /etc/alsa/modutils and the symlinks on upgrade.
- Add a modutils/alsa-base file, and a modprobe.d/alsa-base file using
  install or post, whichever one is required.

-- 
					Steve
<bob2> joy hasn't spoken on IRC in 45 seconds, he must be MIA!