No sound on resume after suspend in 12.10 [closed]
The issue has begun within 12.10. Before it worked perfectly. Now, even restarting alsa won't work, I have to reboot.
Please, ask for details. I'm running Ubuntu 12.10, unity DE with gnome 3.6, no third parts drivers.
Thanks
Here you are with sudo lshw
output: http://pastebin.com/vh3SGcZa
I've tried removing and readding the audio kernel module - however
Can't sudo modprobe -r snd_hda_intel
. It gives FATAL: Module snd_hda_intel is in use
Here you are with /etc/modprobe.d/alsa-base.conf
content: http://pastebin.com/yvArB2ex
My laptop model is HP 6730s
In /var/log/syslog
I found the following:
kernel: [ 33.847111] pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x40 [snd_hda_intel] returns -11
cat /sys/module/snd_hda_intel/parameters/power_save
gives 0
cat /sys/bus/pci/devices/0000\:00\:1b.0/power/control
gives on
pacmd list-sinks
:
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9959
volume: 0: 100% 1: 100%
0: 0,00 dB 1: 0,00 dB
balance 0,00
base volume: 100%
0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le ch 2 48000 Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0,00 ms; range is 1,00 .. 341,33 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 4
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "AD198x Analog"
alsa.id = "AD198x Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel"
alsa.long_card_name = "HDA Intel at 0xd8900000 irq 49"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.name = "82801I (ICH9 Family) HD Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Stereo analogico"
device.description = "Audio interno Stereo analogico"
alsa.mixer_name = "Analog Devices AD1984A"
alsa.components = "HDA:11d4194a,103c3614,00100400 HDA:11c11040,103c1378,00100200"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output: Uscita analogica (priority 9900, available: unknown)
properties:
active port: <analog-output>
Solution 1:
Have you tried the following operations?
sudo gedit /etc/pm/sleep.d/50alsa
Add the folloowing lines into the file.
case "$1" in
hibernate|suspend)
# Stopping is not required
;;
thaw|resume)
/sbin/alsa force-reload
;;
*) exit $NA
;;
esac
Press Ctrl+S to save this file,then make executable this file with the following command.
sudo chmod +x /etc/pm/sleep.d/50alsa