[fixed, my mistake] no sound: no snd_bcm2835

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

[fixed, my mistake] no sound: no snd_bcm2835

Postby 2sdude » Thu Dec 24, 2020 3:41 am

After a reinstall, I have no sound on my RPI2b . Troubleshooting revealed I don't have "snd_bcm2835".

$this->bbcode_second_pass_code('', 'modprobe snd_bcm2835
modprobe: FATAL: Module snd_bcm2835 not found in directory /lib/modules/5.4.51-2-ARCH
')

The wiki states:

$this->bbcode_second_pass_quote('', 'a')lsa-utils should supply the needed programs to use onboard sound.


I do have alsa_utils:

$this->bbcode_second_pass_code('', 'pacman -Q | grep alsa
alsa-lib 1.2.4-3
alsa-topology-conf 1.2.4-2
alsa-ucm-conf 1.2.4-2
alsa-utils 1.2.4-2')

How can I find the package that contains snd_bcm2835?

Running "pacman -F snd_bcm2835" listed no package ...
Last edited by 2sdude on Fri Dec 25, 2020 1:42 pm, edited 1 time in total.
2sdude
 
Posts: 25
Joined: Sun Nov 12, 2017 11:13 pm

Re: no sound: no snd_bcm2835

Postby graysky » Thu Dec 24, 2020 11:09 am

$this->bbcode_second_pass_quote('2sdude', 'H')ow can I find the package that contains snd_bcm2835?

Running "pacman -F snd_bcm2835" listed no package ...


Firstly, the module you seek contains a dash not an underscore so you need to adjust your query. To answer your question, you can use pacman -F but it is slow. You also need to include a -x to make the search a regex. I recommend using pkgfile instead which is much faster.

$this->bbcode_second_pass_code('', '% pacman -Fx snd-bcm2835
core/linux-armv7 5.8.9-1
usr/lib/modules/5.8.9-1-ARCH/kernel/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko.gz
core/linux-armv7-rc 5.8.rc5-2
usr/lib/modules/5.8.0-rc5-2-ARCH/kernel/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko.gz
core/linux-raspberrypi 5.4.83-1 [installed]
usr/lib/modules/5.4.83-1-ARCH/kernel/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko.gz
core/linux-raspberrypi4 5.4.83-3
usr/lib/modules/5.4.83-3-ARCH/kernel/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko.gz
pacman -Fx snd-bcm2835 33.09s user 1.30s system 99% cpu 34.491 total
')

$this->bbcode_second_pass_code('', '% pkgfile -r 'snd-bcm2835*'
core/linux-armv7
core/linux-armv7-rc
core/linux-raspberrypi
core/linux-raspberrypi4
pkgfile -r 'snd-bcm2835*' 3.86s user 0.19s system 172% cpu 2.343 total
')

$this->bbcode_second_pass_quote('2sdude', '[')code]modprobe snd_bcm2835
modprobe: FATAL: Module snd_bcm2835 not found in directory /lib/modules/5.4.51-2-ARCH
[/code]


I am more concerned that your system wants to look for modules in that old location. Suspect you updated the system which pulled down a new kernel but you have not rebooted.
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: no sound: no snd_bcm2835

Postby 2sdude » Thu Dec 24, 2020 5:49 pm

Then I think I know what happened. Recently, my RPI failled at booting (viewtopic.php?f=64&t=14991) and I restored a boot partition from backup. Few files failed to restore, somehow. I didn't look into it; the RPI succeeded at booting and wasn't complaining ...

I now re-installed all packages, rebooted, and sound works.

I can't reproduce the modprobe error of looking into that old folder. I think it may be a folder of last resort?
2sdude
 
Posts: 25
Joined: Sun Nov 12, 2017 11:13 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 6 guests