This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:vim3:applications:earc [2023/11/08 20:59] nick created |
products:sbc:vim3:applications:earc [2023/11/08 23:08] (current) sravan |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | e | + | ====== VIM3L eARC ====== |
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | eARC is a feature implemented in the latest HDMI 2.1 specification, | ||
+ | |||
+ | This documentation will guide you how to record audio from the HDMI eARC channel. | ||
+ | |||
+ | <WRAP important > | ||
+ | Only for VIM3L with 5.15 kernel. | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== TV side setup ===== | ||
+ | |||
+ | In order to use the eARC function, you need to make sure your TV is also eARC capable, It is denoted by the eARC label on the HDMI Input. | ||
+ | |||
+ | You can also check with the TV vendor about how to enable it. | ||
+ | |||
+ | ===== VIM3L side setup ===== | ||
+ | |||
+ | You also need to enable the eARC Receiver function on VIM3L, you can follow the command below to enable eARC RX. | ||
+ | |||
+ | ```shell | ||
+ | $ amixer cset name=' | ||
+ | ``` | ||
+ | |||
+ | Check its status if it's enabled: | ||
+ | |||
+ | ```shell | ||
+ | $ amixer cget name=' | ||
+ | numid=41, | ||
+ | ; type=BOOLEAN, | ||
+ | : values=on | ||
+ | ``` | ||
+ | |||
+ | '' | ||
+ | |||
+ | ===== Hardware connection ===== | ||
+ | |||
+ | You need to use a HDMI 2.1 cable to connect VIM3L HDMI port to your TV HDMI Input with eARC function. | ||
+ | |||
+ | ===== Check eARC status ===== | ||
+ | |||
+ | You can follow the command below to check the status of eARC. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | numid=24, | ||
+ | ; type=ENUMERATED, | ||
+ | ; Item #0 ' | ||
+ | ; Item #1 ' | ||
+ | ; Item #2 ' | ||
+ | : values=2 | ||
+ | ``` | ||
+ | |||
+ | ^ Value ^ Status ^ | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |||
+ | If your setup is correct, it should be '' | ||
+ | |||
+ | <WRAP tip > | ||
+ | You can also try to unplug/ | ||
+ | </ | ||
+ | |||
+ | ===== Record audio from eARC ===== | ||
+ | |||
+ | You can check the record sound devices with '' | ||
+ | |||
+ | ```shell | ||
+ | $ arecord -l | ||
+ | **** List of CAPTURE Hardware Devices **** | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: AMLAUGESOUND [AML-AUGESOUND], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | ``` | ||
+ | |||
+ | The '' | ||
+ | |||
+ | ```shell | ||
+ | arecord -D hw:0,6 -f S16_LE -c 2 -r 48000 / | ||
+ | ``` | ||
+ |