Hello everybody,
I'm currently trying to get some audio out of a Raspberry PI 4 Model B.
So far, I installed alsa-utils, alsa-firmware , sof-firmware and alsa-ucm-conf.
I hooked up the 3.5mm jack to an external amplified speaker and turned it all the way up.
Running aplay music.flac displays this message:
$this->bbcode_second_pass_code('', 'Playing raw data 'music.flac' : Unsigned 8 bit, Rate 8000 Hz, Mono')
but I can't hear any sound.
Here's the weird part:
Running aplay -l as a normal user gives
$this->bbcode_second_pass_code('', 'aplay: device_list:274: no soundcards found...')
However, as root, I get
$this->bbcode_second_pass_code('', '**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
')
Nevertheless, that's still only the two hdmi sound devices. The jack output doesn't appear.
I found this post, which suggests running amixer cset numid=3 1. However, that doesn't change anything either.
The wiki suggests adding
$this->bbcode_second_pass_code('', 'dtparam=audio=on') to /boot/config.txt. Where exactly should I put that line? Adding it before the initrd line doesn't work either.