From: Takashi Iwai <tiwai@suse.de>
To: Pavel Machek <pavel@suse.cz>
Cc: Rajsekar <rajsekar@peacock.iitm.ernet.in>, linux-kernel@vger.kernel.org
Subject: Re: alsamixer muting when restoring from suspend.
Date: Sat, 03 Apr 2004 14:05:23 +0200 [thread overview]
Message-ID: <s5h8yhdxo58.wl@alsa2.suse.de> (raw)
In-Reply-To: <20040402205723.GJ195@elf.ucw.cz>
At Fri, 2 Apr 2004 22:57:23 +0200,
Pavel Machek wrote:
>
> Hi!
>
> > > This I think is not a problem but rather a subtle bug.
> > >
> > > Alsamixer by default mutes all channels when loaded.
> > > So when I `swsusp' my comp while I listen to music and restore the music
> > > plays from where it left alright, but the channels are muted.
> > > Is there a way to unmute them implicitly when restoring.
> >
> > which driver?
> > not all drivers have suspend/resume callbacks.
>
> Could it be solved at higher layer, perhaps? Setting volume is common
> to all drivers, and some kind of generic_alsa_suspend every alsa
> driver would call might help...
the problem is also that you need to reinitialize the chip after
resume. the restoration of mixer config could be done by calling
"alsactl store" at the suspend and "alsactl restore" at the resume in
the user space. can apmd work for such a purpose even for software
suspend?
Takashi
next prev parent reply other threads:[~2004-04-03 12:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 2:57 alsamixer muting when restoring from suspend Rajsekar
2004-04-01 9:33 ` Takashi Iwai
2004-04-02 20:57 ` Pavel Machek
2004-04-03 12:05 ` Takashi Iwai [this message]
2004-04-03 15:22 ` Pavel Machek
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=s5h8yhdxo58.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
--cc=rajsekar@peacock.iitm.ernet.in \
/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