Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Determining Kernel Modules Required
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Wed Apr 06, 2005 11:11 am    Post subject: Determining Kernel Modules Required Reply with quote

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
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Wed Apr 06, 2005 11:16 am    Post subject: Reply with quote

emerge pciutils
lspci (as root)
then google for the device name and module.

that's how i do it :D
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Wed Apr 06, 2005 11:17 am    Post subject: Reply with quote

You might want to try "lspci".
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Wed Apr 06, 2005 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Apr 06, 2005 11:46 am    Post subject: Reply with quote

onboard devices are generally also PCI chips running on the PCI bus
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Narusegawa
Apprentice
Apprentice


Joined: 29 Jun 2004
Posts: 210
Location: Bimringham, UK

PostPosted: Wed Apr 06, 2005 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Wed Apr 06, 2005 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Apr 06, 2005 3:08 pm    Post subject: Reply with quote

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. :wink:
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum