Hi,
We have an tlv320aic3105 audio cape and have BeagleBone Green as host, mcasp0 is configured for i2S. Playback is working, but Capture doesn't save any voice data. I run the command
arecord -vv -f dat /dev/null
and get the error message
arecord: pcm_read:2031: read error: Input/output error
(the screenshot is attached below)
In this test, LINE1L is used fro MIC input.
To support tlv320aic3105 audio codec, I change and build device tree am335x-bonegreen.dtb with ti-processor-sdk-linux-am335x-evm-03.02.00.05, CODEC driver is tlv320aic3x.
I don't know what is the cause of this error, Below are some questions I can think of:
- Does tlv320aic3x fully support tlv320aic3105 or need some changes?
- Is audio-routing wrong? Below is audio-routing for MIC:
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"LINE1L", "Line In";
3. Any other cause?
Thanks for your help,
Bruce
/////////////////////////////////////////////
root@beaglebone:~# arecord -vv -f dat /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'DA830 EVM' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
appl_ptr : 0
hw_ptr : 0
arecord: pcm_read:2031: read error: Input/output error
//////////////////////////////////////////////////////////////////////