Hi there. Can anyone confirm if the (ubuntu) linux drivers for vim4 support earc? I have seen stories with the vim3l, but never found a confirmation that someone manged to do the same with a vim4. I would greatly appreciate if someone could help with this.
Hello @underthetable
There is no eARC support for VIM4.
Hi. Thank you very much for the reply.
I was taking a look at the 5.15 source code and it looks like eARC could just be enabled in the dts and dtsi files. Do you have an idea if that would work ?
so I had a go at building 5.15 for the vim4 with earc enabled. I can see the earc recording device, and the earc toggles between 0 (disconnected) and 1 (arc) when plugged out / in the TV. However when I try to record I get an error (see below).
khadas@Khadas:~$ amixer -c 0 cget name=‘eARC_RX attended type’
numid=34,iface=MIXER,name=‘eARC_RX attended type’
; type=ENUMERATED,access=rw------,values=1,items=3
; Item #0 ‘DISCONNECT’
; Item #1 ‘ARC’
; Item #2 ‘eARC’
: values=1
khadas@Khadas:~$ sudo arecord -D hw:0,6 -f S16_LE -c 2 -r 48000 /tmp/out.wav
Recording WAVE ‘/tmp/out.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
arecord: pcm_read:2240: read error: Input/output error