Changes

Jump to: navigation, search

Orange Pi CM4

147 bytes added, 17:26, 18 September 2023
HDMI audio playback test
<li><p>First use a Micro HDMI to HDMI cable to connect the Orange Pi development board to the TV (other HDMI displays need to ensure that they can play audio)</p></li>
<li><p>Then check the serial number of the HDMI sound card. From the output below, you can know that the HDMI sound card is '''card 1'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''aplay -l'''</p>
<p>**** List of PLAYBACK Hardware Devices ****</p>
<p>card 0: rockchiprk809 [rockchip-rk809], device 0: dailink-multicodecs rk817-hifi-0 [dailink-multicodecs rk817-hifi-0]</p>
:<p>Subdevices: 0/1</p>:<p>Subdevice #0: subdevice #0</p>
<p>'''card 1: rockchiphdmi [rockchip,hdmi], device 0: fe400000.i2s-i2s-hifi i2s-hifi-0 [fe400000.i2s-i2s-hifi i2s-hifi-0]'''</p>
:<p>'''Subdevices: 0/1'''</p>:<p>'''Subdevice #0: subdevice #0'''</p>:<p>'''Subdevice #0: subdevice #0'''</p>|}</li>
<li><p>Then use the '''aplay''' command to play the audio file that comes with the system. If the sound can be heard on the HDMI display or TV, it means that the hardware can be used normally.</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''aplay -D hw:<span style="color:#FF0000">1</span>,0 /usr/share/sounds/alsa/audio.wav'''</p>|}</li></ol>
<span id="how-to-test-recording-using-commands"></span>
 
=== How to test recording using commands ===

Navigation menu