by 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.