Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm sure this is a simple question, but when I google something like "how to find out what kernel module I need linux," everything that comes up answers a slightly different question. I know how to use lsmod and modinfo to get information about modules that are already loaded, but what if I have a device that uses a module I do not have loaded? How do I find out what kernel module it is supposed to be using?
Say I have lspci output including the following
Code:
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
00:1f.6 Signal processing controller: Intel Corporation Panther Point Thermal Management Controller (rev 04)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
What is the best way to look up what driver I need for my network card,for instance, or my audio controller?
So you're saying that manufacturers routinely list which linux kernel module their device is going to use? Somehow I don't think so. I would think there would be something in the kernel documentation about which devices are supported by the modules these guys write. But I can't find it.
I'm sure this is a simple question, but when I google something like "how to find out what kernel module I need linux," everything that comes up answers a slightly different question. I know how to use lsmod and modinfo to get information about modules that are already loaded, but what if I have a device that uses a module I do not have loaded? How do I find out what kernel module it is supposed to be using?
Say I have lspci output including the following
I don't have the answer you are looking for but you can use
Code:
lspci -vv
for a more verbose output of your devices.
This will show the devices and the kernel drivers and modules being used for that device.
There could be a possibility it may also show a device and a module it is trying to load. But don't quote me on that.
If you're running a distribution like Ubuntu, they have a list of all their available kernel modules listed here (this particular link is for Quantal).
I would think there would be something in the kernel documentation about which devices are supported by the modules these guys write. But I can't find it.
I think it depends on the module.
ndiswrapper for example, has a list on their website of supported and unsupported devices:
Unfortunately, there doesn't seem to be this central database of kernel modules you're looking for. Instead, you'll need to investigate each device you have manually, using Google, and see if anything has been written.
P.S. Don't look a gift horse in the mouth.
Last edited by Drumachine; 08-15-2013 at 03:11 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.