[ICE1712 - M Audio Audiophile 24/96, playback] no sound after suspend/resume in 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have perfectly fine sound playback from my Audiophile 2496 card on initial boot, but every time without fail when I suspend I have no audio upon resuming. When sound is gone after resume, activity can still be seen on the VU meters of envy24control when a sound is played. I found and tried a few recommendations online for dealing with similar problems, to no avail. Specifically:
Running "killall pulseaudio" does not solve the problem.
Running "sudo alsa force-reload" does not solve the problem.
Logging out and back in does not solve the problem.
Disabling my onboard Intel HD audio in the BIOS does not solve the problem.
Adding "options snd-ice1712 model=audiophile" to the end of my /etc/modprobe.
The only thing that DOES solve the problem is a full reboot, which works every time.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: alsa-base 1.0.25+
ProcVersionSign
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelMo
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfdff4000 irq 44'
Mixer name : 'Realtek ALC888'
Components : 'HDA:10ec0888,
Controls : 41
Simple ctrls : 23
Card1.Amixer.info:
Card hw:1 'SP2208WFP'
Mixer name : 'USB Mixer'
Components : 'USB05a9:2643'
Controls : 4
Simple ctrls : 3
Card2.Amixer.info:
Card hw:2 'M2496'/'M Audio Audiophile 24/96 at 0xbf00, irq 16'
Mixer name : 'ICE1712 - multitrack'
Components : ''
Controls : 48
Simple ctrls : 26
Card3.Amixer.info:
Card hw:3 'HDMI'/'HDA ATI HDMI at 0xfddfc000 irq 45'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,
Controls : 6
Simple ctrls : 1
Card3.Amixer.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Date: Sat Aug 11 20:12:25 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: RV630 audio device [Radeon HD 2600 Series] - HDA ATI HDMI
Symptom_Type: Sound works for a while, then breaks
Title: [ICE1712 - M Audio Audiophile 24/96, playback] fails after a while
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/24/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.18
dmi.board.name: 0FM586
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Inspiron 530
dmi.sys.vendor: Dell Inc.
mtime.conffile.
After some more tinkering I've developed a reliable workaround to this issue. The tricky part seems to be getting the ice1712 driver to unload in the short time window between killing pulseaudio and when pulseaudio automatically restarts. I am still a linux novice so I am certain that there are better ways to go about this, but here is the script that has worked for me:
sudo killall pulseaudio; sudo rmmod snd_ice1712
sudo modprobe snd_ice1712
killall pulseaudio
This can be set to run automatically upon resume by creating a file in /usr/lib/ pm-utils/ sleep.d with the above code wrapped like so (found this tip at http:// ubuntuforums. org/showthread. php?t=1484156):
#!/bin/bash
case "$1" in
hibernate|suspend)
#do nothing
;;
thaw|resume)
sudo killall pulseaudio; sudo rmmod snd_ice1712
sudo modprobe snd_ice1712
killall pulseaudio
;;
*)
;;
esac
exit $?
This workaround seems to have my sound working as expected after resume with no interventions necessary.