Bug 422751 - no audio after suspend/resume
Summary: no audio after suspend/resume
Keywords:
Status: CLOSED DUPLICATE of bug 384271
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 8
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 422311 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-13 01:30 UTC by Bryan Che
Modified: 2009-01-07 18:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-28 17:54:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pulseaudio -vvv output (7.90 KB, text/plain)
2007-12-23 15:21 UTC, Julian Sikorski
no flags Details

Description Bryan Che 2007-12-13 01:30:56 UTC
Description of problem:
After I did a recent yum update of my Lenovo T60, when I do a suspend/resume on
my laptop, I have sound after I resume.  If I kill X and login again, sound is
back.  Previous to this update, sound worked after a suspend/resume.

Version-Release number of selected component (if applicable):
pulseaudio-0.9.7-0.17.svn20071017.fc8

How reproducible:
very

Steps to Reproduce:
1.suspend
2.resume
3.
  
Actual results:
no sound

Expected results:
sound works

Additional info:

Comment 1 Julian Sikorski 2007-12-16 10:39:16 UTC
I am not sure if this is related to pulseaudio, but Fedora 7 definitely did not
have such problem. Looks like the default audio device disappears:
alsamixer: function snd_ctl_open failed for default: No such device
Note that I don't have alsa-plugins-pulseaudio installed. Also, this does not
happen for me every time. Quite often, though.

Comment 2 krlynch 2007-12-17 19:48:00 UTC
Same hardware, same problem.   For me, it is also intermittent, but somewhat
over half the wakeups fail.

I can make the problem "go away" by either logging out, or switching to a new
user (using the "fast-user-switch-applet"), logging out that user, and switching
back to the primary user.  The primary user now has sound again.  This
workaround has succeeded in roughly 10/10 tries.

Comment 3 Lubomir Kundrak 2007-12-20 11:40:41 UTC
*** Bug 422311 has been marked as a duplicate of this bug. ***

Comment 4 Lubomir Kundrak 2007-12-20 14:46:09 UTC
Could you please attach ouptut of "pulseaudio -vvv"?

Do this
# Kill the existing pulseaudio daemon
$ pulseaudio -k
# Get the log
$ pulseaudio -vvv 2>&1 |tee log



Comment 5 Mauricio Pretto 2007-12-22 10:14:20 UTC
Hello there
since last fedora updates the problem isn't happening here anymore .


Comment 6 Julian Sikorski 2007-12-23 15:21:10 UTC
Created attachment 290305 [details]
pulseaudio -vvv output

Here you go.

Comment 7 Matt Britt 2008-01-07 23:46:09 UTC
*sigh* Same problem, same symptoms.  Also intermittent..  I can't really
reproduce it by trying, but it will invariably happen during normal use (several
suspends/resumes in a day).  The log file I got from pulseaudio is very similar
to the one attached above.  My hardware is intel8x0.

Comment 8 Matt Britt 2008-01-07 23:47:20 UTC
(In reply to comment #7)
> *sigh* Same problem, same symptoms.  Also intermittent..  I can't really
> reproduce it by trying, but it will invariably happen during normal use (several
> suspends/resumes in a day).  The log file I got from pulseaudio is very similar
> to the one attached above.  My hardware is intel8x0.

I forgot to mention, restarting hald "fixes" the problem for me, though I might
as well just restart the computer at that point.

Comment 9 Tomas Mraz 2008-01-09 22:29:48 UTC
This is much rather ConsoleKit/hald problem than pulseaudio.

Comment 10 Markus Berg 2008-01-10 10:15:48 UTC
I'm having the same problem, intermittently.  I'm using a home built system
(Asus A8N nVidia-based motherboard with built-in sound) with Fedora 9 x86_64.

My workaround is this:
1. fuser -k /dev/snd/*
2. rmmod snd_hda_intel
3. modprobe snd_hda_intel
4. restart pulseaudio as the current user.

This workaround has worked every time except one.  That time I rmmod/modprobed
all snd-modules down to soundcore, and after that it worked.

Comment 11 Markus Berg 2008-01-10 10:23:38 UTC
Sorry for the spam, typo in my previous comment.  That should be "Fedora 8 x86_64".

Comment 12 Julian Sikorski 2008-01-22 18:50:45 UTC
Indeed, service haldaemon restart brings the sound back. So does switching to
vt1 for a moment and then back to X. Apparently, reloading sound modules also
helps. Since this issue is quite annoying, and looks like stalled, I'm CCing hal
and ConsoleKit maintainer.

Comment 13 Michel Lind 2008-01-28 23:24:19 UTC
The interesting thing is, immediately after resuming,

`ps x | grep pulse` shows nothing, but trying to restart pulseaudio results in
the claim that pulseaudio is already running.

pulseaudio --kill then wipes my entire notification area. I guess restarting
haldaemon is the less painful way of getting sound back.

Comment 14 Lubomir Kundrak 2008-02-28 17:54:06 UTC
Fixing hal would be also one way to avoid pain...

*** This bug has been marked as a duplicate of 384271 ***


Note You need to log in before you can comment on or make changes to this bug.