From: Klaus Vink Slott <klaus@vink-slott.dk>
To: linux-kernel@vger.kernel.org
Subject: mixer hw loosing its settings during suspend
Date: Mon, 22 Jan 2007 21:47:19 +0100 [thread overview]
Message-ID: <200701222147.19960.klaus@vink-slott.dk> (raw)
Hi
I was discussing yesterday with Danny on his blok
http://dkukawka.blogspot.com/2006/11/kpowersave-config-tutorial.html about
how to restore sound on my old laptop. He told me that I should drop you a
note as my problem in reality should be handled by the kernel.
Short story is that I have a old Dell X200 with a Intel sound controller.
lspci says:
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio
Controller (rev 02)
After a suspend cycle sound is muted on all channels until the corresponding
sliders hav been moved.
For my purpose I saved a zero file (mixer setting all zero) and saved this
as /etc/asound.zero. Then I made a /etc/pm/hooks/63sound script in pm-utils
#!/bin/bash
case $1 in
hibernate|suspend)
/usr/sbin/alsactl store
/usr/sbin/alsactl -f /etc/asound.zero restore
;;
thaw|resume)
/usr/sbin/alsactl restore
;;
esac
This hack solves the problem on openSUSE 10.2. Feel free to ignore my letter
as I guess most X200 is dead and gone by now - and my english is bad to :-)
--
Regards
Klaus
reply other threads:[~2007-01-22 21:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701222147.19960.klaus@vink-slott.dk \
--to=klaus@vink-slott.dk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®