Speakers: Onboard MAX98357 I2S amplifiers; connect the two supplied mini speakers to hear output. HS0_MI2S is shared between left and right for stereo.
Microphone: Single onboard microphone (MMICT5848) on HS2_MI2S, configured to left channel by default
cat /proc/asound/cards # List registered ALSA sound cardsaplay -l # List playback (output) devicesarecord -l # List capture (input) devicessystemctl --user status pipewire wireplumber --no-pager # Confirm the audio services are activewpctl status # Show the default sink/source and routingpw-top # Live view of the audio graph (Ctrl+C to exit)pw-cli ls Node # List PipeWire nodes
Expected:/proc/asound/cards lists at least one card, and aplay -l and arecord -l each show a device. For example:
0 [<card-name> ]: <driver> - <card description> <card long name>**** List of PLAYBACK Hardware Devices ****card 0: <card-name> [<card description>], device 0: <pcm-name> [] Subdevices: 1/1
wpctl status should list a default Sink and Source (each marked with *). If /proc/asound/cards is empty or wpctl status shows no default sink or source, the audio stack did not come up: see the Troubleshooting section below.
Copy a short test clip to the device so you have something to play. test.wav is any small PCM WAV file (48 kHz, 16-bit stereo works well): use one from the host, or create one with ffmpeg -f lavfi -i "sine=frequency=440:duration=5" -ar 48000 -ac 2 test.wav.
scp test.wav ubuntu@<ip-addr>:/home/ubuntu/
2
Set default sink and volume
wpctl status # Find sink node marked with *wpctl set-default <sink-node> # If not already setwpctl set-volume @DEFAULT_AUDIO_SINK@ 1.0
3
Play audio
pw-play /home/ubuntu/test.wav -v
You should hear the clip play through the connected speakers, and pw-play prints a progress and peak-level readout while it runs:Press Ctrl+C to stop.