[Feisty] Inaudible audio upon resuming from suspend-to-disk

Bug #80893 reported by Matthew East
198
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Feisty by Henrik Nilsen Omma
Declined for Gutsy by Henrik Nilsen Omma
Hardy
Fix Released
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Medium
Unassigned
Declined for Feisty by Henrik Nilsen Omma
Declined for Gutsy by Henrik Nilsen Omma
Hardy
Won't Fix
Medium
Registry Administrators

Bug Description

Binary package hint: linux-source-2.6.20

Hi there,

I have a Thinkpad T43, and sound disappears after hibernate. I'll attach the output from some debugging.

Revision history for this message
Matthew East (mdke) wrote :

I'll put the longer outputs in attachments, here are some short ones.

matt@kalliope:~$ tail -2 /proc/asound/oss/sndstat
Mixers:
0: Analog Devices AD1981B

matt@kalliope:~$ asoundconf list
Names of available sound cards:
ICH6

matt@kalliope:~$ cat /proc/interrupts
           CPU0
  0: 8900149 IO-APIC-edge timer
  1: 106965 IO-APIC-edge i8042
  6: 5 IO-APIC-edge floppy
  7: 0 IO-APIC-edge parport0
  8: 3 IO-APIC-edge rtc
  9: 26445 IO-APIC-fasteoi acpi
 12: 2983365 IO-APIC-edge i8042
 14: 96888 IO-APIC-edge libata
 15: 399301 IO-APIC-edge libata
 17: 352806 IO-APIC-fasteoi Intel ICH6
 18: 1 IO-APIC-fasteoi uhci_hcd:usb1, yenta, i915@pci:0000:00:02.0
 20: 29352 IO-APIC-fasteoi uhci_hcd:usb2
 21: 3553576 IO-APIC-fasteoi uhci_hcd:usb3
 22: 5 IO-APIC-fasteoi uhci_hcd:usb4, ehci_hcd:usb5
 23: 628563 IO-APIC-fasteoi ipw2200
NMI: 0
LOC: 8900108
ERR: 0
MIS: 0

Revision history for this message
Matthew East (mdke) wrote :
Revision history for this message
Matthew East (mdke) wrote :
Revision history for this message
Matthew East (mdke) wrote :
Revision history for this message
Matthew East (mdke) wrote :
Revision history for this message
Martey Dodoo (martey) wrote :

Is it possible that this is the same issue as bug #78299?

Revision history for this message
Martey Dodoo (martey) wrote :

Changing to confirmed, because of bug #80968 and the fact I am having this same problem on my T43.

Changed in linux-source-2.6.20:
status: Unconfirmed → Confirmed
Revision history for this message
Michael R. Head (burner) wrote :

Confirmed on a Thinkpad T30, too.

Revision history for this message
Michael R. Head (burner) wrote :

Is it possible this is related to bug #78257 too?

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
assignee: nobody → timg-tpi
Revision history for this message
Michael R. Head (burner) wrote :

Still here in linux-image-2.6.20-9-generic

Revision history for this message
ullix (ullix) wrote :

... and also here in 2.6.20-9-generic with Asrock MB K8NF6G-VSTA with chipset NVIDIA NF-6100-405

Revision history for this message
Carlos F. (topopardo-deactivatedaccount) wrote :

Confirmed on an Acer Aspire 1692

topopardo@vayralemine:~$ uname -a
Linux vayralemine 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Note: on Feisty beta3, this bug didn't exist, but after the last kernel update, the sound broke after hibernation

Revision history for this message
ullix (ullix) wrote :

now what ? after updating to kernel 2.6.20-11-generic I have no sound at all, not even after a cold reboot!
Amarok is playing its visuals, but no sound.

(Asrock MB K8NF6G-VSTA with chipset NVIDIA NF-6100-405)

Revision history for this message
Guilherme Salgado (salgado) wrote :

I found that rebooting doesn't bring sound back --I had to shutdown, so you may want to try that, ullix. (I have a T60, btw)

Also, the problem doesn't seem to happen when I suspend, so it may be that bug 83509 is not a dupe after all.

Revision history for this message
Carlos F. (topopardo-deactivatedaccount) wrote :

Tested it seconds ago on 2.6.20-11-generic with an Acer Aspire 1692. The problem remains the same, no sound after hibernating, and everything works ok when the computer is boot "from scratch"

Revision history for this message
ullix (ullix) wrote :

I not only did a cold reboot, I even unplugged the MB for >1h before restarting 2.6.20-11 generic -- but no sound.

Restarting 2.6.20-10-generic did give sound!

Looking with Kinfocenter under Sound I found these differences:
-10: (with sound)
Audio devices: HDA Generic
Mixers: Realtek ID862

-11: (no sound)
Audio devices: ALC861VD Analog (Duplex)
Mixers: Realtek ALC861VD

I noticed another difference between the two kernels: My cheap loudspeaker system hums noticeably when unplugged, which still continues when plugged into the switched-off motherboard, but goes away during hardware detection at boot. So when suspending under -10 and -11 the humming restarts when the MB is completely suspended. The difference is that at resume with -10 the humming remains, while at -11 the humming goes away immediately.

Electrically this indicates that during hardware activation the circuitry is going from an "open" (=humming) to a "closed" state (=no humming). This is also correctly happening during resume in -11, but not in -10. In this regard earlier kernels behaved the same as -10 (so at least something promising ;-) )

Revision history for this message
Martey Dodoo (martey) wrote :

ullix, are you sure that your issue is not bug #92909 ?

Revision history for this message
ullix (ullix) wrote :

well, this bug report had been on suspend/hibernate problems with audio, and now I can't say whether this is solved because I don't have any sound in the first place.

That is for sure. Otherwise I am not sure on anything but bug #92909 is on a different sound chip. My motherboards is Asrock MB K8NF6G-VSTA with chipset NVIDIA NF-6100-405.

By the way: the very recent Knoppix 5.2 gives sound on my system, but I can't get the x-server working :-/. what is so difficult with this Vista certified MB?

Revision history for this message
Ben Collins (ben-collins) wrote :

Please retest with -12 kernel.

Changed in linux-source-2.6.20:
status: Confirmed → Needs Info
Revision history for this message
Michael R. Head (burner) wrote :

The laptop won't even hibernate now. The moon icon flashes for a while, the display goes off, but then immediately (within 10 seconds) comes back on with the gnome-screensaver password prompt. Audio does appear to work after this failed hibernation process, though.

