Difference between revisions of "Lenovo ThinkPad T420s"

From ArchWiki
Jump to: navigation, search
m (Setting)
(update templates, see Help:Style)
Line 4: Line 4:
 
The thinkpad_acpi kernel module needs to be configured so user space programs can control the fan speed.
 
The thinkpad_acpi kernel module needs to be configured so user space programs can control the fan speed.
  
{{File|name=/etc/modprobe.d/modprobe.conf|content=options thinkpad_acpi fan_control=1}}
+
{{hc|/etc/modprobe.d/modprobe.conf|2=options thinkpad_acpi fan_control=1}}
  
 
The thinkfan configuration file also needs to know how to set the fan speed. Replace the default sensor settings with the following.
 
The thinkfan configuration file also needs to know how to set the fan speed. Replace the default sensor settings with the following.
  
{{File|name=/etc/thinkfan.conf|content=sensor /sys/devices/platform/coretemp.0/temp1_input}}
+
{{hc|/etc/thinkfan.conf|sensor /sys/devices/platform/coretemp.0/temp1_input}}
  
 
== Sound ==
 
== Sound ==
Line 14: Line 14:
 
To make sound work, make sure all channels are unmuted via alsamixer or similar, and configure the snd-hda-intel module to load specifically for a thinkpad.
 
To make sound work, make sure all channels are unmuted via alsamixer or similar, and configure the snd-hda-intel module to load specifically for a thinkpad.
  
{{File|name=/etc/modprobe.d/modprobe.conf|content=options snd-hda-intel model=thinkpad}}
+
{{hc|/etc/modprobe.d/modprobe.conf|2=options snd-hda-intel model=thinkpad}}
  
 
== Track Point ==
 
== Track Point ==
 
=== Setting ===
 
=== Setting ===
 
Create 20-thinkpad.conf under /etc/X11/xorg.conf.d/.
 
Create 20-thinkpad.conf under /etc/X11/xorg.conf.d/.
<pre>
+
{{bc|<nowiki>
 
Section "InputClass"
 
Section "InputClass"
 
         Identifier      "Trackpoint Wheel Emulation"
 
         Identifier      "Trackpoint Wheel Emulation"
Line 30: Line 30:
 
         Option          "YAxisMapping"          "4 5"
 
         Option          "YAxisMapping"          "4 5"
 
EndSection
 
EndSection
</pre>
+
</nowiki>}}
  
 
=== Configuration Tool ===
 
=== Configuration Tool ===
 
The GPointing Device Settings is a great tool for configuring the Track Point. You may install it via AUR: {{AUR|gpointing-device-settings}}.
 
The GPointing Device Settings is a great tool for configuring the Track Point. You may install it via AUR: {{AUR|gpointing-device-settings}}.

Revision as of 12:28, 5 January 2012

Fans

The thinkpad_acpi kernel module needs to be configured so user space programs can control the fan speed.

/etc/modprobe.d/modprobe.conf
options thinkpad_acpi fan_control=1

The thinkfan configuration file also needs to know how to set the fan speed. Replace the default sensor settings with the following.

/etc/thinkfan.conf
sensor /sys/devices/platform/coretemp.0/temp1_input

Sound

To make sound work, make sure all channels are unmuted via alsamixer or similar, and configure the snd-hda-intel module to load specifically for a thinkpad.

/etc/modprobe.d/modprobe.conf
options snd-hda-intel model=thinkpad

Track Point

Setting

Create 20-thinkpad.conf under /etc/X11/xorg.conf.d/.

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|Composite TouchPad / TrackPoint"
        MatchDevicePath "/dev/input/event*"
        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelButton"    "2"
        Option          "Emulate3Buttons"       "false"
        Option          "XAxisMapping"          "6 7"
        Option          "YAxisMapping"          "4 5"
EndSection

Configuration Tool

The GPointing Device Settings is a great tool for configuring the Track Point. You may install it via AUR: gpointing-device-settingsAUR.