danj Posted October 9, 2023 Share Posted October 9, 2023 Hi everyone! I am struggling with audio input. Output audio from LINEOUT pins works fine out-of-the-box! What about the audio input? To begin with I have tested the arecord command with these error messages… TEST 1 root@rockpi-s:~# arecord -f S16_LE -d 10 -r 16000 --device=“hw:0,0” test-mic.wav Recording WAVE ‘test-mic.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Mono arecord: set_params:1358: Channels count non available TEST 2 root@rockpi-s:~# arecord -f S16_LE -c 2 -d 10 -r 16000 --device=“hw:0,0” test-mic.wav Recording WAVE ‘test-mic.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo arecord: set_params:1416: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 16000 PERIOD_TIME: 125000 PERIOD_SIZE: 2000 PERIOD_BYTES: 8000 PERIODS: 4 BUFFER_TIME: 500000 BUFFER_SIZE: 8000 BUFFER_BYTES: 32000 TICK_TIME: 0 Any suggestions? 0 Quote Link to comment Share on other sites More sharing options...
danj Posted October 10, 2023 Author Share Posted October 10, 2023 (edited) Hi again! Todays update: When doing the dmesg command it returns the following below. How to interpret these error messages? root@rockpi-s:~# dmesg [ 375.793438] rockchip-i2s-tdm ff320000.i2s: ASoC: error at snd_soc_dai_hw_params on ff320000.i2s: -22 [ 375.793546] ff320000.i2s-rk3308-hifi: ASoC: error at __soc_pcm_hw_params on ff320000.i2s-rk3308-hifi: -22 Edited October 10, 2023 by danj 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.