Revision history for this message
Michael R. Head (burner) wrote :

Here's the output of running dmesg. I attempted three different hibernates, none of the suceeded in turning off the computer. They appeared to hibernate but immediately restarted. Note, this was not a reboot, the bootstrap BIOS screen with the IBM logo never comes up.

Revision history for this message
Michael R. Head (burner) wrote :

Actually, I think the problem I just described was caused by the swap partition not being turned on. Due to the other bug where swap partitions mount twice, I had removed the UUID line and replaced it with a /dev/hda5 line which no longer works (it needs to be /dev/sda5).

I'll fix this and report back.

Revision history for this message
Michael R. Head (burner) wrote :

OK, nope, no luck with 2.6.20-12, even with the swap partition on, hibernation still fails. suspend-to-ram works fine, but suspend-to-disk fails. I'll attach another dmesg output.

Changed in linux-source-2.6.20:
status: Needs Info → Confirmed
Revision history for this message
Stefano Rivera (stefanor) wrote :

I get no audio after hibernate, either. It still works after suspends.

Dmesg shows many suspends, followed by a hibernate, after which the audio didn't function.

Revision history for this message
ullix (ullix) wrote :

no sound whatsoever with 2.6.20-12 generic. In fact, it behaves EXACTLY the same as with -11, including the observation about humming and closed/open circuitry when cold booting and resuming. (I still get proper sound with -10).

Shouldn't the fact that -11 and -12 are using the same Audio device and Mixer device, and -10 is using a different one (see above), not give a hint to the no-sound problem?

Revision history for this message
Michael R. Head (burner) wrote :

My hibernation problem may be the same as bug 92461

Revision history for this message
Matthew East (mdke) wrote :

I'm the original bug reported - afraid I can't test the -12 kernel, because my system won't boot with that one...

Revision history for this message
Guilherme Salgado (salgado) wrote :

Just tried on a 2.6.21-rc4 kernel and the problem persists, so I'm afraid we won't have this fixed before feisty is released. Has it been reported upstream already? Is there any other debugging we could do to help?

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
assignee: timg-tpi → ubuntu-kernel-acpi
importance: Undecided → Low
Revision history for this message
kovan (jsceballos) wrote :

I'm also having this issue. After hibernation the sound doesn't work, but if I restart the computer it does work. I use 2.6.20-12-generic.

Revision history for this message
Adam Zieliński (zielus) wrote :

I also have this problem on my IBM R60, I'm using kernel 2.6.20-12. After resuming from hibernation internal speakers don't work, after reboot the sound is still gone. When I turn off the computer and boot Windows XP the sound is still gone. The only solution I have found it to turn off the computer remove battery and ac plug, then plug it again.

Revision history for this message
Gregg (gclaeys) wrote :

I'have the same problème with my Acer Aspire 1694.
After I hibernate the sound does not work, but as soon as I reboot it works again.
 I 'use the 2.6.20-12-generic kernel

Inside the archive :

