From: bugtrack@alsa-project.org Subject: [ALSA - driver 0002021]: No sound from speakers (only headphone) after resume to suspend-to-ram Date: Mon, 24 Apr 2006 21:30:09 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 0A87D173 for ; Mon, 24 Apr 2006 21:30:09 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: tsaiming Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 2021 Category: PCI - via82xx Reproducibility: always Severity: minor Priority: normal Status: new Distribution: Gentoo Kernel Version: suspend2-2.6.16-r2 ====================================================================== Date Submitted: 04-15-2006 13:19 CEST Last Modified: 04-24-2006 21:30 CEST ====================================================================== Summary: No sound from speakers (only headphone) after resume to suspend-to-ram Description: After suspend2-to-ram (but it happens also with the suspend kernel built in) I have no more sound from speakers but only from headphones. With suspend to disk all works good Also tried to stop alsasound and unload modules before suspending and restart service after resume with no change. ====================================================================== ---------------------------------------------------------------------- tiwai - 04-24-06 16:44 ---------------------------------------------------------------------- Try to restore the values of 0x5a, 0x5e and 0x60 via proc file after resume, such as (only by root) # echo 5a 8221 > /proc/asound/card0/codec97#0/ac97#0-0+regs Note that this is available only when the drivers are built with debug option. ---------------------------------------------------------------------- mmp - 04-24-06 21:30 ---------------------------------------------------------------------- I just tried to modify the ac97 registers; I was able to change all but one, which still holds the old value - the '5a' one. And the one changed register in card0/via82xx doesn't revert its value after setting any of these. I tried to play something, but it is still the same - just headphone output works, internal speakers are disabled. Issue History Date Modified Username Field Change ====================================================================== 04-15-06 13:19 tsaiming New Issue 04-15-06 13:19 tsaiming File Added: codec97#0.txt 04-15-06 13:19 tsaiming Distribution => Gentoo 04-15-06 13:19 tsaiming Kernel Version => suspend2-2.6.16-r2 04-22-06 15:12 mmp Issue Monitored: mmp 04-22-06 15:14 mmp Note Added: 0009435 04-22-06 15:15 mmp File Added: regs.diff 04-24-06 16:44 tiwai Note Added: 0009470 04-24-06 21:30 mmp Note Added: 0009478 ====================================================================== ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642