[Pkg-alsa-devel] Killing Alsa using apps really needed?

Elimar Riesebieter riesebie at lxtec.de
Sat Jan 12 13:09:02 UTC 2008


On Thu, 10 Jan 2008 the mental interface of
Jörg Sommer told:

> Hallo Elimar,
> 
> Elimar Riesebieter schrieb am Wed 09. Jan, 23:33 (+0100):
> > On Wed, 09 Jan 2008 the mental interface of
> > Jörg Sommer told:
> > 
> > > is it really needed to kill the applications they use Alsa in
> > > /usr/sbin/alsa? This script is called by /etc/apm/suspend.d/80alsa when
> > > suspending. Unfortunely it kills the daemon pbbuttonsd that manages the
> > > suspend. So, is it really needed to unload the module? What if Alsa is
> > > built in the kernel?
> > 
> > Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455076 ,
> > there are users who need that script on other platforms than we both
> > are running :)
> 
> Do you know if it's needed on PowerPC? I've disabled the script and wait
> for the things they are comming.
> 
> > Else:
> > 
> > diff <(/usr/sbin/alsa suspend; ps ax | grep pbb) <(sleep 2; /usr/sbin/alsa resume; ps ax | grep pbb)
> > 
> > doesn't show "/usr/bin/pbbuttonsd --configfile=/etc/pbbuttonsd.cnf -d"
> > to be killed?
> 
> Right. That was what drove me crazy. pbbuttonsd closes the interface
> after some time. So it's not killed every time. But writing full buffers
> slows the process down which gave alsa time to kill pbbuttonsd. I've
> expected a problem with the hard disk driver and some other silly things,
> but never the suspend script itself.

I have had no problems in the past. Please notice, that the suspend
instruction is called from apm since a long time. We moved alsa from
init.d to /usr/sbin, 'cause it is not a real initscript but needed
for some processess yet...

Elimar

-- 
  Excellent day for drinking heavily. 
  Spike the office water cooler;-)



More information about the Pkg-alsa-devel mailing list