LinuxQuestions.org
Visit Jeremy's Blog.
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, 04: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, 06:57 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The command modinfo bdc_pci | grep ^filename should tell you where it is from.
 
Old 01-16-2021, 02: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, 02:59 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

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, 05:12 PM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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 07:40 PM
SOLVED Sax config shows up on non-existent screen jcllings Linux - Desktop 0 02-17-2009 09:18 AM
Samba: Windows 2000: browsing network shows non-existent server checkmate3001 Linux - Software 4 09-03-2008 09:42 AM
What does it mean: Attempt to load non-existent block-major-### theillien Linux - Server 0 06-19-2007 12:23 PM
lspci.. lspci -H.. difference on different meachines? rohan208 Linux - Wireless Networking 0 06-28-2004 11:19 AM

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

All times are GMT -5. The time now is 04:01 AM.

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