Daniel, what has been changed in this new alsa-utils? I needed a script which restarted alsa-utils after suspend/resume, it was quite simple:
~$ cat /etc/pm/sleep.d/99sound
#!/bin/sh
# Restarts sound
start ()
{
exec /etc/init.d/alsa-utils restart
}
stop ()
{
exec /etc/init.d/alsa-utils stop
}
case "$1" in
hibernate|suspend) stop;;
thaw|resume) start;;
*) exit $NA ;;
esac
and now it blocks suspend, and when i comment out the stop part, it doesn't bring back sound, not even with alsa-utils restart
Daniel, what has been changed in this new alsa-utils? I needed a script which restarted alsa-utils after suspend/resume, it was quite simple: sleep.d/ 99sound
~$ cat /etc/pm/
#!/bin/sh
# Restarts sound
start () d/alsa- utils restart
{
exec /etc/init.
}
stop () d/alsa- utils stop
{
exec /etc/init.
}
case "$1" in
hibernate|suspend) stop;;
thaw|resume) start;;
*) exit $NA ;;
esac
and now it blocks suspend, and when i comment out the stop part, it doesn't bring back sound, not even with alsa-utils restart