Bug 432956 - Sound card locked after suspend/resume cycle
Summary: Sound card locked after suspend/resume cycle
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ConsoleKit
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-15 12:59 UTC by James
Modified: 2013-03-06 03:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-11-11 13:40:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James 2008-02-15 12:59:37 UTC
Description of problem:
After a suspend/resume cycle in Gnome, my snd_intel8x0 ends up
locked/monopolised by some (as yet unidentified) application. Other ALSA
programs cannot find the sound card (e.g., alsamixer, alsacard). Logging out and
back in again fixes this. I'm not using PulseAudio. Filing under alsa-utils
since I don't know which of the following components is to blame:

Version-Release number of selected component (if applicable):
alsa-lib-1.0.15-1.fc8
alsa-utils-1.0.15-1.fc8
pm-utils-0.99.4-6.fc8
ConsoleKit-0.2.3-1.fc8
gnome-power-manager-2.20.0-6.fc8
kernel-2.6.23.15-137.fc8

How reproducible:
Always

Steps to Reproduce:
1. Suspend.
2. Resume.
3. Run alsamixer, alsacard, etc.
  
Actual results:
Sound card "not found" or otherwise unavailable.

Expected results:
Sound as normal.

Comment 1 James 2008-02-15 18:41:27 UTC
Examples of output:

[james@harmony ~]$ alsamixer 

alsamixer: function snd_ctl_open failed for default: No such device
[james@harmony ~]$ alsacard 
Open error: No such device
0[james@harmony ~]$ 


Comment 2 Andre Robatino 2008-02-15 20:52:51 UTC
If you identify which normally loaded modules are associated with your card, you
might be able to rmmod them and then modprobe them to make it work again (much
less drastic than reboot).  I have a TV tuner card which doesn't work after
suspend unless I rmmod and then modprobe the associated modules.

Comment 3 James 2008-02-15 21:46:15 UTC
It doesn't require anything so drastic ;) I don't need to go so far as module
reloads, this seems to be a userspace issue. I should point out that the problem
isn't as consistent as I first thought. When I tried switching to a text-mode
console and logged in as root, alsa-mixer ran fine. Switched back to X and
normal sound service resumed... possibly a ConsoleKit bug?


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