I'm trying to start sound. The device is created, but the error is "Write error: -5,Input/output error."
The logs show the entry
[ 7.411495] sun6i-dma 7121000.dma-controller: private_candidate: dma1chan0 busy
[ 20.743313] sun6i-dma 7121000.dma-controller: private_candidate: dma1chan0 busy
[ 20.743325] sun6i-dma 7121000.dma-controller: private_candidate: dma1chan1 busy
[ 20.743391] sun6i-dma 7121000.dma-controller: private_candidate: dma1chan0 busy
[ 20.743400] sun6i-dma 7121000.dma-controller: private_candidate: dma1chan1 busy
[ 20.743409] sun6i-dma 7121000.dma-controller: private_candidate: dma1chan2 busy
Why is it busy?
# speaker-test -Dhw:2 -r48000 -c2 -tsine -f1000
speaker-test 1.2.14
Playback device is hw:2
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 1000.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 131072
Period size ra[ 194.914904] sun6i-dma 7121000.dma-controller: vchan 0000000060790fd8: txd 00000000925572c7[2]: submitted
[194.914931] dma dma1chan2: vchan 0000000060790fd8: issued
[ 194.914968] sun6i-dma 7121000.dma-controller: pchan 0: alloc vchan 0000000060790fd8
[194.914980] dma dma1chan2:
[ 194.914980] desc: p - 0x00000000a9840060 v - 0x00000000be392dcf
[ 194.914980] c - 0x03820481 s - 0xa9a00000 d - 0x07116020
[ 194.914980] l - 0x0000bb80 p - 0x00000008 n - 0xa9840040
[ 194.914998] sun6i-dma 7121000.dma-controller: Common register:
[ 194.914998] mask0(0000): 0x00000002
[ 194.914998] mask1(0004): 0x00000000
[ 194.914998] pend0(0010): 0x00000000
[ 194.914998] pend1(0014): 0x00000000
[ 194.914998] stats(0030): 0x00000001
[194.915015] sun6i-dma 7121000.dma-controller: Chan 0 reg:
[ 194.915015] ___en(0000): 0x00000001
[ 194.915015] pause(0004): 0x00000000
[ 194.915015] start(0008): 0xa9840060
[ 194.915015] __cfg(000c): 0x00000000
[ 194.915015] __src(0010): 0x00000000
[ 194.915015] __dst(0014): 0x00000000
[194.915015] count(0018): 0x00000000
[ 194.915015] _para(001c): 0x00000000
[194.915015]
nge from 16 to 65536
Periods = 4
was set period_size = 12000
was set buffer_size = 48000
0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error