Difference between pages "User:Yulare" and "Thinkpad R500"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
{{Person
+
== Hardware ==
|Full name=Ulises Alvarez
+
Everything works except the fingerprint reader.
|Email=yulare@gmail.com
+
<pre>
|Geoloc=36.77430599707901, -2.813873291015625
+
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
|Location name=el ejido, almeria ,Spain
+
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
|Roles={{Role
+
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
|Role type=User
+
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
|Role desc=?
+
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
|Start date=2013/08/13
+
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
}}
+
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
|Maintains=
+
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
|Blogs=
+
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
}}
+
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
 +
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
 +
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
 +
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
 +
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
 +
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
 +
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
 +
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
 +
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
 +
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
 +
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
 +
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
 +
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
 +
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
 +
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
 +
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
 +
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
 +
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
 +
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
 +
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
 +
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
 +
</pre>
 +
 
 +
== make.conf ==
 +
/etc/portage/make.conf
 +
<pre>
 +
CFLAGS="-march=native -O2 -pipe"
 +
CXXFLAGS="${CFLAGS}"
 +
CHOST="x86_64-pc-linux-gnu"
 +
MAKEOPTS="-j2"
 +
INPUT_DEVICES="evdev synaptics"
 +
VIDEO_CARDS="intel"
 +
</pre>
 +
 
 +
== Network ==
 +
Configure drivers for ethernet and wlan cards.
 +
<pre>
 +
Device Drivers  --->
 +
[*] Network device support  --->
 +
[*]  Ethernet driver support  --->
 +
[*]  Broadcom devices
 +
<M>    Broadcom Tigon3 support
 +
 
 +
[*]  Wireless LAN  --->
 +
<M>  Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)
 +
-M-    Intel Wireless WiFi
 +
</pre>
 +
 
 +
Install firmware for wlan card.
 +
<console># emerge linux-firmware</console>
 +
 
 +
== Sensors ==
 +
Configure drivers for sensors.
 +
<pre>
 +
Device Drivers  --->
 +
-*- I2C support  --->
 +
I2C Hardware Bus support  --->
 +
<*> Intel 82801 (ICH/PCH)
 +
 
 +
-*- Hardware Monitoring support  --->
 +
<M>  Intel Core/Core2/Atom temperature sensor
 +
 
 +
[*] X86 Platform Specific Device Drivers  --->
 +
<M>  ThinkPad ACPI Laptop Extras
 +
[*]    Console audio control ALSA interface
 +
</pre>
 +
 
 +
Install sensor monitoring program.
 +
<console># emerge lm_sensors</console>
 +
 
 +
== Watchdog ==
 +
<pre>
 +
Device Drivers  --->
 +
[*] Watchdog Timer Support  --->
 +
<M>  Intel TCO Timer/Watchdog
 +
[*]    Intel TCO Timer/Watchdog Specific Vendor Support
 +
</pre>
 +
 
 +
== Random number generator ==
 +
<pre>
 +
Device Drivers  --->
 +
Character devices  --->
 +
[*]  Intel HW Random Number Generator support
 +
</pre>
 +
 
 +
== Memorycard reader ==
 +
<pre>
 +
Bus options (PCI etc.)  --->
 +
[*] PCCard (PCMCIA/CardBus) support  --->
 +
[*]  CardBus yenta-compatible bridge support
 +
 
 +
Device Drivers  --->
 +
[*] Memory Technology Device (MTD) support  --->
 +
[*]  NAND SSFDC (SmartMedia) read only translation layer
 +
[*]  NAND Device Support  --->
 +
[*]  Ricoh xD card reader
 +
 
 +
[*] MMC/SD/SDIO card support  --->
 +
[*]  Secure Digital Host Controller Interface support
 +
[*]  SDHCI support on PCI bus
 +
 
 +
[*] Sony MemoryStick card support  --->
 +
[*]  Ricoh R5C592 MemoryStick interface support
 +
</pre>
 +
 
 +
== Webcam ==
 +
<pre>
 +
Device Drivers  --->
 +
[*] Multimedia support  --->
 +
[*]  Cameras/video grabbers support
 +
[*]  Media USB Adapters  --->
 +
[*]  USB Video Class (UVC)
 +
</pre>
 +
 
 +
== Trackpoint ==
 +
Enable 3-button scroll.
 +
/usr/share/X11/xorg.conf.d/11-evdev-trackpoint.conf
 +
<pre>
 +
Section "InputClass"
 +
        Identifier      "Trackpoint Wheel Emulation"
 +
        MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
 +
        MatchDevicePath "/dev/input/event*"
 +
        Option  "EmulateWheel"          "true"
 +
        Option  "EmulateWheelButton"    "2"
 +
        Option  "Emulate3Buttons"      "false"
 +
        Option  "XAxisMapping"          "6 7"
 +
        Option  "YAxisMapping"          "4 5"
 +
