Lenovo ThinkPad Edge 11 Intel
Contents |
[edit] Extra information
Extra information as required by Gentoo Linux Wiki:Style Guide#Hardware Articles
| Code: lspci -nn |
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02) 00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) 00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06) 00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) 00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06) 00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06) 00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06) 00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 06) 00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06) 00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6) 00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 06) 00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 06) 00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06) 00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 06) 03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [8086:0084] 09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03) ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02) ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02) ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02) ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02) ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02) ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02) |
| Code: lsusb |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. Bluetooth Controller Bus 002 Device 003: ID 046d:c52f Logitech, Inc. Wireless Mouse M305 Bus 002 Device 004: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB Flash Drive Bus 002 Device 005: ID 04f2:b1b4 Chicony Electronics Co., Ltd Lenovo Integrated Camera Bus 002 Device 006: ID 05c6:9204 Qualcomm, Inc. |
[edit] /etc/make.conf
| Code: /etc/make.conf |
# for an Intel i3 U380 32-bit mode
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# use 4 processors
MAKEOPTS="-j5"
|
[edit] Kernel
| Linux Kernel Configuration: ThinkPad Edge 11 Intel |
Processor type and features --->
Processor family (Core 2/newer Xeon)
Power management and ACPI options --->
[*] Power Management support
[*] ACPI (Advanced Configuration and Power Interface) Support --->
CPU Frequency scaling --->
[*] Networking support --->
-*- Wireless --->
<*> cfg80211 - wireless configuration API
<*> Generic IEEE 802.11 Networking Stack (mac80211)
<*> RF switch subsystem support
Device Drivers --->
Generic Driver Options --->
[*] Include in-kernel firmware blobs in kernel binary
SCSI device support --->
<*> SCSI disk support
< > SCSI CDROM support
< > SCSI generic support
[*] Probe all LUNs on each SCSI device
<*> Serial ATA and Parallel ATA drivers --->
<*> AHCI SATA support
[*] ATA BMDMA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > AMD/NVidia PATA support
< > Intel SCH PATA support
< > Intel PATA old PIIX support
[ ] Multiple devices driver support (RAID and LVM) --->
[*] Network device support --->
[*] Ethernet (1000 Mbit) --->
<*> Realtek 8169 gigabit ethernet support
[*] Wireless LAN --->
<*> Intel Wireless Wifi
<*> Intel Wireless WiFi Next Gen AGN (iwlagn)
-*- I2C support --->
I2C Hardware Bus support --->
<*> Intel 82801 (ICH/PCH)
-*- Hardware Monitoring support --->
<*> Intel Core/Core2/Atom temperature sensor
<*> Multimedia support --->
<*> Video For Linux
[ ] Enable Video For Linux API 1 (DEPRECATED)
[*] Enable Video For Linux API 1 compatible Layer
[*] Video capture adapters --->
[*] V4L USB devices --->
<*> USB Video Class (UVC)
[*] Backlight & LCD device support --->
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
[*] PCI sound devices --->
<*> Intel HD Audio
[*] HID Devices --->
[*] USB support --->
<*> EHCI HCD (USB 2.0) support
<*> OHCI HCD support
<*> UHCI HCD (most Intel and VIA) support
<*> USB Mass Storage support
[*] X86 Platform Specific Device Drivers --->
<*> ThinkPad ACPI Laptop Extras
|
time make -j5 <snip> Root device is (8, 3) Setup is 13132 bytes (padded to 13312 bytes). System is 3485 kB CRC 50d4c8dc Kernel: arch/x86/boot/bzImage is ready (#1) real 7m16.521s
[edit] GRUB Bootloader
| Code: /boot/grub/grub.conf |
# Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 30 title Gentoo Linux 2.6.38-r6 # Partition where the kernel image (or operating system) is located root (hd0,2) kernel /boot/kernel-2.6.38-gentoo-r6 root=/dev/sda3 # The next four lines are only if you dualboot with a Windows system. title Windows 7 Professional rootnoverify (hd0,1) makeactive chainloader +1 |
grub --no-floppy grub> find /boot/grub/stage1 (hd0,2) grub> root (hd0,2) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 18 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. grub> quit
[edit] Xorg Intel i915
| Code: lspci -s 00:02.0 -v |
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller]) Subsystem: Lenovo Device 21c8 Flags: bus master, fast devsel, latency 0, IRQ 42 Memory at f0000000 (64-bit, non-prefetchable) [size=4M] Memory at d0000000 (64-bit, prefetchable) [size=256M] I/O ports at 1800 [size=8] Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [a4] PCI Advanced Features Kernel driver in use: i915 Kernel modules: i915 |
Follow the instructions on this good page, especially paying attention to the Troubleshooting section:-
VIDEO_CARDS="intel" INPUT_DEVICES="keyboard mouse evdev synaptics"
[edit] UPDATE: New Intel Linux Graphics Drivers
Keep an eye on this page regularly - http://intellinuxgraphics.org
[edit] UPDATE: Intel Hardware Video Acceleration (libVA)
Libva: libva-1.0.14 release
This is exactly like Nvidia using VDPAU.
http://intellinuxgraphics.org/vaapi.html
From the official Intel PDF at http://edc.intel.com/Download.aspx?id=3476&returnurl=/RSS/Atom.aspx
"Media playback on the Intel AtomTM platform is optimal when the video decoding is handled by the video engine instead of the CPU. Using a video engine can reduce the CPU workload by more than 50%. Using a video engine to decode video reduces CPU workload by more than 50%. It requires the application, such as a media player, to use VA API to communicate with Intel Embedded Graphics Driver (IEGD).
To use the video engine, the media player application, MPlayer, for example, needs to use the appropriate API to communicate with the video driver that controls this video engine. This case study provides instructions on how to enable MPlayer to interface with Intel Embedded Graphics Driver (IEGD) video driver through the VA API."
USE="vaapi" VIDEO_CARDS="intel" INPUT_DEVICES="keyboard mouse evdev synaptics"
[edit] Attaching External Monitor To HDMI / DVI / VGA
Plug in an external monitor to either the newer HDMI (going to DVI with an adapter) or standard VGA ports.
If Xorg puts the screen resolution to 1024x768, the picture will seem 'fuzzy' and not sharp - maybe even slightly 'squashed'.
To fix this, run the xrandr program to check and then set the correct mode of screen resolution for your monitor.
| Code: xrandr --query |
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192 LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 256mm x 144mm 1366x768 60.0 + 50.0 1024x768 60.0* 800x600 60.3 56.2 640x480 59.9 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 160mm x 90mm 1360x768 60.0 + 1280x720 50.0 1024x768 75.1 70.1 60.0* 832x624 74.6 800x600 72.2 75.0 60.3 56.2 720x576 47.4 640x480 72.8 75.0 66.7 60.0 720x400 70.1 DP1 disconnected (normal left inverted right x axis y axis) |
The above example shows a * where X is running on screen LVDS1 (the actual laptop screen) at 1024x768 @ 60Hz. This resolution is then "copied" to the monitor. But, the laptop screen and monitor are capable of more... actually 1360x768. To set the preferred resolution and frequency (shown with a + symbol), run the following command.
The screen will go blank and then switch to the new higher resolution.
To turn the laptop screen off while you use the monitor, run the following command.
More Information How to setup Dual Head for Intel Graphics with RandR 1.2 http://intellinuxgraphics.org/dualhead.html
[edit] Wireless
Configure the kernel with drivers...
| Linux Kernel Configuration: ThinkPad Edge 11 Intel - Wireless |
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
<*> Intel Wireless Wifi
<*> Intel Wireless WiFi Next Gen AGN (iwlagn)
[*] Intel Wireless-N/Advanced-N/Ultimate-N WiFi Link
|
Install the firmware...
[edit] Printing
Install the CUPS software...
If you get errors about printing 0 pages then install the 'Any to PostScript' filter...
[edit] TPPS/2 IBM Trackpoint + SynPS/2 Synaptics Touchpad
Configure the kernel with drivers...
| Linux Kernel Configuration: ThinkPad Edge 11 Intel - Mice |
Device Drivers --->
Input device support --->
[*] Mice --->
<*> PS/2 mouse
|
Restart the laptop and go into X. It should just work and have these log entries in /var/log/Xorg.0.log...
(II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8) (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event10)
If you want to get really flash, you can install the GPointing Devices Settings software to control what features you want.
[edit] Audio
Add alsa + pulseuadio USE flags to /etc/make.conf
emerge alsa-lib alsa-plugins alsa-headers alsa-utils emerge pulseaudio su - root gpasswd -a paully pulse gpasswd -a paully pulse-access
I just cannot get the pulseaudio daemon to run as a regular user (which is the NEW way of doing things), and the system-wide USE flag will not work, so I have had to fudge a solution, and added the following entry to the file /etc/local.d/pulseaudio.start
#!/bin/bash pulseaudio -D --system
[edit] Fonts
http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/
[edit] USB Card Reader
| Code: lsusb |
Bus 001 Device 005: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader |
| Linux Kernel Configuration: ThinkPad Edge 11 Intel - USB Card Reader |
[*] USB support --->
<*> USB Mass Storage support
<*> Realtek Card Reader support
|
[edit] Webcam
| Code: lsusb |
Bus 002 Device 005: ID 04f2:b1b4 Chicony Electronics Co., Ltd Lenovo Integrated Camera |
| Linux Kernel Configuration: ThinkPad Edge 11 Intel - USB Webcam |
Device Drivers --->
<*> Multimedia support --->
<*> Video For Linux
[ ] Enable Video For Linux API 1 (DEPRECATED)
[*] Enable Video For Linux API 1 compatible Layer
[*] Video capture adapters --->
[*] V4L USB devices --->
<*> USB Video Class (UVC)
|
| Code: dmesg kernel log |
Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.1.0) uvcvideo: Found UVC 1.00 device Integrated Camera (04f2:b1b4) |
# ls -lah /dev/video0 crw-rw----+ 1 root video 81, 0 Nov 8 08:46 /dev/video0
To test, run the following mplayer command as that user:-
mplayer -cache 128 -tv driver=v4l2:width=640:height=480 -vo xv tv://
[edit] Bluetooth
| Code: lsusb |
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. Bluetooth Controller |
For the main Bluetooth stack...
For desktop integration...