Score:0

Can someone please help me why I can't get my sound working on my Ubuntu 21.10 64bit Raspberry Pi 4 please?

ga flag

As the title says I and having problems with getting sound to come out of my system. I have a Samsung Monitor hooked up through HDMI. I have tried all kinds of suggestions and read through tons of post on the matter and have now decided to ask for help.

My System

            .-/+oossssoo+/-.               
        `:+ssssssssssssssssss+:`           ------------------ 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 21.10 aarch64 
    .ossssssssssssssssssdMMMNysssso.       Host: Raspberry Pi 4 Model B Rev 1.2 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.13.0-1016-raspi 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 11 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 1925 (dpkg), 8 (snap) 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.1.8 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1080 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 40.5 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-dark [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru [GTK2/3] 
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: BCM2835 (4) @ 1.500GHz 
    .ossssssssssssssssssdMMMNysssso.       Memory: 1297MiB / 3791MiB 
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`                                   
            .-/+oossssoo+/-.                                       

This is what aplay -l says:

card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

If I run sudo dmesg | grep snd I get the following

[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:7C:4C:47 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
[    3.051028] snd_pcm_dmaengine: Unknown symbol snd_pcm_format_physical_width (err -2)
[    3.051070] snd_pcm_dmaengine: Unknown symbol snd_pcm_hw_constraint_integer (err -2)
[    3.051079] snd_pcm_dmaengine: Unknown symbol snd_pcm_period_elapsed (err -2)
[    9.236785] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   17.787178] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[   17.788495] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[   17.794882] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[   17.795870] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[   17.797126] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

I am lost at this point on what to do to get sound working. The crazy thing is I have another Raspberry Pi 4 setup but it has the following :

OS: Manjaro Arm Linux aarch64 Host: Raspberry Pi 4 Model B Rev 1.4 Kernel: 5.10.92-1-MANJARO-ARM-RPI CPU: BCM2835 (4) @ 1.500GHZ Memory: 1161MiB / 7810MiB

As you see not much difference in hardware specs. The only other real difference is the Ubuntu System is in an ARGON M2 case that uses an add in board to give me full size Hdmi connectors and the other Manjaro System is a case that doesn't. The Manjaro system has just worked no problem sound and all but the person I am trying to get this to work for wants Ubuntu. So does anyone have any idea on what else I can do or try to get sound working? I am willing to try anything and send info if it will help in fixing this.

Thanks for any help.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.