LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2009, 02:38 AM   #1
rajaguru14
LQ Newbie
 
Registered: Nov 2008
Posts: 23

Rep: Reputation: 15
How to find , what modules are loaded for which hardware


lspci ----> Command to view the hardware in the System
lsmod ----> Command to view modules are loaded

How to Check for what modules are loaded for which hardware
 
Old 05-07-2009, 01:29 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,801

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
Quote:
Originally Posted by rajaguru14 View Post
lspci ----> Command to view the hardware in the System
lsmod ----> Command to view modules are loaded

How to Check for what modules are loaded for which hardware
Under what version/distro? In OpenSuSE, you can run Yast, and go into the hardware configuration, and view the modules/drivers....
 
Old 05-07-2009, 01:49 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Here's two options..

Code:
it-lenny:~# modinfo b44
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/net/b44.ko
author:         Florian Schirmer, Pekka Pietikainen, David S. Miller
description:    Broadcom 4400 10/100 PCI ethernet driver
license:        GPL


it-lenny:~# lspci -vv

02:09.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
	Subsystem: Dell Device 01e5
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin A routed to IRQ 201
	Region 0: Memory at dfcfe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44, ipmi_si
 
Old 05-07-2009, 03:20 PM   #4
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by farslayer View Post
Here's two options..

Code:
it-lenny:~# modinfo b44
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/net/b44.ko
author:         Florian Schirmer, Pekka Pietikainen, David S. Miller
description:    Broadcom 4400 10/100 PCI ethernet driver
license:        GPL


it-lenny:~# lspci -vv

02:09.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
	Subsystem: Dell Device 01e5
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Interrupt: pin A routed to IRQ 201
	Region 0: Memory at dfcfe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44, ipmi_si
Oooh! Me wuvs u! I've been wondering the same thing. Learned something new!
 
Old 05-08-2009, 03:28 AM   #5
rajaguru14
LQ Newbie
 
Registered: Nov 2008
Posts: 23

Original Poster
Rep: Reputation: 15
How to find hardware , without module installation

Is there way to find , the hardware which are being present without module installation
 
Old 05-08-2009, 03:51 AM   #6
flopypl
LQ Newbie
 
Registered: Apr 2009
Location: Poland
Distribution: Slackware 12.1
Posts: 20

Rep: Reputation: 0
Quote:
Originally Posted by rajaguru14 View Post
lspci ----> Command to view the hardware in the System
...or lsusb. IMHO you can check greatest part of pluged devices with this two commands.
 
Old 05-08-2009, 07:58 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
as menmtioned lspci, lsusb then there are a few other items for querying your hardware..

lspcmcia - Laptop PCMCIA slots
lshal - utility for displaying items in the HAL device database
dmidecode - tool for dumping a computer’s DMI (some say SMBIOS) table contents
lshw - AWESOME tool for seeing what hardware is in your system.
lshw-gtk - Gui for lshw
usbview - GUI for viewing details about USB devices

are there any more that I forgot or missed ?

Last edited by farslayer; 05-08-2009 at 06:49 PM.
 
  


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
Dynamically loaded modules and statically loaded modules in linux gauthamk Linux - Software 1 05-18-2008 04:28 PM
loaded modules? lilili Slackware 5 07-20-2007 06:29 AM
cannot find map file. No module symbols loaded - kernel modules not enabled. jjorloff1 Linux - Software 3 01-06-2005 11:02 AM
Find out which modules are loaded? redneon Linux - General 8 05-25-2004 12:03 PM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 10:05 AM


All times are GMT -5. The time now is 10:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration