Jump to content

Recommended Posts

Posted

I have an Orange Pi 5 board, installed with the 25.8 Debian Bookworm + Cinnamon desktop system. I have switched (using armbian-config) to the edge kernel in order to test the HDMI audio support in the new Linux kernel, but I'm not getting any audio out. The ALSA HDMI card seems to be present (see below), but there's no sound using speaker-test or aplay.

 

Quote

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: hdmi0 [hdmi0], device 0: fddf0000.i2s-i2s-hifi i2s-hifi-0 [fddf0000.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: rockchipes8388 [rockchip,es8388], device 0: fe480000.i2s-es8328-hifi-analog es8328-hifi-analog-0 [fe480000.i2s-es8328-hifi-analog es8328-hifi-analog-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

I have enabled the hdmirx overlay through armbian-config also, but the result is the same.

 

Is there anything extra that should be configured in order to get audio output ? 

 

Output from armbianmonitor  - https://paste.armbian.com/gegorimako

 

Posted

amixer doesn't show any controls on the first card (and so does alsamixer) - amixer -c 0 shows nothing, while amixer -c 1 has a lot of output, but I think it's just showing the controls for the rockchipes8388 audio card (the analog output, not the HDMI).

 

 

 

 

Posted (edited)
4 minutes ago, IBV said:

What does "aplay -L" show ?

 

Here's the output, shows PCMs for both the HDMI and analog audio outputs:

 

Quote

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
hw:CARD=hdmi0,DEV=0
    hdmi0, fddf0000.i2s-i2s-hifi i2s-hifi-0
    Direct hardware device without any conversions
plughw:CARD=hdmi0,DEV=0
    hdmi0, fddf0000.i2s-i2s-hifi i2s-hifi-0
    Hardware device with all software conversions
sysdefault:CARD=hdmi0
    hdmi0, fddf0000.i2s-i2s-hifi i2s-hifi-0
    Default Audio Device
dmix:CARD=hdmi0,DEV=0
    hdmi0, fddf0000.i2s-i2s-hifi i2s-hifi-0
    Direct sample mixing device
usbstream:CARD=hdmi0
    hdmi0
    USB Stream Output
hw:CARD=rockchipes8388,DEV=0
    rockchip,es8388, fe480000.i2s-es8328-hifi-analog es8328-hifi-analog-0
    Direct hardware device without any conversions
plughw:CARD=rockchipes8388,DEV=0
    rockchip,es8388, fe480000.i2s-es8328-hifi-analog es8328-hifi-analog-0
    Hardware device with all software conversions
sysdefault:CARD=rockchipes8388
    rockchip,es8388, fe480000.i2s-es8328-hifi-analog es8328-hifi-analog-0
    Default Audio Device
dmix:CARD=rockchipes8388,DEV=0
    rockchip,es8388, fe480000.i2s-es8328-hifi-analog es8328-hifi-analog-0
    Direct sample mixing device
usbstream:CARD=rockchipes8388
    rockchip,es8388
    USB Stream Output

 

> How do you test the HDMI sound ?

 

speaker-test or aplay (with a .wav file).

Edited by mitu
Posted
1 minute ago, mitu said:

speaker-test or aplay (with a .wav file).

Sorry I mean Which kind of output device: TV, Monitor with build in speakers? 

 

If you try "aplay -D plughw:0,0 your_audio_file.wav", still no sound?

Posted
4 minutes ago, IBV said:
9 minutes ago, mitu said:

 

Sorry I mean Which kind of output device: TV, Monitor with build in speakers? 

 

I have a HDMI monitor with speakers included.

 

4 minutes ago, IBV said:

If you try "aplay -D plughw:0,0 your_audio_file.wav", still no sound?

 

Yes.

 

Posted

aplay -D plughw:0,0 -f S16_LE -r 48000 -c 2 your_audio_file.wav ?

 

this will force a more common audio format (in case the monitor supports specific audio formats.

 

If not working, no idea, hw detection looks ok.

Posted
4 minutes ago, IBV said:

aplay -D plughw:0,0 -f S16_LE -r 48000 -c 2 your_audio_file.wav ?

 

It doesn't seem to make a difference:

Quote


aplay -D plughw:0,0 -f S16_LE -r 48000 -c 2  Alesis-Fusion-Nylon-String-Guitar-C4.wav
Playing WAVE 'Alesis-Fusion-Nylon-String-Guitar-C4.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

 

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines