LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-13-2006, 04:36 PM   #1
Timshel
LQ Newbie
 
Registered: Feb 2006
Location: Sydney
Distribution: SUSE
Posts: 4

Rep: Reputation: 0
Question How do you list the driver module used by a device?


How do you confirm which driver module is being loaded to support a particular device?

eg. I know there is a SATA controller in my laptop, how would I find out which driver is loaded for this device?

Cheers,

Timshel
 
Old 02-13-2006, 04:41 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Try
Code:
lsmod
from the console prompt
 
Old 02-13-2006, 07:54 PM   #3
Timshel
LQ Newbie
 
Registered: Feb 2006
Location: Sydney
Distribution: SUSE
Posts: 4

Original Poster
Rep: Reputation: 0
lsmod shows me which modules are loaded and their dependencies, but does not show a link between the module and the hardware it is supporting...

Is there a way to show this link eg. The ATA Controller is using module "piix"??

Cheers,

Timshel
 
Old 02-13-2006, 10:23 PM   #4
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
You would have to do it manually as far as I know.

"lsmod" and "lspci" and do a comparison. It should be fairly straight-forward, comparison-wise. You just need to match PCI host bridge : TYPE from the lspci to the intel _____ or whatever from the lsmod.
 
  


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
C++ or pure C for Linux kernel module, Linux device driver development. What to use? Igor007 Programming 91 07-19-2014 11:55 AM
Problem in inserting a device driver module rajesh_b Programming 5 05-10-2007 12:20 AM
Installing a device driver as a Module lehumphr Linux - Newbie 1 04-27-2004 11:31 PM
creating a simple module(device driver) pessanimahi Linux - Software 1 09-16-2003 11:34 AM
Device List Arkas Linux - Hardware 3 08-21-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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