<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jango</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jango"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Jango"/>
	<updated>2026-04-30T09:52:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=51543</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=51543"/>
		<updated>2011-05-11T12:07:37Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */   fix typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Intel Gigabit Ethernet (10/100/1000) PCI-Express]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon HD 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
===CPU High Pitch Noise===&lt;br /&gt;
While running on battery power, T400 produces some high pitch noise on its front left corner. It seems to be related to the CPU idle C-States, this has nothing to do with the Speedstep. Information on C-States: [[http://www.intel.com/technology/itj/2006/volume10issue02/art03_Power_and_Thermal_Management/p03_power_management.htm]]. This noise has been referred as &amp;quot;CPU Whine&amp;quot; throughout the Internet. &lt;br /&gt;
&lt;br /&gt;
To eliminate the noise you have to disable C-States 3 and 4, to do so edit your &amp;quot;/etc/default/grub&amp;quot; where it says, GRUB_CMDLINE_LINUX = &amp;quot;&amp;quot; and input &amp;quot;processor.max_cstate=2&amp;quot;. If this entry does not exist, create it. If there is already something defined for it, include it with a space as separation mark. (e.g. GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;). This will increase your power consumption by 1W, from 15W to 16W more or less. &lt;br /&gt;
&lt;br /&gt;
Configuring your grub:&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option &amp;quot;processor.max_cstate=2&amp;quot; to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are other possible solutions listed here: [[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises#Solutions_for_CPU-triggered_noise]]; neither max_cstate=3 nor bm_history=0xFFFFFFFF have worked for me. Turning off CPU Power Management on BIOS works, but you can as well just add max_cstate to 2. At last I found this IBM report [[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-70669]], which suggests this could be related to usb devices not going to sleep. Michael Kiausch [[http://www.thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises]] reports having removed the usb controller module and solved his noise problem on his X41. However, usb controller modules are compiled inside the kernel on Ubuntu-9.10. Nevertheless, enabling autosuspend for every usb device in any of the following ways did not solve the problem either; by &amp;quot;echo -n 1 &amp;gt; &amp;quot;/sys/bus/usb/devices/usb*/power/autosuspend&amp;quot;&amp;quot;, through powertop or grubline &amp;quot;usbcore.autosuspend=1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Simple version for everyone... just run the script!'''&lt;br /&gt;
&lt;br /&gt;
* Download this script: http://homepage.univie.ac.at/s.hammer/install_hdapsd&lt;br /&gt;
* Give it the permissions to be executed (Right-click -&amp;gt; Properties -&amp;gt; Permissions -&amp;gt; Allow executing file as program)&lt;br /&gt;
* Open a terminal window, type &amp;quot;sudo su&amp;quot; and enter your password to become Superuser.&lt;br /&gt;
* Execute the script with typing &amp;quot;./install_hdapsd&amp;quot;&lt;br /&gt;
* Finished! ATTENTION: Run this script only once, otherwise your config files will get spammed!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the repository. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
Further, events of parking and un-parking will be logged to &amp;quot;'''/var/log/syslog'''&amp;quot;. This shows you, when the hdaps was triggered:&lt;br /&gt;
&lt;br /&gt;
 user@computer:~$ cat /var/log/syslog | grep hdaps&lt;br /&gt;
 # example output:&lt;br /&gt;
 Mar 23 23:14:25 computer hdapsd[1880]: parking&lt;br /&gt;
 Mar 23 23:14:26 computer hdapsd[1880]: un-parking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
====Undock from a docking station====&lt;br /&gt;
&lt;br /&gt;
I experienced that the docking station disconnects all devices immediately when the eject button is pressed. Even if you use a udev triggered script! This can end in data recovery if you have file systems mounted via the docking stations USB ports. You can use the following script to unmount all file systems from the docking station before ejecting your ThinkPad.&lt;br /&gt;
&lt;br /&gt;
'''Get the correct syspath'''&lt;br /&gt;
&lt;br /&gt;
The scripts needs to know which syspath points at the docking stations USB ports. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
Step 1: Plug a usb block device (i.e. usb key) into your docking station.&lt;br /&gt;
&lt;br /&gt;
Step 2: Run:&lt;br /&gt;
 mount&lt;br /&gt;
in the terminal and look for the device path - something like &amp;quot;/dev/sdb1&amp;quot; (should be the last line of the output).&lt;br /&gt;
&lt;br /&gt;
Step 3: Now run &lt;br /&gt;
 udevadm info --query=path --name=/dev/sdb1&lt;br /&gt;
with the device path from step 2 for &amp;quot;name=...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Step 4: You will get quite a long path - copy it to a temporary text file to remember it.&lt;br /&gt;
&lt;br /&gt;
Step 5: Repeat the procedure starting from step 1 with the next USB port from the docking station (I suggest for all the ports).&lt;br /&gt;
&lt;br /&gt;
Step 6: I recommend to attach a device to the notebook directly to see the differences in the syspaths.&lt;br /&gt;
&lt;br /&gt;
Step 7: The syspaths will contain a substring similar to /devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5...&lt;br /&gt;
In my experiences this is the substring where you can identify an USB device as attached to the docking station. If not: compare the paths and try to find the longest common string for all the syspaths.&lt;br /&gt;
&lt;br /&gt;
'''The script'''&lt;br /&gt;
&lt;br /&gt;
Please enter your correct syspath and username in the config section. Save the script somewhere and remember to make it executable.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # http://lukas-pirl.de/spin-offs 01/2010&lt;br /&gt;
 ################## BEGIN config ##################&lt;br /&gt;
 # define as regular expression:&lt;br /&gt;
 syspath_usb_at_docking=&amp;quot;/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.*&amp;quot;&lt;br /&gt;
 # need the username to send notifications to the desktop:&lt;br /&gt;
 username=&amp;quot;YouUserName&amp;quot;&lt;br /&gt;
 ################## END config ##################&lt;br /&gt;
 # iterate through mounts (mtab and truecrypt):&lt;br /&gt;
 echo &amp;quot;# query truecrypt and /proc/mounts for mounts...&amp;quot;&lt;br /&gt;
 for mounted in $(truecrypt --text -l | cat /proc/mounts -)&lt;br /&gt;
 do&lt;br /&gt;
 	success=1&lt;br /&gt;
 	# check if it is really a mounted _device_ (starting with /dev/):&lt;br /&gt;
 	device=`/usr/bin/expr &amp;quot;$mounted&amp;quot; : '\(/dev/[^ ]*\)'`&lt;br /&gt;
 	if [ &amp;quot;$device&amp;quot; != &amp;quot;&amp;quot; ]&lt;br /&gt;
 	then&lt;br /&gt;
 		# check if device is attached to the docking station:&lt;br /&gt;
 		echo &amp;quot;# try to get sys path for $device...&amp;quot;&lt;br /&gt;
 		if [ `/usr/bin/expr &amp;quot;$(/sbin/udevadm info --query=path --name=${device})&amp;quot; : &amp;quot;$syspath_usb_at_docking&amp;quot;` -gt 0 ]&lt;br /&gt;
 		then&lt;br /&gt;
 			echo &amp;quot;  # try to unmount $device...&amp;quot;&lt;br /&gt;
 			/bin/umount $device || ( echo &amp;quot;# unmount failed - try unmount with truecrypt...&amp;quot;; /usr/bin/truecrypt -d $device || ( sudo -u &amp;quot;$username&amp;quot; notify-send -u critical -t 100000 &amp;quot;Undock error&amp;quot; &amp;quot;Could not unmount $device&amp;quot;; success=0 ) )&lt;br /&gt;
 		else&lt;br /&gt;
 			echo &amp;quot;  # sys path does not contain the path to the usb ports at the docking station&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 	fi&lt;br /&gt;
 done&lt;br /&gt;
 if [ ${success} -eq 1 ]&lt;br /&gt;
 then&lt;br /&gt;
 	sudo -u &amp;quot;$username&amp;quot; /usr/bin/notify-send &amp;quot;Undock Complete!&amp;quot; &amp;quot;All file systems mounted via docking station unmounted!&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
Feel free to correct, enhance or customize the script. You can even [http://lukas-pirl.de/kontakt contact] the author of the script.&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=47920</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=47920"/>
		<updated>2010-03-22T21:53:31Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Intel Gigabit Ethernet (10/100/1000) PCI-Express]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon HD 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
===CPU High Pitch Noise===&lt;br /&gt;
While running on battery power, T400 produces some high pitch noise on its front left corner. It seems to be related to the CPU idle C-States, this has nothing to do with the Speedstep. Information on C-States: [[http://www.intel.com/technology/itj/2006/volume10issue02/art03_Power_and_Thermal_Management/p03_power_management.htm]]. This noise has been referred as &amp;quot;CPU Whine&amp;quot; throughout the Internet. &lt;br /&gt;
&lt;br /&gt;
To eliminate the noise you have to disable C-States 3 and 4, to do so edit your &amp;quot;/etc/default/grub&amp;quot; where it says, GRUB_CMDLINE_LINUX = &amp;quot;&amp;quot; and input &amp;quot;processor.max_cstate=2&amp;quot;. If this entry does not exist, create it. If there is already something defined for it, include it with a space as separation mark. (e.g. GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;). This will increase your power consumption by 1W, from 15W to 16W more or less. &lt;br /&gt;
&lt;br /&gt;
Configuring your grub:&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option &amp;quot;processor.max_cstate=2&amp;quot; to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are other possible solutions listed here: [[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises#Solutions_for_CPU-triggered_noise]]; neither max_cstate=3 nor bm_history=0xFFFFFFFF have worked for me. Turning off CPU Power Management on BIOS works, but you can as well just add max_cstate to 2. At last I found this IBM report [[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-70669]], which suggests this could be related to usb devices not going to sleep. Michael Kiausch [[http://www.thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises]] reports having removed the usb controller module and solved his noise problem on his X41. However, usb controller modules are compiled inside the kernel on Ubuntu-9.10. Nevertheless, enabling autosuspend for every usb device in any of the following ways did not solve the problem either; by &amp;quot;echo -n 1 &amp;gt; &amp;quot;/sys/bus/usb/devices/usb*/power/autosuspend&amp;quot;&amp;quot;, through powertop or grubline &amp;quot;usbcore.autosuspend=1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Simple version for everyone... just run the script!'''&lt;br /&gt;
&lt;br /&gt;
* Download this script: http://homepage.univie.ac.at/s.hammer/install_hdapsd&lt;br /&gt;
* Give it the permissions to be executed (Right-click -&amp;gt; Properties -&amp;gt; Permissions -&amp;gt; Allow executing file as program)&lt;br /&gt;
* Open a terminal window, type &amp;quot;sudo su&amp;quot; and enter your password to become Superuser.&lt;br /&gt;
* Execute the script with typing &amp;quot;./install_hdapsd&amp;quot;&lt;br /&gt;
* Finished! ATTENTION: Run this script only once, otherwise your config files will get spammed!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
====Undock from a docking station====&lt;br /&gt;
&lt;br /&gt;
I experienced that the docking station disconnects all devices immediately when the eject button is pressed. Even if you use a udev triggered script! This can end in data recovery if you have file systems mounted via the docking stations USB ports. You can use the following script to unmount all file systems from the docking station before ejecting your ThinkPad.&lt;br /&gt;
&lt;br /&gt;
'''Get the correct syspath'''&lt;br /&gt;
&lt;br /&gt;
The scripts needs to know which syspath points at the docking stations USB ports. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
Step 1: Plug a usb block device (i.e. usb key) into your docking station.&lt;br /&gt;
&lt;br /&gt;
Step 2: Run:&lt;br /&gt;
 mount&lt;br /&gt;
in the terminal and look for the device path - something like &amp;quot;/dev/sdb1&amp;quot; (should be the last line of the output).&lt;br /&gt;
&lt;br /&gt;
Step 3: Now run &lt;br /&gt;
 udevadm info --query=path --name=/dev/sdb1&lt;br /&gt;
with the device path from step 2 for &amp;quot;name=...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Step 4: You will get quite a long path - copy it to a temporary text file to remember it.&lt;br /&gt;
&lt;br /&gt;
Step 5: Repeat the procedure starting from step 1 with the next USB port from the docking station (I suggest for all the ports).&lt;br /&gt;
&lt;br /&gt;
Step 6: I recommend to attach a device to the notebook directly to see the differences in the syspaths.&lt;br /&gt;
&lt;br /&gt;
Step 7: The syspaths will contain a substring similar to /devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5...&lt;br /&gt;
In my experiences this is the substring where you can identify an USB device as attached to the docking station. If not: compare the paths and try to find the longest common string for all the syspaths.&lt;br /&gt;
&lt;br /&gt;
'''The script'''&lt;br /&gt;
&lt;br /&gt;
Please enter your correct syspath and username in the config section. Save the script somewhere and remember to make it executable.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # http://lukas-pirl.de/ 01/2010&lt;br /&gt;
 ################## BEGIN config ##################&lt;br /&gt;
 # define as regular expression:&lt;br /&gt;
 syspath_usb_at_docking=&amp;quot;/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.*&amp;quot;&lt;br /&gt;
 # need the username to send notifications to the desktop:&lt;br /&gt;
 username=&amp;quot;YouUserName&amp;quot;&lt;br /&gt;
 ################## END config ##################&lt;br /&gt;
 # iterate through mounts (mtab and truecrypt):&lt;br /&gt;
 echo &amp;quot;# query truecrypt and /proc/mounts for mounts...&amp;quot;&lt;br /&gt;
 for mounted in $(truecrypt --text -l | cat /proc/mounts -)&lt;br /&gt;
 do&lt;br /&gt;
 	success=1&lt;br /&gt;
 	# check if it is really a mounted _device_ (starting with /dev/):&lt;br /&gt;
 	device=`/usr/bin/expr &amp;quot;$mounted&amp;quot; : '\(/dev/[^ ]*\)'`&lt;br /&gt;
 	if [ &amp;quot;$device&amp;quot; != &amp;quot;&amp;quot; ]&lt;br /&gt;
 	then&lt;br /&gt;
 		# check if device is attached to the docking station:&lt;br /&gt;
 		echo &amp;quot;# try to get sys path for $device...&amp;quot;&lt;br /&gt;
 		if [ `/usr/bin/expr &amp;quot;$(/sbin/udevadm info --query=path --name=${device})&amp;quot; : &amp;quot;$syspath_usb_at_docking&amp;quot;` -gt 0 ]&lt;br /&gt;
 		then&lt;br /&gt;
 			echo &amp;quot;  # try to unmount $device...&amp;quot;&lt;br /&gt;
 			/bin/umount $device || ( echo &amp;quot;# unmount failed - try unmount with truecrypt...&amp;quot;; /usr/bin/truecrypt -d $device || ( sudo -u &amp;quot;$username&amp;quot; notify-send -u critical -t 100000 &amp;quot;Undock error&amp;quot; &amp;quot;Could not unmount $device&amp;quot;; success=0 ) )&lt;br /&gt;
 		else&lt;br /&gt;
 			echo &amp;quot;  # sys path does not contain the path to the usb ports at the docking station&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 	fi&lt;br /&gt;
 done&lt;br /&gt;
 if [ ${success} -eq 1 ]&lt;br /&gt;
 then&lt;br /&gt;
 	sudo -u &amp;quot;$username&amp;quot; /usr/bin/notify-send &amp;quot;Undock Complete!&amp;quot; &amp;quot;All file systems mounted via docking station unmounted!&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
Feel free to correct, enhance or customize the script. You can even [http://lukas-pirl.de/kontakt contact] the author of the script.&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=47919</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=47919"/>
		<updated>2010-03-22T21:49:56Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Intel Gigabit Ethernet (10/100/1000) PCI-Express]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon HD 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
===CPU High Pitch Noise===&lt;br /&gt;
While running on battery power, T400 produces some high pitch noise on its front left corner. It seems to be related to the CPU idle C-States, this has nothing to do with the Speedstep. Information on C-States: [[http://www.intel.com/technology/itj/2006/volume10issue02/art03_Power_and_Thermal_Management/p03_power_management.htm]]. This noise has been referred as &amp;quot;CPU Whine&amp;quot; throughout the Internet. &lt;br /&gt;
&lt;br /&gt;
To eliminate the noise you have to disable C-States 3 and 4, to do so edit your &amp;quot;/etc/default/grub&amp;quot; where it says, GRUB_CMDLINE_LINUX = &amp;quot;&amp;quot; and input &amp;quot;processor.max_cstate=2&amp;quot;. If this entry does not exist, create it. If there is already something defined for it, include it with a space as separation mark. (e.g. GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;). This will increase your power consumption by 1W, from 15W to 16W more or less. &lt;br /&gt;
&lt;br /&gt;
Configuring your grub:&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option &amp;quot;processor.max_cstate=2&amp;quot; to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are other possible solutions listed here: [[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises#Solutions_for_CPU-triggered_noise]]; neither max_cstate=3 nor bm_history=0xFFFFFFFF have worked for me. Turning off CPU Power Management on BIOS works, but you can as well just add max_cstate to 2. At last I found this IBM report [[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-70669]], which suggests this could be related to usb devices not going to sleep. Michael Kiausch [[http://www.thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises]] reports having removed the usb controller module and solved his noise problem on his X41. However, usb controller modules are compiled inside the kernel on Ubuntu-9.10. Nevertheless, enabling autosuspend for every usb device in any of the following ways did not solve the problem either; by &amp;quot;echo -n 1 &amp;gt; &amp;quot;/sys/bus/usb/devices/usb*/power/autosuspend&amp;quot;&amp;quot;, through powertop or grubline &amp;quot;usbcore.autosuspend=1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Simple version for everyone... just run the script!'''&lt;br /&gt;
&lt;br /&gt;
* Download this script: http://homepage.univie.ac.at/s.hammer/install_hdapsd&lt;br /&gt;
* Give it the permissions to be executed (Right-click -&amp;gt; Properties -&amp;gt; Permissions -&amp;gt; Allow executing file as program)&lt;br /&gt;
* Open a terminal window, type &amp;quot;sudo su&amp;quot; and enter your password to become Superuser.&lt;br /&gt;
* Execute the script with typing &amp;quot;./install_hdapsd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
====Undock from a docking station====&lt;br /&gt;
&lt;br /&gt;
I experienced that the docking station disconnects all devices immediately when the eject button is pressed. Even if you use a udev triggered script! This can end in data recovery if you have file systems mounted via the docking stations USB ports. You can use the following script to unmount all file systems from the docking station before ejecting your ThinkPad.&lt;br /&gt;
&lt;br /&gt;
'''Get the correct syspath'''&lt;br /&gt;
&lt;br /&gt;
The scripts needs to know which syspath points at the docking stations USB ports. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
Step 1: Plug a usb block device (i.e. usb key) into your docking station.&lt;br /&gt;
&lt;br /&gt;
Step 2: Run:&lt;br /&gt;
 mount&lt;br /&gt;
in the terminal and look for the device path - something like &amp;quot;/dev/sdb1&amp;quot; (should be the last line of the output).&lt;br /&gt;
&lt;br /&gt;
Step 3: Now run &lt;br /&gt;
 udevadm info --query=path --name=/dev/sdb1&lt;br /&gt;
with the device path from step 2 for &amp;quot;name=...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Step 4: You will get quite a long path - copy it to a temporary text file to remember it.&lt;br /&gt;
&lt;br /&gt;
Step 5: Repeat the procedure starting from step 1 with the next USB port from the docking station (I suggest for all the ports).&lt;br /&gt;
&lt;br /&gt;
Step 6: I recommend to attach a device to the notebook directly to see the differences in the syspaths.&lt;br /&gt;
&lt;br /&gt;
Step 7: The syspaths will contain a substring similar to /devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5...&lt;br /&gt;
In my experiences this is the substring where you can identify an USB device as attached to the docking station. If not: compare the paths and try to find the longest common string for all the syspaths.&lt;br /&gt;
&lt;br /&gt;
'''The script'''&lt;br /&gt;
&lt;br /&gt;
Please enter your correct syspath and username in the config section. Save the script somewhere and remember to make it executable.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # http://lukas-pirl.de/ 01/2010&lt;br /&gt;
 ################## BEGIN config ##################&lt;br /&gt;
 # define as regular expression:&lt;br /&gt;
 syspath_usb_at_docking=&amp;quot;/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.*&amp;quot;&lt;br /&gt;
 # need the username to send notifications to the desktop:&lt;br /&gt;
 username=&amp;quot;YouUserName&amp;quot;&lt;br /&gt;
 ################## END config ##################&lt;br /&gt;
 # iterate through mounts (mtab and truecrypt):&lt;br /&gt;
 echo &amp;quot;# query truecrypt and /proc/mounts for mounts...&amp;quot;&lt;br /&gt;
 for mounted in $(truecrypt --text -l | cat /proc/mounts -)&lt;br /&gt;
 do&lt;br /&gt;
 	success=1&lt;br /&gt;
 	# check if it is really a mounted _device_ (starting with /dev/):&lt;br /&gt;
 	device=`/usr/bin/expr &amp;quot;$mounted&amp;quot; : '\(/dev/[^ ]*\)'`&lt;br /&gt;
 	if [ &amp;quot;$device&amp;quot; != &amp;quot;&amp;quot; ]&lt;br /&gt;
 	then&lt;br /&gt;
 		# check if device is attached to the docking station:&lt;br /&gt;
 		echo &amp;quot;# try to get sys path for $device...&amp;quot;&lt;br /&gt;
 		if [ `/usr/bin/expr &amp;quot;$(/sbin/udevadm info --query=path --name=${device})&amp;quot; : &amp;quot;$syspath_usb_at_docking&amp;quot;` -gt 0 ]&lt;br /&gt;
 		then&lt;br /&gt;
 			echo &amp;quot;  # try to unmount $device...&amp;quot;&lt;br /&gt;
 			/bin/umount $device || ( echo &amp;quot;# unmount failed - try unmount with truecrypt...&amp;quot;; /usr/bin/truecrypt -d $device || ( sudo -u &amp;quot;$username&amp;quot; notify-send -u critical -t 100000 &amp;quot;Undock error&amp;quot; &amp;quot;Could not unmount $device&amp;quot;; success=0 ) )&lt;br /&gt;
 		else&lt;br /&gt;
 			echo &amp;quot;  # sys path does not contain the path to the usb ports at the docking station&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 	fi&lt;br /&gt;
 done&lt;br /&gt;
 if [ ${success} -eq 1 ]&lt;br /&gt;
 then&lt;br /&gt;
 	sudo -u &amp;quot;$username&amp;quot; /usr/bin/notify-send &amp;quot;Undock Complete!&amp;quot; &amp;quot;All file systems mounted via docking station unmounted!&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
Feel free to correct, enhance or customize the script. You can even [http://lukas-pirl.de/kontakt contact] the author of the script.&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=47918</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=47918"/>
		<updated>2010-03-22T21:49:13Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Intel Gigabit Ethernet (10/100/1000) PCI-Express]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon HD 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
===CPU High Pitch Noise===&lt;br /&gt;
While running on battery power, T400 produces some high pitch noise on its front left corner. It seems to be related to the CPU idle C-States, this has nothing to do with the Speedstep. Information on C-States: [[http://www.intel.com/technology/itj/2006/volume10issue02/art03_Power_and_Thermal_Management/p03_power_management.htm]]. This noise has been referred as &amp;quot;CPU Whine&amp;quot; throughout the Internet. &lt;br /&gt;
&lt;br /&gt;
To eliminate the noise you have to disable C-States 3 and 4, to do so edit your &amp;quot;/etc/default/grub&amp;quot; where it says, GRUB_CMDLINE_LINUX = &amp;quot;&amp;quot; and input &amp;quot;processor.max_cstate=2&amp;quot;. If this entry does not exist, create it. If there is already something defined for it, include it with a space as separation mark. (e.g. GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;). This will increase your power consumption by 1W, from 15W to 16W more or less. &lt;br /&gt;
&lt;br /&gt;
Configuring your grub:&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option &amp;quot;processor.max_cstate=2&amp;quot; to the end of the line:&lt;br /&gt;
 GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot; processor.max_cstate=2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are other possible solutions listed here: [[http://www.thinkwiki.org/wiki/Problem_with_high_pitch_noises#Solutions_for_CPU-triggered_noise]]; neither max_cstate=3 nor bm_history=0xFFFFFFFF have worked for me. Turning off CPU Power Management on BIOS works, but you can as well just add max_cstate to 2. At last I found this IBM report [[http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-70669]], which suggests this could be related to usb devices not going to sleep. Michael Kiausch [[http://www.thinkwiki.org/wiki?title=Talk:Problem_with_high_pitch_noises]] reports having removed the usb controller module and solved his noise problem on his X41. However, usb controller modules are compiled inside the kernel on Ubuntu-9.10. Nevertheless, enabling autosuspend for every usb device in any of the following ways did not solve the problem either; by &amp;quot;echo -n 1 &amp;gt; &amp;quot;/sys/bus/usb/devices/usb*/power/autosuspend&amp;quot;&amp;quot;, through powertop or grubline &amp;quot;usbcore.autosuspend=1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Simple version for everyone... just run a script!'''&lt;br /&gt;
&lt;br /&gt;
Download this script: http://homepage.univie.ac.at/s.hammer/install_hdapsd&lt;br /&gt;
Give it the permissions to be executed (Right-click -&amp;gt; Properties -&amp;gt; Permissions -&amp;gt; Allow executing file as program)&lt;br /&gt;
Open a terminal window, type &amp;quot;sudo su&amp;quot; and enter your password to become Superuser.&lt;br /&gt;
Execute the script with typing &amp;quot;./install_hdapsd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
====Undock from a docking station====&lt;br /&gt;
&lt;br /&gt;
I experienced that the docking station disconnects all devices immediately when the eject button is pressed. Even if you use a udev triggered script! This can end in data recovery if you have file systems mounted via the docking stations USB ports. You can use the following script to unmount all file systems from the docking station before ejecting your ThinkPad.&lt;br /&gt;
&lt;br /&gt;
'''Get the correct syspath'''&lt;br /&gt;
&lt;br /&gt;
The scripts needs to know which syspath points at the docking stations USB ports. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
Step 1: Plug a usb block device (i.e. usb key) into your docking station.&lt;br /&gt;
&lt;br /&gt;
Step 2: Run:&lt;br /&gt;
 mount&lt;br /&gt;
in the terminal and look for the device path - something like &amp;quot;/dev/sdb1&amp;quot; (should be the last line of the output).&lt;br /&gt;
&lt;br /&gt;
Step 3: Now run &lt;br /&gt;
 udevadm info --query=path --name=/dev/sdb1&lt;br /&gt;
with the device path from step 2 for &amp;quot;name=...&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Step 4: You will get quite a long path - copy it to a temporary text file to remember it.&lt;br /&gt;
&lt;br /&gt;
Step 5: Repeat the procedure starting from step 1 with the next USB port from the docking station (I suggest for all the ports).&lt;br /&gt;
&lt;br /&gt;
Step 6: I recommend to attach a device to the notebook directly to see the differences in the syspaths.&lt;br /&gt;
&lt;br /&gt;
Step 7: The syspaths will contain a substring similar to /devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5...&lt;br /&gt;
In my experiences this is the substring where you can identify an USB device as attached to the docking station. If not: compare the paths and try to find the longest common string for all the syspaths.&lt;br /&gt;
&lt;br /&gt;
'''The script'''&lt;br /&gt;
&lt;br /&gt;
Please enter your correct syspath and username in the config section. Save the script somewhere and remember to make it executable.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # http://lukas-pirl.de/ 01/2010&lt;br /&gt;
 ################## BEGIN config ##################&lt;br /&gt;
 # define as regular expression:&lt;br /&gt;
 syspath_usb_at_docking=&amp;quot;/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.*&amp;quot;&lt;br /&gt;
 # need the username to send notifications to the desktop:&lt;br /&gt;
 username=&amp;quot;YouUserName&amp;quot;&lt;br /&gt;
 ################## END config ##################&lt;br /&gt;
 # iterate through mounts (mtab and truecrypt):&lt;br /&gt;
 echo &amp;quot;# query truecrypt and /proc/mounts for mounts...&amp;quot;&lt;br /&gt;
 for mounted in $(truecrypt --text -l | cat /proc/mounts -)&lt;br /&gt;
 do&lt;br /&gt;
 	success=1&lt;br /&gt;
 	# check if it is really a mounted _device_ (starting with /dev/):&lt;br /&gt;
 	device=`/usr/bin/expr &amp;quot;$mounted&amp;quot; : '\(/dev/[^ ]*\)'`&lt;br /&gt;
 	if [ &amp;quot;$device&amp;quot; != &amp;quot;&amp;quot; ]&lt;br /&gt;
 	then&lt;br /&gt;
 		# check if device is attached to the docking station:&lt;br /&gt;
 		echo &amp;quot;# try to get sys path for $device...&amp;quot;&lt;br /&gt;
 		if [ `/usr/bin/expr &amp;quot;$(/sbin/udevadm info --query=path --name=${device})&amp;quot; : &amp;quot;$syspath_usb_at_docking&amp;quot;` -gt 0 ]&lt;br /&gt;
 		then&lt;br /&gt;
 			echo &amp;quot;  # try to unmount $device...&amp;quot;&lt;br /&gt;
 			/bin/umount $device || ( echo &amp;quot;# unmount failed - try unmount with truecrypt...&amp;quot;; /usr/bin/truecrypt -d $device || ( sudo -u &amp;quot;$username&amp;quot; notify-send -u critical -t 100000 &amp;quot;Undock error&amp;quot; &amp;quot;Could not unmount $device&amp;quot;; success=0 ) )&lt;br /&gt;
 		else&lt;br /&gt;
 			echo &amp;quot;  # sys path does not contain the path to the usb ports at the docking station&amp;quot;&lt;br /&gt;
 		fi&lt;br /&gt;
 	fi&lt;br /&gt;
 done&lt;br /&gt;
 if [ ${success} -eq 1 ]&lt;br /&gt;
 then&lt;br /&gt;
 	sudo -u &amp;quot;$username&amp;quot; /usr/bin/notify-send &amp;quot;Undock Complete!&amp;quot; &amp;quot;All file systems mounted via docking station unmounted!&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
Feel free to correct, enhance or customize the script. You can even [http://lukas-pirl.de/kontakt contact] the author of the script.&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=45404</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=45404"/>
		<updated>2010-01-18T20:54:49Z</updated>

		<summary type="html">&lt;p&gt;Jango: removed part with hdaps-utils&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
The package hdaps-utils was deleted because it was &amp;quot;out of date and obsolete&amp;quot;! See here: https://launchpad.net/ubuntu/karmic/+source/hdaps-utils/0.1-1.1. I removed the part using hdaps-utils! Now everything is up to date and should work. &lt;br /&gt;
If you want to use hdaps-gl follow these instructions: [[How_to_protect_the_harddisk_through_APS#hdaps-gl|How_to_protect_the_harddisk_through_APS#hdaps-gl]]&lt;br /&gt;
&lt;br /&gt;
--[[User:jango|jango]] 20:44, 18 Jan 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=45403</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=45403"/>
		<updated>2010-01-18T20:43:24Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''NOTE: The hdaps-utils package mentioned below appears to have been removed from the Karmic repositories (not sure why), so this set of instructions is somewhat out of date.  They still seem to work, apart from the hdaps-gl part (though I didn't try installing the gnome applet)'''  --[[User:Fstonedahl|Fstonedahl]] 20:55, 28 December 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=45402</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=45402"/>
		<updated>2010-01-18T20:42:35Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
====Enabling it====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
====Auto Re-enable Workaround====&lt;br /&gt;
The touchpad will be automatically enabled every time you hit a key on the keyboard (Bug #459832 [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/459832]]). In order to avoid that you have to install gsynaptics and unselect &amp;quot;Disable touchpad while typing&amp;quot;. To do it:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gsynaptics&lt;br /&gt;
&lt;br /&gt;
 Go to Menu: System-&amp;gt;Preferences-&amp;gt;Mouse-&amp;gt;Touchpad&lt;br /&gt;
 Under General unselect &amp;quot;Disable touchpad while typing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is also a graphical tool for configuring the trackpoint: [http://tpctl.sourceforge.net/configure-trackpoint.html Configure Trackpoint]&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
-----------------------------&lt;br /&gt;
'''This step is probably not necessary, at least on my t400 Load_Cycle_Count is stable.'''&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
===Sound in KDE (Kubuntu) does not work===&lt;br /&gt;
Flash sound and/or Skype did not work. Other sounds are working. You have to switch sound settings, so that Pulse Audio is preferred before all other systems. System settings -&amp;gt; Multimedia -&amp;gt; Sound ouput.&lt;br /&gt;
&lt;br /&gt;
===Performance Problem with Window Unminimize and Resize ===&lt;br /&gt;
If you happen to use the following combination: gnome, compiz and proprietary ati/amd driver you are almost certainly experiencing performance problem when either resizing or unminimizing terminal window. Follow instructions provided [http://friendlytechninja.com/2009/11/29/howto-fix-performance-of-ati-drivers-with-compiz-on-ubuntu-9-10-karmic-koala/ here] to install modified version of X.&lt;br /&gt;
&lt;br /&gt;
Ubuntu Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/351186 351186]&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you are dual-booting XP (or older) make sure you '''disable switchable graphics detection in the BIOS'''. If you don't when you boot Linux the BIOS will enable switchable graphics since apparently Linux is aware of it and later when you boot into XP with it still enabled you'll have problems (drivers won't load, etc).}}&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''NOTE: The hdaps-utils package mentioned below appears to have been removed from the Karmic repositories (not sure why), so this set of instructions is somewhat out of date.  They still seem to work, apart from the hdaps-gl part (though I didn't try installing the gnome applet)'''  --[[User:Fstonedahl|Fstonedahl]] 20:55, 28 December 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -a thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44816</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44816"/>
		<updated>2009-11-23T10:59:07Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd hdaps-utils&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, next lines are to download, extract and move to the source directory, then we compile it and copy the files to several positions. At last clean up a little bit. Now you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44815</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44815"/>
		<updated>2009-11-23T10:53:17Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd hdaps-utils&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal (or create a new file, insert this lines and execute it with sudo):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 mkdir gnome-hdaps&lt;br /&gt;
 cd gnome-hdaps&lt;br /&gt;
 wget http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 tar xfvz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
 sudo gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
 cd ..&lt;br /&gt;
 rm -R gnome-hdaps&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory and extract the files, then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400s&amp;diff=44807</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400s</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400s&amp;diff=44807"/>
		<updated>2009-11-22T17:53:10Z</updated>

		<summary type="html">&lt;p&gt;Jango: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400s|T400s]]&lt;br /&gt;
&lt;br /&gt;
==Disclaimer==&lt;br /&gt;
I just started to write up this page as of 2009-08-12. Please expect more to come in the next couple of days. The &amp;quot;template&amp;quot; was taken from [[Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400| Ubuntu 9.04 on a T400]]. Of course at the moment [[http://www.ubuntu.com/testing/karmic/alpha4 | Karmic Alpha4]] is all you can get off the Net. The good news is: Everything works out of the box. Where are the good old times it took you a couple of nights to get a new box up and running? ;)&lt;br /&gt;
&lt;br /&gt;
You may ask why an alpha when you can have Ubuntu Jaunty. I use btrfs as my filesystem of choice.&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Backup your data. Maybe dd the rescue partition.&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade==&lt;br /&gt;
There is a [http://www-307.ibm.com/pc/support/site.wss/MIGR-72823.html Bios upgrade] available. Not sure if it is required. Install from a CD went smoothly.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**With status LED and everything! (LED does not work for ThinkPad 11b/g Wireless LAN Mini PCI Express Adapter III)&lt;br /&gt;
**version: 1.3.27k&lt;br /&gt;
**Firmware: iwlwifi-4965-2.ucode&lt;br /&gt;
&lt;br /&gt;
*Bluetooth&lt;br /&gt;
** Bus 004 Device 005: ID 0a5c:2145 Broadcom Corp.&lt;br /&gt;
** With status LED and everything!&lt;br /&gt;
** Tested with Motorola headset HT820. After connecting with Blueman you need to register the headset using&lt;br /&gt;
  pactl load-module module-alsa-sink device=bluetooth&lt;br /&gt;
** Tested with Nokia 810 and BlueMaemo (Mouse, Keyboard)&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Corporation 82567LM Gigabit Network Connection (rev 03)]]&lt;br /&gt;
** module e1000e&lt;br /&gt;
&lt;br /&gt;
*UMTS 3G modem: Ericsson F3507g ([[Ericsson_F3507g_Mobile_Broadband_Module]])&lt;br /&gt;
** Tested successfully with Networkmanager in Germany (Vodafone D2)&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]]), module i915&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
** Needs more testing.&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
** module snd-hda-intel&lt;br /&gt;
*Optical drive&lt;br /&gt;
** tested cd/dvd read&lt;br /&gt;
** tested cd-r, cd-rw (also blank) write&lt;br /&gt;
*built-in webcam (tested with skype, cheese and ekiga) (idVendor           0x17ef Lenovo, idProduct          0x480d, bcdDevice           23.38, iManufacturer           1 Chicony Electronics Co., Ltd.)&lt;br /&gt;
*7-in-1 card reader Ricoh Co Ltd Device e822 (rev 01)(MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
** tested with SD card&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
** Tapping seems not to work.&lt;br /&gt;
** Use gpointing-device-settings to configure)&lt;br /&gt;
** x-axis range 1472 - 5472&lt;br /&gt;
** y-axis range 1408 - 4448&lt;br /&gt;
** pressure range 0 - 255&lt;br /&gt;
** no idea how to use gestures/multitouch&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
** Suspend works&lt;br /&gt;
** Hibernate works&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Please feel free to edit this page. If you have trouble, comments, etc. please contact [[User:Alien8 |me]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Stay tuned, more to come.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Active Protection System==&lt;br /&gt;
&lt;br /&gt;
see here: [[Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400#Active_Protection_System]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400s]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=44806</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=44806"/>
		<updated>2009-11-22T17:48:47Z</updated>

		<summary type="html">&lt;p&gt;Jango: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
'''Newest Version of [[Ubuntu]] is 9.10''' -&amp;gt; [[Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Wireless with ath5k driver (ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset))&lt;br /&gt;
** jockey-gtk gives you the option of installing MadWIFI.  I did not try that since ath5k works for me.&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit you grub menu.lst and add a kernel option acpi_osi=&amp;quot;Linux&amp;quot; .&lt;br /&gt;
&lt;br /&gt;
first back up your menu list&lt;br /&gt;
 &amp;gt; sudo cp /boot/grub/menu.lst{,.orig}&lt;br /&gt;
&lt;br /&gt;
Edit it&lt;br /&gt;
 &amp;gt; sudo vim /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
Look for a line that looks something like this:&lt;br /&gt;
 # kopt=root=UUID=&amp;lt;the disk partition id&amp;gt; ro&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # kopt=root=UUID=&amp;lt;the disk partition id&amp;gt; ro acpi_osi=&amp;quot;Linux&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
8. If the script doesn't lead to success, you could try&lt;br /&gt;
&lt;br /&gt;
  sudo rm /var/cache/hald/fdi-cache&lt;br /&gt;
  sudo /etc/init.d/hal restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/acpi-support (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''APS with DKMS support for tp_smapi, visit:  http://code.google.com/p/tp-smapi-dkms-module/'''&lt;br /&gt;
&lt;br /&gt;
If you use APS with DKMS then you don't need to rebuild the module after kernel switch/update.&lt;br /&gt;
&lt;br /&gt;
DKMS: http://en.wikipedia.org/wiki/DKMS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20090401.tar.gz from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save these things on your Desktop and unpack them, e.g.&lt;br /&gt;
&lt;br /&gt;
 tar xvfz hdapsd-20090401.tar.gz&lt;br /&gt;
 tar xvfz tp_smapi-0.40.tgz&lt;br /&gt;
 tar xvfz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod these modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install these packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
 cd Desktop/hdapsd-20090401/&lt;br /&gt;
 ./configure --prefix=/usr/&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
&lt;br /&gt;
If compilation and installation succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44805</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44805"/>
		<updated>2009-11-22T17:43:44Z</updated>

		<summary type="html">&lt;p&gt;Jango: added headers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''Install Packages:'''&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd hdaps-utils&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
'''Set Options:'''&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
'''Test installation:'''&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
'''Additional tools:'''&lt;br /&gt;
 &lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44804</id>
		<title>Install Ubuntu 9.10 (Karmic Koala) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T400&amp;diff=44804"/>
		<updated>2009-11-22T17:40:20Z</updated>

		<summary type="html">&lt;p&gt;Jango: Changed to use the packages in  respiratories!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Trackpoint and Touchpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit your grub configuration adding a kernel option acpi_osi=&amp;quot;Linux&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Configure your grub&lt;br /&gt;
 &amp;gt; sudo vim /etc/default/grub&lt;br /&gt;
&lt;br /&gt;
Look for the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # GRUB_CMDLINE_LINUX=&amp;quot;acpi_osi=&amp;quot;Linux&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Scrolling with Trackpoint===&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
===Enabling Touchpad on/off key===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
===Configuring Trackpoint's sensitivity and speed on start===&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint]]&lt;br /&gt;
Adjusting the speed and sensitivity of the TrackPoint requires echoing a value between 0 and 255 into the appropriate file. For example, for a speed of 120 and a sensitivity of 250, type the following into a terminal:&lt;br /&gt;
&lt;br /&gt;
    # echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    # echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
&lt;br /&gt;
Feel free to experiment with your settings until you find a combination that is comfortable. Do it as root, sudo does not work. Instead use &amp;quot;sudo -i&amp;quot; or &amp;quot;sudo su&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
When you satisfy your setting, add the two lines into /etc/rc.d/rc.local in order to avoid restoring the default setting every time the system reboots. In Ubuntu 9.10, add the lines to /etc/rc.local before the exit 0 line:&lt;br /&gt;
&lt;br /&gt;
    # By default this script does nothing.&lt;br /&gt;
    &lt;br /&gt;
    echo -n 120 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed &lt;br /&gt;
    echo -n 250 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity &lt;br /&gt;
    &lt;br /&gt;
    exit 0&lt;br /&gt;
&lt;br /&gt;
===Gnome Power Manager: Put computer to sleep when inactive for: XX Minutes workaround===&lt;br /&gt;
&lt;br /&gt;
Type ALT+F2, input gconf-editor and click on Run. Navigate to /apps/gnome-power-manager/actions. Notice that sleep_type_battery has no value defined. Click on it, select options with the right mouse button, click on Edit key... Set value to hibernate or suspend whatever you want. &lt;br /&gt;
&lt;br /&gt;
Now your computer should suspend or hibernate after the idle time you set on gnome-power-manager. Remember that this time starts only after the screensaver has jumped in. That's 5 minutes standard. So if you set 10 minutes it will sleep after 15 minutes idle time. &lt;br /&gt;
&lt;br /&gt;
===Notebook-Harddrive Bug===&lt;br /&gt;
&lt;br /&gt;
Source: [[https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695]]&lt;br /&gt;
&lt;br /&gt;
Change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking! Line 238, 200 seems to be a reasonable value:&lt;br /&gt;
&lt;br /&gt;
    BATT_HD_POWERMGMT=200&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Not tested yet.&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
==Extras==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
Since Karmic the packages were updated in the respiratory. So you only have to install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tp-smapi-source hdapsd hdaps-utils&lt;br /&gt;
&lt;br /&gt;
Then use module-assistant to build tp-smapi:&lt;br /&gt;
&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
&lt;br /&gt;
To load these modules on every startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
If the installation of hdapsd succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=43994</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=43994"/>
		<updated>2009-08-25T20:08:20Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */  corrected some grammatical errors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Wireless with ath5k driver (ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset))&lt;br /&gt;
** jockey-gtk gives you the option of installing MadWIFI.  I did not try that since ath5k works for me.&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
===Mute button=== &lt;br /&gt;
&lt;br /&gt;
The Mute button only mutes the sound but no induction in the gnome volume indicator. &lt;br /&gt;
To fix this you must edit you grub menu.lst and add a kernel option acpi_osi=&amp;quot;Linux&amp;quot; .&lt;br /&gt;
&lt;br /&gt;
first back up your menu list&lt;br /&gt;
 &amp;gt; sudo cp /boot/grub/menu.lst{,.orig}&lt;br /&gt;
&lt;br /&gt;
Edit it&lt;br /&gt;
 &amp;gt; sudo vim /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
Look for a line that looks something like this:&lt;br /&gt;
 # kopt=root=UUID=&amp;lt;the disk partition id&amp;gt; ro&lt;br /&gt;
&lt;br /&gt;
Add the kernel option to the end of the line:&lt;br /&gt;
 # kopt=root=UUID=&amp;lt;the disk partition id&amp;gt; ro acpi_osi=&amp;quot;Linux&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file, then update grub&lt;br /&gt;
 &amp;gt; sudo update-grub&lt;br /&gt;
&lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
8. If the script doesn't lead to success, you could try&lt;br /&gt;
&lt;br /&gt;
  sudo rm /var/cache/hald/fdi-cache&lt;br /&gt;
  sudo /etc/init.d/hal restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/acpi-support (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''APS with DKMS support for tp_smapi, visit:  http://code.google.com/p/tp-smapi-dkms-module/'''&lt;br /&gt;
&lt;br /&gt;
If you use APS with DKMS then you don't need to rebuild the module after kernel switch/update.&lt;br /&gt;
&lt;br /&gt;
DKMS: http://en.wikipedia.org/wiki/DKMS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20090401.tar.gz from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save these things on your Desktop and unpack them, e.g.&lt;br /&gt;
&lt;br /&gt;
 tar xvfz hdapsd-20090401.tar.gz&lt;br /&gt;
 tar xvfz tp_smapi-0.40.tgz&lt;br /&gt;
 tar xvfz gnome-hdaps-applet-20081204.tar.gz&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod these modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
We also need options to load these modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install these packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
 cd Desktop/hdapsd-20090401/&lt;br /&gt;
 ./configure --prefix=/usr/&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
&lt;br /&gt;
If compilation and installation succeeded, you can test it by typing this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the gnome-panel-applet type these lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
==Upgrading from earlier versions of Ubuntu==&lt;br /&gt;
&lt;br /&gt;
====Resume/Suspend problems====&lt;br /&gt;
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.&lt;br /&gt;
Try reinstalling acpi-support and laptop-mode-tools:&lt;br /&gt;
 sudo apt-get remove --purge laptop-mode-tools acpi-support&lt;br /&gt;
 sudo apt-get install laptop-mode-tools acpi-support&lt;br /&gt;
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42703</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42703"/>
		<updated>2009-04-15T08:42:31Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Notebook-Harddrive Bug */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/acpi-support (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step! To do so type:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc-3.4&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the gnome-panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42702</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42702"/>
		<updated>2009-04-15T08:38:37Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Notebook-Harddrive Bug */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Not necessary any more? There is no /etc/default/laptop-mode any more? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step! To do so type:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc-3.4&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the gnome-panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42658</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42658"/>
		<updated>2009-04-14T16:43:24Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step! To do so type:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc-3.4&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;'''/etc/default/hdapsd'''&amp;quot;. &lt;br /&gt;
To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the gnome-panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42657</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42657"/>
		<updated>2009-04-14T16:42:26Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step! To do so type:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc-3.4&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;/etc/default/hdapsd&amp;quot;. To see the effects you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42656</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42656"/>
		<updated>2009-04-14T16:41:04Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step! To do so type:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc-3.4&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: &amp;quot;/etc/default/hdapsd&amp;quot;. Afterwards you have to type &amp;quot;sudo /etc/init.d/hdapsd restart&amp;quot; to restart hdapsd!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T400&amp;diff=42655</id>
		<title>Install Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T400&amp;diff=42655"/>
		<updated>2009-04-14T16:27:07Z</updated>

		<summary type="html">&lt;p&gt;Jango: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Newest Version of [[Ubuntu]] is 9.04''' -&amp;gt; [[Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_Thinkpad_T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
With one version of the installer CD, the installation works fine, but after rebooting it hangs with ATA errors. Solution was to boot the Live CD, mount the partition, chroot, and upgrade to the newest kernel (from 2.6.27-7 to 2.6.27-9).&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
** VGA output - mirrored and extended desktop both work, but might need to run the following to enable 1600x1200 resolution&lt;br /&gt;
 {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}}&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate on a fully updated System!&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
====[[ThinkVantage Button]] {{ibmkey|ThinkVantage|#495988}}====&lt;br /&gt;
&lt;br /&gt;
Edit the file /usr/share/hotkey-setup/ibm.hk with adding this line:&lt;br /&gt;
&lt;br /&gt;
 setkeycodes e017 148 #thinkpad button&lt;br /&gt;
&lt;br /&gt;
You have to restart, then you refer a program with the &amp;quot;System -&amp;gt; Preferences -&amp;gt; Keyboard Shortcuts&amp;quot;-Menu (eg. Terminal, Firefox,...).&lt;br /&gt;
&lt;br /&gt;
====Internal LCD Resolution Fix====&lt;br /&gt;
&lt;br /&gt;
The native screen resolution of 1440x900 is not detected automatically.  The problem is that a secondary cloned display is set to 1360x768, and is being displayed on the integrated screen.  Disable screen cloning (uncheck Mirror Displays), and disable the secondary display (click the Unknown monitor and set its Resolution to None) to fix the problem.  For a complete fix, a restart of X is required (CTRL+ALT+BACKSPACE) is required, and when logging in again, you may need to fix your dock icon positions.&lt;br /&gt;
&lt;br /&gt;
However, GDM still displays at either 1152x864 or 1360x768, creating a fuzzy image, or leaving borders at right and bottom, respectively. But it isn't a problem after logging in.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' You can have URandR setup 1440x900 in Xorg for you and skip the below steps: http://www.albertomilone.com/urandr.html&lt;br /&gt;
Download: http://albertomilone.com/ubuntu/urandr/urandr_0.1+0ubuntu12-3_all.deb&lt;br /&gt;
You'll be prompted to open it in the Package Installer - say Yes.&lt;br /&gt;
Once it's installed, run URandR (System&amp;gt;Preferences&amp;gt;URandR).&lt;br /&gt;
Choose 1440x900 from the list and click Apply. URandR takes care of the rest.&lt;br /&gt;
If you want to ensure 1440x900 is set on the login screen click the Profiles tab and check the first 2 checkboxes, then click Apply.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' The solution posted above was too sparse for me.  Instead, I found a new driver and compviz packages that fixed the problem using the v.2.5.0 of the intel drivers that are available here:https://launchpad.net/~thjaeger/+archive&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' Thomas Jaeger no longer maintains the updated Intel drivers, but he helpfully directed me to the intel-gfx-testing team's Personal Package Archive (here:https://launchpad.net/~intel-gfx-testing/+archive) which does maintain them.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' Resolutions work fine on both gpus for me, maybe this issue was fixed in the standard driver?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a file /etc/apt/sources.list.d/intel-gfx-testing.list with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://ppa.launchpad.net/intel-gfx-testing/ubuntu intrepid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/intel-gfx-testing/ubuntu intrepid main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can edit it using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list.d/intel-gfx-testing.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
once you've closed gedit, update the list of updates by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this will update the package db, and you should see the 'package update' icon light up.  Open that up, and apply the updates.  Alternately, you can open it via System-&amp;gt;Administration-&amp;gt;Update Manager&lt;br /&gt;
&lt;br /&gt;
Once the updates are applied, you will need to revert your /etc/X11/xorg.conf file if you've made any changes to it.  You can do this via:&lt;br /&gt;
&lt;br /&gt;
sudo dpkg-reconfigure -phigh xserver-xorg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally press ctrl-alt-backspace to restart the X-server.&lt;br /&gt;
&lt;br /&gt;
Now, once you've logged back in, under System-&amp;gt;Preferences-&amp;gt;Screen Resolution, you should see 1440x900 listed.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' Using the intel-gfx-testing drivers causes a 3D performance issue, but only because the permissions on the DRM device are not set up properly, which forces 3D applications to use software rendering.  This is tracked in this bug: https://bugs.launchpad.net/ubuntu/+source/hal/+bug/306014.  Fixes and workarounds are provided in the bug comments.&lt;br /&gt;
&lt;br /&gt;
You can test if you're using the software renderer by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;glxinfo | grep renderer&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're using the software renderer, you will see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;OpenGL renderer string: Software Rasterizer&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the fix in place, I get:&lt;br /&gt;
&amp;lt;pre&amp;gt;OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset 20061102 x86/MMX/SSE2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Shutdown freezes sometimes====&lt;br /&gt;
&lt;br /&gt;
It seems that ALSA has problems to shut down if network devices are still active.&lt;br /&gt;
You can force ALSA during its unloading to disable the networking first (remember to backup your files!):&lt;br /&gt;
 sudo gedit /etc/init.d/alsa-utils&lt;br /&gt;
Search for &amp;quot;stop)&amp;quot; and add immediately below:&lt;br /&gt;
&lt;br /&gt;
 ifconfig eth0 down&lt;br /&gt;
 ifconfig wlan0 down&lt;br /&gt;
&lt;br /&gt;
'''NOTE''' - This doesn't seem to be a problem with Madwifi drivers, it is created by the Intel wireless card?&lt;br /&gt;
&lt;br /&gt;
Now your shutdown should go smoothly.&lt;br /&gt;
&lt;br /&gt;
====VGA Output Resolution Fix====&lt;br /&gt;
&lt;br /&gt;
To enable 1600x1200 resolution to show up, run&lt;br /&gt;
 {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}}&lt;br /&gt;
&lt;br /&gt;
====Suspend/Hibernate====&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' On a fully updated 8.10-32bit-System Suspend and Hibernate now work out of the box. You do not need this workaround anymore!&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' In 9.04 64-Bit Suspend works fine.&lt;br /&gt;
&lt;br /&gt;
Neither Suspend nor Hibernate work out of the box. They fall asleep, but when waking up only the mousepointer is on the black screen, put neither keyboard, nor mouse showing response.&lt;br /&gt;
&lt;br /&gt;
Here's a [http://ubuntuforums.org/showthread.php?p=6057496 Ubuntu forum discussion thread] about the problem!  &lt;br /&gt;
&lt;br /&gt;
Petri K posted a workaround, to get suspend and hibernate working:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;I would say that this is a classical multiprocessor concurrency control problem! Disabling all but one core makes the bug disappear.&lt;br /&gt;
 Here is my suggestion for a workaround. Save in /etc/pm/sleep.d/00CPU with 755 permissions. &lt;br /&gt;
 Note that it has to be called 00CPU so that it gets executed before and after anything else.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Open Terminal and type:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo gedit /etc/pm/sleep.d/00CPU}}&lt;br /&gt;
&lt;br /&gt;
Copy the following Code into gedit and save the file!&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Workaround for concurrency bug in xserver-xorg-video-intel 2:2.4.1-1ubuntu10.&lt;br /&gt;
 # Save this as /etc/pm/sleep.d/00CPU&lt;br /&gt;
 &lt;br /&gt;
 . &amp;quot;${PM_FUNCTIONS}&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 	hibernate|suspend)&lt;br /&gt;
 		for i in /sys/devices/system/cpu/cpu*/online ; do&lt;br /&gt;
 			echo 0 &amp;gt;$i&lt;br /&gt;
 		done&lt;br /&gt;
 		;;&lt;br /&gt;
 	thaw|resume) &lt;br /&gt;
 		sleep 10	# run with one core for 10 secs&lt;br /&gt;
 		for i in /sys/devices/system/cpu/cpu*/online ; do&lt;br /&gt;
 			echo 1 &amp;gt;$i&lt;br /&gt;
 		done&lt;br /&gt;
 		;;&lt;br /&gt;
 	*)&lt;br /&gt;
 		;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
Then close gedit and copy this line into the terminal to set permission 755 (read, write and execute):&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo chmod 755 /etc/pm/sleep.d/00CPU}}&lt;br /&gt;
&lt;br /&gt;
After reboot suspend and hibernate should work for you, because there is only one core running while doing this events.&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
There are two options for drivers here, the ath5k project, or older Madwifi drivers.  The Madwifi drivers are based on the older, closed source HAL by Atheros, and the ath5k driver are based on the newer open source HAL by Atheros.  Note that you should not enable more than one Atheros driver, or they will conflict with each other (this includes ath5k, ath9k, and Madwifi).  If you need both BG &amp;amp; N support, do not use ath5k &amp;amp; ath9k, use Madwifi instead (only applicable if you are running multiple wireless cards).&lt;br /&gt;
&lt;br /&gt;
'''ath5k cons:''' One user (with the a B/G card) reports that wireless performance was awful with the FOSS ath5k driver, but smooth and nice with Madwifi. YMMV - Also, the ath5k do not correctly detect hardware settings such as txpower.&lt;br /&gt;
&lt;br /&gt;
'''Madwifi cons:''' For one user at least, the madwifi driver is dumping *tons* of text into /var/log/messages , /var/log/syslog , /var/log/kern.log , wasting several GBs of disk space. (In general, if your /var/log directory uses more than 100 MB of space, there's probably something wrong)  I don't know if the driver is set up to dump debug info to the log files, or if there is some error that keeps occurring (although the wireless seems to work just).  If anyone figures out how to fix this, please post here!&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Due to a conflict, in order to achieve a stable connection it may be necessary to remove linux-restricted-modules beforehand using the following command: &amp;quot;sudo update-rc.d -f linux-restricted-modules-common remove&amp;quot;&lt;br /&gt;
http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Installing the ath5k drivers from the compat-wireless package'''&lt;br /&gt;
&lt;br /&gt;
Original discussion thread: [http://ubuntuforums.org/showpost.php?p=6071960&amp;amp;postcount=2]&lt;br /&gt;
&lt;br /&gt;
1. Become the super user of the system:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo su}}&lt;br /&gt;
&lt;br /&gt;
 *NOTE: Becareful here, as you have complete access to the system, and can do damage if careless.  Optionally, you can work as a normal user, and preface each command with sudo.&lt;br /&gt;
&lt;br /&gt;
Disable any currently running Madwifi drivers by running this in the terminal:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rmmod ath_pci; rmmod ath_hal}}&lt;br /&gt;
&lt;br /&gt;
3. These drivers require source compilitation, so the build-essential package is required:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|apt-get install build-essential}}&lt;br /&gt;
&lt;br /&gt;
4. Enter the /usr/src directory, and download the source package:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /usr/src; wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2008-10-31.tar.bz2}}&lt;br /&gt;
&lt;br /&gt;
5. Extract the source and enter the directory:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|tar xjvf compat-wireless-2008-10-31.tar.bz2; cd compat-wireless-2008-10-31}}&lt;br /&gt;
&lt;br /&gt;
6. Take a quick look at the README:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|less README}}&lt;br /&gt;
&lt;br /&gt;
7. Begin the compiliation process&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
8. Next, disable any active wireless connections, and run a script to make sure all wireless drivers that are going to be replaced are unloaded:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|make unload}}&lt;br /&gt;
&lt;br /&gt;
9. Install the drivers:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
10. If everything completed without errors, load the ath5k module:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|modprobe ath5k}}&lt;br /&gt;
&lt;br /&gt;
11. Check to make sure the new drivers detected the wireless card (you may need to adjust the interface name if you have several wireless cards):&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|ifconfig wlan0 up; iwconfig}}&lt;br /&gt;
&lt;br /&gt;
  NOTE: When I first installed these drivers, they were unable to bring the MAC chip up, and needed a restart.&lt;br /&gt;
&lt;br /&gt;
12. Clean the src directory&lt;br /&gt;
&lt;br /&gt;
 {{cd /usr/src; rm compat-wireless-2008-10-31}}&lt;br /&gt;
&lt;br /&gt;
  NOTE: You can also delete the compat-wireless-2008-10-31/ folder if you need to recover the space, but it is useful to keep because the Makefile has a 'make uninstall' switch.&lt;br /&gt;
&lt;br /&gt;
13. Last, blacklist any other drivers that may interfere with the new ath5k drivers:&lt;br /&gt;
&lt;br /&gt;
 {{echo &amp;quot;blacklist ath_pci&amp;quot; &amp;gt;&amp;gt; /etc/modprobe.d/blacklist; echo &amp;quot;blacklist ath_hal&amp;quot; &amp;gt;&amp;gt; /etc/modprobe.d/blacklist}}&lt;br /&gt;
&lt;br /&gt;
'''Installing the Madwifi drivers:''' &lt;br /&gt;
&lt;br /&gt;
The following instructions were originally found here [http://ubuntuforums.org/showpost.php?p=5711824&amp;amp;postcount=6]:&lt;br /&gt;
&lt;br /&gt;
1. Under System/Administration/HarwareDrivers disable &amp;quot;Support for Atheros 802.11 wireless LAN cards&lt;br /&gt;
&lt;br /&gt;
2. Reboot&lt;br /&gt;
&lt;br /&gt;
3. The kernel headers and the compiler are needed to build this driver so install build-essential. In a terminal window (Applications/Accessories/Terminal) enter:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
&lt;br /&gt;
4. Install Subversion&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo apt-get install subversion}}&lt;br /&gt;
&lt;br /&gt;
5. Checkout the Madwifi drivers to a directory on your local disk&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|cd~}}&lt;br /&gt;
 {{cmduser|mkdir madwifi}}&lt;br /&gt;
 {{cmduser|cd madwifi}}&lt;br /&gt;
 {{cmduser|svn co https://svn.madwifi-project.org/madwifi/branches/madwifi-hal-0.10.5.6/}}&lt;br /&gt;
&lt;br /&gt;
6. Build the drivers&lt;br /&gt;
 &lt;br /&gt;
 {{cmduser|cd madwifi-hal-0.10.5.6}}&lt;br /&gt;
 {{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
7. Install the drivers&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|make install}}&lt;br /&gt;
&lt;br /&gt;
8. Add the Atheros kernel module to the list of modules to be automatically loaded at boot by adding &amp;quot;ath_pci&amp;quot; (without the quotes) to the end of the /etc/modules file and save the file&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
9. Now you can reboot and it should work.&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you change to another Shell (&amp;lt;ctrl&amp;gt;&amp;lt;alt&amp;gt;F1 etc) the Trackpoint does not scroll anymore. Restarting the Xserver works and can most easily done by choosing &amp;quot;switch user&amp;quot; and than log in again. All programs stay open and it does not take much time.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' This does not seem to work on 64bit versions of Intrepid. See [https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/292047/comments/24 this bug] for a fix using a backported driver from Jaunty.&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Brightness control broken - lowest level after Booting/Suspend/Hibernate/Screen-off====&lt;br /&gt;
&lt;br /&gt;
I had the problem (after kernel-update to 2.6.27-11), that while booting, or after suspend/hibernate/screen-off my brightness was on lowest level, which peeved a lot.&lt;br /&gt;
&lt;br /&gt;
You always had to change brightness level to jump back to previous setting.&lt;br /&gt;
&lt;br /&gt;
'''The workaround:'''&lt;br /&gt;
&lt;br /&gt;
Edit following file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/options&lt;br /&gt;
&lt;br /&gt;
And add this line:&lt;br /&gt;
&lt;br /&gt;
 options thinkpad_acpi brightness_enable=1&lt;br /&gt;
&lt;br /&gt;
Please note that it seems that removing the module and reloading it with this option does not work. A reboot after adding the option to the module-properties is necessary to activate the workaround.&lt;br /&gt;
&lt;br /&gt;
''See also'' [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/322610 Ubuntu Bug 322610]&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====VGA/HDMI====&lt;br /&gt;
&lt;br /&gt;
*NEC MultiSync LCD 2190UX - VGA tested and working in mirrored and extended desktop modes (had to run {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}} to get 1600x1200 resolution to show up)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
I installed Ubuntu 8.10 with the on-board Intel Graphic chip. So 3D acceleration works out-of-the-box.&lt;br /&gt;
&lt;br /&gt;
Then I booted with the ATI Graphics, which was no problem, because the [[radeon]] driver works very well, but only in 2D.&lt;br /&gt;
&lt;br /&gt;
After installing [[fglrx]] packages, jockey also found out, that proprietary drivers are available. So i let him configure my xorg.conf:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;Default Screen&amp;quot;&lt;br /&gt;
 	Monitor		&amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
 	Device		&amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
 	DefaultDepth	24&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	Identifier  	&amp;quot;ATI Technologies Inc Mobility Radeon HD 3400 Series&amp;quot;&lt;br /&gt;
 	BusID       	&amp;quot;PCI:01:00.0&amp;quot;&lt;br /&gt;
 	Driver	        &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
After reboot also Compiz works (but not so smooth as with Intel, i allege)&lt;br /&gt;
&lt;br /&gt;
'''Problem:''' Strating up with integrated graphic again, no 3D desktop works. After removing all [[fglrx]] packages, Compiz normally works.&lt;br /&gt;
&lt;br /&gt;
So i changed my xorg.conf using the [[radeon]] driver, succeeding to have 3D on onboard Graphics and 2D on ATI Graphics.&lt;br /&gt;
&lt;br /&gt;
I also tried [[radeonhd]] driver, which does not work.&lt;br /&gt;
&lt;br /&gt;
'''Note 1:''' I got tired of going in to BIOS to switch chipsets, so I explicitly set the BusID in xorg.conf. The problem with this approach is that power consumption doubles, even when you are not using the discrete graphics card. I had 28W consumption when in switchable graphics mode, and 16W consumption when I configured &amp;quot;Integrated graphics&amp;quot; in BIOS.&lt;br /&gt;
&lt;br /&gt;
'''Note 2:''' fglrx diverts libGL.so.1.2 that is installed by mesa. This means that you can't simply swap xorg.conf files and kernel modules, you need to replace libGL.so.1.2 with the proper one if you want restart X with a certain chipset.&lt;br /&gt;
&lt;br /&gt;
{{Todo|Maybe anybody can get both working!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
There is no patch for Kernel 2.6.27-7 at the moment to use [[HDAPS]]. See also [[How to protect the harddisk through APS]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_8.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T400&amp;diff=42654</id>
		<title>Install Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T400&amp;diff=42654"/>
		<updated>2009-04-14T16:26:42Z</updated>

		<summary type="html">&lt;p&gt;Jango: added link to artikel of 9.04&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Newest Version of [[Ubuntu]] is 9.04''' -&amp;gt; [:Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_Thinkpad_T400:]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
With one version of the installer CD, the installation works fine, but after rebooting it hangs with ATA errors. Solution was to boot the Live CD, mount the partition, chroot, and upgrade to the newest kernel (from 2.6.27-7 to 2.6.27-9).&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
** VGA output - mirrored and extended desktop both work, but might need to run the following to enable 1600x1200 resolution&lt;br /&gt;
 {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}}&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate on a fully updated System!&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
====[[ThinkVantage Button]] {{ibmkey|ThinkVantage|#495988}}====&lt;br /&gt;
&lt;br /&gt;
Edit the file /usr/share/hotkey-setup/ibm.hk with adding this line:&lt;br /&gt;
&lt;br /&gt;
 setkeycodes e017 148 #thinkpad button&lt;br /&gt;
&lt;br /&gt;
You have to restart, then you refer a program with the &amp;quot;System -&amp;gt; Preferences -&amp;gt; Keyboard Shortcuts&amp;quot;-Menu (eg. Terminal, Firefox,...).&lt;br /&gt;
&lt;br /&gt;
====Internal LCD Resolution Fix====&lt;br /&gt;
&lt;br /&gt;
The native screen resolution of 1440x900 is not detected automatically.  The problem is that a secondary cloned display is set to 1360x768, and is being displayed on the integrated screen.  Disable screen cloning (uncheck Mirror Displays), and disable the secondary display (click the Unknown monitor and set its Resolution to None) to fix the problem.  For a complete fix, a restart of X is required (CTRL+ALT+BACKSPACE) is required, and when logging in again, you may need to fix your dock icon positions.&lt;br /&gt;
&lt;br /&gt;
However, GDM still displays at either 1152x864 or 1360x768, creating a fuzzy image, or leaving borders at right and bottom, respectively. But it isn't a problem after logging in.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' You can have URandR setup 1440x900 in Xorg for you and skip the below steps: http://www.albertomilone.com/urandr.html&lt;br /&gt;
Download: http://albertomilone.com/ubuntu/urandr/urandr_0.1+0ubuntu12-3_all.deb&lt;br /&gt;
You'll be prompted to open it in the Package Installer - say Yes.&lt;br /&gt;
Once it's installed, run URandR (System&amp;gt;Preferences&amp;gt;URandR).&lt;br /&gt;
Choose 1440x900 from the list and click Apply. URandR takes care of the rest.&lt;br /&gt;
If you want to ensure 1440x900 is set on the login screen click the Profiles tab and check the first 2 checkboxes, then click Apply.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' The solution posted above was too sparse for me.  Instead, I found a new driver and compviz packages that fixed the problem using the v.2.5.0 of the intel drivers that are available here:https://launchpad.net/~thjaeger/+archive&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' Thomas Jaeger no longer maintains the updated Intel drivers, but he helpfully directed me to the intel-gfx-testing team's Personal Package Archive (here:https://launchpad.net/~intel-gfx-testing/+archive) which does maintain them.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' Resolutions work fine on both gpus for me, maybe this issue was fixed in the standard driver?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a file /etc/apt/sources.list.d/intel-gfx-testing.list with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://ppa.launchpad.net/intel-gfx-testing/ubuntu intrepid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/intel-gfx-testing/ubuntu intrepid main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can edit it using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/apt/sources.list.d/intel-gfx-testing.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
once you've closed gedit, update the list of updates by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this will update the package db, and you should see the 'package update' icon light up.  Open that up, and apply the updates.  Alternately, you can open it via System-&amp;gt;Administration-&amp;gt;Update Manager&lt;br /&gt;
&lt;br /&gt;
Once the updates are applied, you will need to revert your /etc/X11/xorg.conf file if you've made any changes to it.  You can do this via:&lt;br /&gt;
&lt;br /&gt;
sudo dpkg-reconfigure -phigh xserver-xorg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally press ctrl-alt-backspace to restart the X-server.&lt;br /&gt;
&lt;br /&gt;
Now, once you've logged back in, under System-&amp;gt;Preferences-&amp;gt;Screen Resolution, you should see 1440x900 listed.&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' Using the intel-gfx-testing drivers causes a 3D performance issue, but only because the permissions on the DRM device are not set up properly, which forces 3D applications to use software rendering.  This is tracked in this bug: https://bugs.launchpad.net/ubuntu/+source/hal/+bug/306014.  Fixes and workarounds are provided in the bug comments.&lt;br /&gt;
&lt;br /&gt;
You can test if you're using the software renderer by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;glxinfo | grep renderer&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're using the software renderer, you will see:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;OpenGL renderer string: Software Rasterizer&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the fix in place, I get:&lt;br /&gt;
&amp;lt;pre&amp;gt;OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset 20061102 x86/MMX/SSE2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Shutdown freezes sometimes====&lt;br /&gt;
&lt;br /&gt;
It seems that ALSA has problems to shut down if network devices are still active.&lt;br /&gt;
You can force ALSA during its unloading to disable the networking first (remember to backup your files!):&lt;br /&gt;
 sudo gedit /etc/init.d/alsa-utils&lt;br /&gt;
Search for &amp;quot;stop)&amp;quot; and add immediately below:&lt;br /&gt;
&lt;br /&gt;
 ifconfig eth0 down&lt;br /&gt;
 ifconfig wlan0 down&lt;br /&gt;
&lt;br /&gt;
'''NOTE''' - This doesn't seem to be a problem with Madwifi drivers, it is created by the Intel wireless card?&lt;br /&gt;
&lt;br /&gt;
Now your shutdown should go smoothly.&lt;br /&gt;
&lt;br /&gt;
====VGA Output Resolution Fix====&lt;br /&gt;
&lt;br /&gt;
To enable 1600x1200 resolution to show up, run&lt;br /&gt;
 {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}}&lt;br /&gt;
&lt;br /&gt;
====Suspend/Hibernate====&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' On a fully updated 8.10-32bit-System Suspend and Hibernate now work out of the box. You do not need this workaround anymore!&lt;br /&gt;
&lt;br /&gt;
'''UPDATE:''' In 9.04 64-Bit Suspend works fine.&lt;br /&gt;
&lt;br /&gt;
Neither Suspend nor Hibernate work out of the box. They fall asleep, but when waking up only the mousepointer is on the black screen, put neither keyboard, nor mouse showing response.&lt;br /&gt;
&lt;br /&gt;
Here's a [http://ubuntuforums.org/showthread.php?p=6057496 Ubuntu forum discussion thread] about the problem!  &lt;br /&gt;
&lt;br /&gt;
Petri K posted a workaround, to get suspend and hibernate working:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;I would say that this is a classical multiprocessor concurrency control problem! Disabling all but one core makes the bug disappear.&lt;br /&gt;
 Here is my suggestion for a workaround. Save in /etc/pm/sleep.d/00CPU with 755 permissions. &lt;br /&gt;
 Note that it has to be called 00CPU so that it gets executed before and after anything else.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Open Terminal and type:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo gedit /etc/pm/sleep.d/00CPU}}&lt;br /&gt;
&lt;br /&gt;
Copy the following Code into gedit and save the file!&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Workaround for concurrency bug in xserver-xorg-video-intel 2:2.4.1-1ubuntu10.&lt;br /&gt;
 # Save this as /etc/pm/sleep.d/00CPU&lt;br /&gt;
 &lt;br /&gt;
 . &amp;quot;${PM_FUNCTIONS}&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 	hibernate|suspend)&lt;br /&gt;
 		for i in /sys/devices/system/cpu/cpu*/online ; do&lt;br /&gt;
 			echo 0 &amp;gt;$i&lt;br /&gt;
 		done&lt;br /&gt;
 		;;&lt;br /&gt;
 	thaw|resume) &lt;br /&gt;
 		sleep 10	# run with one core for 10 secs&lt;br /&gt;
 		for i in /sys/devices/system/cpu/cpu*/online ; do&lt;br /&gt;
 			echo 1 &amp;gt;$i&lt;br /&gt;
 		done&lt;br /&gt;
 		;;&lt;br /&gt;
 	*)&lt;br /&gt;
 		;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
Then close gedit and copy this line into the terminal to set permission 755 (read, write and execute):&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo chmod 755 /etc/pm/sleep.d/00CPU}}&lt;br /&gt;
&lt;br /&gt;
After reboot suspend and hibernate should work for you, because there is only one core running while doing this events.&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
There are two options for drivers here, the ath5k project, or older Madwifi drivers.  The Madwifi drivers are based on the older, closed source HAL by Atheros, and the ath5k driver are based on the newer open source HAL by Atheros.  Note that you should not enable more than one Atheros driver, or they will conflict with each other (this includes ath5k, ath9k, and Madwifi).  If you need both BG &amp;amp; N support, do not use ath5k &amp;amp; ath9k, use Madwifi instead (only applicable if you are running multiple wireless cards).&lt;br /&gt;
&lt;br /&gt;
'''ath5k cons:''' One user (with the a B/G card) reports that wireless performance was awful with the FOSS ath5k driver, but smooth and nice with Madwifi. YMMV - Also, the ath5k do not correctly detect hardware settings such as txpower.&lt;br /&gt;
&lt;br /&gt;
'''Madwifi cons:''' For one user at least, the madwifi driver is dumping *tons* of text into /var/log/messages , /var/log/syslog , /var/log/kern.log , wasting several GBs of disk space. (In general, if your /var/log directory uses more than 100 MB of space, there's probably something wrong)  I don't know if the driver is set up to dump debug info to the log files, or if there is some error that keeps occurring (although the wireless seems to work just).  If anyone figures out how to fix this, please post here!&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Due to a conflict, in order to achieve a stable connection it may be necessary to remove linux-restricted-modules beforehand using the following command: &amp;quot;sudo update-rc.d -f linux-restricted-modules-common remove&amp;quot;&lt;br /&gt;
http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Installing the ath5k drivers from the compat-wireless package'''&lt;br /&gt;
&lt;br /&gt;
Original discussion thread: [http://ubuntuforums.org/showpost.php?p=6071960&amp;amp;postcount=2]&lt;br /&gt;
&lt;br /&gt;
1. Become the super user of the system:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo su}}&lt;br /&gt;
&lt;br /&gt;
 *NOTE: Becareful here, as you have complete access to the system, and can do damage if careless.  Optionally, you can work as a normal user, and preface each command with sudo.&lt;br /&gt;
&lt;br /&gt;
Disable any currently running Madwifi drivers by running this in the terminal:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|rmmod ath_pci; rmmod ath_hal}}&lt;br /&gt;
&lt;br /&gt;
3. These drivers require source compilitation, so the build-essential package is required:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|apt-get install build-essential}}&lt;br /&gt;
&lt;br /&gt;
4. Enter the /usr/src directory, and download the source package:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cd /usr/src; wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2008-10-31.tar.bz2}}&lt;br /&gt;
&lt;br /&gt;
5. Extract the source and enter the directory:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|tar xjvf compat-wireless-2008-10-31.tar.bz2; cd compat-wireless-2008-10-31}}&lt;br /&gt;
&lt;br /&gt;
6. Take a quick look at the README:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|less README}}&lt;br /&gt;
&lt;br /&gt;
7. Begin the compiliation process&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|make}}&lt;br /&gt;
&lt;br /&gt;
8. Next, disable any active wireless connections, and run a script to make sure all wireless drivers that are going to be replaced are unloaded:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|make unload}}&lt;br /&gt;
&lt;br /&gt;
9. Install the drivers:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
10. If everything completed without errors, load the ath5k module:&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|modprobe ath5k}}&lt;br /&gt;
&lt;br /&gt;
11. Check to make sure the new drivers detected the wireless card (you may need to adjust the interface name if you have several wireless cards):&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|ifconfig wlan0 up; iwconfig}}&lt;br /&gt;
&lt;br /&gt;
  NOTE: When I first installed these drivers, they were unable to bring the MAC chip up, and needed a restart.&lt;br /&gt;
