Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound loss after suspend to ram
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
A.S. Pushkin
Apprentice
Apprentice


Joined: 09 Nov 2002
Posts: 273
Location: dx/dt, dy/dt, dz/dt, t

PostPosted: Mon Feb 12, 2018 2:55 pm    Post subject: Sound loss after suspend to ram Reply with quote

I have finally restored the ability of KDE to suspend to ram. It worked until the upgrade to KDE5,
but a persistent problem still exists. What use to occur still does and that is when the system is suspended
to ram and then awaken there is no sound. Only after rebooting is sound restored. I've done
many searches and yet to find anything that answers this problem. Does anyone have a clue
just what is happening?


EDIT: I may have discovered a part of the problem, but I'm unsure how to fix it. Below is just a portion of my dmesg
output. This is just a small portion. Any remarks would be help.

smpboot: Booting Node 0 Processor 7 APIC 0x7
[12944.727449] cache: parent cpu7 should not be sleeping
[12944.727745] CPU7 is up
[12944.733642] ACPI: Waking up from system sleep state S3
[12944.735894] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
[12944.735909] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[12944.735912] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[12944.746009] PM: noirq resume of devices complete after 11.773 msecs
[12944.746356] PM: early resume of devices complete after 0.326 msecs
[12944.746398] e1000e 0000:00:19.0: System wakeup disabled by ACPI
[12944.746519] rtc_cmos 00:02: System wakeup disabled by ACPI
[12944.746793] i8042 kbd 00:05: System wakeup disabled by ACPI
[12944.746926] sd 2:0:0:0: [sda] Starting disk
[12944.746926] sd 3:0:0:0: [sdc] Starting disk
[12944.746927] sd 2:0:1:0: [sdb] Starting disk
[12944.747201] ACPI Error: Field [CMDX] at 224 exceeds Buffer [SCBF] size 168 (bits) (20160831/dsopcode-236)
[12944.747204] ACPI Error: Method parse/execution failed [\GTFB] (Node ffff88081e0cb690), AE_AML_BUFFER_LIMIT (20160831/psparse-543)
[12944.747353] ACPI Error: Method parse/execution failed [\_SB.PCI0.SAT0.CHN0.DRV1._GTF] (Node ffff88081e0cb898), AE_AML_BUFFER_LIMIT (20160831/psparse-543)



TIA
_________________
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell


Last edited by A.S. Pushkin on Thu Mar 22, 2018 9:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12247

PostPosted: Tue Feb 13, 2018 3:00 am    Post subject: Reply with quote

What did you do to determine that sound is not working? On which kernel versions did you do this? Are you sure the problem was caused by the upgrade to KDE Plasma, not by a kernel upgrade? Does your sleep procedure mute the sound card? Some scripts mute on sleep to make it safe to wake the system in quiet places (such as libraries).
Back to top
View user's profile Send private message
A.S. Pushkin
Apprentice
Apprentice


Joined: 09 Nov 2002
Posts: 273
Location: dx/dt, dy/dt, dz/dt, t

PostPosted: Tue Feb 13, 2018 2:31 pm    Post subject: Sound loss after suspend to ram Reply with quote

I think your question is a good one. I may have mis-spoken. I don't think it was a Plasma upgrade as I think
sound loss was an issue in each case. I'd not considered that sound may have been intentionally muted.
I'm not certain where to look for that, but will.

Thanks for that input!
_________________
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12247

PostPosted: Wed Feb 14, 2018 3:04 am    Post subject: Reply with quote

To check for muting (and low volume, which can cause similar symptoms), use alsamixer if you prefer graphical navigation or amixer if you want to print out all the sound state (good for sharing on the forum).

You could also try simple test programs like speaker-test (read the manual page for best usage mode for your case). I expect that your problem is that no sound can be emitted, rather than that particular programs fail post-suspend.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum