Drop 65alsa -- it is useless by itself.

alsa drivers that support suspend/resume will save their state without it.

alsa drivers that don't will need to be unloaded and reloaded as well as
having their state saved and restored to work properly.

See thread at 
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-November/013030.html
---
 pm/sleep.d/65alsa |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/pm/sleep.d/65alsa b/pm/sleep.d/65alsa
deleted file mode 100755
index 37ba3fe..0000000
--- a/pm/sleep.d/65alsa
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-# Ensure that ALSA state is saved and restored correctly.
-# TODO: Modern ALSA does not need this hack.  Is it worth trying to detect
-#       that and disable this hook if we do not need it?
-
-. "${PM_FUNCTIONS}"
-
-command_exists alsactl || exit $NA
-
-case "$1" in
-       hibernate|suspend)
-               alsactl store 0 >/dev/null 2>&1
-               ;;
-       thaw|resume) 
-               alsactl restore 0 >/dev/null 2>&1
-               ;;
-       *) exit $NA
-               ;;
-esac
-- 
1.6.0.4

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to