NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

audio1(vcaudio0): device timeout



Hello,

After the success with gnuradio I decided to test another useful hamradio program. I started playing with my Afedri-Net receiver with ham/gqrx software under NetBSD Raspberrypi 4 and after a few seconds the waterfall screen hung. I first suspected from network cause receiver is connected through ethernet, but I soon discovered that deactivating the audio demodulator,  waterfall continued working (obviously without audio output).

 After several hours of thinking, I came to the conclusion that it was an audio driver related issue.

dmesg output is full of messages like theese:

[ 76001,055812] audio1(vcaudio0): device timeout
[ 76004,055832] audio1(vcaudio0): device timeout
[ 76007,055853] audio1(vcaudio0): device timeout
[ 76225,035004] audio1(vcaudio0): device timeout
[ 76228,061940] audio1(vcaudio0): device timeout
[ 76231,061957] audio1(vcaudio0): device timeout
[ 76501,061762] audio1(vcaudio0): device timeout
[ 76504,061781] audio1(vcaudio0): device timeout
[ 76507,061842] audio1(vcaudio0): device timeout
[ 76694,616746] audio1(vcaudio0): device timeout
[ 76697,616761] audio1(vcaudio0): device timeout
[ 76700,616776] audio1(vcaudio0): device timeout
[ 76871,574464] audio1(vcaudio0): device timeout
[ 76874,574479] audio1(vcaudio0): device timeout
[ 76877,574494] audio1(vcaudio0): device timeout

If I try to "audiocfg test" the device fails:

netbsd-raspa4# audiocfg list
0: [*] audio1 @ vcaudio0: vchiq auds 3
       playback: 2ch, 48000Hz
       record:   unavailable
       (P-) slinear_le 16/16, 2ch, 48000-48000Hz
1: [ ] audio0 @ uaudio0: USB audio
       playback: unavailable
       record:   2ch, 32000Hz
       (-R) slinear_le 16/16, 2ch, { 16000 }
       (-R) slinear_le 16/16, 2ch, { 24000 }
       (-R) slinear_le 16/16, 2ch, { 32000 }
netbsd-raspa4#

netbsd-raspa4# audiocfg test 0
0: [*] audio1 @ vcaudio0: vchiq auds 3
       playback: 2ch, 48000Hz
       record:   unavailable
       (P-) slinear_le 16/16, 2ch, 48000-48000Hz
  testing channel 0...audiocfg: write: Resource temporarily unavailable
netbsd-raspa4#


After some hours I tried again and it miraclously restablished itself  and without a reboot it continued working fine for several hours. Also tested that audacity worked fine sending output to the audio device. I was happy but thought that the bug would return again.

This morning I started the receiver and the problem appeared again.

Is it a driver issue? How can I restart the audio to recover from that situation? should I fill a bug report?

Thanks so much.

Regards.

Ramiro.






Home | Main Index | Thread Index | Old Index