codec_after_hibernate.txt (/proc/asound/card0/codec*/* )
dmesg
demidecode
kern.log.0
lspci-vv
lspci-vvn
sndstat_interrupt.txt (tail -2 /proc/asound/oss/sndstat AND cat /proc/interrupts)
uname -a

Revision history for this message
Sergei Genchev (sgenchev) wrote :

 I have the same (similar?) problem on my Thinkpad T42. No sound after hibernate. To get sound back I need to shut laptop down and start it back up. Reboot does not help - looks like laptop has to be powered down to reset something.
 Suspend to RAM does not kill sound.
 On the same laptop both suspend and hibernate work without any issues with Dapper - have it on another partition.
 There is nothing suspicious in dmesg; rhythmbox/totem/aplay act as they are playing fine. There is just no sound coming from speakers or headphones.

 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)

Revision history for this message
Sergei Genchev (sgenchev) wrote :

 Forgot to add to my previous post - I am running edgy , started running at herd 5 (I think 2.6.20-9-generic) and is still present in 2.6.20-13-generic .

Revision history for this message
Sergei Genchev (sgenchev) wrote :

 Forgot to add to my previous post - I am running feisty , started running at herd 5 (I think 2.6.20-9-generic) and is still present in 2.6.20-13-generic .

Revision history for this message
Frank Petzold (petzold+ubuntu) wrote :

Confirmed on ThinkPad R50p, kernel 2.6.20-13-generic. Here also, a complete power-off is required to get sound back. Not even Windows can get it back on without a power-off.

Revision history for this message
kovan (jsceballos) wrote :

I thought it would be useful to add some more info:

k@front242 ~$ uname -a
Linux front242 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
k@front242 ~$ lspci | grep audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)

I'm on an Acer Travelmate 800.

Revision history for this message
Guilherme Salgado (salgado) wrote :

Does anybody have a 2.6.19 kernel around to see if it's broken too? If not, maybe an edgy (2.6.17?) one?

Revision history for this message
zdzichu (zdzichu-gmail) wrote :

It worked fine on Edgy (at least on my ThinkPad Z61t)

Revision history for this message
Stefano Costa (steko) wrote :

Linux cycnus 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Same problem here. Acer Aspire 1650.

Revision history for this message
Ralf Doering (rdoering) wrote :

Confirmed no sound after hibernate, running on T60 with latest Feisty Kernel and modules. Problem can also be found in vanilla 2.6.20.x from kernel.org, but NOT in vanilla 2.6.19.x. Seems 2.6.20 ist broken somewhere. 2.6.17 from edgy is working too.

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 80893] Re: [Feisty] Inaudible audio upon resuming from suspend-to-disk

That's right. I already identified the merge in which the regression was
introduced (it's a merge from linux-acpi-2.6 between 2.6.20-rc1 and
2.6.20-rc2). I have only a few commits left to test before I can pinpoint the
right culprit.

Revision history for this message
Ralf Doering (rdoering) wrote :

And it's getting even stranger...
A simple shutdown or reboot (to edgy) does not bring back any sound. I have to remove my power cord AND my battery. After that sound is working again.

Revision history for this message
Guilherme Salgado (salgado) wrote :

In my case (a T60) just a shutdown is enough. Restarting doesn't help, though.

Revision history for this message
Ralf Doering (rdoering) wrote :

I own a T60 too, but confirmed with vanilla 2.6.20.x and Feistys kernel: I have to completely remove any power, including battery :(

So, if you got some results to test, fell free to offer them ;)

Revision history for this message
zdzichu (zdzichu-gmail) wrote :

I can restore sound by suspending, booting Windows (sound works then), shutting down Windows and resuming.

Revision history for this message
Guilherme Salgado (salgado) wrote :

I finally found this regression to be a consequence of http://git.kernel.org/?p=linux/kernel/git/lenb/linux-acpi-2.6.git;a=commitdiff;h=9185cfa92507d07ac787bc73d06c42222eec7239.

Can any of you guys confirm that by reverting that patch and seeing if everything works? (It works for me, of course)

Revision history for this message
jpeach (launchpadspam) wrote :

I am running 2.6.20-15-generic (Feisty Fawn) on a Thinkpad T30 and I am having the same problem. I hibernate the machine (suspend to disk). When I power back up the sound does not work. If I restart the machine it does not solve the problem. I actually have to shutdown and pull the battery and AC power for it to work. I have not tried just shutting down and then restarting.

Revision history for this message
Ralf Doering (rdoering) wrote :

Yes, reverting the change in kernel/power/main.c introduced with commit 9185cfa92507d07ac787bc73d06c42222eec7239 seems to fix this. If I understand this correctly, switching off using "platform mode" instead of "shutdown" does not work correctly at least on my Thinkpad T60. Maybe there are some hardware or BIOS related problems involved, as I have to *completely* remove power (including battery!) to bring back any sound. Is someone with connection to LKML involved with this bugreport and willing to report this issue upstream?

Revision history for this message
Guilherme Salgado (salgado) wrote :

I've reported it on the linux-acpi mailing list [1] and to the patch's
author, but nobody replied so far.

[1] http://marc.info/?l=linux-acpi&m=117716960312007&w=2

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

I can confirm this too on a IBM T42. After a suspend-to-disk sound is gone. I can however bring back sound by doing a suspend-to-ram. If any output/logs regarding this situation can be helpful, just request them.

Revision history for this message
Guilherme Salgado (salgado) wrote :

The patch author (Rafael J. Wysocki) reports that doing a

# echo shutdown > /sys/power/disk

before suspending should fix the problem, but my /etc/acpi/hibernate.sh already does that and I only get sound after resuming with that patch reverted.

Revision history for this message
mjukis (manmal-1) wrote :

My IBM X40 (Kubuntu, Fiesty) got its sound back after a suspend to RAM when I ran:

# echo shutdown > /sys/power/disk

Thanks for the tip.

Revision history for this message
Guilherme Salgado (salgado) wrote :

Here's a x86 2.6.20-15-generic feisty kernel which should fix this bug. I just tried and it worked just fine --sound works after resuming.
http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/

Since the patch author is claiming that his patch (which has been reverted on the above kernel) couldn't have caused this, it'd be good to get as many people as possible to try it and confirm.

Revision history for this message
Sergei Genchev (sgenchev) wrote :

 Un-patched kernel works! I have just installed Guilherme's kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ and the problem went away. Rafael (the patch author) may have been mistaken in thinking that it cannot affect shutdown..

Revision history for this message
Gregg (gclaeys) wrote :

I have tested also this alternative kernel ( from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ )
and it resolves the sound bug after hibernating on my acer aspire 1694.

Revision history for this message
Josh (joshhansen) wrote :

The kernel at http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixes the problem on my Thinkpad T60. Thanks, that was bugging me!

Revision history for this message
Adam Zieliński (zielus) wrote :

Kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixes problem with sound on my IBM R60

Revision history for this message
StarShock (sshock3) wrote :

Kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixes problem with sound on my IBM Thinkpad T42. Thank you for providing this unpatched kernel.

Revision history for this message
Michael Irwin (mike-manicdev) wrote :

Kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ also fixes problem with sound on my IBM Thinkpad T42.

Revision history for this message
Moritz Reiter (mo-agrav) wrote :

Will there be a fix provided through Ubuntu update facilities?

Revision history for this message
cyborgas (nuno-justoweb) wrote :

Kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixed problem with sound on my IBM Thinkpad R50.

Revision history for this message
Benoit Heurter (benoit-heurter) wrote :

This kernel also fixed problem with sound after hibernate on my Acer Travelmate 8002 LMI

Revision history for this message
sanktnelson (launchpad-maibaums) wrote :

that kernel also fixed the problem for me. I originally posted this as a separate bug https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/109526 because all my special buttons stopped working together with sound, but that kernel fixed both problems.

Revision history for this message
Michele (mikelito) wrote :

Kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixed problem with sound on my IBM Thinkpad T60.
thank you guys, I hope this "unpatched" kernel makes its way into the repositories quickly, as there are really many people out there with this bug!

Revision history for this message
Matt Mullins (mokomull) wrote :

It has also fixed problems with sound after hibernating on my Gateway 6510GZ (Intel AC'97 audio). Thank you guys. I hope this can make it into the official repositories soon.

Revision history for this message
Matthew East (mdke) wrote :

Adjusting importance given number of duplicates and comments by affected people.

Changed in linux-source-2.6.20:
importance: Low → Medium
Revision history for this message
matti (matti-jagula) wrote :

Confirming the bug with 2.6.20-15-generic, after hibernate sound is gone. Restarting doesn't restore the sound, even when booting from Windows. Suspend to Ram fixes the sound.

Any chance of getting a fix into repositories?

Revision history for this message
Jakob (jlemvig) wrote :

Confirming on Thinkpad T42 with Feisty Fawn (fresh install) and 2.6.20-15-386: No sound after hibernation or warm restart. Strangely, the sound works (e.g. in amarok) for less than a second when I un-/in-plug AC adapter. Cold restart fixes the sound. This was not an issue under Dapper.

After hibernation "everything" looks normal except:
Output of $more dmesg | grep 1f.5
[ 1948.480000] Intel ICH 0000:00:1f.5: freeze
[ 1948.480000] ACPI: PCI interrupt for device 0000:00:1f.5 disabled
[ 1948.500000] Intel ICH 0000:00:1f.5: LATE freeze
[ 2057.500000] Intel ICH 0000:00:1f.5: EARLY resume
[ 2057.540000] Intel ICH 0000:00:1f.5: resuming
[ 2057.540000] PM: Writing back config space on device 0000:00:1f.5 at offset 1 (was 2900007, writing 2900003)
[ 2057.540000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 2057.540000] PCI: Setting latency timer of device 0000:00:1f.5 to 64

Output of $lspci -vv | grep "AC'97"
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])

Revision history for this message
dmandell (dmandell) wrote :

Confirming the bug with 2.6.20-15-generic on a Thinkpad T60, after hibernate sound is gone, reboot fixes the problem.

I'd also like to confirm that the kernel posted above fixes the problem. Thanks very much for posting it!

Revision history for this message
Jared Sutton (jpsutton) wrote :

Confirmed also on a Thinkpad T40 (2373) running 2.6.20-15-generic. As noted above, suspending to ram fixes the problem.

I'll test the patched kernel posted above and post back...

Revision history for this message
Gabriel Ambuehl (gabriel-ambuehl) wrote :

Bug happens on my T60 8744 as well.

Revision history for this message
Jussi Määttä (jmaatta) wrote :

Confirmed on Thinkpad T60 2007 running 2.6.20-15-generic. The kernel patch posted above fixes the problem.

Revision history for this message
Snarkout (snarkout) wrote :

Affected by same issue on t43 - no sound after hibernate and rebooting does not fix the issue, but cold booting does. The depatched kernel resolves the issue here. Thank you very much for solving this - I'd done more or less *everything* I could think of, including resinstalling alsa. I'm glad I found this bug report - this was kicking my ass :)

Revision history for this message
Tarjei (tarjei) wrote :

Would it be possible to get a 64bit version of the above kernel? I can confirm the bug on (yet another) T60 with a Core 2 Duo.

Revision history for this message
André Rüdiger (andreruediger-deactivatedaccount) wrote :

Sorry but I accidently posted the following to a duplicate:

I can also confirm this on my T42p running feisty. Only powerdown does help. When I reboot into Feisty or Windows I still have no sound.

FWIW today I noticed something strange: When I plug in/out the AC the computer does a beep. While the beep is played (ca 1 sec) the sound works.

I hope this could give someone a clue of what is happening.

Thanks,

André

Revision history for this message
MarkBrier (mark-brier) wrote :

I have this problem on a thinkpad x31 with the following audio chipset...

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)

A full reboot is required to make sound work and sometimes that doesn't even help. I am experiencing a similar issue to the above poster; when I press the hardware volume buttons on my thinkpad, very short bursts of sounds pop through.

I have tried the modified kernel above but it doesn't fix the issue.

It's a bit of a showstopper at the moment so I'm using a vanilla compiled kernel but I'd really like to see this solved. Is there any output I can include?

Revision history for this message
sneakypete (peteburgers) wrote :

I had no sound after hibernating my Feisty Thinkpad R51. Reboot, and cold start didn't fix the problem (I didn't try removing the battery, however).

The kernel at http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixes the problem (after pressing the volume up key).

This is a very serious bug - hopefully the problematic patch can get reverted in the official Feisty kernel soon.

Thanks Guilherme - nice work!

Revision history for this message
MarkBrier (mark-brier) wrote :

Contrary to my comments above, the kernel at http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ does also fix my problem if I increase the volume using the hardware keys.

Cheers for the patched kernel. Hopefully this can be resolved officially soon as it appears to affect many different machines and lots of lovely thinkpads :(

Revision history for this message
Jared Sutton (jpsutton) wrote :

This bug seems to be fixed in vanilla kernel 2.6.21, according to http://marc.info/?l=linux-acpi&m=117829492623482&w=2 (linux-acpi list).

Revision history for this message
Guilherme Salgado (salgado) wrote :

That's correct; the bug has been fixed upstream, but I didn't have the time
to track down which specific revision fixed it so that we can ask somebody
from the Ubuntu Kernel Team to cherry pick it, so I guess we'll have to wait
because reverting the commit which introduced this bug may cause suspend to
break on other machines.

Revision history for this message
dmenis (7dennis7) wrote :

I've downloaded and installed the Vista audio drivers (http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67218) rebooted Vista and the sound worked again.

I then shutdown the PC and booted Ubuntu Feisty and e presto the sound in Ubuntu worked from the start.

I am still unsure about what caused all the problems but for now it seems to work again.

Revision history for this message
lhotari (lartsa) wrote :

My laptop is Asus Z71V . The audio device is "00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)". I also have the sound problem after resume. Backlight control doesn't work either after resuming from hibernation.

The kernel http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ helps when I have HIBERNATE_MODE=platform in /etc/default/acpi-support . The problem is that the computer won't shutoff by itself in suspend (I have to press the power button to shut it off).
After installing uswsusp and using "shutdown method = platform" in /etc/uswsusp.conf , the sound problem went away . I had to edit /etc/acpi/hibernate.sh in order to get uswsusp working (uswsusp doesn't understand the -x and -y parameters in hibernate.sh).

btw. The patched kernel also made the Asus backlight control to work after resume.

Revision history for this message
khilan (kgudka) wrote :

I can also confirm that the above unpatched kernel resolves the sound issue on my acer travelmate 8204.

Revision history for this message
khilan (kgudka) wrote :

...without the need to increase the volume

Revision history for this message
Alexander Hunziker (alex-hunziker) wrote :

One more confirmation that the above kernel fixes the bug: this time on an IBM T60 2007

Revision history for this message
frotz (frotz) wrote :

This problem manifests in a Thinkpad T42 running Feisty. I noticed a new package named "linux-mages-2.6.20-16-386" and thought this would be an official substitute for the adhoc one at http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/. Doing nothing else, this does not fix the problem. I then opened /etc/defaults/acpi-support and made sure that HIBERNATE_MODE is set to "platform".

While trying to track this bug down, I changed the T42's BIOS settings to emit a beep whenever the keyboard volume buttons are pressed. This beep normally sounds quite ordinary. When the bug is active, this beep sounds like "ZUP" as if it's being choked halfway through.

Revision history for this message
frotz (frotz) wrote :

Oops. That should be "linux-image-2.6.20-16-386".

The "ZUP" beep also occurs in the now fixed T42 during bootup. By the time the system is fully ready for use, the normal beep is back. This may indicate an underlying problem, or it could just be nothing.

Revision history for this message
David Huggins-Daines (dhuggins) wrote :

Hi! I have a Thinkpad X31 that also has this problem. For me, changing HIBERNATE_MODE in /etc/default/acpi-support to:

HIBERNATE_MODE=platform

fixed it for me, with kernel 2.6.20-15-generic, package version 2.6.20-15.27.

Revision history for this message
Snarkout (snarkout) wrote :

HIBERNATE_MODE=platofrm seems to work here as well on 2.6.20-16-generic.

Revision history for this message
Michele (mikelito) wrote :

2.6.20-16-generic + HIBERNATE_MODE=platofrm fixes for me too.

Revision history for this message
Jeroen de Ridder (j-deridder) wrote :

FYI
Changing HIBERNATE_MODE does NOT solve the problem on my ACER Ferrari laptop. Still no sound. I am on Kubuntu Feisty 2.6.20-16-generic.

When will the kernel-fix mentioned above be in repos??

Revision history for this message
Gregg (gclaeys) wrote :

Changing Hibenrate_mode with kernel Feisty 2.6.20-16-generic didn't work for me either on my acer Aspir 1690.
I'll switch back to the working modified 2.6.20-15 version given before.

Revision history for this message
ercan (ercan-yuzbasioglu) wrote :

I'd like to share the results of the trials to solve this problem on my Ubuntu Feisty 2.6.20-16-generic, running on my HP nx8220 Laptop. I have the same problem, no sound after hibernate. A soft restart solves the problem though, no battery unplug needed, but still annoying.
Changing HIBERNATE_MODE=platform did not help.
Then I installed the patch ( http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ ) without reverting the change on HIBERNATE_MODE. Did not help.
Then I changed HIBERNATE_MODE back to shutdown. It did not help either.

I actually want to deinstall this kernel patch, is there a way to do that? Because after installing it, error messages flow on my screen during the hibernation process, saying something about semaphores ( I cant read well, they flow very fast) The hibernation completes successfully though. But I am worried about the error messages.

BTW, my HP does not wake up after suspend (suspend to RAM), but I think that's another issue.

Cheers,
Ercan

Revision history for this message
Michele (mikelito) wrote :

I can also report the same bug on my sister's Fujitsu Amilo laptop, with Feisty 2.6.20-16-generic. HIBERNATE_MODE=platform did not help, whereas it did the job on my lenovo T60.
A shutdown heals the problem.
It seems this bug affect quite a lot of machines, out there....

Revision history for this message
DaWhim (dawhim01) wrote :

changing the HIBERNATE_MODE=platform works. thanks!

Revision history for this message
DaWhim (dawhim01) wrote :

forgot to mention, my machine is ibm x31 on Ubuntu Feisty 2.6.20

Revision history for this message
Martin Leopold (martin-leopold) wrote :

Yet an other success story - HIBERNATE_MODE=platform fixed the problem for my IBM x41 tablet.
linux-image-2.6.20-16-generic: Version 2.6.20-16.28
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

Cheers, Martin.

Revision history for this message
Adam Zieliński (zielus) wrote :

HIBERNATE_MODE=platform and kernel 2.6.20-16 fixed problem for my IBM R60

Revision history for this message
Alexander Hunziker (alex-hunziker) wrote :

Same for me, new stock kernel 2.6.20-16 and HIBERNATE_MODE=platform works on an IBM T60.

Does anybody know what exactly this HIBERNATE_MODE setting does?

Revision history for this message
Gregg (gclaeys) wrote :

In platform mode, you use the acpi to hibernate, if I recall correctly

Revision history for this message
tsaue (tsaue) wrote :

I notice in the posting of ullix said on 2007-03-18 that he gets sound with the audio device "HDA Generic" given in /proc/asound/oss/sndstat.
I am in exactly the same situation. I have Ubuntu 7.04 Feisty amd64 installed on a AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ and have no sound. My setup is
-------------------------------------------------------------------------------------------------------------------------
99>cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc1 emulation code)
Kernel: Linux quantonakessa 2.6.20-16-generic #2 SMP Wed May 23 00:30:47 UTC 2007 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA VIA VT82xx at 0xfbffc000 irq 17

Audio devices:
0: ALC861VD Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC660-VD
---------------------------------------------------------------------------------------------------------
However, if I boot up with Ubuntu Ultimate I get sound. Now I find
---------------------------------------------------------------------------------------------------------
100>cat $HOME/buf/ultimate/proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.12rc1 emulation code)
Kernel: Linux ubuntu 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA VIA VT82xx at 0xfbffc000 irq 98

Audio devices:
0: HDA Generic (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ID 660
----------------------------------------------------------------------------------------------------------------------------
Note that the audio device is not the same. How can I change from ALC861VD Analog to HDA Generic ?

Revision history for this message
Tom Jennings (tomj-wps) wrote : bad ("noisy") audio after hibernate/suspend

Hi, Sony FE-590, ubuntustudio (7.04)... after hibernate or suspend, I get noisy audio. Normal reboot fixes it. Audio level is OK, just "noisy", buzzy, raspy.

$ uname -a
Linux qx 2.6.20-16-lowlatency #2 SMP PREEMPT Wed May 23 01:49:41 UTC 2007 i686 GNU/Linux

No sound driver chatter in the logs at resume. /etc/init.d/alsa-utils force-reload or restart etc does not fix (and complains about 'amixer bad command')

Tried HIBERNATE_MODE= change (and reboot) no fix

Did not tried unpatched kernel; I wont as I need realtime kernel for audio

added to /etc/modprobe.d/alsa-base:
# http://baheyeldin.com/technology/linux/ubuntu-edgy-6-10-to-feisty-7-04-upgrade-sound-and-video-issue
options snd-hda-intel model=3stack

no fix

NOTE: I get similar effect (noise, buzz) when I trigger errors/bugs? in jackd, mixxx and sooperlooper. I don't have data for you there, as I haven't pinned down exactly what happens, but basically with it all running OK and in realtime mode, if I open Mixxx prefs, close, Mixxx dies. On restart of Mixxx, one of a few thins happens: jackd dies and can't restart; jackd doesnt die, or is restartable, but audio is noisy/buzzy. Sorry for the lack of detail, just FYI.

Revision history for this message
Benoit Heurter (benoit-heurter) wrote : no changes with kernel 2.6.20-16

Hi, i upgrade to kernel 2.6.20-16 but still have the sound problem.

Changing HIBERNATE_MODE to plotform does'nt change anything nor any "alsa-utils force-reload"

Revision history for this message
Jeroen de Ridder (j-deridder) wrote :

Doing a suspend to RAM and waking it up again fixed the sound. But this is no real solution.

Revision history for this message
ercan (ercan-yuzbasioglu) wrote :

Hi, I ve just noticed that, when the sound is not audible from the speakers of my laptop, I plug my headphones in and I can hear the sound from the headphone perfectly. When I plug out, no sound again.

HP nx8220
Ubuntu Feisty 2.6.20-16-generic

Cheers,
Ercan

Revision history for this message
josé (jlgdot369) wrote :

I'm using hp v3016au and have the same problem with suspend, but after removing ac plug and battery plus pressing the power button for awhile, turn on the laptop and the sound is back.

Revision history for this message
Eddie Hung (eddieh) wrote :

Can confirm this on a IBM Thinkpad X41 (not tablet). After hibernate, sound does not work. Does not come back after a soft reset - requires a hard power off and power on again to have sound. Suspending and resuming does not seem to affect sound (will check), along with a suspend/resume straight after hibernation to see if that restores sound, as some have reported. This is on the latest Feisty, 32 bit. I get no sound happens with or without headphones.

Revision history for this message
csd (csd) wrote :

Could you try this and report the change / success ? This "fix" seems to work on IBM thinkpads.

HIBERNATE_MODE in /etc/default/acpi-support to:

HIBERNATE_MODE=platform

Revision history for this message
Eddie Hung (eddieh) wrote :

I can confirm that changing HIBERNATE_MODE to platform does indeed fix it.

(And for what it's worth, resuming from when it was left on ACPI, and then suspending (to RAM) and resuming again makes the sound work again)

Could I ask what changing it to platform actually does?

Revision history for this message
Kevin Dupuy (kdupuy9) wrote :

Confirmed in Acer Aspire 3624WXCi

Revision history for this message
DeweyBaby (djs93) wrote :

Same problem with Toshiba Satellite Pro L30. Tried fixing by changing

HIBERNATE_MODE in /etc/default/acpi-support to:

HIBERNATE_MODE=platform

(now reboots through grub when starting up after hibernation)

But did not work.

Revision history for this message
Guillaume Duveau (guix) wrote :

Confirming on a Thinkpad Z60t, Feisty kernel 2.6.20-16-generic.
Sound doesn't work after a suspend-to-disk even if I reboot, I have to shutdown and start it again.
The sound still works if I plug my phones in the jack output.
The fix change the HIBERNATE_MODE=platform instead of =shutdown in /etc/default/acpi-support works.

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

Confirm on a Thinkpad T42, kernel 2.6.20-16-generic on Feisty - hibernating the system and then resuming results in a loss of sound. This is still the case after rebooting. If I shut it down, and start it back up, it works fine. I tested the HIBERNATE_MODE=platform change that others have suggested, and this seems to fix the problem.

Revision history for this message
shmi85 (shmi85) wrote :

Also confirming this bug for Thinkpad R52 running Fiesty, kernel 2.6.20.16. Hibernate and Suspend both killed the sound; restarting did not help. Booting in Windows XP Professional was fine -- the sound still worked without additional driver download. The HIBERNATE_MODE=platform seemed to do the trick. Sound is now working after Hibernate, mp3, ogg, system sound and embedded video in browser.

Revision history for this message
NoWhereMan (e.vacchi) (uncommonnonsense) wrote :

Confirming on Packard Bell r1938, which boots with acpi=force irqpoll (suspend-to-ram & wakeup recovers sound as said here)

Revision history for this message
shmi85 (shmi85) wrote :

Just an update on my Thinkpad R52 running Fiesty. As stated earlier, I tried this fix:

HIBERNATE_MODE in /etc/default/acpi-support to:

HIBERNATE_MODE=platform

as requested by csd. Unfortunately, although it worked for two days, I suspended the machine earlier this afternoon (power-saving mode rather than the powered down shutdown or whatever of hibernate) and now the sound is no longer working, even after a completely shutdown and restart. In addition, occasionally I'm getting an extremely high pitched feedback-like whine from the machine and quieter and lower in pitch whines slightly more frequently, usually when I move the laptop but not always. In the acpi-support file, there's a line refering to the suspend function and changing it from S3 to S1. I'm assuming that has something to do with amount of power conserved and I was hesitant to fiddle with it because I really have no idea what changing the values does.

I'd like to try using the unpatched kernel, since it seemed to work for a lot of people, but I'm very new at running a new linux system and I don't know how to compile and install a new kernel while leaving the rest of the system (GUI settings, etc) unchanged. If anyone's willing to help me out with the specifics of this operation, please feel free to email me at shmi85 at yahoo dot com. Thanks!

Revision history for this message
Michele (mikelito) wrote : Re: [Bug 80893] Re: [Feisty] Inaudible audio upon resuming from suspend-to-disk

weird, shmi85, on my T60 HIBERNATE_MODE=platform does the trick, and
many other success stories come from thinkpad owners.

first, I would try the unpatched kernel, for which Guilherme Salgado has
built a deb package (link above in this thread): download
http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/linux-image-2.6.20-15-generic_2.6.20-15.28_i386.deb

go to the download location in the shell, and issue the command
$> sudo dpkg -i linux-image-2.6.20-15-generic_2.6.20-15.28_i386.deb

pretty easy, thanks to Guilherme.

since you state thate your sound problem are not fixed by a hard
shutdown, I would also check if the settings of the sound card are
screwed up (no sound could come from a muted channel, and hiss from a
feedback due to the microphone input too loud and not muted).

just issue
$> sudo alsamixer

play around with the levels and see if anything changes.

cheers
m

On Tue, 2007-06-26 at 04:35 +0000, shmi85 wrote:
> Just an update on my Thinkpad R52 running Fiesty. As stated earlier, I
> tried this fix:
>
> HIBERNATE_MODE in /etc/default/acpi-support to:
>
> HIBERNATE_MODE=platform
>
> as requested by csd. Unfortunately, although it worked for two days, I
> suspended the machine earlier this afternoon (power-saving mode rather
> than the powered down shutdown or whatever of hibernate) and now the
> sound is no longer working, even after a completely shutdown and
> restart. In addition, occasionally I'm getting an extremely high pitched
> feedback-like whine from the machine and quieter and lower in pitch
> whines slightly more frequently, usually when I move the laptop but not
> always. In the acpi-support file, there's a line refering to the suspend
> function and changing it from S3 to S1. I'm assuming that has something
> to do with amount of power conserved and I was hesitant to fiddle with
> it because I really have no idea what changing the values does.
>
> I'd like to try using the unpatched kernel, since it seemed to work for
> a lot of people, but I'm very new at running a new linux system and I
> don't know how to compile and install a new kernel while leaving the
> rest of the system (GUI settings, etc) unchanged. If anyone's willing to
> help me out with the specifics of this operation, please feel free to
> email me at shmi85 at yahoo dot com. Thanks!
>

Revision history for this message
MarkBrier (mark-brier) wrote :

Changing HIBERNATE_MODE to platform on my Thinkpad x31 fixes the problem, I am able to perform a hibernate/resume cycle and sound works fine.

Revision history for this message
aivarsak (aivarsak) wrote :

Sound disappears after hibernate for me too, I tried almost every suggestion above - nothing resolved this problem.
The only thing I was unable to try is hibernate on Linux -> log in win -> check the sound -> go back to linux - I don`t have win on may laptop, speaking of which - Feisty with 2.6.20-16-generic kernel on IBM R50e.

If boot from live CD, sounds works great. I even reinstalled alsa, nothing helps :(
Could someone please help me to solve this issue?

Revision history for this message
aivarsak (aivarsak) wrote :

I didn`t found the way to get my sound back. I do not want to reinstall ubuntu, for this purpose I can use windows ;)
Is there anybody with the same problem or more preferably with the solution?
It is pretty annoying to live 2 days without any noise from my laptop except beeps during plug in/out the AC ;)
Please help to get back voice for my computer!

Revision history for this message
Michael R. Head (burner) wrote :

The HIBERNATE_MODE=platform trick worked great on my Thinkpad T30.

Revision history for this message
simon H. Rasmussen (simras) wrote :

I run Feisty on a T42.
I have the problem as diagnosed here:

resume_from_disk => no sound
resume_from_RAM => sound
restart => no change (if I had (no)sound before I would have (no)sound after)

and as André Rüdiger described:
>When I plug in/out the AC the computer does a beep.
>While the beep is played (ca 1 sec) the sound works.

The fix changing HIBERNATE_MODE=shutdown to HIBERNATE_MODE=platform in /etc/default/acpi-support worked very well. I don't know if it possibly could introduce other bugs or if it's a true fix.

And thank you all for great input and the fix of course.

Revision history for this message
st0nes (markwiddicombe) wrote :

New Prolink style-note -- no sound at all:-

Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc1 emulation code)
Kernel: Linux mark-laptop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA VIA VT82xx at 0xcb000000 irq 22

Audio devices:
0: HDA Generic (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Generic 1106 ID 1708

None of foregoing "fixes" works.

Revision history for this message
Alexander Potapenko (ramosian-glider) wrote :

Confirmed the "no sound" bug running Feisty on Thinkpad T30, kernel 2.6.20-16-386. I also have a problem with humming speakers when the lid is closed and the volume is set to maximum. Neither of these issues had appeared running Edgy (2.6.17-11-386)

Setting HIBERNATE_MODE to platform probably fixes the sound, but the speakers still hum. Anyway, thanks to all folks who posted their success stories :)

Revision history for this message
Thomas de Graaff (thomasdegraaff) wrote :

The fix:
[quote]To try this edit /etc/default/acpi-support
and set 'HIBERNATE_MODE=shutdown'
to 'HIBERNATE_MODE=platform'[/quote]
didn't work for me, it made my keyboard disfunctional after hibernation.
But it was worth trying, for installing a new kernel, which did solve the issue for me, for such a problem is like using a bulldozer to kill an ant.

Revision history for this message
Sebastian Nohn (sebastian-nohn) wrote :

I can confirm the behavior and HIBERNATE_MODE "fix" on my T43p.

Revision history for this message
Robert (robrwo) wrote :

I can confirm that this change to the HIBERNATE_MODE setting seems to fix the problem for my Z60m.

Revision history for this message
vieraci (vince-rocktown) wrote :

I've got a T40 with Fiesty Fawn installed and the HIBERNATE_MODE fix did nothing.
Strange thing is when I reboot I get sound on the Username screen, (that's the sound of bongos) and then nothing.
The volume control has a red crossed circle over it, and clicking on it brings up a dialog saying something to the effect:
   "...GStreamer plugin isn't installed or the soundcard isn't configured..."

Revision history for this message
vieraci (vince-rocktown) wrote :

I figured that something was blocking the sound between login and startup, so I decided to add another user and see what happens. Sure enough, new user had sound. So I went and took a look at my user properties and discovered that somehow I lost all privileges. I gave myself all priveliges, saved, rebooted and now I have sound for both users, even after cycling thru a hibernate.

Revision history for this message
Bradley M. Kuhn (bkuhn-ebb) wrote : HIBERNATE_MODE=platform works for T41 2379-DJU

I have a IBM ThinkpadT41 2379-DJU. I had the exact behavior described through most of this ticket: software thinks that alsa is still active and sound works, but nothing is audible.

I put HIBERNATE_MODE=platform into /etc/default/acpi-support and the problem was resolved.

Just adding a piece of useful information to those trying to close the bug.

Revision history for this message
Kåre Hviid (ukh) wrote :

I just came to the same conclusion as Bradley above:

Changing from "shutdown" to "platform" for HIBERNATE_MODE is a quick fix for the issue on a fairly recent Lenovo ThinkPad T60, Feisty 2.6.20-16-generic.

Revision history for this message
Lloyd Dewolf (lloydde) wrote :

$ uname -r
2.6.20-16-generic

Bug still repros on Lenovo ThinkPad T42p (IBM ThinkPad T42p), and workaround HIBERNATE_MODE=platform described above seems to work.

Revision history for this message
Benoit Heurter (benoit-heurter) wrote :

> uname -r
> 2.6.20-16-generic

Laptop : Acer TravelMate 8000

workaround HIBERNATE_MODE=platform __doesn't__ work

Revision history for this message
Gan (gan-yinghung) wrote :

Bradley's quick fix works for me. Thanks!

2.6.20-16-generic. Feisty. Thinkpad X31.

Revision history for this message
Mark Stosberg (markstos) wrote :

For me, suspend-to-ram works on a ThinkPad T23 with feisty. However with Gutsy on a ThinkPad T23, sound does not work after a suspend. A friend's ThinkPad T21 also has broken sound-after-suspend on Gutsy.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

This will be retargeted towards the Hardy kernel once it is released. I've tagged this as "hardy-kernel-candidate" so that we make sure to retarget this report once the new release is out. However against the linux-source-2.6.22 package this is being marked as "Won't Fix" as it does not meet the criteria for a stable release update. To learn more about the stable release update process please refer to https://wiki.ubuntu.com/StableReleaseUpdates . Thanks!

Changed in linux-source-2.6.20:
status: Confirmed → Won't Fix
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hardy Heron Alpha2 was recently released. It contains an updated version of the kernel. You can download and try the new Hardy Heron Alpha2 release from http://cdimage.ubuntu.com/releases/hardy/alpha-2/ . Please note that you can only test Suspend (Suspend to RAM) from the LiveCD, in order to test Hibernate (Suspend to Disk) you'll have to install. If you you have a free partition or something and can install, please verify if this bug still exists or not and report back your results. General information regarding the release can also be found here: http://www.ubuntu.com/testing/hardy/alpha2 . Thanks!

Changed in linux:
status: New → Incomplete
Revision history for this message
Hans Deragon (deragon) wrote :

I confirm that on an HP Compaq nw8240 with Hardy Heron 08.04 Alpha 4 (A4), kernel 2.6.24-7-generic, after both a suspend-to-ram and suspend-to-disk, sound plays nicely.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

This problem has been gone for me too in both gutsy and now hardy. I'm closing this bug now. Feel free to reopen this bug (set the status to new) if it is still an issue. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in linux:
status: Incomplete → Fix Released
Revision history for this message
johannes (j00hannes) wrote :

after upgrading to xubuntu hardy hibernation startet working but the problem mentioned here appears too.

Revision history for this message
Eric Lorenz (eric-emlorenz) wrote :

It appears that I have stumbled across this issue also...I have tried both editing the HIBERNATE-MODE line, complete power down, but not sure about the difference on how to do a 'suspend to disk' vs. 'suspend to RAM'?

IBM T43
Ubuntu 9.04

This is getting really frustrating...it appears that it is thought this issue is fixed, but I cannot fix mine, Any help appreciated.

Eric Lorenz

Changed in linux (Ubuntu):
status: Fix Released → New
Revision history for this message
lhotari (lartsa) wrote :

Eric,

see
http://www.thinkwiki.org/wiki/Installing_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_ThinkPad_T61#Sound_.28too_quiet.2C_no_sound_after_resume.29

try adding
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10

to /etc/modprobe.d/alsa-base

Revision history for this message
Eric Lorenz (eric-emlorenz) wrote :

I tried adding the line you mentioned...it had no effect after rebooting.

When I opened the file...it was empty until I added this line...could that be right?

The only thing I have not done yet is trying the 'kernel switch'...I am not sure if I need to go there, and I am nervous about doing that as I am afraid I'll break something else that's working?

(Yes, I am relatively new to Linux, and this is the first time I have taken my laptop completely over to Ubuntu. I develop the website for our church, and I need to have audio capability as I work with audio files on the site. If I can't get this to work, this could be a deal-breaker!) :-(

Revision history for this message
lhotari (lartsa) wrote : Re: [Bug 80893] Re: [Feisty] Inaudible audio upon resuming from suspend-to-disk

On 05.01.2010 00:26, Eric Lorenz wrote:
> I tried adding the line you mentioned...it had no effect after
> rebooting.
>
> When I opened the file...it was empty until I added this line...could
> that be right?
>
> The only thing I have not done yet is trying the 'kernel switch'...I am
> not sure if I need to go there, and I am nervous about doing that as I
> am afraid I'll break something else that's working?
>
> (Yes, I am relatively new to Linux, and this is the first time I have
> taken my laptop completely over to Ubuntu. I develop the website for our
> church, and I need to have audio capability as I work with audio files
> on the site. If I can't get this to work, this could be a deal-breaker!)
> :-(
>
>
Try workarounds in these bug reports:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/292129
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/202089

or if you can, try upgrading to Ubuntu 9.10 ( instructions:
http://www.ubuntu.com/getubuntu/upgrading ) (I think I didn't have any
sound problems after upgrading to 9.10, I have a thinkpad T500 though).

you might find some advices on the http://www.thinkwiki.org site too.

Regards,

Lari

Revision history for this message
Eric Lorenz (eric-emlorenz) wrote :

Lari,

Thanks for the help...I did (before I saw your reply) do the 9.10 upgrade last night, no change in the sound situation. I'll take a look at some of the other bug reports, and see if anything there can help. If not, I guess I'll have to just live with it for now until I have the time to backup, reformat and start again from scratch. <sigh>.

Thanks,
Eric

Revision history for this message
lhotari (lartsa) wrote :

One more bug to check for workarounds:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/270593

"logging out, (killing pulse-audio) followed by alsa force-reload
re-instates sound."

I'd also try suspend/resume by starting Ubuntu 9.10 from the liveCD
(installation cd). That's how you can check if some config file from
older releases causes the problem. I previously had that problem but I
cannot remember how I fixed the problem (reinstalling acpid ,
acpi-support, alsa-base or something like that).

Montel Edwards (montel)
Changed in linux (Ubuntu):
status: New → Fix Released
Revision history for this message
Eric Lorenz (eric-emlorenz) wrote :

I have tried starting off of the LiveCD and same- no sound at all. I am a little unclear as to what you are describing...would that be-

1. Log Out
2. go into a terminal session
3. issue 'alsa force-reload'

or do i have to explicitly issue 'kill pulseaudio'

I see that the status has again been changed to 'fix released'. To be honest, this has been frustrating. It seems that this issue has affect several different versions of Ubuntu, and many different laptop models. There have also been differing fixes for this. Everything I have tried has not worked. The only other possibility I can see is that somehow my internal sound module on the T43 somehow got switched 'off', but I have been in the BIOS several times and cannot find a switch for it anywhere.

I hope that somehow I have not broken my sound card permanently...as I need it for what I do. Bottom line is, the issue is not fixed for me, I hope I can find a solution soon- not sure what else to do at this point. Thanks for your help.

Revision history for this message
Eric Lorenz (eric-emlorenz) wrote :

SUCCESS!

Thank you for all being paitent with me...it appears that my failure to read the minucha (sp?) was my downfall. Early on in the notes on this bug, people talked about shutting down and restarting as opposed to re-booting. Apparently what my eyes were glossing over was the part about having to remove the battery, as well as powering down...<insert sheepish, emberrassed look here>. I was reading through the notes ONE more time tonight to see if I could catch anything else...and I found that. Did it, and all is well again.

Thanks!

Eric

Curtis Hovey (sinzui)
Changed in linux-source-2.6.20 (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.