Openmoko Bug #1599: Suspend / resume breaks audio
Openmoko Public Trac
bugs at docs.openmoko.org
Sat Jul 19 01:51:38 CEST 2008
#1599: Suspend / resume breaks audio
----------------------------------------+-----------------------------------
Reporter: phyce | Owner: openmoko-kernel
Type: defect | Status: new
Priority: normal | Milestone: OM-2007.2
Component: System Software | Version: GTA02v5
Severity: normal | Resolution:
Keywords: sound audio suspend resume | Blocking:
Blockedby: |
----------------------------------------+-----------------------------------
Comment(by mwester):
Executing "pactl suspend-sink 1" prior to suspend, and "pactl suspend-sink
0" upon resume will work around this issue. These commands can be
executed by apm automagically, if apm is handling the suspend/resume
activity.
Fortunately this is the case for the 2007.2 images, so you can simply add
the preceding commands to the /etc/apm/suspend.d and /etc/apm/resume.d
directories.
See http://moko.mwester.net/fixes.html for an example that performs these
steps (along with some other suspend/resume related actions).
--
I've dug into the code a little; it seems that pulseaudio is doing
something with a file in /sys that triggers this problem; clearly upon
resume the driver is in some state that is different than the way
pulseaudio left it when the system suspended.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1599#comment:10>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the openmoko-kernel
mailing list