Openmoko Bug #1599: Suspend / resume breaks audio
Openmoko Public Trac
bugs at docs.openmoko.org
Tue Aug 19 19:44:31 CEST 2008
#1599: Suspend / resume breaks audio
-------------------------------------------+--------------------------------
Reporter: phyce | Owner: openmoko-kernel
Type: defect | Status: new
Priority: normal | Milestone: Om2007.2
Component: System Software | Version: GTA02v5
Severity: normal | Resolution:
Keywords: sound audio suspend resume | Blockedby:
Reproducible: | Blocking:
-------------------------------------------+--------------------------------
Comment(by yarikoptic):
I RESOLVED IT -- details follow:
ok -- attached things (although i thought browsing through dirrectories
and diffing would be more 'interesting')
Mainly I tested audio with calling my cell phone and checking if I have a
ring tone -- after resume -- no ring tone. Then I accept the call and
listen if I can hear anything -- and nothing...
also -- with mplayer:
prior to suspend
mplayer -ao alsa /opt/./Qtopia/etc/SystemRingTones/phonering.wav
plays ringtone fine and exits
after suspend (apm -s) (Actually after resume ;-) ): it doesn't play and
doesn't exit, looping in
nanosleep({0, 10000000}, NULL) = 0
ioctl(6, 0xc0844123, 0x83de18) = 0
ioctl(6, 0xc0844123, 0x83de18) = 0
ioctl(6, 0xc0844123, 0x83de18) = 0
where
1644 open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_APPEND) = 6
root at om-gta02:~# fuser /dev/snd/pcmC0D0p
1382 1387
root at om-gta02:~# ps auxw | grep 138[27]
root 1382 0.1 2.6 31772 3248 ? SLl 17:13 0:01
root 1387 0.1 1.5 17448 1952 ? SLl 17:13 0:01
WTF?
root at om-gta02:/proc/1382# ls -l /proc/138[27]/exe
lrwxrwxrwx 1 root root 0 Aug 19 17:14 /proc/1382/exe ->
/usr/lib/speech-dispatcher-modules/sd_espeak
lrwxrwxrwx 1 root root 0 Aug 19 17:14 /proc/1387/exe ->
/usr/lib/speech-dispatcher-modules/sd_flite
HO HO -- could it be silly gpsdrive issue? ;-)
opkg remove navit speech-dispatcher
mplayer.... WORKS!!!!!
doing suspend again (apm -s)
mplayer works...
set suspend in configuration and let is suspend
so please free to reassign this to anywhere you like ;-)
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1599#comment:21>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list