#2478: linux 2.6.39: alsa state not correctly restored in resume
---------------------+------------------------------------------------------
Reporter: lindi | Owner: openmoko-kernel
Type: defect | Status: new
Priority: high | Milestone:
Component: kernel | Version:
Severity: blocker | Keywords: kernel alsa suspend resume linux 2.6.39
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible: always
---------------------+------------------------------------------------------
Comment(by GNUtoo):
with echo mem > /sys/power/state I've:
{{{
root@om-gta02:~# speaker-test -t sine
speaker-test 1.0.24.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Time per period = 2.965543
0 - Front Left
Time per period = 2.990143
0 - Front Left
T[ 70.315000] soc-audio soc-audio: resume work item may be lost
Write error: -86,Streams pipe error
[ 70.430000] dma2: channel has nothing loaded
Write error: -32,Broken pipe
}}}
doesn't work means that at resume I've no more sound.
Denis.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2478#comment:12>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac