Gentoo Archives: gentoo-user

From: Marcus Wanner <marcusw@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No sound after suspend to ram + resume...
Date: Thu, 26 Nov 2009 02:01:54
Message-Id: 4B0DCFF8.1040002@cox.net
In Reply to: Re: [gentoo-user] No sound after suspend to ram + resume... by Mick
1 On 11/25/2009 5:10 PM, Mick wrote:
2 > On Wednesday 25 November 2009 19:29:43 Marcus Wanner wrote:
3 >
4 >> I just set up suspend to ram on my old Dell Dimension 8200. It has a
5 >> "Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio
6 >> Accelerator]" sound card which uses the snd_cs46xx kernel driver. After
7 >> suspending to ram (using hibernate-ram) and resuming, sound no longer
8 >> works. I checked out dmesg, and it says that (among other things):
9 >>
10 >> during suspend:
11 >> [ 354.947535] Sound Fusion CS46xx 0000:02:07.0: PCI INT A disabled
12 >> during resume:
13 >> [ 355.029211] Sound Fusion CS46xx 0000:02:07.0: restoring config space
14 >> at offset 0xf (was 0x18040100, writing 0x18040103)
15 >> [ 355.029231] Sound Fusion CS46xx 0000:02:07.0: restoring config space
16 >> at offset 0x5 (was 0x0, writing 0xfe100000)
17 >> [ 355.029239] Sound Fusion CS46xx 0000:02:07.0: restoring config space
18 >> at offset 0x4 (was 0x0, writing 0xfe2ff000)
19 >> [ 355.029246] Sound Fusion CS46xx 0000:02:07.0: restoring config space
20 >> at offset 0x3 (was 0x0, writing 0x4000)
21 >> [ 355.029256] Sound Fusion CS46xx 0000:02:07.0: restoring config space
22 >> at offset 0x1 (was 0x4100000, writing 0x4100102)
23 >> [ 355.128883] Sound Fusion CS46xx 0000:02:07.0: PCI INT A -> GSI 16
24 >> (level, low) -> IRQ 16
25 >> this is the interesting bit:
26 >> [ 365.672980] cs46xx: failure waiting for FIFO command to complete
27 >>
28 >> I searched the web, but found nothing relevant. Any help would be very
29 >> much appreciated.
30 >>
31 >
32 > Check the various hybernation/acpi config files. There should be the option
33 > somewhere in there to stop alsasound when it hybernates and start it again on
34 > resume.
35 >
36 That doesn't work, thanks for the suggestion though. I even tried
37 running "/etc/init.d/alsasound stop" from a terminal, and sound kept
38 playing. I added "RestartServices alsasound" to common.conf, and suspend
39 + resumed. Going down, audio continued until the screen went black, then
40 it "jittered" until the computer actually turned off (1/2 second later).
41 When I pressed the power button to resume, I heard a pop, but nothing
42 else. I think I need to actually restart the drivers and the hardware
43 after resuming...and ideas?
44
45 Marcus

Replies

Subject Author
Re: [gentoo-user] No sound after suspend to ram + resume... Mick <michaelkintzios@×××××.com>