diff mbox

No sound after suspend-to-ram

Message ID CALcwt_Acar7dhMHtEo9PtSi+RBcpXXDcQTNHZr-CEfNYhhWmRA@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

George Gugulea Oct. 22, 2015, 8:38 a.m. UTC
After a fresh reboot, the sound works ok but if I put the computer to
sleep (pm-suspend), after it wakes up there is no sound anymore.

I did try 'alsa force-reload' after suspend but still no sound.
After 'pm-hibernate' sound is back again.

I found an old thread here:
https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
to have the same problem which is still unsolved; maybe I can help
with more info.

I attached the 'alsa-info.sh' output before and after suspend:
'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
below 80k mail size rule: diff -u alsa-info.txt.before
alsa-info.txt.after > alsa-info.txt.patch)

The only difference between before and after is this one:
@@ -241,7 +241,7 @@
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x12 0x12]
-  Converter: stream=4, channel=0
+  Converter: stream=0, channel=0
   SDI-Select: 0
   PCM:
     rates [0x160]: 44100 48000 96000


The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
but the 2y older version with no touch

If I boot into windows (8.1) everything works great, including sound
(even after suspend)

Comments

Takashi Iwai Oct. 22, 2015, 3:15 p.m. UTC | #1
On Thu, 22 Oct 2015 10:38:37 +0200,
George Gugulea wrote:
> 
> After a fresh reboot, the sound works ok but if I put the computer to
> sleep (pm-suspend), after it wakes up there is no sound anymore.
> 
> I did try 'alsa force-reload' after suspend but still no sound.
> After 'pm-hibernate' sound is back again.
> 
> I found an old thread here:
> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
> to have the same problem which is still unsolved; maybe I can help
> with more info.
> 
> I attached the 'alsa-info.sh' output before and after suspend:
> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
> below 80k mail size rule: diff -u alsa-info.txt.before
> alsa-info.txt.after > alsa-info.txt.patch)
> 
> The only difference between before and after is this one:
> @@ -241,7 +241,7 @@
>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>    Amp-In vals:  [0x12 0x12]
> -  Converter: stream=4, channel=0
> +  Converter: stream=0, channel=0
>    SDI-Select: 0
>    PCM:
>      rates [0x160]: 44100 48000 96000
> 
> 
> The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
> but the 2y older version with no touch
> 
> If I boot into windows (8.1) everything works great, including sound
> (even after suspend)

Did you test with 4.3-rc kernel?  3.19 is very old.

It's likely codec-specific stuff, as there is no difference seen in
alsa-info.sh outputs (the converter is the value assigned dynamically
at playback, so it doesn't matter at all).


Takashi
diff mbox

Patch

--- alsa-info.txt.before	2015-10-21 16:41:42.777532532 +0300
+++ alsa-info.txt.after	2015-10-21 16:41:41.269514082 +0300
@@ -3,7 +3,7 @@ 
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Tue Oct 20 20:37:31 UTC 2015
+!!Script ran on: Tue Oct 20 20:42:33 UTC 2015
 
 
 !!Linux Distribution
@@ -241,7 +241,7 @@ 
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x12 0x12]
-  Converter: stream=4, channel=0
+  Converter: stream=0, channel=0
   SDI-Select: 0
   PCM:
     rates [0x160]: 44100 48000 96000
@@ -537,7 +537,7 @@ 
 crw-rw----+ 1 root audio 116,  6 Oct 20 00:10 /dev/snd/hwC0D0
 crw-rw----+ 1 root audio 116,  7 Oct 20 00:10 /dev/snd/hwC0D3
 crw-rw----+ 1 root audio 116,  4 Oct 20 23:11 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116,  3 Oct 20 23:10 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116,  3 Oct 20 23:42 /dev/snd/pcmC0D0p
 crw-rw----+ 1 root audio 116,  5 Oct 20 21:33 /dev/snd/pcmC0D3p
 crw-rw----+ 1 root audio 116,  1 Oct 20 21:33 /dev/snd/seq
 crw-rw----+ 1 root audio 116, 33 Oct 20 00:10 /dev/snd/timer