Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Cc: gentoo-china@××××××××××××.com
Subject: Re: [gentoo-user] how to know which driver a device is using?
Date: Wed, 02 Dec 2009 02:37:57
Message-Id: 5bdc1c8b0912011836i2f0a59e0p24564632bf99f2e7@mail.gmail.com
In Reply to: [gentoo-user] how to know which driver a device is using? by Xi Shen
1 On Tue, Dec 1, 2009 at 4:59 PM, Xi Shen <davidshen84@××××××××××.com> wrote:
2 > Hi,
3 >
4 > when i start my system from gentoo live dvd, all my hardware works
5 > fine. but if i want to have a small system, so i removed many drivers
6 > when i am compiling my own system. the result is some times, i do not
7 > know which driver should i choose for my hardware, and my hardware
8 > cannot use when i boot from my new system.
9 >
10 > i wonder if there is a way to see which driver is loaded for my
11 > hardware. this should help me choose the drivers when compiling my
12 > system.
13 >
14 >
15 > --
16 > Best Regards,
17 > David Shen
18 >
19 > http://twitter.com/davidshen84/
20 > http://meme.yahoo.com/davidshen84/
21 >
22 >
23 Boot with the Gentoo install CD and the use lsmod and modinfo to build
24 a list of what's actually loaded. That will give you a good starting
25 point for what to choose in your kernel. If you end up building a few
26 extras or miss one at least you'll be pretty close in my experience.
27
28 Good luck,
29 Mark