&lt;br /&gt;
12. Clean the src directory&lt;br /&gt;
&lt;br /&gt;
 {{cd /usr/src; rm compat-wireless-2008-10-31}}&lt;br /&gt;
&lt;br /&gt;
  NOTE: You can also delete the compat-wireless-2008-10-31/ folder if you need to recover the space, but it is useful to keep because the Makefile has a 'make uninstall' switch.&lt;br /&gt;
&lt;br /&gt;
13. Last, blacklist any other drivers that may interfere with the new ath5k drivers:&lt;br /&gt;
&lt;br /&gt;
 {{echo &amp;quot;blacklist ath_pci&amp;quot; &amp;gt;&amp;gt; /etc/modprobe.d/blacklist; echo &amp;quot;blacklist ath_hal&amp;quot; &amp;gt;&amp;gt; /etc/modprobe.d/blacklist}}&lt;br /&gt;
&lt;br /&gt;
'''Installing the Madwifi drivers:''' &lt;br /&gt;
&lt;br /&gt;
The following instructions were originally found here [http://ubuntuforums.org/showpost.php?p=5711824&amp;amp;postcount=6]:&lt;br /&gt;
&lt;br /&gt;
1. Under System/Administration/HarwareDrivers disable &amp;quot;Support for Atheros 802.11 wireless LAN cards&lt;br /&gt;
&lt;br /&gt;
2. Reboot&lt;br /&gt;
&lt;br /&gt;
3. The kernel headers and the compiler are needed to build this driver so install build-essential. In a terminal window (Applications/Accessories/Terminal) enter:&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo apt-get install build-essential}}&lt;br /&gt;
&lt;br /&gt;
4. Install Subversion&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo apt-get install subversion}}&lt;br /&gt;
&lt;br /&gt;
5. Checkout the Madwifi drivers to a directory on your local disk&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|cd~}}&lt;br /&gt;
 {{cmduser|mkdir madwifi}}&lt;br /&gt;
 {{cmduser|cd madwifi}}&lt;br /&gt;
 {{cmduser|svn co https://svn.madwifi-project.org/madwifi/branches/madwifi-hal-0.10.5.6/}}&lt;br /&gt;
&lt;br /&gt;
6. Build the drivers&lt;br /&gt;
 &lt;br /&gt;
 {{cmduser|cd madwifi-hal-0.10.5.6}}&lt;br /&gt;
 {{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
7. Install the drivers&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|make install}}&lt;br /&gt;
&lt;br /&gt;
8. Add the Atheros kernel module to the list of modules to be automatically loaded at boot by adding &amp;quot;ath_pci&amp;quot; (without the quotes) to the end of the /etc/modules file and save the file&lt;br /&gt;
&lt;br /&gt;
 {{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
9. Now you can reboot and it should work.&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you change to another Shell (&amp;lt;ctrl&amp;gt;&amp;lt;alt&amp;gt;F1 etc) the Trackpoint does not scroll anymore. Restarting the Xserver works and can most easily done by choosing &amp;quot;switch user&amp;quot; and than log in again. All programs stay open and it does not take much time.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' This does not seem to work on 64bit versions of Intrepid. See [https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/292047/comments/24 this bug] for a fix using a backported driver from Jaunty.&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Brightness control broken - lowest level after Booting/Suspend/Hibernate/Screen-off====&lt;br /&gt;
&lt;br /&gt;
I had the problem (after kernel-update to 2.6.27-11), that while booting, or after suspend/hibernate/screen-off my brightness was on lowest level, which peeved a lot.&lt;br /&gt;
&lt;br /&gt;
You always had to change brightness level to jump back to previous setting.&lt;br /&gt;
&lt;br /&gt;
'''The workaround:'''&lt;br /&gt;
&lt;br /&gt;
Edit following file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/options&lt;br /&gt;
&lt;br /&gt;
And add this line:&lt;br /&gt;
&lt;br /&gt;
 options thinkpad_acpi brightness_enable=1&lt;br /&gt;
&lt;br /&gt;
Please note that it seems that removing the module and reloading it with this option does not work. A reboot after adding the option to the module-properties is necessary to activate the workaround.&lt;br /&gt;
&lt;br /&gt;
''See also'' [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/322610 Ubuntu Bug 322610]&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====VGA/HDMI====&lt;br /&gt;
&lt;br /&gt;
*NEC MultiSync LCD 2190UX - VGA tested and working in mirrored and extended desktop modes (had to run {{cmduser|sudo dpkg-reconfigure -phigh xserver-xorg}} to get 1600x1200 resolution to show up)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
I installed Ubuntu 8.10 with the on-board Intel Graphic chip. So 3D acceleration works out-of-the-box.&lt;br /&gt;
&lt;br /&gt;
Then I booted with the ATI Graphics, which was no problem, because the [[radeon]] driver works very well, but only in 2D.&lt;br /&gt;
&lt;br /&gt;
After installing [[fglrx]] packages, jockey also found out, that proprietary drivers are available. So i let him configure my xorg.conf:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;Default Screen&amp;quot;&lt;br /&gt;
 	Monitor		&amp;quot;Configured Monitor&amp;quot;&lt;br /&gt;
 	Device		&amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
 	DefaultDepth	24&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
 	Load	&amp;quot;glx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;Configured Video Device&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	Identifier  	&amp;quot;ATI Technologies Inc Mobility Radeon HD 3400 Series&amp;quot;&lt;br /&gt;
 	BusID       	&amp;quot;PCI:01:00.0&amp;quot;&lt;br /&gt;
 	Driver	        &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
After reboot also Compiz works (but not so smooth as with Intel, i allege)&lt;br /&gt;
&lt;br /&gt;
'''Problem:''' Strating up with integrated graphic again, no 3D desktop works. After removing all [[fglrx]] packages, Compiz normally works.&lt;br /&gt;
&lt;br /&gt;
So i changed my xorg.conf using the [[radeon]] driver, succeeding to have 3D on onboard Graphics and 2D on ATI Graphics.&lt;br /&gt;
&lt;br /&gt;
I also tried [[radeonhd]] driver, which does not work.&lt;br /&gt;
&lt;br /&gt;
'''Note 1:''' I got tired of going in to BIOS to switch chipsets, so I explicitly set the BusID in xorg.conf. The problem with this approach is that power consumption doubles, even when you are not using the discrete graphics card. I had 28W consumption when in switchable graphics mode, and 16W consumption when I configured &amp;quot;Integrated graphics&amp;quot; in BIOS.&lt;br /&gt;
&lt;br /&gt;
'''Note 2:''' fglrx diverts libGL.so.1.2 that is installed by mesa. This means that you can't simply swap xorg.conf files and kernel modules, you need to replace libGL.so.1.2 with the proper one if you want restart X with a certain chipset.&lt;br /&gt;
&lt;br /&gt;
{{Todo|Maybe anybody can get both working!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
There is no patch for Kernel 2.6.27-7 at the moment to use [[HDAPS]]. See also [[How to protect the harddisk through APS]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_8.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42535</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42535"/>
		<updated>2009-04-08T10:45:31Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step! To do so type:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gcc-3.4&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42526</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42526"/>
		<updated>2009-04-08T08:50:44Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c from here: http://sourceforge.net/project/showfiles.php?group_id=138242&amp;amp;package_id=308030&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps-utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libpanel-applet2-dev&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T400&amp;diff=42477</id>
		<title>Talk:Install Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T400&amp;diff=42477"/>
		<updated>2009-04-04T11:01:13Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Added instructions for adding installing ath5k drivers, added a section about screen resolution issues, and fixed minor errors.&lt;br /&gt;
&lt;br /&gt;
-[[kassanova708]]&lt;br /&gt;
&lt;br /&gt;
== Suspend/resume workaround ==&lt;br /&gt;
&lt;br /&gt;
I managed to get suspend/resume working by disabling Bluetooth.&lt;br /&gt;
&lt;br /&gt;
===== which way? =====&lt;br /&gt;
How did you disable bluetooth?&lt;br /&gt;
Did you try unloading the bluetooth kernel module in the sleep script and loading it again on resume? Or did you use a hardware switch or maybe soft disabling the device in /sys/ /proc/ or something?&lt;br /&gt;
--[[User:Low|Low]] 17:08, 13 January 2009 (CET)&lt;br /&gt;
&lt;br /&gt;
== Active Protection System ==&lt;br /&gt;
First: I hope, my english isn't to bad.&lt;br /&gt;
&lt;br /&gt;
I managed to get the HDAPS working under Ubuntu 8.10, but I didn't gain any experience, if the system runs stable. So Test the following at your own risk.&lt;br /&gt;
&lt;br /&gt;
It would be nice, if somebody could verify my mini tutorial. Ok, let's go.&lt;br /&gt;
&lt;br /&gt;
* Add the jaunty repository to your /etc/apt/sources.list (main and restricted) and run sudo apt-get update.&lt;br /&gt;
* Install the 2.6.28 kernel: linux-image, linux-restricted-modules, linux-headers, linux-headers-*-generic. Thereby you must update linux-firmware, libc6-dev and libc6.&lt;br /&gt;
* Comment the jaunty repository out and run sudo apt-get update. Then install module-assistant.&lt;br /&gt;
* Search the modules thinkpad_ec.ko and hdaps.ko and rename them (of the new installed kernel).&lt;br /&gt;
* Get the Debian packages tp-smapi-source and hdapsd out of the experimental tree.&lt;br /&gt;
* Build and install tp-smapi by (as I did it, only build-essential get installed)&lt;br /&gt;
 sudo module-assistant prepare tp-smapi&lt;br /&gt;
 sudo module-assistant auto-install tp-smapi&lt;br /&gt;
* Create /etc/modprobe.conf and add the following lines:&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
The issue for the first line is describe in the tp-smapi doc. I checked the output of hdaps by hdaps-gl (part of hdaps-utils). To get an proper output, I needed to add this parameter (see tp-smapi doc too).&lt;br /&gt;
* The following command is described in and copied from [[HDAPS#Userspace daemon]]:&lt;br /&gt;
 echo 'KERNEL==&amp;quot;event[0-9]*&amp;quot;, ATTRS{phys}==&amp;quot;hdaps/input1&amp;quot;,ATTRS{modalias}==&amp;quot;input:b0019v1014p5054e4801-*&amp;quot;,SYMLINK+=&amp;quot;input/hdaps/accelerometer-event&amp;quot;' \&lt;br /&gt;
  &amp;gt; /etc/udev/rules.d/51-hdaps.rules&lt;br /&gt;
* At last, install the hdapsd, you downloaded.&lt;br /&gt;
* Have Fun!&lt;br /&gt;
--[[User:Gezzo|Gezzo]] 01:45, 20 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How did you get tp_smapi installed with the option HDAPS=1 in module-assistant?&lt;br /&gt;
HDAPSD form ubuntu sources is too old, it will not work! The initiation script also needs to be edited!&lt;br /&gt;
I made an step by step guide on [[Install Ubuntu 9.04 (Jaunty Jackalope) on a Thinkpad T400]]! With this steps it works for me, it also starts automatically after an reboot!&lt;br /&gt;
&lt;br /&gt;
--[[User:Jango|Jango]] april, 4th 2009&lt;br /&gt;
&lt;br /&gt;
== UTMS for my T500 ==&lt;br /&gt;
&lt;br /&gt;
Hi!&lt;br /&gt;
&lt;br /&gt;
I just installed ubuntu on my new T500 (thanks for the article about how to do so). Now nearly everything works fine, but the integrated UMTS/HSDPA (mobile broadband) functionality is not working yet.&lt;br /&gt;
I added a new connection in the &amp;quot;Network Connections =&amp;gt; Mobile Broadband&amp;quot; dialog (Vodafone D2 in germany) but after trying to connect it imediatly says &amp;quot;Disconnected - The network connection has been disconnected&amp;quot;. I've been using my UMTS-contract with Ubuntu 8.10 successfully on my Dell laptop.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Network Tools =&amp;gt; Devices&amp;quot; dialog gives me the following options for network devices:&lt;br /&gt;
 Loopback Interface (lo)&lt;br /&gt;
 Ethernet Interface (eth0)&lt;br /&gt;
 Unknown Interface (wmaster0)&lt;br /&gt;
 Wireless Interface (wlan0)&lt;br /&gt;
Seems as if the utms card is unknown to the system, doesn't it?&lt;br /&gt;
Do I have to install some drivers or tools for this integrated card?--[[User:Slartidan|Slartidan]] 15:21, 12 February 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
PS: lsusb and some reasearch told me, that I have an '''&amp;quot;Ericsson F3507g WWAN Card&amp;quot;''' in my ThinkPad T500 NJ252GE&lt;br /&gt;
I found some Information about that card with ubuntu here: [http://ubuntuforums.org/showthread.php?t=934013] (but I'm not sure, wether I know how to compile a kernel...)&lt;br /&gt;
&lt;br /&gt;
lsusb says:&lt;br /&gt;
 Bus 008 Device 002: ID 0bdb:1900 Ericsson Business Mobile Networks BV&lt;br /&gt;
--[[User:Slartidan|Slartidan]] 17:00, 12 February 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have a link for you to an german discussion forum:&lt;br /&gt;
[http://forum.ubook.at/index.php?page=Thread&amp;amp;postID=3645#post3645]&lt;br /&gt;
&lt;br /&gt;
I hope you are able to read in german... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:jango|jango]] 23190, 03 March 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42429</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42429"/>
		<updated>2009-03-31T12:37:13Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* What works out of the box? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**dock eject button (FN + F9) not tested yet!&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c and&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps_utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line ist to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42426</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42426"/>
		<updated>2009-03-31T10:25:44Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* What works out of the box? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive (Including DVD burning)&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c and&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps_utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line ist to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42425</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42425"/>
		<updated>2009-03-31T10:24:44Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* What works out of the box? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c and&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps_utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line ist to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42424</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42424"/>
		<updated>2009-03-31T10:23:57Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* What works out of the box? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you maybe have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*built-in webcam (tested with skype, cheese and vlc media player)&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (FN + Home/End)&lt;br /&gt;
**Thinklight control (FN + PgUp)&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)&lt;br /&gt;
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]&lt;br /&gt;
**Wlan/BT hardware switch&lt;br /&gt;
**Media player control (FN + arrows)&lt;br /&gt;
**Browser history buttons&lt;br /&gt;
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)&lt;br /&gt;
**Suspend shortcut (FN + F4)&lt;br /&gt;
**Hibernate shortcut (FN + F12)&lt;br /&gt;
**Battery info shortcut (FN + F3)&lt;br /&gt;
**Screenlock shortcut (FN + F2)&lt;br /&gt;
**[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c and&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps_utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line ist to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42422</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42422"/>
		<updated>2009-03-30T23:05:13Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c and&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps_utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line ist to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42421</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42421"/>
		<updated>2009-03-30T22:56:38Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
http://ubuntuforums.org/showthread.php?t=1017393&lt;br /&gt;
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/&lt;br /&gt;
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400&lt;br /&gt;
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''&lt;br /&gt;
&lt;br /&gt;
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):&lt;br /&gt;
&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko&lt;br /&gt;
 sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then downlaod the newest packages:&lt;br /&gt;
&lt;br /&gt;
You will need &lt;br /&gt;
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&amp;amp;package_id=171579&lt;br /&gt;
*hdapsd-20081004.c and&lt;br /&gt;
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/&lt;br /&gt;
&lt;br /&gt;
Save this things on your Desktop and unpack them.&lt;br /&gt;
&lt;br /&gt;
Then open the Terminal and type this to change into the tp_smapi directory:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/tp_smapi-0.40&lt;br /&gt;
&lt;br /&gt;
Then try to load the kernel modules:&lt;br /&gt;
&lt;br /&gt;
 make load HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
If there is written &amp;quot;drivers successfully loaded&amp;quot;, you can type this for installation:&lt;br /&gt;
&lt;br /&gt;
 make install HDAPS=1 FORCE_IO=1&lt;br /&gt;
&lt;br /&gt;
To laod this modules on startup you have to write them into the /etc/modules file:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
Append this to the file:&lt;br /&gt;
&lt;br /&gt;
 thinkpad_ec	&lt;br /&gt;
 tp_smapi&lt;br /&gt;
 hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We also need options to laod this modules correctly. They have to be written in /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/modprobe.d/local.conf&lt;br /&gt;
&lt;br /&gt;
Fill the file with this code&lt;br /&gt;
&lt;br /&gt;
 # enable thinkpad_ec&lt;br /&gt;
 options thinkpad_ec force_io=1&lt;br /&gt;
 &lt;br /&gt;
 # option to correctly set tilting through hdaps sensor&lt;br /&gt;
 options hdaps invert=1&lt;br /&gt;
&lt;br /&gt;
Now you can try, if the modules are loaded yet. Do so with &lt;br /&gt;
&lt;br /&gt;
 lsmod | grep hdaps&lt;br /&gt;
&lt;br /&gt;
if not perform:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe thinkpad_ec tp_smapi hdaps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then install this packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install hdaps_utils hdapsd&lt;br /&gt;
&lt;br /&gt;
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.&lt;br /&gt;
&lt;br /&gt;
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. &lt;br /&gt;
&lt;br /&gt;
gcc-3.4 has to be installed for this step. To do so type &amp;quot;sudo apt-get install gcc-3.4&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
 &lt;br /&gt;
 sudo gcc-3.4 -o hdapsd hdapsd-20081004.c&lt;br /&gt;
&lt;br /&gt;
Then copy the file &amp;quot;hdapsd&amp;quot; you just created overtop of the old one from the ubuntu deb located in /usr/sbin/hdapsd with this line:&lt;br /&gt;
&lt;br /&gt;
 sudo mv hdapsd /usr/sbin/hdapsd&lt;br /&gt;
&lt;br /&gt;
To test it, you can type this into your terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo hdapsd -d sda -s 15 -a -v -y &lt;br /&gt;
&lt;br /&gt;
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last step is, to copy an overworked initiation-script over the existing one.&lt;br /&gt;
&lt;br /&gt;
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)&lt;br /&gt;
&lt;br /&gt;
 wget http://www.unet.univie.ac.at/~a0604095/hdapsd&lt;br /&gt;
 sudo chmod 733 hdapsd&lt;br /&gt;
 sudo cp hdapsd /etc/init.d/&lt;br /&gt;
&lt;br /&gt;
Now you can start hdapsd with typing&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/hdapsd start&lt;br /&gt;
&lt;br /&gt;
After an reboot everything should start automatically and work correctly!&lt;br /&gt;
&lt;br /&gt;
To install the panel-applet type this lines into the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd Desktop/gnome-hdaps-applet-20081204&lt;br /&gt;
 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c&lt;br /&gt;
 sudo cp gnome-hdaps-applet /usr/bin/&lt;br /&gt;
 sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/&lt;br /&gt;
 sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/&lt;br /&gt;
&lt;br /&gt;
The first line ist to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!&lt;br /&gt;
&lt;br /&gt;
Please feel free to correct mistakes. If you have trouble, don't be shy to contact me with jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42417</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42417"/>
		<updated>2009-03-30T17:48:59Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or another Thinkpad&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42416</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42416"/>
		<updated>2009-03-30T17:47:47Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'After an reboot you certainly can use the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42415</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42415"/>
		<updated>2009-03-30T14:33:53Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42414</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42414"/>
		<updated>2009-03-30T14:04:35Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42413</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42413"/>
		<updated>2009-03-30T14:04:05Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
&amp;lt;/match&amp;gt;&lt;br /&gt;
' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42412</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42412"/>
		<updated>2009-03-30T13:51:54Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Notebook-Harddrive Bug */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;o&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42411</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42411"/>
		<updated>2009-03-30T13:50:42Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* What needs some Tweaks? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;o&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Notebook-Harddrive Bug====&lt;br /&gt;
&lt;br /&gt;
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Many of the previous issues have been addressed in Intrepid. All you need to do is:&lt;br /&gt;
 &amp;quot;ENABLE_LAPTOP_MODE=true&amp;quot; in /etc/default/laptop-mode (Bug 244838 fixed in acpi-support 0.111?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also change &amp;quot;BATT_HD_POWERMGMT=1&amp;quot; in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42410</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42410"/>
		<updated>2009-03-30T13:39:53Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;o&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42409</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42409"/>
		<updated>2009-03-30T13:39:15Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Postinstall-Script for this Workarounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;o&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
 chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
 ./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42408</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42408"/>
		<updated>2009-03-30T13:38:20Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* What needs some Tweaks? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
 &lt;br /&gt;
===Postinstall-Script for this Workarounds===&lt;br /&gt;
 &lt;br /&gt;
This script:&lt;br /&gt;
*enables scrolling with trackpoint&lt;br /&gt;
*enables FN + F8 to switch on/off trackpad&lt;br /&gt;
*makes the recommended Workaround for the harddrive-Bug&lt;br /&gt;
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )&lt;br /&gt;
*enables the Menu-Key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 # Shell-script for postinstallation work on a T400 or X200&lt;br /&gt;
 &lt;br /&gt;
 # Scrolling with Trackpoint&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;o&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
 &lt;br /&gt;
 # FN + F8 to switch trackpad on/off&lt;br /&gt;
 echo '&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
 ' &amp;gt; /etc/hal/fdi/policy/shmconfig.fdi&lt;br /&gt;
 &lt;br /&gt;
 # recommended workaround for hard disk bug&lt;br /&gt;
 sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support&lt;br /&gt;
 &lt;br /&gt;
 sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf&lt;br /&gt;
 &lt;br /&gt;
 # Menu Key Workaround&lt;br /&gt;
 sed -i 's|key\ &amp;lt;I151&amp;gt;\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ &amp;lt;I151&amp;gt;\ \  {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
 &lt;br /&gt;
 echo '==========================================='&lt;br /&gt;
 echo 'You have to restart for using the features! To do so type &amp;quot;reboot&amp;quot;'&lt;br /&gt;
&lt;br /&gt;
Step for Step:&lt;br /&gt;
1.Save this script as a textfile on your Desktop&lt;br /&gt;
2.Open the Terminal&lt;br /&gt;
3.Write this to change directory to Desktop&lt;br /&gt;
&lt;br /&gt;
 cd Desktop&lt;br /&gt;
&lt;br /&gt;
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)&lt;br /&gt;
&lt;br /&gt;
chmod 775 textfile&lt;br /&gt;
&lt;br /&gt;
5.To get administrator rights type:&lt;br /&gt;
&lt;br /&gt;
sudo su&lt;br /&gt;
&lt;br /&gt;
6.Type your password&lt;br /&gt;
7.Execute the script&lt;br /&gt;
&lt;br /&gt;
./textfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category:T400&amp;diff=42407</id>
		<title>Category:T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category:T400&amp;diff=42407"/>
		<updated>2009-03-30T13:16:48Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Linux Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ThinkPad T400 ===&lt;br /&gt;
This pages gives an overview of all ThinkPad T400 related topics.&lt;br /&gt;
&lt;br /&gt;
Page under construction&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Standard Features ====&lt;br /&gt;
&lt;br /&gt;
*One of the following processors:&lt;br /&gt;
** Intel® Core™2 Duo processor P8400 (2.26GHz, 3MB L 2, 1066MHz FSB, 25 watt)&lt;br /&gt;
** Intel® Core™2 Duo processor P8600 (2.4GHz, 3MB L 2, 1066MHz FSB, 25 watt)&lt;br /&gt;
** Intel® Core™2 Duo processor T9400 (2.53GHz, 6MB L 2, 1066MHz FSB, 35 watt)&lt;br /&gt;
** Intel® Core™2 Duo processor P9500 (2.53GHz, 6MB L 2, 1066MHz FSB, 25 watt) (not available at launch)&lt;br /&gt;
** Intel® Core™2 Duo processor T9600 (2.8GHz, 6MB L 2, 1066MHz FSB, 35 watt)&lt;br /&gt;
* One of the following graphics adapters option:&lt;br /&gt;
** [[Intel Integrated Intel GMA 4500MHD]]&lt;br /&gt;
** [[Intel Integrated Intel GMA 4500MHD]] and [[ATI Mobility Radeon 3470 graphics]] (256 MB) at the same time (so called &amp;quot;[[Switchable Graphics]]&amp;quot;)&lt;br /&gt;
* One of the following displays:&lt;br /&gt;
** 14&amp;quot; TFT display with 1280×800 (WXGA) resolution&lt;br /&gt;
** 14&amp;quot; TFT display with 1440x900 (WXGA+) resolution&lt;br /&gt;
** 14&amp;quot; TFT display with 1440x900 (WXGA+) resolution with LED Backlight&lt;br /&gt;
* 2 GB [[PC3-8500]] memory standard upgradable to 8 GB&lt;br /&gt;
* 200 GB 7200 rpm 2.5&amp;quot; SATA HDD (available with encryption)&lt;br /&gt;
* 160 GB 7200 rpm 2,5&amp;quot; SATA HDD&lt;br /&gt;
* 320 GB 5400 rpm 2.5&amp;quot; SATA HDD&lt;br /&gt;
** [[Full Disk Encryption (FDE)]] Available on some models&lt;br /&gt;
* [[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
* [[UltraBay|UltraBay Slim]] with one of the following:&lt;br /&gt;
** [[UltraBay Slim Super Multi-Burner Drive]]&lt;br /&gt;
* [[MiniPCI Express slot]] 1 with one of the following:&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Intel WiFi Link 5100/5300 WLAN controller]]&lt;br /&gt;
** [[Intel WiMAX/WiFi Link 5150/5350 WiFi/WiMAX controller]]&lt;br /&gt;
* [[MiniPCI Express slot]] 2 with one of the following:&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Verizon 1xEV-DO WWAN]] (It seems to be a Sierra Wireless MC5720 Modem)&lt;br /&gt;
** [[Cingular HSDPA WWAN]] (Sierra Wireless MC8775)&lt;br /&gt;
* [[MiniPCI Express slot]] 3 with one of the following (this slot only takes cards 1/2 length, ie most wlan/wwan cards will not fit, only things like intel turbo memory, and some bluetooth cards will fit):&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Intel® Turbo Memory hard drive cache]] up to 2GB&lt;br /&gt;
* [[ExpressCard slot|ExpressCard/54 slot]]&lt;br /&gt;
* 1 Slot with one of the following:&lt;br /&gt;
** 1 [[CardBus slot]] (Type 2)&lt;br /&gt;
** SmartCard reader&lt;br /&gt;
** [[Ricoh_R5C843|4-in-1 Memory reader]] (or 7-in-1)&lt;br /&gt;
* [[Embedded Security Subsystem|IBM Embedded Security Subsystem 2.0]]&lt;br /&gt;
* [[Active Protection System|IBM Active Protection System]]&lt;br /&gt;
* [[Integrated Fingerprint Reader]] on select models&lt;br /&gt;
* [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|Bluetooth]] on select models (Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]).&lt;br /&gt;
* [[UltraNav]] (TrackPoint / Touchpad combo)&lt;br /&gt;
* IEEE1394 Firewire on select models (Ricoh Co Ltd R5C832 IEEE 1394 Controller)&lt;br /&gt;
* [[Intel Active Management Technology (AMT)]] on select models&lt;br /&gt;
* integrated webcam&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/product.do?template=/product.do?template=%2Fproductpage%2Flandingpages%2FproductPageLandingPage.vm&amp;amp;sitestyle=lenovo&amp;amp;brandind=10&amp;amp;familyind=422606&amp;amp;machineind=0&amp;amp;modelind=0&amp;amp;partnumberind=0&amp;amp;subcategoryind=0&amp;amp;doctypeind=9&amp;amp;doccategoryind=0&amp;amp;operatingsystemind=49979&amp;amp;validate=true Lenovo Product page]&lt;br /&gt;
* [http://www5.pc.ibm.com/europe/me.nsf/webdocs-L/Data+Sheet:EMEA_Datasheet+ThinkPad+T400_T500+notebooks:English/$FILE/EMEA_DS_Q2_09_1746.pdf EMEA_Datasheet ThinkPad T400 T500 notebooks - 13 Aug 2008 (PDF 3791751 Bytes)]&lt;br /&gt;
&lt;br /&gt;
=== Reviews ===&lt;br /&gt;
* [http://www.notebookreview.com/default.asp?newsID=4569 www.notebookreview.com] 2008-10-27&lt;br /&gt;
* [http://www.notebookjournal.de/tests/648 www.notebookjournal.de] 2008-10-27&lt;br /&gt;
* [http://www.pcmag.com/article2/0,2817,2330565,00.asp www.pcmag.com] 2008-10-27&lt;br /&gt;
&lt;br /&gt;
=== Linux Installation ===&lt;br /&gt;
&lt;br /&gt;
*[[Install Ubuntu 8.10 (Intrepid Ibex) on a Thinkpad T400]]&lt;br /&gt;
*[[Install Ubuntu 9.04 (Jaunty Jackalope) on a Thinkpad T400]]&lt;br /&gt;
*[[Install Fedora 10 on a Thinkpad T400]]&lt;br /&gt;
*[[Install Gentoo on a Thinkpad T400]]&lt;br /&gt;
&lt;br /&gt;
[[Category:T Series]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Jango&amp;diff=42399</id>
		<title>User:Jango</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Jango&amp;diff=42399"/>
		<updated>2009-03-29T20:24:00Z</updated>

		<summary type="html">&lt;p&gt;Jango: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Jango'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenID: https://launchpad.net/~j-4&lt;br /&gt;
&lt;br /&gt;
jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Feel free to contact me!&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Jango&amp;diff=42398</id>
		<title>User:Jango</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Jango&amp;diff=42398"/>
		<updated>2009-03-29T20:23:43Z</updated>

		<summary type="html">&lt;p&gt;Jango: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Jango'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenID: https://launchpad.net/~j-4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Feel free to contact me!&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Jango&amp;diff=42397</id>
		<title>User:Jango</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Jango&amp;diff=42397"/>
		<updated>2009-03-29T20:22:58Z</updated>

		<summary type="html">&lt;p&gt;Jango: â†Created page with 'OpenID: https://launchpad.net/~j-4 jabber: jango4@jabber.org  Feel free to contact me!'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OpenID: https://launchpad.net/~j-4&lt;br /&gt;
jabber: jango4@jabber.org&lt;br /&gt;
&lt;br /&gt;
Feel free to contact me!&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42365</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42365"/>
		<updated>2009-03-29T15:09:12Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42364</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42364"/>
		<updated>2009-03-29T15:07:55Z</updated>

		<summary type="html">&lt;p&gt;Jango: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_8.10]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category:T400&amp;diff=42363</id>
		<title>Category:T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category:T400&amp;diff=42363"/>
		<updated>2009-03-29T15:07:01Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Linux Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ThinkPad T400 ===&lt;br /&gt;
This pages gives an overview of all ThinkPad T400 related topics.&lt;br /&gt;
&lt;br /&gt;
Page under construction&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Standard Features ====&lt;br /&gt;
&lt;br /&gt;
*One of the following processors:&lt;br /&gt;
** Intel® Core™2 Duo processor P8400 (2.26GHz, 3MB L 2, 1066MHz FSB, 25 watt)&lt;br /&gt;
** Intel® Core™2 Duo processor P8600 (2.4GHz, 3MB L 2, 1066MHz FSB, 25 watt)&lt;br /&gt;
** Intel® Core™2 Duo processor T9400 (2.53GHz, 6MB L 2, 1066MHz FSB, 35 watt)&lt;br /&gt;
** Intel® Core™2 Duo processor P9500 (2.53GHz, 6MB L 2, 1066MHz FSB, 25 watt) (not available at launch)&lt;br /&gt;
** Intel® Core™2 Duo processor T9600 (2.8GHz, 6MB L 2, 1066MHz FSB, 35 watt)&lt;br /&gt;
* One of the following graphics adapters option:&lt;br /&gt;
** [[Intel Integrated Intel GMA 4500MHD]]&lt;br /&gt;
** [[Intel Integrated Intel GMA 4500MHD]] and [[ATI Mobility Radeon 3470 graphics]] (256 MB) at the same time (so called &amp;quot;[[Switchable Graphics]]&amp;quot;)&lt;br /&gt;
* One of the following displays:&lt;br /&gt;
** 14&amp;quot; TFT display with 1280×800 (WXGA) resolution&lt;br /&gt;
** 14&amp;quot; TFT display with 1440x900 (WXGA+) resolution&lt;br /&gt;
** 14&amp;quot; TFT display with 1440x900 (WXGA+) resolution with LED Backlight&lt;br /&gt;
* 2 GB [[PC3-8500]] memory standard upgradable to 8 GB&lt;br /&gt;
* 200 GB 7200 rpm 2.5&amp;quot; SATA HDD (available with encryption)&lt;br /&gt;
* 160 GB 7200 rpm 2,5&amp;quot; SATA HDD&lt;br /&gt;
* 320 GB 5400 rpm 2.5&amp;quot; SATA HDD&lt;br /&gt;
** [[Full Disk Encryption (FDE)]] Available on some models&lt;br /&gt;
* [[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
* [[UltraBay|UltraBay Slim]] with one of the following:&lt;br /&gt;
** [[UltraBay Slim Super Multi-Burner Drive]]&lt;br /&gt;
* [[MiniPCI Express slot]] 1 with one of the following:&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Intel WiFi Link 5100/5300 WLAN controller]]&lt;br /&gt;
** [[Intel WiMAX/WiFi Link 5150/5350 WiFi/WiMAX controller]]&lt;br /&gt;
* [[MiniPCI Express slot]] 2 with one of the following:&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Verizon 1xEV-DO WWAN]] (It seems to be a Sierra Wireless MC5720 Modem)&lt;br /&gt;
** [[Cingular HSDPA WWAN]] (Sierra Wireless MC8775)&lt;br /&gt;
* [[MiniPCI Express slot]] 3 with one of the following (this slot only takes cards 1/2 length, ie most wlan/wwan cards will not fit, only things like intel turbo memory, and some bluetooth cards will fit):&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Intel® Turbo Memory hard drive cache]] up to 2GB&lt;br /&gt;
* [[ExpressCard slot|ExpressCard/54 slot]]&lt;br /&gt;
* 1 Slot with one of the following:&lt;br /&gt;
** 1 [[CardBus slot]] (Type 2)&lt;br /&gt;
** SmartCard reader&lt;br /&gt;
** [[Ricoh_R5C843|4-in-1 Memory reader]] (or 7-in-1)&lt;br /&gt;
* [[Embedded Security Subsystem|IBM Embedded Security Subsystem 2.0]]&lt;br /&gt;
* [[Active Protection System|IBM Active Protection System]]&lt;br /&gt;
* [[Integrated Fingerprint Reader]] on select models&lt;br /&gt;
* [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|Bluetooth]] on select models (Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]).&lt;br /&gt;
* [[UltraNav]] (TrackPoint / Touchpad combo)&lt;br /&gt;
* IEEE1394 Firewire on select models (Ricoh Co Ltd R5C832 IEEE 1394 Controller)&lt;br /&gt;
* [[Intel Active Management Technology (AMT)]] on select models&lt;br /&gt;
* integrated webcam&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/product.do?template=/product.do?template=%2Fproductpage%2Flandingpages%2FproductPageLandingPage.vm&amp;amp;sitestyle=lenovo&amp;amp;brandind=10&amp;amp;familyind=422606&amp;amp;machineind=0&amp;amp;modelind=0&amp;amp;partnumberind=0&amp;amp;subcategoryind=0&amp;amp;doctypeind=9&amp;amp;doccategoryind=0&amp;amp;operatingsystemind=49979&amp;amp;validate=true Lenovo Product page]&lt;br /&gt;
* [http://www5.pc.ibm.com/europe/me.nsf/webdocs-L/Data+Sheet:EMEA_Datasheet+ThinkPad+T400_T500+notebooks:English/$FILE/EMEA_DS_Q2_09_1746.pdf EMEA_Datasheet ThinkPad T400 T500 notebooks - 13 Aug 2008 (PDF 3791751 Bytes)]&lt;br /&gt;
&lt;br /&gt;
=== Reviews ===&lt;br /&gt;
* [http://www.notebookreview.com/default.asp?newsID=4569 www.notebookreview.com] 2008-10-27&lt;br /&gt;
* [http://www.notebookjournal.de/tests/648 www.notebookjournal.de] 2008-10-27&lt;br /&gt;
* [http://www.pcmag.com/article2/0,2817,2330565,00.asp www.pcmag.com] 2008-10-27&lt;br /&gt;
&lt;br /&gt;
=== Linux Installation ===&lt;br /&gt;
&lt;br /&gt;
*[[Install Ubuntu 8.10 (Intrepid Ibex) on a Thinkpad T400]]&lt;br /&gt;
 *[[Install Ubuntu 9.04 (Jaunty Jackalope) on a Thinkpad T400]]&lt;br /&gt;
*[[Install Fedora 10 on a Thinkpad T400]]&lt;br /&gt;
*[[Install Gentoo on a Thinkpad T400]]&lt;br /&gt;
&lt;br /&gt;
[[Category:T Series]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Bluetooth_Daughter_Card_(14_pins)&amp;diff=42362</id>
		<title>Bluetooth Daughter Card (14 pins)</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Bluetooth_Daughter_Card_(14_pins)&amp;diff=42362"/>
		<updated>2009-03-29T15:01:08Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* ThinkPads Using This Device */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |[[Image:Logo_bluetooth.jpg|Bluetooth Logo]][[Image:FRU39T0497.jpg|250px]]&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin:0px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ThinkPad Bluetooth with Enhanced Data Rate (BDC-2) ===&lt;br /&gt;
This is a USB Bluetooth Adapter that is installed in a BDC slot in the screen assembly.&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: Broadcom&lt;br /&gt;
* Model: BCM2045B&lt;br /&gt;
* USB VID/PID: 0A5C:2110&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IBM Partnumbers ===&lt;br /&gt;
IBM FRU PN: 39T0497&lt;br /&gt;
&lt;br /&gt;
=== Linux Driver ===&lt;br /&gt;
&lt;br /&gt;
The Bluetooth adapter uses the '''hci_usb''' driver {{kernelconf|CONFIG_BT_HCIUSB||||||}}.&lt;br /&gt;
&lt;br /&gt;
One can enable Bluetooth by pressing {{key|Fn}}{{key|F5}}.  If this doesn't work, you can load the [[ibm-acpi|ibm_acpi]] or [[ibm-acpi|thinkpad_acpi]] kernel module and run the following command with root privileges:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo &amp;quot;enable&amp;quot; &amp;gt; /proc/acpi/ibm/bluetooth}}&lt;br /&gt;
&lt;br /&gt;
When Bluetooth is enabled, the Bluetooth-logo LED will light up and executing {{cmdroot|lsusb}} will show an entry mentioning &amp;quot;Broadcom&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On recent ThinkPads the Wireless killswitch disables both WiFi and Bluetooth (verified on a ThinkPad Z60m, Z61t, T60, T61 and X61).&lt;br /&gt;
&lt;br /&gt;
=== Set Fn + F5 or Fn + F6 as hotkey to enable/disable Bluetooth ===&lt;br /&gt;
If the {{key|Fn}}{{key|F5}} combo doesn't work for you out-of-box, you can easily use Linux ACPI subsystem to enable and disable Bluetooh. You only need to create two small files (shown below). Note that you need to have &amp;lt;code&amp;gt;acpid&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;thinkpad_acpi&amp;lt;/code&amp;gt; installed and properly working. The following scripts were tested on openSUSE 10.3.&lt;br /&gt;
&lt;br /&gt;
Newer ThinkPad T Series Models cycle through four options:&lt;br /&gt;
# WLAN on + bluetooth on&lt;br /&gt;
# WLAN off + bluetooth off&lt;br /&gt;
# WLAN off + bluetooth on&lt;br /&gt;
# WLAN on + bluetooth off&lt;br /&gt;
If you don't like this and want to control only bluetooth without affecting WLAN you can simply add {{key|Fn}}{{key|F6}} as the bluetooth toggle. To do that use the second ACPI event handler scipt below instead of the first one.&lt;br /&gt;
==== ACPI action script ====&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /etc/acpi/actions/bluetooth&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Bluetooth enable/disable script&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/bluetooth status&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$?&amp;quot; -ne 0 ]; then&lt;br /&gt;
        /etc/init.d/bluetooth start &amp;gt; /dev/null&lt;br /&gt;
        echo enabled &amp;gt; /proc/acpi/ibm/bluetooth&lt;br /&gt;
        echo &amp;quot;Bluetooth enabled&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
        /etc/init.d/bluetooth stop &amp;gt; /dev/null&lt;br /&gt;
        echo disabled &amp;gt; /proc/acpi/ibm/bluetooth&lt;br /&gt;
        echo &amp;quot;Bluetooth disabled&amp;quot;&lt;br /&gt;
fi&amp;lt;/pre&amp;gt;&lt;br /&gt;
This script, when executed, detects the current state of Bluetooth subsystem and changes it to the opposite state.&lt;br /&gt;
&lt;br /&gt;
==== ACPI event handler ====&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /etc/acpi/events/bluetooth&lt;br /&gt;
event=ibm/hotkey HKEY 00000080 00001005&lt;br /&gt;
action=/etc/acpi/actions/bluetooth&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;acpid&amp;lt;/code&amp;gt;, once detects Fn + F5 keypress, runs the given script which disables or enables Bluetooth (and changes state of indication LED).&lt;br /&gt;
&lt;br /&gt;
To use {{key|Fn}}{{key|F6}} for bluetooth toggling only and leave the function of FN+F5 on newer ThinkPads intact use the following script instead of the one above:&lt;br /&gt;
&amp;lt;pre&amp;gt;# cat /etc/acpi/events/bluetooth&lt;br /&gt;
event=ibm/hotkey HKEY 00000080 00001006&lt;br /&gt;
action=/etc/acpi/actions/bluetooth&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[How_to_setup_Bluetooth|How to Setup Bluetooth]]&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads Using This Device ===&lt;br /&gt;
* {{Z60m}}, {{Z60t}}, {{Z61t}}&lt;br /&gt;
* {{R60}}, {{R61}}&lt;br /&gt;
* {{T60}}, {{T60p}}, {{T61}}, {{T61p}}&lt;br /&gt;
* {{T400}}&lt;br /&gt;
* {{X200}}&lt;br /&gt;
&lt;br /&gt;
=== External Sources ===&lt;br /&gt;
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51427 IBM's page about configuring Bluetooth under Linux]&lt;br /&gt;
*[http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM2045 Broadcom BCM2045 Product]&lt;br /&gt;
*[http://blogs.ebay.com.hk/lingqi-tech/archive/2007/12 Compare CDC slot types and CDC Bluetooth Cards for various ThinkPad Models] (link is dead as of 18.01.2009)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42361</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42361"/>
		<updated>2009-03-29T14:58:53Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* Active Protection System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
{{todo|'''In Progress'''}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42360</id>
		<title>Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T400</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&amp;diff=42360"/>
		<updated>2009-03-29T14:58:24Z</updated>

		<summary type="html">&lt;p&gt;Jango: /* ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[:Category:T400|T400]]&lt;br /&gt;
&lt;br /&gt;
==Before Installation==&lt;br /&gt;
&lt;br /&gt;
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:&lt;br /&gt;
* Change to Internal or ATI Graphics with Config --&amp;gt; Display --&amp;gt; Graphics Device --&amp;gt; [Integrated graphics] or [Discrete Graphics]&lt;br /&gt;
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.&lt;br /&gt;
&lt;br /&gt;
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.&lt;br /&gt;
&lt;br /&gt;
==What works out of the box?==&lt;br /&gt;
&lt;br /&gt;
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])&lt;br /&gt;
**G mode + WEP and WPA2 PSK (If you have the ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Aetheros Chipset), see below!)&lt;br /&gt;
**with status LED and everything!&lt;br /&gt;
*Bluetooth&lt;br /&gt;
**Even with [[Bluetooth Laser Mouse]]&lt;br /&gt;
**Note: Bluetooth can only be toggled together with WLAN on and off, to add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]].&lt;br /&gt;
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]&lt;br /&gt;
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])&lt;br /&gt;
** with 3D acceleration out-of-the-box&lt;br /&gt;
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)&lt;br /&gt;
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)&lt;br /&gt;
*VGA/HDMI output&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Including DVD burning&lt;br /&gt;
*Sound card&lt;br /&gt;
**To use your internal microphone you have to change to &amp;quot;HDA Intel CONEXANT Analog (ALSA)&amp;quot; in audio-settings.&lt;br /&gt;
*built-in webcam with Skype&lt;br /&gt;
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)&lt;br /&gt;
**Only tested SD cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control (but changing brightness is a little bit diffuse. It's getting brighter but on maximum it changes to nearly lowest and get brighter again.)&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle (Fn+F5 and mechanical toggle)&lt;br /&gt;
**Media player control&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history (tested with an single 6-Cell battery)&lt;br /&gt;
**Lid states and events&lt;br /&gt;
*Suspend/Hibernate&lt;br /&gt;
*[[ThinkVantage Button]] (You only have to allocate a programm!)&lt;br /&gt;
&lt;br /&gt;
==What needs some Tweaks?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Scrolling with Trackpoint====&lt;br /&gt;
&lt;br /&gt;
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&lt;br /&gt;
And fill it with this code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.XAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;6 7&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.YAxisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]&lt;br /&gt;
&lt;br /&gt;
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)&lt;br /&gt;
&lt;br /&gt;
====Enabling Touchpad on/off key====&lt;br /&gt;
&lt;br /&gt;
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]&lt;br /&gt;
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf&lt;br /&gt;
&lt;br /&gt;
You have to add the file &lt;br /&gt;
 {{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}&lt;br /&gt;
with the following content:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;deviceinfo version=&amp;quot;0.2&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;device&amp;gt;&lt;br /&gt;
   &amp;lt;match key=&amp;quot;input.x11_driver&amp;quot; string=&amp;quot;synaptics&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;merge key=&amp;quot;input.x11_options.SHMConfig&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;True&amp;lt;/merge&amp;gt;&lt;br /&gt;
   &amp;lt;/match&amp;gt;&lt;br /&gt;
  &amp;lt;/device&amp;gt;&lt;br /&gt;
 &amp;lt;/deviceinfo&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this change please reboot. Restarting hal doesn't help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Menu-Key====&lt;br /&gt;
&lt;br /&gt;
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' &amp;quot;Menu key emits XF86WakeUp on Thinkpad X61s&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Václav Šmilauer wrote:&lt;br /&gt;
&amp;quot;When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to &amp;lt;I151&amp;gt; and this, in turn to XF86WakeUp.&lt;br /&gt;
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace &amp;quot;XF86WakeUp&amp;quot; with &amp;quot;Menu&amp;quot; in /usr/share/X11/xkb/symbols/inet:86, where &amp;lt;I151&amp;gt; is mapped.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Workaround in short:'''&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/X11/xkb/symbols/inet&lt;br /&gt;
&lt;br /&gt;
Press Str + F to search for '''&amp;quot;I151&amp;quot;''' and write &lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;Menu&amp;quot;''' instead of '''&amp;quot;XF86WakeUp&amp;quot;''' in this line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Active Protection System]]====&lt;br /&gt;
&lt;br /&gt;
'''In Progress'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Integrated Fingerprint Reader]]====&lt;br /&gt;
&lt;br /&gt;
There is a new chipset build in, the &amp;quot;AuthenTec AES2810&amp;quot;. So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.&lt;br /&gt;
&lt;br /&gt;
 lsusb:&lt;br /&gt;
 Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.&lt;br /&gt;
&lt;br /&gt;
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!&lt;br /&gt;
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====[[Switchable Graphics]]====&lt;br /&gt;
&lt;br /&gt;
Same Problem as with 8.10!&lt;br /&gt;
&lt;br /&gt;
==Not tested yet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====&lt;br /&gt;
&lt;br /&gt;
{{todo|Please test the drivers!}}&lt;/div&gt;</summary>
		<author><name>Jango</name></author>
		
	</entry>
</feed>