[gentoo-user] how to extract driver info from genkernel

2009-01-12 Thread Denis
Hello,

This will probably sound simplistic to most...  I'm setting up an
older Dell PC, and I used genkernel to get it up and running, but how
do I figure out which drivers I actually need without knowing for sure
which hardware I have in the machine?  Genkernel loads a lot of
drivers, and the kernel takes a very long time to compile - I
understand why, and I'm not complaining about that.  But suppose I now
wanted to set up the X server, and I don't know which graphics driver
I need to choose.  Or, suppose I wanted to compile the kernel myself,
and I don't really know which drivers I *must* select (since I don't
know which chips the machine has).  Does anyone have any tips on this?

Many thanks,
Denis



Re: [gentoo-user] how to extract driver info from genkernel

2009-01-12 Thread Daniel da Veiga
On Mon, Jan 12, 2009 at 13:08, Denis denis@gmail.com wrote:
 Hello,

 This will probably sound simplistic to most...  I'm setting up an
 older Dell PC, and I used genkernel to get it up and running, but how
 do I figure out which drivers I actually need without knowing for sure
 which hardware I have in the machine?  Genkernel loads a lot of
 drivers, and the kernel takes a very long time to compile - I
 understand why, and I'm not complaining about that.  But suppose I now
 wanted to set up the X server, and I don't know which graphics driver
 I need to choose.  Or, suppose I wanted to compile the kernel myself,
 and I don't really know which drivers I *must* select (since I don't
 know which chips the machine has).  Does anyone have any tips on this?


You can use the lspci command, its in the pciutils package (if I'm
not mistaken) to get your system hardware information.
If you use it with the -v flag it will tell you the driver the
kernel is using for it.

-- 
Daniel da Veiga



Re: [gentoo-user] how to extract driver info from genkernel

2009-01-12 Thread Denis
 You can use the lspci command, its in the pciutils package (if I'm
 not mistaken) to get your system hardware information.

Just like magic :-)  Thank you so much!

Denis