Hi,
I currently have a Dahlia Carrier Board with a Verdin AM62 SoM attached. I tried following the guides from Audio (Linux) | Toradex Developer Center and How to play audio on Torizon OS using Alsa and C/C++ | Toradex Developer Center to run audio but none of it worked for me. In my case, I have plugged my headphones (Sennheiser MX375) into the minijack plug on the carrier board and then I ran a container with my Avalonia FB/DRM application (I also added alsa-utils to the torizonPackages.json in order to run aplay). On that container I tried running both aplay on a .wav file and speaker-test. None of these worked and the headphones didn’t produce any sound at all even though no errors were outputed to the console. The only weird thing that I’ve noticed is that I see the files on my host OS in /proc/asound/ but I don’t see anything in this folder on the container.
My docker-compose.yml file contains a record for binding /dev/snd with the container
- “c 116:* rmw”
# cat /proc/asound/cards
0 [verdinnau8822 ]: simple-card - verdin-nau8822
verdin-nau8822
## aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: verdinnau8822 [verdin-nau8822], device 0: 2b00000.audio-controller-nau8822-hifi nau8822-hifi-0 [2b00000.audio-controller-nau8822-hifi nau8822-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
## aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hw:CARD=verdinnau8822,DEV=0
verdin-nau8822, 2b00000.audio-controller-nau8822-hifi nau8822-hifi-0
Direct hardware device without any conversions
plughw:CARD=verdinnau8822,DEV=0
verdin-nau8822, 2b00000.audio-controller-nau8822-hifi nau8822-hifi-0
Hardware device with all software conversions
default:CARD=verdinnau8822
verdin-nau8822, 2b00000.audio-controller-nau8822-hifi nau8822-hifi-0
Default Audio Device
sysdefault:CARD=verdinnau8822
verdin-nau8822, 2b00000.audio-controller-nau8822-hifi nau8822-hifi-0
Default Audio Device
dmix:CARD=verdinnau8822,DEV=0
verdin-nau8822, 2b00000.audio-controller-nau8822-hifi nau8822-hifi-0
Direct sample mixing device
I tried running these commands in order to check the sound
## amixer -c 0 sset Headphone unmute
## amixer -c 0 set Headphone 50%
## aplay test.wav
tdx-info
Software summary
------------------------------------------------------------
Bootloader: U-Boot
Kernel version: 6.6.84-7.2.0-g8bf00740f043 #1-Torizon SMP PREEMPT Thu Mar 27 16:42:10 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/ec9ba211477b683a44806a237c2aef7ced86fcf9aaf09a12fbbb778532976ed6/0
Distro name: NAME="Torizon OS"
Distro version: VERSION_ID=7.2.0-build.13
Distro variant: VARIANT="Docker"
Hostname: verdin-am62-15380640
------------------------------------------------------------
Hardware info
------------------------------------------------------------
HW model: Toradex Verdin AM62 WB on Verdin Development Board
Toradex version: 0076 V1.1C
Serial number: 15380640
Processor arch: aarch64
------------------------------------------------------------