Gentoo on the Lenovo Thinkpad Edge 13″ Intel

I needed to buy a laptop for the moment.
Simple requirements..
1) Cheep
2) Supported by Linux
3) Lightish

The Thinkpad Edge 13″ meets all the requirements. Theres a few thins I had to do make everything work.

make.conf flags. I’ve kept it simple. CFLAGS=”-O2 -pipe -march=native”
The version of GCC I am using supports all of the i3’s  quirks and features. You can check to see if  “native” will support your cpu by using the following two commands:-
# cc -march=native -E -v – </dev/null 2>&1 | grep cc1
# echo | gcc -dM -E – -march=native

Internal Sound card
to get jack sence and for it to disable the internal mic and speaker when the jack was used, edit the following file:-

At the end of the file add the following :-
options snd-hda-intel model=”olpc-xo-1_5″ enable_msi=1

By using alsa-info we can find out we have a conexant pebble audio chip. Conexant CX20582 (Pebble)
From that we can check out:-
To see all the possible modes for the 5066 chip, there is a few but the one that worked for me was “olpc-xo-1_5”
In addition to make jacksense work we can look at :-
# modinfo snd_hda_intel
This will tell us we can use msi=1 to enable the jack sense message bus.

Much to my annoyance the USB chipset on this machine is the Intel 3400 series that have a bug related to there rate liming hub.
What this means is that for me my Edirol UA-25ex can not work in full duplex mode with USB2…..
You also must have the following two options on in your kernel:-

This will help with some of the nastiness of the usb chipset.
I still needed to turn off “Advance” mode and swap to 41000khz. Annoying but its much better then nothing.. thanks Intel…

Intel video card. This one is pretty easy, once you understand how KMS is different.
Ensure your kernel has NO other VGA/VESA drivers apart from the below:-

With the above settings on boot your console will switch to native resolution. Ensure Xorg is using the “xf86-video-intel” driver and your done. No need for any addition tools, userspace mods or kernel boot options!

The card reader,wifi and ethernet work fine. I am unable to test the eSATA, HDMI and vga port.


2 Responses to “Gentoo on the Lenovo Thinkpad Edge 13″ Intel”

  1. Hello

    I am about to play with Gentoo on the same laptop.. good to hear network stuff is fully supported. Did you do x86 or amd64? Mind to share your complete make.conf?


    • Sorry for the late reply!

      cat /etc/make.conf
      # These settings were set by the catalyst build script that automatically
      # built this stage.
      # Please consult /usr/share/portage/config/make.conf.example for a more
      # detailed example.
      CFLAGS="-O2 -pipe -march=native"
      # WARNING: Changing your CHOST is not something that should be done lightly.
      # Please consult before changing.
      # These are the USE flags that were used in addition to what is provided by the
      # profile used for building.




      USE="tordns raw icu nsplugin pmu sensord gstreamer cdda policykit device-mapper consolekit acpi evdev extensions dbus udev cvs git mercurial subversion ssse3 jack cddb sqlite java threads static-libs mmx sse sse2 v4l2 v4l -kde -gnome -dso -hal"
      source /var/lib/layman/make.conf

      INGUAS="en en_HK"
      INPUT_DEVICES="evdev synaptics"

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: