View previous topic :: View next topic |
Author |
Message |
Narusegawa Apprentice
Joined: 29 Jun 2004 Posts: 210 Location: Bimringham, UK
|
Posted: Wed Apr 06, 2005 11:11 am Post subject: Determining Kernel Modules Required |
|
|
I was wondering if anyone had advise on how to determine which kernel modules your hardware required?
I know you can check /proc/cpuinfo for cpu information, I know you can /proc/bus/usb/devices to find out which hub controllers you have. How would you determine which module your soundcard required? (I know mine already, but would be nice to find out how someone found out).
What about ethernet cards? These I've always had to find out by asking someone else.
Thanks |
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Wed Apr 06, 2005 11:16 am Post subject: |
|
|
emerge pciutils
lspci (as root)
then google for the device name and module.
that's how i do it |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Wed Apr 06, 2005 11:17 am Post subject: |
|
|
You might want to try "lspci". _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Narusegawa Apprentice
Joined: 29 Jun 2004 Posts: 210 Location: Bimringham, UK
|
Posted: Wed Apr 06, 2005 11:37 am Post subject: |
|
|
How would LSPCI help with onboard stuff. I'm assuming it's basically short for List PCI devices.
How would you detect the onboard? |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Wed Apr 06, 2005 11:46 am Post subject: |
|
|
onboard devices are generally also PCI chips running on the PCI bus _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
Narusegawa Apprentice
Joined: 29 Jun 2004 Posts: 210 Location: Bimringham, UK
|
Posted: Wed Apr 06, 2005 11:59 am Post subject: |
|
|
Thanks, when I get back home I'll give those a try and rebuild my kernel (hopefully much more quickly) using this information. |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Wed Apr 06, 2005 2:46 pm Post subject: |
|
|
another method: disable everything you think is unneeded in the kernel; reboot.
If it still all works, you're lucky
if not, re-enable...
Works every time, but you need a LOT of time... |
|
Back to top |
|
|
yoyo Bodhisattva
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Wed Apr 06, 2005 3:08 pm Post subject: |
|
|
nielchiano wrote: | another method: disable everything you think is unneeded in the kernel; reboot.
If it still all works, you're lucky
if not, re-enable...
Works every time, but you need a LOT of time... | On the other hand, you can enable ALL modules in the kernel and use "coldplug" (that tries to load modules for devices that are already present in the system at boot time) to determine modules you REALLY need. _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
|
|