LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-16-2021, 05:23 AM   #1
Nyyr
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Rep: Reputation: Disabled
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?
 
Old 01-16-2021, 07:57 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 6,058

Rep: Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880
The command modinfo bdc_pci | grep ^filename should tell you where it is from.
 
Old 01-16-2021, 03:47 PM   #3
Nyyr
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
# 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
 
Old 01-16-2021, 03:59 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,890

Rep: Reputation: Disabled
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.
 
Old 01-16-2021, 06:12 PM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 6,058

Rep: Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880
My guess is that bdc_pci has not been properly uninstalled and is still in /lib/modules/5.4.70-050470-generic/modules.dep.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/sbin/lspci vs lspci casualzone Linux - Newbie 2 01-25-2010 08:40 PM
SOLVED Sax config shows up on non-existent screen jcllings Linux - Desktop 0 02-17-2009 10:18 AM
Samba: Windows 2000: browsing network shows non-existent server checkmate3001 Linux - Software 4 09-03-2008 10:42 AM
What does it mean: Attempt to load non-existent block-major-### theillien Linux - Server 0 06-19-2007 01:23 PM
lspci.. lspci -H.. difference on different meachines? rohan208 Linux - Wireless Networking 0 06-28-2004 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration