It seems to be working okay now.
I have written a script, /etc/init.d/alsa, to handle start and stop. This cript is called at bootup by /etc/rc.d/rc.services and at shutdown by /etc/rc.d/rc.shutdown.
Note, ALSA in Ubuntu (and probably Debian) is configured to save and restore settings at /var/lib/alsa/asound.state. For consistency across all Woof builds I have set this to /etc/asound.state.
Some people have reported that the default sound level at startup is too low, and even winding the master volume control right up doesn't bring it high enough. I have done some extra setting in the 'alsa' script that hopefully improves this situation.
Note that /etc/rc.d/rc.alsa is removed. Scripts that have been modified are /etc/rc.d/rc.services, /etc/rc.d/rc.shutdown, /etc/rc.d/functions4puppy4 and /usr/sbin/alsaconf.
Comments:Posted on 7 May 2009, 8:39 by happypuppy
ALSA 1.0.20 released !
"There are far too many bugfixes in ALSA 1.0.20.
This version also adds support for many onboard sound chips."
It might be a good idea to upgrade.
Posted on 9 Mar 2010, 8:12 by ttuuxxx
Hi Barry I'm updating alsa on 2.14X for a couple of users, When I look at the 4 series repo you only post 2 packages
alsa-utils & alsa-lib, but when I go to the alsa sources homepage they have 8 (7+1 python) packages, Does puppy usually only have the 2 packages alsa-utils & alsa-lib to have sound?
thanks I don't have much experience with alsa, usually I compile the 7 packages and leave it in a repo at ca. But for updating I would like to keep it at a min.
Posted on 9 Mar 2010, 17:17 by BarryK
That's right, I only put alsa-utils and alsa-lib in Puppy. alsa-drivers is in the kernel, but if you are updating then you will need that pkg too.
Posted on 9 Mar 2010, 20:40 by ttuuxxx
Thanks again Barry the Alsa website documentation isn't really good in that departments its hard to know things like that without experience :)Thanks once again. :)
Posted on 9 Mar 2010, 21:07 by BarryK
This is how I configured them:
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-python
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --with-testsound=/usr/share/audio/ok.wav --disable-xmlto