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

Elimar Riesebieter riesebie at lxtec.de
Wed Jan 9 22:33:11 UTC 2008


Hi Jörg,

On Wed, 09 Jan 2008 the mental interface of
Jörg Sommer told:

> Hi,
> 
> 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 :)

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?

BTW I am using my own suspend script in /etc/power/scripts.d:

#!/bin/sh

# name        : lxtec_suspend
# author      : Elimar Riesebieter <riesebie at lxtec.de>
# description : 
# requirements: 
# limitations : 
#
# --- end of public part -- don't change below this line ---
# But I change indeed ;)

# source configuration
. pmcs-config

case "$1" in
  suspend)
    ifdown wlan0
    modprobe -r b43 appletouch
    /etc/init.d/nis stop
    killall -15 mutt
    ;;
  resume)
    modprobe b43
    /etc/init.d/networking restart
    /etc/init.d/nis start
    modprobe appletouch
    sleep2
    /etc/init.d/gpm restart
    ;;
esac

Please don't hesitate to discus this item further here;)

Elimar

-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
                                -unknown-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20080109/27440971/attachment.pgp 


More information about the Pkg-alsa-devel mailing list