EndSection
 +
</pre>
 +
 
 +
== Power saving ==
 +
Disable bluetooth on startup.
 +
/etc/local.d/powersave.start
 +
<pre>echo "disable" > /proc/acpi/ibm/bluetooth</pre>
 +
 
 +
The following config enables aggressive power saving.
 +
/etc/udev/rules.d/10-local-powersave.rules
 +
<pre># PCI runtime power management
 +
ACTION=="add", SUBSYSTEM=="pci", ATTR{power/control}="auto"
 +
 
 +
# USB autosuspend
 +
ACTION=="add", SUBSYSTEM=="usb", ATTR{power/control}="auto"
 +
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend" ATTR{power/autosuspend}="60"
 +
 
 +
# SATA active link power management
 +
SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="min_power"
 +
 
 +
# Wlan power save
 +
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*" RUN+="/usr/sbin/iw dev %k set power_save on"
 +
 
 +
# Disable bluetooth
 +
SUBSYSTEM=="rfkill", ATTR{type}=="bluetooth", ATTR{state}="0"
 +
 
 +
# Disable wake-on-LAN
 +
ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*" RUN+="/usr/sbin/ethtool -s %k wol d"
 +
</pre>
 +
 
 +
[[Category:Hardware Compatibility]]

Revision as of 23:12, 21 August 2013

Hardware

Everything works except the fingerprint reader.

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)

make.conf

/etc/portage/make.conf

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="intel"

Network

Configure drivers for ethernet and wlan cards.

Device Drivers  --->
[*] Network device support  --->
[*]   Ethernet driver support  --->
[*]   Broadcom devices
<M>     Broadcom Tigon3 support

[*]   Wireless LAN  --->
<M>   Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)
-M-     Intel Wireless WiFi

Install firmware for wlan card.

# emerge linux-firmware

Sensors

Configure drivers for sensors.

Device Drivers  --->
-*- I2C support  --->
I2C Hardware Bus support  --->
<*> Intel 82801 (ICH/PCH)

-*- Hardware Monitoring support  --->
<M>   Intel Core/Core2/Atom temperature sensor

[*] X86 Platform Specific Device Drivers  --->
<M>   ThinkPad ACPI Laptop Extras
[*]     Console audio control ALSA interface

Install sensor monitoring program.

# emerge lm_sensors

Watchdog

Device Drivers  --->
[*] Watchdog Timer Support  --->
<M>   Intel TCO Timer/Watchdog
[*]     Intel TCO Timer/Watchdog Specific Vendor Support

Random number generator

Device Drivers  --->
Character devices  --->
[*]   Intel HW Random Number Generator support

Memorycard reader

Bus options (PCI etc.)  --->
[*] PCCard (PCMCIA/CardBus) support  --->
[*]   CardBus yenta-compatible bridge support

Device Drivers  --->
[*] Memory Technology Device (MTD) support  --->
[*]   NAND SSFDC (SmartMedia) read only translation layer
[*]   NAND Device Support  --->
[*]   Ricoh xD card reader

[*] MMC/SD/SDIO card support  --->
[*]   Secure Digital Host Controller Interface support
[*]   SDHCI support on PCI bus

[*] Sony MemoryStick card support  ---> 
[*]   Ricoh R5C592 MemoryStick interface support

Webcam

Device Drivers  --->
[*] Multimedia support  --->
[*]   Cameras/video grabbers support
[*]   Media USB Adapters  --->
[*]   USB Video Class (UVC)

Trackpoint

Enable 3-button scroll. /usr/share/X11/xorg.conf.d/11-evdev-trackpoint.conf

Section "InputClass"
        Identifier      "Trackpoint Wheel Emulation"
        MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
        MatchDevicePath "/dev/input/event*"
        Option  "EmulateWheel"          "true"
        Option  "EmulateWheelButton"    "2"
        Option  "Emulate3Buttons"       "false"
        Option  "XAxisMapping"          "6 7"
        Option  "YAxisMapping"          "4 5"
EndSection

Power saving

Disable bluetooth on startup. /etc/local.d/powersave.start

echo "disable" > /proc/acpi/ibm/bluetooth

The following config enables aggressive power saving. /etc/udev/rules.d/10-local-powersave.rules

# PCI runtime power management
ACTION=="add", SUBSYSTEM=="pci", ATTR{power/control}="auto"

# USB autosuspend
ACTION=="add", SUBSYSTEM=="usb", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend" ATTR{power/autosuspend}="60"

# SATA active link power management
SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="min_power"

# Wlan power save
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*" RUN+="/usr/sbin/iw dev %k set power_save on"

# Disable bluetooth
SUBSYSTEM=="rfkill", ATTR{type}=="bluetooth", ATTR{state}="0"

# Disable wake-on-LAN
ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*" RUN+="/usr/sbin/ethtool -s %k wol d"