[SOLVED]: Rock 5B: v9.4: no audio

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    root@rock5b01:~# cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=4
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    echo $G_DISTRO_NAME $G_RASPBIAN

  • Kernel version | uname --all
    root@rock5b01:~# uname --all
    Linux rock5b01 5.10.160-legacy-rk35xx #1 SMP Wed May 15 03:04:45 UTC 2024 aarch64 GNU/Linux

  • Architecture | dpkg --print-architecture
    arm64

  • SBC model | dpkg --print-architecture or (EG: RPi3)
    Rock 5b

  • Power supply used | (EG: 5V 1A RAVpower)
    PD 12V 5A

  • SD card used | (EG: SanDisk ultra)
    none, booting from NVME :slight_smile:

Actual behaviour

Xfce Desktop
no audio output 3,5 jack, hdmi1, hdmi2

Extra details

root@rock5b01:~# cat /etc/asound.conf 
pcm.!default {
	type plug
	slave.pcm {
		type hw
		card 4
		device 0
	}
}

ctl.!default {
	type hw
	card 4
}

root@rock5b01:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiphdmi0 [rockchip-hdmi0], device 0: rockchip-hdmi0 i2s-hifi-0 [rockchip-hdmi0 i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: rockchiphdmi1 [rockchip-hdmi1], device 0: rockchip-hdmi1 i2s-hifi-0 [rockchip-hdmi1 i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: rockchipdp0 [rockchip-dp0], device 0: rockchip-dp0 spdif-hifi-0 [rockchip-dp0 spdif-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 4: rockchipes8316 [rockchip-es8316], device 0: dailink-multicodecs ES8316 HiFi-0 [dailink-multicodecs ES8316 HiFi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@rock5b01:~/Downloads# aplay -Dhw:4,0 1kHz_44100Hz_16bit_30sec.wav
Playing WAVE '1kHz_44100Hz_16bit_30sec.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: set_params:1358: Channels count non available
root@rock5b01:~/Downloads# speaker-test

speaker-test 1.2.8

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
 0 - Front Left
Time per period = 0.008222
 0 - Front Left
Time per period = 2.731027
 0 - Front Left
Time per period = 2.731274
 0 - Front Left
Time per period = 2.729308

- no audio

Any hints for this issue?

maybe @MichaIng has an idea

… played around with the dietpi-config Audio-Options, reboot and use alsamixer

Now i have on hw:0,0 (rockchiphdmi0) an audio signal over my monitor.
speaker-test -c2 works.

Switched back to device hw:4,0 (rockchipes8316), reboot and use alsamixer.
No audio, but i hear a “plop”-tone when i switch some options with alsamixer.
speaker-test -c2 don’t works, only a “plop”-tone was created…

Please try to enable the auto-conversion plugin in dietpi-config audio options.

Hi.

apt install linux-{image,dtb}-vendor-rk35xx.

root@rock5b02:~# uname -a
Linux rock5b02 6.1.43-vendor-rk35xx #1 SMP Wed May 29 01:45:25 UTC 2024 aarch64 GNU/Linux

reboot

Now hw:4.0 works after some playing with alsamixer.

:slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.