Hi,
audio works fine on my 1 year old RaspberryPi4 running Archlinux-32Bit.
On my new RaspberryPI4 I've installed aarch64 according to the official installation procedure, but I can't get audio working with pulseaudio. I can play an audio file with aplay, but not with paplay: pulseaudio doesn't detect a soundcard with it's udev module.
I'm not an audio-expert but it seems to me that the HW is not correctly identified on the 64Bit system (/dev/scd/controlC1 misssing??) and the driver identifies completely different cards/devices/subdevices.
Can anybody help with the audio-configuration? Do I need to add something to /boot/config.txt ?
Thanks in advance
HP
I've observed the following differences
_______________________________________________________________________________
ls /dev/snd on 32Bit
by-path controlC0 controlC1 pcmC0D0p pcmC1D0p seq timer
_______________________________________________________________________________
ls /dev/snd on 64Bit
by-path controlC0 pcmC0D0p pcmC0D1p seq timer
_______________________________________________________________________________
"lsmod | grep snd" on 32Bit
snd_soc_core 192512 1 vc4
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_bcm2835 24576 4
snd_pcm 98304 6 vc4,snd_pcm_dmaengine,snd_bcm2835,snd_soc_core
snd_timer 32768 1 snd_pcm
snd 73728 11 snd_compress,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
_______________________________________________________________________________
"lsmod | grep snd" on 64Bit
snd_bcm2835 36864 0
snd_usb_audio 307200 0
snd_usbmidi_lib 40960 1 snd_usb_audio
snd_hwdep 20480 1 snd_usb_audio
snd_rawmidi 49152 1 snd_usbmidi_lib
snd_seq_device 20480 1 snd_rawmidi
mc 69632 4 videodev,snd_usb_audio,videobuf2_v4l2,videobuf2_common
(the snd.ko module is not listed because it's a kernel-builtin)
_______________________________________________________________________________
aplay -l (on 32Bit)
hape@pallas's password:
aplay: device_list:274: no soundcards found...
[root@merkur hape]# ssh pulse@pallas aplay -l
pulse@pallas's password:
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 3/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 3/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
_______________________________________________________________________________
aplay -l (on 64Bit)
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: ALSA [bcm2835 ALSA], Gerät 0: bcm2835 ALSA [bcm2835 ALSA]
Sub-Geräte: 7/7
Sub-Gerät #0: subdevice #0
Sub-Gerät #1: subdevice #1
Sub-Gerät #2: subdevice #2
Sub-Gerät #3: subdevice #3
Sub-Gerät #4: subdevice #4
Sub-Gerät #5: subdevice #5
Sub-Gerät #6: subdevice #6
Karte 0: ALSA [bcm2835 ALSA], Gerät 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
_______________________________________________________________________________