Openmoko Bug #1599: Suspend / resume breaks audio

Openmoko Public Trac bugs at docs.openmoko.org
Fri Jul 18 20:33:10 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:                              |  
----------------------------------------+-----------------------------------
Changes (by phyce):

  * milestone:  => OM-2007.2


Comment:

 Some more testing (suspending while playing) :

 root at om-gta02:~# aplay Alias.wav &
 root at om-gta02:~# Playing WAVE 'Alias.wav' : Signed 16 bit Little Endian,
 Rate 44100 Hz, Stereo

 root at om-gta02:~#
 root at om-gta02:~#
 root at om-gta02:~# apm -s
 Suspended. Trying resume. root at om-gta02:~# Done.
 underrun!!! (at least 36217.829 ms long)

 [No sound anymore]

 root at om-gta02:~# ps -edf
 [...]
 root      1412  1407  4 20:22 pts/0    00:00:01 aplay Alias.wav
 [...]

 root at om-gta02:~# kill 1412
 root at om-gta02:~# Aborted by signal Terminated...

 [1] + Done(1)                    aplay Alias.wav
 root at om-gta02:~#
 root at om-gta02:~# aplay Alias.wav
 Playing WAVE 'Alias.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
 Stereo

 [aplay hangs. No sound anymore until reboot]

 I checked logread, some interesting parts (maybe) :
 Jul 18 20:22:35 om-gta02 user.info kernel: soc-audio soc-audio: starting
 resume work
 Jul 18 20:22:36 om-gta02 user.info kernel: soc-audio soc-audio: resume
 work completed
 Jul 18 20:22:36 om-gta02 user.err kernel: dma2: channel has nothing loaded
 Jul 18 20:22:36 om-gta02 user.err kernel: dma2: channel has nothing loaded

 using 2007.2 updated to a recent kernel and userspace (see above)

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1599#comment:8>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list