LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (http://www.linuxquestions.org/questions/gentoo-87/)
-   -   Basic kernel config for GENTOO on Lenovo W510 (http://www.linuxquestions.org/questions/gentoo-87/basic-kernel-config-for-gentoo-on-lenovo-w510-815353/)

axel_f 06-21-2010 01:03 AM

Basic kernel config for GENTOO on Lenovo W510
 
I recently received my W510 4318CTO. Win7 runs great. Kubuntu (live CD) could talk to all hardware, even the touch function of the screen.
Sadly I am not able to figure out the right kernel configuration to enable all hardware. Wifi, LAN, screen with touch function, fingerprint sensor, sound. I guess I am looking for a minimum configuration to be able to utilize all hardware without any specialities to make the machine any kind of server etc.
To shorten my misery, could someone with any W510 (my specific hardware configuration would be a huge bonus) be so kind to post me their .config, please. I know there are other ways to point me into the right direction, but this is certainly the quickest option.

Thanks very much.
axel_f

i92guboj 06-22-2010 10:05 AM

Quote:

Originally Posted by axel_f (Post 4009815)
I recently received my W510 4318CTO. Win7 runs great. Kubuntu (live CD) could talk to all hardware, even the touch function of the screen.
Sadly I am not able to figure out the right kernel configuration to enable all hardware. Wifi, LAN, screen with touch function, fingerprint sensor, sound. I guess I am looking for a minimum configuration to be able to utilize all hardware without any specialities to make the machine any kind of server etc.
To shorten my misery, could someone with any W510 (my specific hardware configuration would be a huge bonus) be so kind to post me their .config, please.

I centainly can not, because I don't own such hardware, but if you have installed Kubuntu and it works you can always pick the .config file from that distro and use it on Gentoo.

Usually you can read it from /proc/config.gz. Just gunzip it and save it to a text file like this "zcat /proc/config.gz > myconfig.txt".

Then you can move it onto your Gentoo source tree (as .config of course) and do "make oldconfig", then answer the questions in order to get a valid config for your Gentoo kernel version (if any question is made at all, the chance is that make will adapt your config without user interaction at all, but that's not always possible).

As last resort you can always use lspci and similar commands to get the IDs from your hardware devices, then grep the kernel source tree for these ID's (you can start in Documentation/) and see what drivers do match them.

Beware that, besides having the right driver in place, configuring these devices might be an entirely different matter.

axel_f 06-22-2010 08:23 PM

Hola i91gubuj,
thank you for that hint. I also thought about getting a working configuration from some other distro.
But, firstly only Kubuntu's liveCD has managed to address all important hadrware. And these liveCDs are rather generic. On the other hand, Gentoo is all about getting the software made exactly for your specific hardawre.
A second option for me was SUSEs 11.3 release. But the official one is only due in about two weeks. Also the 1st rc was not as good as Kubuntu liveCD out of the box.
At the end, I might follow your suggestion and disable things step by step.

If successful, I might post my .config if anyone is interested.

pixellany 06-24-2010 06:03 PM

Moved to gentoo

comprookie2000 06-25-2010 03:37 AM

You can use Pappy's kernel seeds to guide you through the process;
http://kernel-seeds.org/
He uses lspci -n, and cat /proc/cpuinfo and the Debian GNU/Linux
device driver check page to help determine the drivers you need;
http://kernel-seeds.org/working.html


All times are GMT -5. The time now is 10:36 PM.