lspci shows non-existent kernel module? Or does the config lie and the module is built-in?
Hello,
I have MacBook Pro and to have facetimehd module working, bdc_pci module must not be loaded. /boot/config-5.4.70-050470-generic shows that CONFIG_USB_BDC_PCI=m. I deleted bdc_pci.ko file from /lib/modules/5.4.70-050470-generic/kernel/drivers/usb/gadget/udc/bdc/, rebuilt initramfs and rebooted. Yet, lspci still shows 02:00.0 Multimedia controller [0480]: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570] Subsystem: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570] Kernel modules: bdc_pci WTF? Where does it come from? |
The command modinfo bdc_pci | grep ^filename should tell you where it is from.
|
# modinfo bdc_pci
filename: /lib/modules/5.4.70-050470-generic/kernel/drivers/usb/gadget/udc/bdc/bdc_pci.ko modinfo: ERROR: could not get modinfo from 'bdc_pci': No such file or directory and yet # lspci -knn | grep -A 1 -i facetime 02:00.0 Multimedia controller [0480]: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570] Subsystem: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570] Kernel modules: bdc_pci |
lspci doesn't show you which module is loaded. It shows you which module the kernel will load, based on the PCI (or USB or whatever) ID of the device.
To see a list of modules that are actually loaded, use lsmod. |
My guess is that bdc_pci has not been properly uninstalled and is still in /lib/modules/5.4.70-050470-generic/modules.dep.
|
All times are GMT -5. The time now is 09:10 PM. |