what is the status of sound on raspberry pi 3 aarch64?

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

what is the status of sound on raspberry pi 3 aarch64?

Postby feedc0de » Tue Jun 14, 2022 8:36 pm

Hi,

I cannot get a usb sound card to work on the raspberry pi 3B+ with archlinux aarch64,

in fact I do not even see any sound devices, like the onboard headphones jack.

is snd_bcm2835 available?

i got pipewire, jack, and dsp software all up and running, I'm just missing the audio interfaces.

$this->bbcode_second_pass_code('', 'feedc0de@audio-pi:~$ uname -a
Linux audio-pi 5.18.1-1-aarch64-ARCH #1 SMP PREEMPT Wed Jun 1 19:34:45 MDT 2022 aarch64 GNU/Linux

feedc0de@audio-pi:~$ cat /proc/asound/cards
0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
bcm2835 ALSA
1 [Z1 ]: USB-Audio - Traktor Kontrol Z1
Native Instruments Traktor Kontrol Z1 at usb-3f980000.usb-1.1.3, high speed
2 [vc4hdmi ]: vc4-hdmi - vc4-hdmi
vc4-hdmi

feedc0de@audio-pi:~$ LC_ALL=C aplay -l
aplay: device_list:275: no soundcards found...

feedc0de@audio-pi:~$ lsmod | grep snd
snd_usb_audio 315392 0
snd_usbmidi_lib 36864 1 snd_usb_audio
snd_hwdep 20480 1 snd_usb_audio
snd_rawmidi 45056 1 snd_usbmidi_lib
snd_seq_device 20480 1 snd_rawmidi
mc 61440 4 videodev,snd_usb_audio,videobuf2_v4l2,videobuf2_common
snd_bcm2835 32768 0')
feedc0de
 
Posts: 9
Joined: Mon May 02, 2022 7:01 pm

Re: what is the status of sound on raspberry pi 3 aarch64?

Postby feedc0de » Tue Jun 14, 2022 8:43 pm

Update, I was not in the group audio, so a simple
$this->bbcode_second_pass_code('', 'sudo usermod -a -G audio $USER')

fixed my problems with aplay -l

But I still dont hear audio when played on firefox and the cinnamon's system center does not list any audio devices.

$this->bbcode_second_pass_code('', 'feedc0de@audio-pi:~$ systemctl --user status pipewire-pulse
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-06-14 22:38:09 CEST; 3min 51s ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 6314 (pipewire-pulse)
Tasks: 2 (limit: 980)
Memory: 2.7M
CPU: 130ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─6314 /usr/bin/pipewire-pulse

Jun 14 22:38:09 audio-pi systemd[383]: Started PipeWire PulseAudio.
Jun 14 22:38:09 audio-pi pipewire-pulse[6316]: 536870912
feedc0de@audio-pi:~$ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-06-14 22:38:05 CEST; 4min 0s ago
TriggeredBy: ● pipewire.socket
Main PID: 6264 (pipewire)
Tasks: 2 (limit: 980)
Memory: 2.8M
CPU: 430ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─6264 /usr/bin/pipewire

Jun 14 22:38:05 audio-pi systemd[383]: Stopping PipeWire Multimedia Service...
Jun 14 22:38:05 audio-pi systemd[383]: Stopped PipeWire Multimedia Service.
Jun 14 22:38:05 audio-pi systemd[383]: Started PipeWire Multimedia Service.')
feedc0de
 
Posts: 9
Joined: Mon May 02, 2022 7:01 pm

Re: what is the status of sound on raspberry pi 3 aarch64?

Postby feedc0de » Tue Jun 14, 2022 10:10 pm

Update, everything works now, rtkit was missing and not setup correctly.

My pi is not successfully sampling audio, splitting low and high frequencies, and outputs them in sync onto two different amplifiers (going to subs and speakers).

audio on archlinux on arm is working just fine, thanks for the great project
feedc0de
 
Posts: 9
Joined: Mon May 02, 2022 7:01 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests