<?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=Lunatico</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=Lunatico"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Lunatico"/>
	<updated>2026-04-29T16:11:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:HDAPS&amp;diff=48315</id>
		<title>Talk:HDAPS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:HDAPS&amp;diff=48315"/>
		<updated>2010-04-21T18:15:25Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Smackpad and Compiz ==&lt;br /&gt;
&lt;br /&gt;
There are a few references to scripts that will switch the workspace when you tap the laptop on the side. I googled for a while and all I could find was pretty old stuff.&lt;br /&gt;
&lt;br /&gt;
A few of the links I found are:&lt;br /&gt;
&lt;br /&gt;
[http://wiki.compiz.org/Plugins/Smackpad Compiz Smackpad Plugin] This one looks very interesting but how do you install it?&lt;br /&gt;
&lt;br /&gt;
[http://www.eugen-feller.de/?p=12 Compiz Smackpad] I could not clone the software.&lt;br /&gt;
&lt;br /&gt;
[http://blog.micampe.it/articles/2006/06/04/here-comes-the-smackpad Here comes the smackpad] No luck here either.&lt;br /&gt;
&lt;br /&gt;
Etc...&lt;br /&gt;
&lt;br /&gt;
So, has anyone got this working recently? How?&lt;br /&gt;
&lt;br /&gt;
Thanks! --[[User:Lunatico|Lunatico]] 18:15, 21 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Careful with Gnome HDAPS applet ==&lt;br /&gt;
&lt;br /&gt;
This applet polls /sys/block/sda/device/unload_heads and loads the corresponding icon from disk '''every 10th of a second'''. I'd like to talk to the upstream developer and fix that, but I wouldn't recommend its usage meanwhile. I guess we should warn users in the wiki page? --[[User:Berto|Berto]] 14:40, 3 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 17:45, 21 April 2010 (UTC) Can you elaborate more on this? I'm using the gnome applet and haven't had any perceivable issues.&lt;br /&gt;
&lt;br /&gt;
== Question regarding the example udev rule ? ==&lt;br /&gt;
The example udev rule is as follows.&lt;br /&gt;
* 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;
&lt;br /&gt;
Where is the '''b0019v1014p5054e4801''' being taken from?&lt;br /&gt;
&lt;br /&gt;
It is from &amp;quot;udevinfo --attribute-walk --name /dev/input/event9&amp;quot; (only with the tp_smapi module)&lt;br /&gt;
&lt;br /&gt;
== Where can one find the recent hdapsd version mentioned in the article ? ==&lt;br /&gt;
The article mentions &amp;quot;New interface (requires hdapsd dated 2008-10-04 or newer)&amp;quot; without giving any clue about where one can find such a version, I looked in repositories, google and elsewhere in this very site and found an outdated http://www.dresco.co.uk/hdaps/ , as a newcomer here, it eludes me completely. [[User:Bugmenot1|Bugmenot1]] 21:38, 28 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
:I had the same problem, I think I found it via [[How_to_protect_the_harddisk_through_APS#Manual_compilation_from_source]], it links to a mailing list post at [http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1040] which has an attached source file at [http://cache.gmane.org//gmane/linux/drivers/hdaps/devel/1040-001.bin], this can be compiled easily with ''gcc -o hdapsd hdapsd.c''. Why this is not released cleanly on the original homepage eludes me as well... --[[User:Centic|Centic]] 12:34, 30 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Reduced Power&amp;quot; hdapsd Consuming More Power ==&lt;br /&gt;
&lt;br /&gt;
There is a link to a &amp;quot;reduced power&amp;quot; version of hdapsd, which is supposed to lower the number of timer interrupts (thereby reducing the power consumed by the daemon).  From my experiments (using powertop), however, this program requires about twice as many interrupts to operate in &amp;quot;low power&amp;quot; mode as it does using the (older) sysfs interface.  It also consumes enough CPU cycles to force my CPU back on periodically, consuming more power.  Has anybody else had this experience?&lt;br /&gt;
&lt;br /&gt;
--[[User:Mbsullivan|Mbsullivan]] 05:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
:Well, not really. With tp_smapi 0.31 and older hdapsd I had wakeups from hdapsd and from the hdaps module, now powertop only shows about 50wakeups from hdapsd (which are really from the module, but this is a bug in powertop, it tells who first called a function, not whose function it is [it's a function in the module code]). So I get a lower power consumption with the newer pair of tpsmapi and hdapsd&lt;br /&gt;
:--[[User:Zhenech|Zhenech]] 07:26, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
== I hawe a problem ==&lt;br /&gt;
&lt;br /&gt;
I tray to start working my IBM x40 with hdaps function but I can't make it right.&lt;br /&gt;
&lt;br /&gt;
The main problem is in a not hanging variables when I read&lt;br /&gt;
/sys/devices/platform/hdaps/position&lt;br /&gt;
&lt;br /&gt;
==I also have this problem!==&lt;br /&gt;
Hi, I also have this problem that on my X40 the device/platform/hdaps/position does not give the right response. It is simply constant (128,1).&lt;br /&gt;
Does anyone have a clue? I use the suse kernel 2.6.16.13-4-default from suse10.1. the hdaps sources in that kernel are the same as in the original kernel.&lt;br /&gt;
thanks in advance,&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does the HDAPS sensor work under Windows (as observed from actual disk parking, or the graphical animation)? &lt;br /&gt;
Also, try loading [[tp_smapi]], it includes some patches for the hdaps driver. Does it help?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:45, 8 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
HI Again,&lt;br /&gt;
HDAPS does work under windows. When I had windows running and then reboot the machine, hdaps is running under suse10.1 also. If I, however, turn off the machine and restart it, then, hdaps does *not* work anymore.&lt;br /&gt;
I remember that with suse 10.0 and the separate module, hdaps did work.&lt;br /&gt;
HDAPS now works with tp_smapi as suggested above.&lt;br /&gt;
Still, where does the problem derive from?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The hdaps in the vanilla kernel has some bugs (i.e., in doesn't talk to the hardware correctly) which tp_smapi fixes. Looks like you've hit one of these.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:05, 12 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==laptop acpi problem with hdaps==&lt;br /&gt;
&amp;lt;b&amp;gt; UPDATE: the problem seems fixed in the version 0.21 &amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;s&amp;gt;&lt;br /&gt;
My my both IBM T42/T43 laptops freezes time to times with the follow:&lt;br /&gt;
&lt;br /&gt;
kernel 2.6.16/sata patch&amp;lt;br&amp;gt;&lt;br /&gt;
hdaps build as a module from the kernel.&lt;br /&gt;
tp_smapi 0.20/hdapsd&lt;br /&gt;
&lt;br /&gt;
The freez is quite common then I access CD-ROM,but it also might freez without touching anything.&amp;lt;br&amp;gt;&lt;br /&gt;
After the freez keyboard doesn't work or priting some character,power button doesn't work, however mouse might continue to work.&amp;lt;br&amp;gt;&lt;br /&gt;
KDE battery systray shows discarchged  batteries.&amp;lt;br&amp;gt;&lt;br /&gt;
Still under investigation that cases the problem.&amp;lt;br&amp;gt;&lt;br /&gt;
The related software:&lt;br /&gt;
khdapsmon 0.1.2&amp;lt;br&amp;gt;&lt;br /&gt;
ibm-acpi build-in as a module from the kernel(for ksensors)&lt;br /&gt;
modified ksensors without lm_sensors with a patch&lt;br /&gt;
http://bugs.gentoo.org/show_bug.cgi?id=116661&lt;br /&gt;
&lt;br /&gt;
--noname 00:25, 13 June 2006 (CEST)Anton&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You're the 2nd one reporting this. The fact you can reproduce it on two machines may be very helpful! Are these machines configured identically? Do they run the same software? Can you send your kernel .config, and precise kernel version + patches, to the e-mail address in the tp_smapi README? Please specify which hdaps or tp_smapi -related applications you're typically running.&lt;br /&gt;
&lt;br /&gt;
BTW, if you have [[swsusp]] or [[Software Suspend 2]] installed, you can do a suspend-to-disk cycle to recover from the hang.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 11:53, 13 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I also have the follow &lt;br /&gt;
[[Problems_with_SATA_and_Linux#No_DMA_on_DVD_drive]].&lt;br /&gt;
So I switched cdrom driver from IDE to ATA and it fixed the problem.&lt;br /&gt;
However HDAPS has stared to freez a machine if I shake it then HDD is active.&lt;br /&gt;
The issue might be not related to ACPI but I'll log it here for now.&lt;br /&gt;
&lt;br /&gt;
I'll send configs. Thank you.&lt;br /&gt;
ps. 0.21 is out so let me try the new version.&lt;br /&gt;
--noname 08:34, 22 June 2006 (CEST)Anton&lt;br /&gt;
&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hdaps and /sys ==&lt;br /&gt;
&lt;br /&gt;
Hey Fellas,&lt;br /&gt;
&lt;br /&gt;
 I've just upgraded from 2.6.15.2, where the patches all dropped in ok and all was well, to 2.6.17.6, where hdaps is built into the kernel.&lt;br /&gt;
 the hdapsd daemon referenced on thinkwiki looks in /sys/block/&amp;lt;drive&amp;gt;/queue/protect to get started.&lt;br /&gt;
 The default drivers that come with 2.6.17.6 for hdaps apparently dont put anything in /queue there, so there is no 'protect' directory.&lt;br /&gt;
 Has anyone else experienced this? I'd love to get my drive protection back :)&lt;br /&gt;
 ON THE UPSIDE! - the Ricoh card reader in my z60m came to life, and I can read sd cards (but not sony memory sticks, oddly enough)&lt;br /&gt;
 Any input would be awesome!&lt;br /&gt;
 dan@itkinetix.com&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You need an extra kernel patch for &amp;quot;protect&amp;quot;. Please read the page more carefully.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:24, 22 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Gnome HDAPS-Applet and the new interface ==&lt;br /&gt;
&lt;br /&gt;
I just installed my first linux kernel with the new hdaps disk protection interface. Since the file that controls the (un)parking of the disk heads has changed with this interface, you have to edit the GNOME HDAPS applet source before compiling to make it work. Simply replace the lines&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_HDA	&amp;quot;/sys/block/hda/queue/protect&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_SDA	&amp;quot;/sys/block/sda/queue/protect&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
with these:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_HDA	&amp;quot;/sys/block/hda/device/unload_heads&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_SDA	&amp;quot;/sys/block/sda/device/unload_heads&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then proceed with the instructions in the included INSTALL file.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Another hint: On Ubuntu 8.10, install the hdapsd package, then compile the new version of hdapsd and replace the binary in /usr/sbin. Afterwards edit the /etc/init.d/hdapsd file so it looks for the new interface. Otherwise it will never start hdapsd bcause it's looking for the /sys/block/&amp;lt;device&amp;gt;/queue/protect file which simply doesn't exist. You may want to use the init script I posted at https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/comments/3 &amp;lt;br&amp;gt;&lt;br /&gt;
And don't forget that udev-rule to create the symlink hdapsd needs to work!&lt;br /&gt;
&lt;br /&gt;
Kind regards,&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Gollo|Gollo]] 20:15, 18 December 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== Older discussion ==&lt;br /&gt;
&lt;br /&gt;
So, this is in the stable kernel now, but what userspace program do we need to actually park the heads?&lt;br /&gt;
--[[User:MrStaticVoid|MrStaticVoid]] 01:26, 30 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Yes the hdaps driver is in the 2.6.14 kernel, but support to park the heads quickly and freeze the disk queue (to prevent the heads from getting un-parked) is not. There is some disagreement into how that should be implemented.&lt;br /&gt;
&lt;br /&gt;
In other words, the hdaps driver for the moment is rather useless, unless you want to use it to play games.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 02:10, 30 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I head rumours that you can make SDL handle this like a joystick, e.g. for playing Neverball. Can anyone confirm or deny that? Thanx --[[User:Nomeata|Nomeata]] 01:16, 16 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
Yes it is possible to use it as a joystick, as Tonko allready mentioned.&lt;br /&gt;
/dev/input/jsX modprobe joydev&lt;br /&gt;
&lt;br /&gt;
Ozi&lt;br /&gt;
&lt;br /&gt;
Thanks, I didn't have the joydev module. Rebuilding... --[[User:129.13.186.1|129.13.186.1]] 15:30, 16 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Yeah, it's a pretty good party trick - set up the HDAPS joystick as xmame input.  You can play Ms. Pac-man by tilting your laptop to make pac-man navigate the maze.  You can imagine that the pac-man &amp;quot;rolls&amp;quot; downhill, just like those old wooden marble-puzzles that you see around.  Heh, can actually clear a level or two.&lt;br /&gt;
&lt;br /&gt;
Marble madness was strangely unsatisfying though, and just didn't work well (probably due to the diagonal nature of the screen in that game).&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 20:10, 13 Jan 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Anyone got the queue freezing patch running on 2.6.16? I'm going to try to manually merge it but didn't want to duplicate someone else's work.&lt;br /&gt;
&lt;br /&gt;
--[[User:Ajbarr|Ajbarr]] 19:12, 22 March 2006 (CET)&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:HDAPS&amp;diff=48314</id>
		<title>Talk:HDAPS</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:HDAPS&amp;diff=48314"/>
		<updated>2010-04-21T17:45:37Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Careful with Gnome HDAPS applet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Careful with Gnome HDAPS applet ==&lt;br /&gt;
&lt;br /&gt;
This applet polls /sys/block/sda/device/unload_heads and loads the corresponding icon from disk '''every 10th of a second'''. I'd like to talk to the upstream developer and fix that, but I wouldn't recommend its usage meanwhile. I guess we should warn users in the wiki page? --[[User:Berto|Berto]] 14:40, 3 April 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 17:45, 21 April 2010 (UTC) Can you elaborate more on this? I'm using the gnome applet and haven't had any perceivable issues.&lt;br /&gt;
&lt;br /&gt;
== Question regarding the example udev rule ? ==&lt;br /&gt;
The example udev rule is as follows.&lt;br /&gt;
* 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;
&lt;br /&gt;
Where is the '''b0019v1014p5054e4801''' being taken from?&lt;br /&gt;
&lt;br /&gt;
It is from &amp;quot;udevinfo --attribute-walk --name /dev/input/event9&amp;quot; (only with the tp_smapi module)&lt;br /&gt;
&lt;br /&gt;
== Where can one find the recent hdapsd version mentioned in the article ? ==&lt;br /&gt;
The article mentions &amp;quot;New interface (requires hdapsd dated 2008-10-04 or newer)&amp;quot; without giving any clue about where one can find such a version, I looked in repositories, google and elsewhere in this very site and found an outdated http://www.dresco.co.uk/hdaps/ , as a newcomer here, it eludes me completely. [[User:Bugmenot1|Bugmenot1]] 21:38, 28 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
:I had the same problem, I think I found it via [[How_to_protect_the_harddisk_through_APS#Manual_compilation_from_source]], it links to a mailing list post at [http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1040] which has an attached source file at [http://cache.gmane.org//gmane/linux/drivers/hdaps/devel/1040-001.bin], this can be compiled easily with ''gcc -o hdapsd hdapsd.c''. Why this is not released cleanly on the original homepage eludes me as well... --[[User:Centic|Centic]] 12:34, 30 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Reduced Power&amp;quot; hdapsd Consuming More Power ==&lt;br /&gt;
&lt;br /&gt;
There is a link to a &amp;quot;reduced power&amp;quot; version of hdapsd, which is supposed to lower the number of timer interrupts (thereby reducing the power consumed by the daemon).  From my experiments (using powertop), however, this program requires about twice as many interrupts to operate in &amp;quot;low power&amp;quot; mode as it does using the (older) sysfs interface.  It also consumes enough CPU cycles to force my CPU back on periodically, consuming more power.  Has anybody else had this experience?&lt;br /&gt;
&lt;br /&gt;
--[[User:Mbsullivan|Mbsullivan]] 05:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
:Well, not really. With tp_smapi 0.31 and older hdapsd I had wakeups from hdapsd and from the hdaps module, now powertop only shows about 50wakeups from hdapsd (which are really from the module, but this is a bug in powertop, it tells who first called a function, not whose function it is [it's a function in the module code]). So I get a lower power consumption with the newer pair of tpsmapi and hdapsd&lt;br /&gt;
:--[[User:Zhenech|Zhenech]] 07:26, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
== I hawe a problem ==&lt;br /&gt;
&lt;br /&gt;
I tray to start working my IBM x40 with hdaps function but I can't make it right.&lt;br /&gt;
&lt;br /&gt;
The main problem is in a not hanging variables when I read&lt;br /&gt;
/sys/devices/platform/hdaps/position&lt;br /&gt;
&lt;br /&gt;
==I also have this problem!==&lt;br /&gt;
Hi, I also have this problem that on my X40 the device/platform/hdaps/position does not give the right response. It is simply constant (128,1).&lt;br /&gt;
Does anyone have a clue? I use the suse kernel 2.6.16.13-4-default from suse10.1. the hdaps sources in that kernel are the same as in the original kernel.&lt;br /&gt;
thanks in advance,&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Does the HDAPS sensor work under Windows (as observed from actual disk parking, or the graphical animation)? &lt;br /&gt;
Also, try loading [[tp_smapi]], it includes some patches for the hdaps driver. Does it help?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:45, 8 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
HI Again,&lt;br /&gt;
HDAPS does work under windows. When I had windows running and then reboot the machine, hdaps is running under suse10.1 also. If I, however, turn off the machine and restart it, then, hdaps does *not* work anymore.&lt;br /&gt;
I remember that with suse 10.0 and the separate module, hdaps did work.&lt;br /&gt;
HDAPS now works with tp_smapi as suggested above.&lt;br /&gt;
Still, where does the problem derive from?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The hdaps in the vanilla kernel has some bugs (i.e., in doesn't talk to the hardware correctly) which tp_smapi fixes. Looks like you've hit one of these.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:05, 12 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==laptop acpi problem with hdaps==&lt;br /&gt;
&amp;lt;b&amp;gt; UPDATE: the problem seems fixed in the version 0.21 &amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;s&amp;gt;&lt;br /&gt;
My my both IBM T42/T43 laptops freezes time to times with the follow:&lt;br /&gt;
&lt;br /&gt;
kernel 2.6.16/sata patch&amp;lt;br&amp;gt;&lt;br /&gt;
hdaps build as a module from the kernel.&lt;br /&gt;
tp_smapi 0.20/hdapsd&lt;br /&gt;
&lt;br /&gt;
The freez is quite common then I access CD-ROM,but it also might freez without touching anything.&amp;lt;br&amp;gt;&lt;br /&gt;
After the freez keyboard doesn't work or priting some character,power button doesn't work, however mouse might continue to work.&amp;lt;br&amp;gt;&lt;br /&gt;
KDE battery systray shows discarchged  batteries.&amp;lt;br&amp;gt;&lt;br /&gt;
Still under investigation that cases the problem.&amp;lt;br&amp;gt;&lt;br /&gt;
The related software:&lt;br /&gt;
khdapsmon 0.1.2&amp;lt;br&amp;gt;&lt;br /&gt;
ibm-acpi build-in as a module from the kernel(for ksensors)&lt;br /&gt;
modified ksensors without lm_sensors with a patch&lt;br /&gt;
http://bugs.gentoo.org/show_bug.cgi?id=116661&lt;br /&gt;
&lt;br /&gt;
--noname 00:25, 13 June 2006 (CEST)Anton&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You're the 2nd one reporting this. The fact you can reproduce it on two machines may be very helpful! Are these machines configured identically? Do they run the same software? Can you send your kernel .config, and precise kernel version + patches, to the e-mail address in the tp_smapi README? Please specify which hdaps or tp_smapi -related applications you're typically running.&lt;br /&gt;
&lt;br /&gt;
BTW, if you have [[swsusp]] or [[Software Suspend 2]] installed, you can do a suspend-to-disk cycle to recover from the hang.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 11:53, 13 June 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I also have the follow &lt;br /&gt;
[[Problems_with_SATA_and_Linux#No_DMA_on_DVD_drive]].&lt;br /&gt;
So I switched cdrom driver from IDE to ATA and it fixed the problem.&lt;br /&gt;
However HDAPS has stared to freez a machine if I shake it then HDD is active.&lt;br /&gt;
The issue might be not related to ACPI but I'll log it here for now.&lt;br /&gt;
&lt;br /&gt;
I'll send configs. Thank you.&lt;br /&gt;
ps. 0.21 is out so let me try the new version.&lt;br /&gt;
--noname 08:34, 22 June 2006 (CEST)Anton&lt;br /&gt;
&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hdaps and /sys ==&lt;br /&gt;
&lt;br /&gt;
Hey Fellas,&lt;br /&gt;
&lt;br /&gt;
 I've just upgraded from 2.6.15.2, where the patches all dropped in ok and all was well, to 2.6.17.6, where hdaps is built into the kernel.&lt;br /&gt;
 the hdapsd daemon referenced on thinkwiki looks in /sys/block/&amp;lt;drive&amp;gt;/queue/protect to get started.&lt;br /&gt;
 The default drivers that come with 2.6.17.6 for hdaps apparently dont put anything in /queue there, so there is no 'protect' directory.&lt;br /&gt;
 Has anyone else experienced this? I'd love to get my drive protection back :)&lt;br /&gt;
 ON THE UPSIDE! - the Ricoh card reader in my z60m came to life, and I can read sd cards (but not sony memory sticks, oddly enough)&lt;br /&gt;
 Any input would be awesome!&lt;br /&gt;
 dan@itkinetix.com&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You need an extra kernel patch for &amp;quot;protect&amp;quot;. Please read the page more carefully.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:24, 22 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Gnome HDAPS-Applet and the new interface ==&lt;br /&gt;
&lt;br /&gt;
I just installed my first linux kernel with the new hdaps disk protection interface. Since the file that controls the (un)parking of the disk heads has changed with this interface, you have to edit the GNOME HDAPS applet source before compiling to make it work. Simply replace the lines&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_HDA	&amp;quot;/sys/block/hda/queue/protect&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_SDA	&amp;quot;/sys/block/sda/queue/protect&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
with these:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_HDA	&amp;quot;/sys/block/hda/device/unload_heads&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#define SYSFS_PROTECT_FILE_SDA	&amp;quot;/sys/block/sda/device/unload_heads&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then proceed with the instructions in the included INSTALL file.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Another hint: On Ubuntu 8.10, install the hdapsd package, then compile the new version of hdapsd and replace the binary in /usr/sbin. Afterwards edit the /etc/init.d/hdapsd file so it looks for the new interface. Otherwise it will never start hdapsd bcause it's looking for the /sys/block/&amp;lt;device&amp;gt;/queue/protect file which simply doesn't exist. You may want to use the init script I posted at https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/comments/3 &amp;lt;br&amp;gt;&lt;br /&gt;
And don't forget that udev-rule to create the symlink hdapsd needs to work!&lt;br /&gt;
&lt;br /&gt;
Kind regards,&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Gollo|Gollo]] 20:15, 18 December 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== Older discussion ==&lt;br /&gt;
&lt;br /&gt;
So, this is in the stable kernel now, but what userspace program do we need to actually park the heads?&lt;br /&gt;
--[[User:MrStaticVoid|MrStaticVoid]] 01:26, 30 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Yes the hdaps driver is in the 2.6.14 kernel, but support to park the heads quickly and freeze the disk queue (to prevent the heads from getting un-parked) is not. There is some disagreement into how that should be implemented.&lt;br /&gt;
&lt;br /&gt;
In other words, the hdaps driver for the moment is rather useless, unless you want to use it to play games.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 02:10, 30 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I head rumours that you can make SDL handle this like a joystick, e.g. for playing Neverball. Can anyone confirm or deny that? Thanx --[[User:Nomeata|Nomeata]] 01:16, 16 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
Yes it is possible to use it as a joystick, as Tonko allready mentioned.&lt;br /&gt;
/dev/input/jsX modprobe joydev&lt;br /&gt;
&lt;br /&gt;
Ozi&lt;br /&gt;
&lt;br /&gt;
Thanks, I didn't have the joydev module. Rebuilding... --[[User:129.13.186.1|129.13.186.1]] 15:30, 16 Nov 2005 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Yeah, it's a pretty good party trick - set up the HDAPS joystick as xmame input.  You can play Ms. Pac-man by tilting your laptop to make pac-man navigate the maze.  You can imagine that the pac-man &amp;quot;rolls&amp;quot; downhill, just like those old wooden marble-puzzles that you see around.  Heh, can actually clear a level or two.&lt;br /&gt;
&lt;br /&gt;
Marble madness was strangely unsatisfying though, and just didn't work well (probably due to the diagonal nature of the screen in that game).&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 20:10, 13 Jan 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Anyone got the queue freezing patch running on 2.6.16? I'm going to try to manually merge it but didn't want to duplicate someone else's work.&lt;br /&gt;
&lt;br /&gt;
--[[User:Ajbarr|Ajbarr]] 19:12, 22 March 2006 (CET)&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42469</id>
		<title>Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42469"/>
		<updated>2009-04-03T14:35:25Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Kernel Panic (System freezes and Caps lock blinks) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works out of the box?=&lt;br /&gt;
*Wireless (Intel 3945ABG or 4965AGN)&lt;br /&gt;
**Only tested G mode&lt;br /&gt;
*Wired LAN&lt;br /&gt;
*Video (VESA)&lt;br /&gt;
**Hardware Drivers panel offers to install nVIDIA proprietary drivers on first boot.&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default.&lt;br /&gt;
**Middle-button scrolling does NOT work (fix below)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A works fine with Brasero disc burning&lt;br /&gt;
***Tested: CD-R, DVD+R&lt;br /&gt;
*Sound card&lt;br /&gt;
*SD/MMC Memory card reader (Ricoh)&lt;br /&gt;
**Only tested SD (non-HC) cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle&lt;br /&gt;
**Media player control&lt;br /&gt;
**fingerprint reader does NOT work (fix below)&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history&lt;br /&gt;
**Lid states and events&lt;br /&gt;
**Only tested with a single 6-cell battery&lt;br /&gt;
*ACPI features&lt;br /&gt;
** Suspend to RAM&lt;br /&gt;
** Suspend to Disk (Hibernate) FINALLY!! Be patient, though.&lt;br /&gt;
** STR and STD work even with full disk encryption (DM-crypt + LVM)!&lt;br /&gt;
&lt;br /&gt;
=Getting the hardware to work=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
Installing the proprietary NVidia drivers is highly recommended, EVEN IF you won't use 3D acceleration, because the open source nv driver will drain your battery much faster since it does not support PowerMizer at all. Practically, this means that the GPU will constantly run at full speed, thus consuming ~12 Watts more than it would otherwise (which is a LOT of power for a laptop).&lt;br /&gt;
&lt;br /&gt;
The first time you boot Ubuntu, you should get an alert asking if you want to install the binary driver. If not, it can be installed from the Hardware Drivers panel at &lt;br /&gt;
&lt;br /&gt;
System --&amp;gt; Administration --&amp;gt; Hardware Drivers. &lt;br /&gt;
&lt;br /&gt;
You will have a choice between the 173 and 177 version of the driver (Note: if you want to have better 2D performance without breaking suspend/resume, you will have to manually install the 180.25 driver manually as it is not included in the official Intrepid repo). &lt;br /&gt;
*pro:&lt;br /&gt;
**Version 177 is recommended because it will provide Suspend to disk functionality, whereas v173 will not. &lt;br /&gt;
*con:&lt;br /&gt;
**version 177 causes a log out bug that is addressed below.&lt;br /&gt;
**version 177 might show some issues like terminal output not updating in some very weird cases (which I did not see in v173, this seems to have something to do with powermizer as well ...)&lt;br /&gt;
*Early version of the 180 drivers break the suspension/resume, however 180.25(beta) driver has fixed this issue as well as improved 2D performance in X. As of Jan 29, 2009, the 180 series drivers have been added to the official repository under the name nvidia-glx-180. The 'intrepid-updates' repository has to be enabled via &lt;br /&gt;
System --&amp;gt; Administration --&amp;gt; Software Sources --&amp;gt; Updates&lt;br /&gt;
&lt;br /&gt;
to download the drivers. The 180.11 version does not seem to have any suspend / hibernate issues.  &lt;br /&gt;
&lt;br /&gt;
Once the proprietary drivers are installed, the &amp;quot;NVidia X Server Settings&amp;quot; program will be available in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
===Version 177 logout/X restart fix===&lt;br /&gt;
There is a known issue in the v177 proprietary NVidia driver - See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Once you install the v177 driver, logging out or restarting X will cease to work, though suspend to RAM/Disk will continue to function. &lt;br /&gt;
&lt;br /&gt;
The work around is as follows:&lt;br /&gt;
* In /etc/gdm/gdm.conf , increase the value for GdmXserverTimeout to about 60. When logging out or restarting X, X will hang for ~35 seconds. By increasing the value from its default, GDM will give X more time before it assumes X is faulty.&lt;br /&gt;
&lt;br /&gt;
===Choppy Compiz animations===&lt;br /&gt;
NVidia's PowerMizer feature will slow down the GPU when &amp;quot;inactive&amp;quot; even on AC power.&lt;br /&gt;
&lt;br /&gt;
The NVidia driver does not report the correct refresh rate of the display to Compiz, resulting in choppy animations and effects. To fix this, install the &amp;lt;code&amp;gt;compizconfig-settings-manager&amp;lt;/code&amp;gt; package, then go to System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings (also might be called CompizConfig Settings Manager). Click on General Options, go to the Display Settings tab, uncheck the Detect Refresh rate box and drag the Refresh Rate slider to 60. Also, check the Sync To VBlank box. This will improve the smoothness of the window animations significantly if you're sensitive to the choppy animations.&lt;br /&gt;
 &lt;br /&gt;
Compiz animations can also be choppy due to NVidia's PowerMizer feature, which slows down the GPU to conserve power when it is not in use. This works well for 3D games which constantly use 3D acceleration, but poorly for Compiz which uses the GPU in small bursts. It seems that the interval of the PowerMizer is way too long and is not speeding up when using in bursts. Fortunately, the situation seems to have improved in version 177 of the NVidia driver.  To workaround this problem, I made a couple of shell scripts which keep the GPU at its highest speed while running on AC power. The first one is named &amp;quot;powermizer-loop&amp;quot; and does most of the work:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 while true; do&lt;br /&gt;
     &lt;br /&gt;
     powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
     &lt;br /&gt;
     if [ $powerstate = &amp;quot;on-line&amp;quot;  ]; then&lt;br /&gt;
        nvidia-settings -q all &amp;gt; /dev/null&lt;br /&gt;
     fi&lt;br /&gt;
     sleep 25;&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
The second is named &amp;quot;powermizer-off&amp;quot; and starts up powermizer-loop when I log in, ensuring that only one copy runs at a time:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 killall powermizer-loop&lt;br /&gt;
 ~/powermizer-loop &amp;amp;&lt;br /&gt;
&lt;br /&gt;
I put both of these scripts in my home directory and made them executable by doing:&lt;br /&gt;
&lt;br /&gt;
 chmod a+x powermizer-loop powermizer-off&lt;br /&gt;
&lt;br /&gt;
Then to make powermizer-off run on login, I opened System --&amp;gt; Preferences --&amp;gt; Sessions, clicked on Add, and entered the command to run the script, i.e. &amp;quot;/home/&amp;lt;user&amp;gt;/powermizer-off&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Of course, performance still suffers when running on battery, but hopefully NVidia will fix this problem in a future version of their driver.&lt;br /&gt;
&lt;br /&gt;
=== EDID misdetection ===&lt;br /&gt;
&lt;br /&gt;
EDID (Extended Display Identification Data) might be misdetected for your display, which reduces the number of resolutions available in the NVidia X Server Settings application. (For example, I was unable to set my laptop's screen to 1024x768 for use with a projector during a presentation.) If you encounter this problem, add the following lines to /etc/X11/xorg.conf in the &amp;quot;Screen&amp;quot; section:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;UseEdidFreqs&amp;quot; &amp;quot;FALSE&amp;quot;&lt;br /&gt;
 Option &amp;quot;HorizSync&amp;quot; &amp;quot;40-70&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The 40-70 values are just an example. They seem to work well with my 1680x1050 display. You should put the values of your display there. On a 1920x1200 display, making this change prevents the display from coming on when X starts.&lt;br /&gt;
&lt;br /&gt;
A better but more complicated way would be using Phoenix EDID Designer to dump and fix the EDID data and then setup the Nvidia driver so it will use the customized EDID data, as described at [http://myricci.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=36]&lt;br /&gt;
&lt;br /&gt;
==Microphone/Sound In==&lt;br /&gt;
Might need to be turned on in the mixer. See [[Install Ubuntu Hardy Heron on a T61p#Internal Microphone/Microphone Input Jack]]&lt;br /&gt;
&lt;br /&gt;
==Front radio kill switch==&lt;br /&gt;
When killing Wireless LAN with the killswitch at the front, you won't be able to get WLAN back up after switching back. See Launchpad bugs [http://bugs.launchpad.net/ubuntu/+source/hal/+bug/289286 289286] and [http://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/193970 193970] and the [https://wiki.ubuntu.com/IntrepidReleaseNotes#Cannot%20reactivate%20Intel%203945/4965%20wireless%20if%20booting%20with%20killswitch%20enabled Release Notes] on the Ubuntu Wiki.&lt;br /&gt;
&lt;br /&gt;
This will be solved in intrepid-updates eventually.&lt;br /&gt;
&lt;br /&gt;
For now there are a few ways to bring the interface back up (choose one):&lt;br /&gt;
* Right click the network manager icon in the tray, uncheck Enable Wireless, then check it again does the trick (at least for me)&lt;br /&gt;
* {{cmdroot|ip l s wlan0 up}}&lt;br /&gt;
* {{cmdroot|modprobe -r iwl3945 &amp;amp;&amp;amp; modprobe iwl3945}}&lt;br /&gt;
* reboot&lt;br /&gt;
* suspend and resume&lt;br /&gt;
&lt;br /&gt;
== Middle-button Scrolling ==&lt;br /&gt;
Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. &lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi}}&lt;br /&gt;
&lt;br /&gt;
Paste and save the following code, which will give vertical wheel emulation only:&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.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;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but this is not confirmed to work.&lt;br /&gt;
&lt;br /&gt;
source:&lt;br /&gt;
*[[Installing_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29| Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61 - Emulate Wheel (Middle-click scrolling)]]&lt;br /&gt;
&lt;br /&gt;
==Fingerprint Reader==&lt;br /&gt;
&lt;br /&gt;
The [http://thinkfinger.sourceforge.net Thinkfinger] package allows you to swipe a finger in most places where you would have to type your password. This works with sudo, gksudo and on the login page and with a little fix also for the screen saver. Also, you are still required to type your user name on the login screen.&lt;br /&gt;
&lt;br /&gt;
0) Set up the third party repository (optional but recommended!)&lt;br /&gt;
&lt;br /&gt;
due to this [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] you need to press the return key after you swipe your finger with the current version of the kernel and the packages in ubuntu. The bug is caused by the fact that it does not recognize the fingerprint reader 100% correctly ([https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/29 Description of the root cause]) , as a temporary workaround there is a special package repository.&lt;br /&gt;
&lt;br /&gt;
The packages present in ubuntu intrepid will work but you need to press enter after you swipe your finger.&lt;br /&gt;
&lt;br /&gt;
Click System -&amp;gt; administration -&amp;gt; software sources&lt;br /&gt;
go to the tab &amp;quot;third-party software&amp;quot; and click Add ...&lt;br /&gt;
&lt;br /&gt;
Enter in the popup window:&lt;br /&gt;
&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&lt;br /&gt;
Click Add source, it will ask to refresh the package list, click reload.&lt;br /&gt;
&lt;br /&gt;
1) Install the following packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo apt-get install thinkfinger-tools  libpam-thinkfinger libthinkfinger0}}&lt;br /&gt;
&lt;br /&gt;
2) For your user:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
A completed fingerprint setup should look something like this:&lt;br /&gt;
&lt;br /&gt;
 frank@Laptop:~$ sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.&lt;br /&gt;
 Storing data (/tmp/test.bir)... done.&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.&lt;br /&gt;
 Result: Fingerprint does match.&lt;br /&gt;
 frank@CLaptop:~$&lt;br /&gt;
&lt;br /&gt;
This will store your fingerprint information in /home/$USERNAME/.thinkfinger.bir&lt;br /&gt;
&lt;br /&gt;
You should do this step for each user who wants to use the fingerprint reader&lt;br /&gt;
&lt;br /&gt;
3) Enable use of reader for authentication:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
before the line which contains pam_unix.so and add&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the line containing pam_unix.so.&lt;br /&gt;
&lt;br /&gt;
So it should look something like this: &lt;br /&gt;
 ...&lt;br /&gt;
 auth    sufficient                      pam_thinkfinger.so&lt;br /&gt;
 auth    [success=1 default=ignore]      pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
4) Check uinput kernel module:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|lsmod &amp;amp;#124; grep uinput}}&lt;br /&gt;
If the output starts with uinput, then you're done.&lt;br /&gt;
If you don't get any output, then it needs to be started and set to start on boot.&lt;br /&gt;
&lt;br /&gt;
Start uinput:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo modprobe uinput}}&lt;br /&gt;
&lt;br /&gt;
Start on boot:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
make sure there is a line like this or add it at the bottom:&lt;br /&gt;
 uinput&lt;br /&gt;
&lt;br /&gt;
5) Enabling thinkfinger for gnome-screensaver&lt;br /&gt;
&lt;br /&gt;
*create this file:&lt;br /&gt;
{{cmduser|sudo gedit /etc/udev/rules.d/60-thinkfinger.rules}}&lt;br /&gt;
with this contents:&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 # http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Make the group:&lt;br /&gt;
{{cmduser|sudo groupadd fingerprint}}&lt;br /&gt;
*per user:&lt;br /&gt;
{{cmduser|sudo gpasswd -a $USERNAME fingerprint &amp;amp;&amp;amp; sudo chown $USERNAME:root /home/$USERNAME/.thinkfinger.bir }}&lt;br /&gt;
&lt;br /&gt;
Reboot your laptop and you should be ready to swipe!&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
* [[Install_Ubuntu_Gutsy_Gibbon_on_a_T61p#Fingerprint_Reader| Install Ubuntu Gutsy Gibbon on a T61p]]&lt;br /&gt;
* [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] &amp;amp; [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/21 Solution for the bug in the comments]  &lt;br /&gt;
* [https://launchpad.net/~jon-oberheide/+archive Repository for the third party fix] credits to [https://launchpad.net/~jon-oberheide Jon Oberheide]&lt;br /&gt;
* [[How_to_enable_the_fingerprint_reader_with_ThinkFinger| General page about Fingerprint reader with thinkfinger]] &amp;amp;  [[How_to_enable_the_fingerprint_reader_with_ThinkFinger#xscreensaver.2Fgnome-screensaver| Specific gnome-screensaver section]]&lt;br /&gt;
&lt;br /&gt;
==Hard Drive Active Protection System (APS ~ HDAPS)==&lt;br /&gt;
Please add to this section&lt;br /&gt;
&lt;br /&gt;
Some interesting links:&lt;br /&gt;
* [[Active_Protection_System| Description of APS]]&lt;br /&gt;
* [[How_to_protect_the_harddisk_through_APS| How to protect the harddisk through APS]]&lt;br /&gt;
* [[Tp_smapi| tp_smapi kernel modules]]&lt;br /&gt;
&lt;br /&gt;
=Other Problems=&lt;br /&gt;
== Resume Disables WLAN ==&lt;br /&gt;
On power up CDMA WLAN module is enabled, if user suspense and resumes it is turned off - no known fix. &lt;br /&gt;
Additionally fn-F5 turns off bluetooth but no option to turn off WLAN using function keys. This is problem is on the 6459CTO. &lt;br /&gt;
&lt;br /&gt;
== Resume Requests WIFI Network Key ==&lt;br /&gt;
On resume Network Manager request the wifi network key several times before connecting to network. This has been noted on a 6459CTO laptop and no known fix is available. Currently with this problem it takes several minutes to regain network access after resume. &lt;br /&gt;
&lt;br /&gt;
== Black Screen on Resume ==&lt;br /&gt;
On the 6459CTO with default 8.10 install suspend did not work. Enabling the proposed updates to be installed to your system might fix this issue. To enable the proposed updates go to the 'Software Sources' - tab 'Updates' in System -&amp;gt; Administration. Tick the 'Proposed updates (intrepid-updates)' checkbox, close 'Software Sources' to reload the package lists. Then, check for updates with the software updater (there should be some), update and reboot afterwards.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Brightness control on battery power ==&lt;br /&gt;
By default, when unplugging the AC power while the system is running, the brightness of the display goes down even when you have set not to in the Power Management settings and you are not able to reach a brightness level as high as possible when connected to AC power. This is not a software setting or GNOME bug, but a BIOS setting. In the BIOS you can find a brightness setting in the Power section. Set it to high for normal, expected behavior. You can let the GNOME Power Manager still lower the brightness, but you will be able to increase it when needed.&lt;br /&gt;
&lt;br /&gt;
== Kernel Panic (System freezes and Caps lock blinks) ==&lt;br /&gt;
When you are connected via Wireless and using it a lot some times you computer just freezes? This is caused by a bug on the wireless card drivers for the Intel Corporation PRO/Wireless 4965 AG or AGN.&lt;br /&gt;
To fix you need newer drivers from the backport modules:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-intrepid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 14:34, 3 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=Software Install=&lt;br /&gt;
==Adobe Flash==&lt;br /&gt;
Adobe has plug-ins direct for 32 bit version for x64 download the libflashplayer.so file from here: &lt;br /&gt;
http://labs.adobe.com/downloads/flashplayer10.html&lt;br /&gt;
Then copy to the mozilla plugins directory &lt;br /&gt;
 sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins/&lt;br /&gt;
&lt;br /&gt;
=Other Information=&lt;br /&gt;
== Saving power ==&lt;br /&gt;
Some nice information on power saving you can find at&lt;br /&gt;
&lt;br /&gt;
http://www.lesswatts.org&lt;br /&gt;
&lt;br /&gt;
A tool that allows you to test most tips and tricks to reduce power is powertop, you can install it using&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install powertop}}&lt;br /&gt;
&lt;br /&gt;
and run it with:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo powertop}}&lt;br /&gt;
&lt;br /&gt;
For more information see http://www.lesswatts.org/projects/powertop/&lt;br /&gt;
== Battery control by tp_smapi ==&lt;br /&gt;
You need to load a kernel module first:&lt;br /&gt;
 sudo modprobe tp_smapi&lt;br /&gt;
&lt;br /&gt;
Now, you will be able to have significantly more control over your battery charging via /sys/devices/platform/smapi.&lt;br /&gt;
&lt;br /&gt;
For example, you could set a threshold value of 90% for charging, preventing the battery from charging all the way in exchange for a reduction in the loss of battery capacity that occurs after multiple cycles.&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/stop_charge_thresh&lt;br /&gt;
(by default this was set to 86% on my laptop)&lt;br /&gt;
&lt;br /&gt;
View the number of charge cycles your battery has had in its lifetime:&lt;br /&gt;
 cat /sys/devices/platform/smapi/BAT0/cycle_count&lt;br /&gt;
&lt;br /&gt;
While AC connected, force discharging of your battery:&lt;br /&gt;
 echo &amp;quot;1&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/force_discharge&lt;br /&gt;
&lt;br /&gt;
For convenience, you could load the kernel module at boot time by adding it to /etc/modules.&lt;br /&gt;
 echo &amp;quot;tp_smapi&amp;quot; | sudo tee -a /etc/modules&lt;br /&gt;
&lt;br /&gt;
If you have an Ultrabay battery, you might want to place this [http://forum.thinkpads.com/viewtopic.php?p=433463#p433463 script] into &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt; to keep the Ultrabay battery from being completely discharged to 0%, which permanently damages the battery.&lt;br /&gt;
 # rolls to BAT0 when remaining capacity on BAT1 is less than 20%.  Change .2 if wanted.  Swap BAT0 and BAT1 if tp_smapi thinks the ultrabay is BAT0.&lt;br /&gt;
 awk '{if (/remaining capacity/) left=$3; if (/last full capacity/) full=$4} END {if ((left/full) &amp;lt; .2) system(&amp;quot;echo 1 &amp;gt; /sys/devices/platform/smapi/BAT0/force_discharge&amp;quot;)}' /proc/acpi/battery/BAT1/*&lt;br /&gt;
Remember the script needs root in order to write to the files in &amp;lt;code&amp;gt;/sys/devices/platform/smapi/BAT{0,1}/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Compared to Hardy (8.04) =&lt;br /&gt;
Why upgrade your T61p to Intrepid or why not? (Specific for T61p)&lt;br /&gt;
== Improvements ==&lt;br /&gt;
*Ricoh SD card reader now reads read-only SD card. (Tested with Adata 150X 2GB SD card)&lt;br /&gt;
*Newer Wireless LAN drivers. For Intel cards this results in working LED, more sensitive reception, increased stability of connections and some 802.1x bugfixes.&lt;br /&gt;
*Out-of-the-box Suspend to RAM functionality (also faster resume). Not on 6459, (see above)&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&lt;br /&gt;
&lt;br /&gt;
== Bugs and Regressions ==&lt;br /&gt;
*Hard radio killswitch (at the front) cannot bring WLAN back up after killing it. (workaround available)&lt;br /&gt;
*X hangs for approx. 35 seconds when restarting or logging out. (workaround available)&lt;br /&gt;
*Atheros WLAN not working after resume from Suspend to RAM (but a workaround is available; [[#Wireless_not_working_after_resume_.28Atheros.29|see above]]).&lt;br /&gt;
&lt;br /&gt;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42468</id>
		<title>Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42468"/>
		<updated>2009-04-03T14:34:26Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Kernel Panic (System freezes and Caps lock blinks) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works out of the box?=&lt;br /&gt;
*Wireless (Intel 3945ABG or 4965AGN)&lt;br /&gt;
**Only tested G mode&lt;br /&gt;
*Wired LAN&lt;br /&gt;
*Video (VESA)&lt;br /&gt;
**Hardware Drivers panel offers to install nVIDIA proprietary drivers on first boot.&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default.&lt;br /&gt;
**Middle-button scrolling does NOT work (fix below)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A works fine with Brasero disc burning&lt;br /&gt;
***Tested: CD-R, DVD+R&lt;br /&gt;
*Sound card&lt;br /&gt;
*SD/MMC Memory card reader (Ricoh)&lt;br /&gt;
**Only tested SD (non-HC) cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle&lt;br /&gt;
**Media player control&lt;br /&gt;
**fingerprint reader does NOT work (fix below)&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history&lt;br /&gt;
**Lid states and events&lt;br /&gt;
**Only tested with a single 6-cell battery&lt;br /&gt;
*ACPI features&lt;br /&gt;
** Suspend to RAM&lt;br /&gt;
** Suspend to Disk (Hibernate) FINALLY!! Be patient, though.&lt;br /&gt;
** STR and STD work even with full disk encryption (DM-crypt + LVM)!&lt;br /&gt;
&lt;br /&gt;
=Getting the hardware to work=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
Installing the proprietary NVidia drivers is highly recommended, EVEN IF you won't use 3D acceleration, because the open source nv driver will drain your battery much faster since it does not support PowerMizer at all. Practically, this means that the GPU will constantly run at full speed, thus consuming ~12 Watts more than it would otherwise (which is a LOT of power for a laptop).&lt;br /&gt;
&lt;br /&gt;
The first time you boot Ubuntu, you should get an alert asking if you want to install the binary driver. If not, it can be installed from the Hardware Drivers panel at &lt;br /&gt;
&lt;br /&gt;
System --&amp;gt; Administration --&amp;gt; Hardware Drivers. &lt;br /&gt;
&lt;br /&gt;
You will have a choice between the 173 and 177 version of the driver (Note: if you want to have better 2D performance without breaking suspend/resume, you will have to manually install the 180.25 driver manually as it is not included in the official Intrepid repo). &lt;br /&gt;
*pro:&lt;br /&gt;
**Version 177 is recommended because it will provide Suspend to disk functionality, whereas v173 will not. &lt;br /&gt;
*con:&lt;br /&gt;
**version 177 causes a log out bug that is addressed below.&lt;br /&gt;
**version 177 might show some issues like terminal output not updating in some very weird cases (which I did not see in v173, this seems to have something to do with powermizer as well ...)&lt;br /&gt;
*Early version of the 180 drivers break the suspension/resume, however 180.25(beta) driver has fixed this issue as well as improved 2D performance in X. As of Jan 29, 2009, the 180 series drivers have been added to the official repository under the name nvidia-glx-180. The 'intrepid-updates' repository has to be enabled via &lt;br /&gt;
System --&amp;gt; Administration --&amp;gt; Software Sources --&amp;gt; Updates&lt;br /&gt;
&lt;br /&gt;
to download the drivers. The 180.11 version does not seem to have any suspend / hibernate issues.  &lt;br /&gt;
&lt;br /&gt;
Once the proprietary drivers are installed, the &amp;quot;NVidia X Server Settings&amp;quot; program will be available in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
===Version 177 logout/X restart fix===&lt;br /&gt;
There is a known issue in the v177 proprietary NVidia driver - See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Once you install the v177 driver, logging out or restarting X will cease to work, though suspend to RAM/Disk will continue to function. &lt;br /&gt;
&lt;br /&gt;
The work around is as follows:&lt;br /&gt;
* In /etc/gdm/gdm.conf , increase the value for GdmXserverTimeout to about 60. When logging out or restarting X, X will hang for ~35 seconds. By increasing the value from its default, GDM will give X more time before it assumes X is faulty.&lt;br /&gt;
&lt;br /&gt;
===Choppy Compiz animations===&lt;br /&gt;
NVidia's PowerMizer feature will slow down the GPU when &amp;quot;inactive&amp;quot; even on AC power.&lt;br /&gt;
&lt;br /&gt;
The NVidia driver does not report the correct refresh rate of the display to Compiz, resulting in choppy animations and effects. To fix this, install the &amp;lt;code&amp;gt;compizconfig-settings-manager&amp;lt;/code&amp;gt; package, then go to System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings (also might be called CompizConfig Settings Manager). Click on General Options, go to the Display Settings tab, uncheck the Detect Refresh rate box and drag the Refresh Rate slider to 60. Also, check the Sync To VBlank box. This will improve the smoothness of the window animations significantly if you're sensitive to the choppy animations.&lt;br /&gt;
 &lt;br /&gt;
Compiz animations can also be choppy due to NVidia's PowerMizer feature, which slows down the GPU to conserve power when it is not in use. This works well for 3D games which constantly use 3D acceleration, but poorly for Compiz which uses the GPU in small bursts. It seems that the interval of the PowerMizer is way too long and is not speeding up when using in bursts. Fortunately, the situation seems to have improved in version 177 of the NVidia driver.  To workaround this problem, I made a couple of shell scripts which keep the GPU at its highest speed while running on AC power. The first one is named &amp;quot;powermizer-loop&amp;quot; and does most of the work:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 while true; do&lt;br /&gt;
     &lt;br /&gt;
     powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
     &lt;br /&gt;
     if [ $powerstate = &amp;quot;on-line&amp;quot;  ]; then&lt;br /&gt;
        nvidia-settings -q all &amp;gt; /dev/null&lt;br /&gt;
     fi&lt;br /&gt;
     sleep 25;&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
The second is named &amp;quot;powermizer-off&amp;quot; and starts up powermizer-loop when I log in, ensuring that only one copy runs at a time:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 killall powermizer-loop&lt;br /&gt;
 ~/powermizer-loop &amp;amp;&lt;br /&gt;
&lt;br /&gt;
I put both of these scripts in my home directory and made them executable by doing:&lt;br /&gt;
&lt;br /&gt;
 chmod a+x powermizer-loop powermizer-off&lt;br /&gt;
&lt;br /&gt;
Then to make powermizer-off run on login, I opened System --&amp;gt; Preferences --&amp;gt; Sessions, clicked on Add, and entered the command to run the script, i.e. &amp;quot;/home/&amp;lt;user&amp;gt;/powermizer-off&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Of course, performance still suffers when running on battery, but hopefully NVidia will fix this problem in a future version of their driver.&lt;br /&gt;
&lt;br /&gt;
=== EDID misdetection ===&lt;br /&gt;
&lt;br /&gt;
EDID (Extended Display Identification Data) might be misdetected for your display, which reduces the number of resolutions available in the NVidia X Server Settings application. (For example, I was unable to set my laptop's screen to 1024x768 for use with a projector during a presentation.) If you encounter this problem, add the following lines to /etc/X11/xorg.conf in the &amp;quot;Screen&amp;quot; section:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;UseEdidFreqs&amp;quot; &amp;quot;FALSE&amp;quot;&lt;br /&gt;
 Option &amp;quot;HorizSync&amp;quot; &amp;quot;40-70&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The 40-70 values are just an example. They seem to work well with my 1680x1050 display. You should put the values of your display there. On a 1920x1200 display, making this change prevents the display from coming on when X starts.&lt;br /&gt;
&lt;br /&gt;
A better but more complicated way would be using Phoenix EDID Designer to dump and fix the EDID data and then setup the Nvidia driver so it will use the customized EDID data, as described at [http://myricci.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=36]&lt;br /&gt;
&lt;br /&gt;
==Microphone/Sound In==&lt;br /&gt;
Might need to be turned on in the mixer. See [[Install Ubuntu Hardy Heron on a T61p#Internal Microphone/Microphone Input Jack]]&lt;br /&gt;
&lt;br /&gt;
==Front radio kill switch==&lt;br /&gt;
When killing Wireless LAN with the killswitch at the front, you won't be able to get WLAN back up after switching back. See Launchpad bugs [http://bugs.launchpad.net/ubuntu/+source/hal/+bug/289286 289286] and [http://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/193970 193970] and the [https://wiki.ubuntu.com/IntrepidReleaseNotes#Cannot%20reactivate%20Intel%203945/4965%20wireless%20if%20booting%20with%20killswitch%20enabled Release Notes] on the Ubuntu Wiki.&lt;br /&gt;
&lt;br /&gt;
This will be solved in intrepid-updates eventually.&lt;br /&gt;
&lt;br /&gt;
For now there are a few ways to bring the interface back up (choose one):&lt;br /&gt;
* Right click the network manager icon in the tray, uncheck Enable Wireless, then check it again does the trick (at least for me)&lt;br /&gt;
* {{cmdroot|ip l s wlan0 up}}&lt;br /&gt;
* {{cmdroot|modprobe -r iwl3945 &amp;amp;&amp;amp; modprobe iwl3945}}&lt;br /&gt;
* reboot&lt;br /&gt;
* suspend and resume&lt;br /&gt;
&lt;br /&gt;
== Middle-button Scrolling ==&lt;br /&gt;
Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. &lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi}}&lt;br /&gt;
&lt;br /&gt;
Paste and save the following code, which will give vertical wheel emulation only:&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.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;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but this is not confirmed to work.&lt;br /&gt;
&lt;br /&gt;
source:&lt;br /&gt;
*[[Installing_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29| Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61 - Emulate Wheel (Middle-click scrolling)]]&lt;br /&gt;
&lt;br /&gt;
==Fingerprint Reader==&lt;br /&gt;
&lt;br /&gt;
The [http://thinkfinger.sourceforge.net Thinkfinger] package allows you to swipe a finger in most places where you would have to type your password. This works with sudo, gksudo and on the login page and with a little fix also for the screen saver. Also, you are still required to type your user name on the login screen.&lt;br /&gt;
&lt;br /&gt;
0) Set up the third party repository (optional but recommended!)&lt;br /&gt;
&lt;br /&gt;
due to this [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] you need to press the return key after you swipe your finger with the current version of the kernel and the packages in ubuntu. The bug is caused by the fact that it does not recognize the fingerprint reader 100% correctly ([https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/29 Description of the root cause]) , as a temporary workaround there is a special package repository.&lt;br /&gt;
&lt;br /&gt;
The packages present in ubuntu intrepid will work but you need to press enter after you swipe your finger.&lt;br /&gt;
&lt;br /&gt;
Click System -&amp;gt; administration -&amp;gt; software sources&lt;br /&gt;
go to the tab &amp;quot;third-party software&amp;quot; and click Add ...&lt;br /&gt;
&lt;br /&gt;
Enter in the popup window:&lt;br /&gt;
&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&lt;br /&gt;
Click Add source, it will ask to refresh the package list, click reload.&lt;br /&gt;
&lt;br /&gt;
1) Install the following packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo apt-get install thinkfinger-tools  libpam-thinkfinger libthinkfinger0}}&lt;br /&gt;
&lt;br /&gt;
2) For your user:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
A completed fingerprint setup should look something like this:&lt;br /&gt;
&lt;br /&gt;
 frank@Laptop:~$ sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.&lt;br /&gt;
 Storing data (/tmp/test.bir)... done.&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.&lt;br /&gt;
 Result: Fingerprint does match.&lt;br /&gt;
 frank@CLaptop:~$&lt;br /&gt;
&lt;br /&gt;
This will store your fingerprint information in /home/$USERNAME/.thinkfinger.bir&lt;br /&gt;
&lt;br /&gt;
You should do this step for each user who wants to use the fingerprint reader&lt;br /&gt;
&lt;br /&gt;
3) Enable use of reader for authentication:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
before the line which contains pam_unix.so and add&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the line containing pam_unix.so.&lt;br /&gt;
&lt;br /&gt;
So it should look something like this: &lt;br /&gt;
 ...&lt;br /&gt;
 auth    sufficient                      pam_thinkfinger.so&lt;br /&gt;
 auth    [success=1 default=ignore]      pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
4) Check uinput kernel module:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|lsmod &amp;amp;#124; grep uinput}}&lt;br /&gt;
If the output starts with uinput, then you're done.&lt;br /&gt;
If you don't get any output, then it needs to be started and set to start on boot.&lt;br /&gt;
&lt;br /&gt;
Start uinput:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo modprobe uinput}}&lt;br /&gt;
&lt;br /&gt;
Start on boot:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
make sure there is a line like this or add it at the bottom:&lt;br /&gt;
 uinput&lt;br /&gt;
&lt;br /&gt;
5) Enabling thinkfinger for gnome-screensaver&lt;br /&gt;
&lt;br /&gt;
*create this file:&lt;br /&gt;
{{cmduser|sudo gedit /etc/udev/rules.d/60-thinkfinger.rules}}&lt;br /&gt;
with this contents:&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 # http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Make the group:&lt;br /&gt;
{{cmduser|sudo groupadd fingerprint}}&lt;br /&gt;
*per user:&lt;br /&gt;
{{cmduser|sudo gpasswd -a $USERNAME fingerprint &amp;amp;&amp;amp; sudo chown $USERNAME:root /home/$USERNAME/.thinkfinger.bir }}&lt;br /&gt;
&lt;br /&gt;
Reboot your laptop and you should be ready to swipe!&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
* [[Install_Ubuntu_Gutsy_Gibbon_on_a_T61p#Fingerprint_Reader| Install Ubuntu Gutsy Gibbon on a T61p]]&lt;br /&gt;
* [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] &amp;amp; [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/21 Solution for the bug in the comments]  &lt;br /&gt;
* [https://launchpad.net/~jon-oberheide/+archive Repository for the third party fix] credits to [https://launchpad.net/~jon-oberheide Jon Oberheide]&lt;br /&gt;
* [[How_to_enable_the_fingerprint_reader_with_ThinkFinger| General page about Fingerprint reader with thinkfinger]] &amp;amp;  [[How_to_enable_the_fingerprint_reader_with_ThinkFinger#xscreensaver.2Fgnome-screensaver| Specific gnome-screensaver section]]&lt;br /&gt;
&lt;br /&gt;
==Hard Drive Active Protection System (APS ~ HDAPS)==&lt;br /&gt;
Please add to this section&lt;br /&gt;
&lt;br /&gt;
Some interesting links:&lt;br /&gt;
* [[Active_Protection_System| Description of APS]]&lt;br /&gt;
* [[How_to_protect_the_harddisk_through_APS| How to protect the harddisk through APS]]&lt;br /&gt;
* [[Tp_smapi| tp_smapi kernel modules]]&lt;br /&gt;
&lt;br /&gt;
=Other Problems=&lt;br /&gt;
== Resume Disables WLAN ==&lt;br /&gt;
On power up CDMA WLAN module is enabled, if user suspense and resumes it is turned off - no known fix. &lt;br /&gt;
Additionally fn-F5 turns off bluetooth but no option to turn off WLAN using function keys. This is problem is on the 6459CTO. &lt;br /&gt;
&lt;br /&gt;
== Resume Requests WIFI Network Key ==&lt;br /&gt;
On resume Network Manager request the wifi network key several times before connecting to network. This has been noted on a 6459CTO laptop and no known fix is available. Currently with this problem it takes several minutes to regain network access after resume. &lt;br /&gt;
&lt;br /&gt;
== Black Screen on Resume ==&lt;br /&gt;
On the 6459CTO with default 8.10 install suspend did not work. Enabling the proposed updates to be installed to your system might fix this issue. To enable the proposed updates go to the 'Software Sources' - tab 'Updates' in System -&amp;gt; Administration. Tick the 'Proposed updates (intrepid-updates)' checkbox, close 'Software Sources' to reload the package lists. Then, check for updates with the software updater (there should be some), update and reboot afterwards.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Brightness control on battery power ==&lt;br /&gt;
By default, when unplugging the AC power while the system is running, the brightness of the display goes down even when you have set not to in the Power Management settings and you are not able to reach a brightness level as high as possible when connected to AC power. This is not a software setting or GNOME bug, but a BIOS setting. In the BIOS you can find a brightness setting in the Power section. Set it to high for normal, expected behavior. You can let the GNOME Power Manager still lower the brightness, but you will be able to increase it when needed.&lt;br /&gt;
&lt;br /&gt;
== Kernel Panic (System freezes and Caps lock blinks) ==&lt;br /&gt;
This is caused by a bug on the wireless card drivers for the Intel Corporation PRO/Wireless 4965 AG or AGN.&lt;br /&gt;
To fix you need newer drivers from the backport modules:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-intrepid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 14:34, 3 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=Software Install=&lt;br /&gt;
==Adobe Flash==&lt;br /&gt;
Adobe has plug-ins direct for 32 bit version for x64 download the libflashplayer.so file from here: &lt;br /&gt;
http://labs.adobe.com/downloads/flashplayer10.html&lt;br /&gt;
Then copy to the mozilla plugins directory &lt;br /&gt;
 sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins/&lt;br /&gt;
&lt;br /&gt;
=Other Information=&lt;br /&gt;
== Saving power ==&lt;br /&gt;
Some nice information on power saving you can find at&lt;br /&gt;
&lt;br /&gt;
http://www.lesswatts.org&lt;br /&gt;
&lt;br /&gt;
A tool that allows you to test most tips and tricks to reduce power is powertop, you can install it using&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install powertop}}&lt;br /&gt;
&lt;br /&gt;
and run it with:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo powertop}}&lt;br /&gt;
&lt;br /&gt;
For more information see http://www.lesswatts.org/projects/powertop/&lt;br /&gt;
== Battery control by tp_smapi ==&lt;br /&gt;
You need to load a kernel module first:&lt;br /&gt;
 sudo modprobe tp_smapi&lt;br /&gt;
&lt;br /&gt;
Now, you will be able to have significantly more control over your battery charging via /sys/devices/platform/smapi.&lt;br /&gt;
&lt;br /&gt;
For example, you could set a threshold value of 90% for charging, preventing the battery from charging all the way in exchange for a reduction in the loss of battery capacity that occurs after multiple cycles.&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/stop_charge_thresh&lt;br /&gt;
(by default this was set to 86% on my laptop)&lt;br /&gt;
&lt;br /&gt;
View the number of charge cycles your battery has had in its lifetime:&lt;br /&gt;
 cat /sys/devices/platform/smapi/BAT0/cycle_count&lt;br /&gt;
&lt;br /&gt;
While AC connected, force discharging of your battery:&lt;br /&gt;
 echo &amp;quot;1&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/force_discharge&lt;br /&gt;
&lt;br /&gt;
For convenience, you could load the kernel module at boot time by adding it to /etc/modules.&lt;br /&gt;
 echo &amp;quot;tp_smapi&amp;quot; | sudo tee -a /etc/modules&lt;br /&gt;
&lt;br /&gt;
If you have an Ultrabay battery, you might want to place this [http://forum.thinkpads.com/viewtopic.php?p=433463#p433463 script] into &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt; to keep the Ultrabay battery from being completely discharged to 0%, which permanently damages the battery.&lt;br /&gt;
 # rolls to BAT0 when remaining capacity on BAT1 is less than 20%.  Change .2 if wanted.  Swap BAT0 and BAT1 if tp_smapi thinks the ultrabay is BAT0.&lt;br /&gt;
 awk '{if (/remaining capacity/) left=$3; if (/last full capacity/) full=$4} END {if ((left/full) &amp;lt; .2) system(&amp;quot;echo 1 &amp;gt; /sys/devices/platform/smapi/BAT0/force_discharge&amp;quot;)}' /proc/acpi/battery/BAT1/*&lt;br /&gt;
Remember the script needs root in order to write to the files in &amp;lt;code&amp;gt;/sys/devices/platform/smapi/BAT{0,1}/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Compared to Hardy (8.04) =&lt;br /&gt;
Why upgrade your T61p to Intrepid or why not? (Specific for T61p)&lt;br /&gt;
== Improvements ==&lt;br /&gt;
*Ricoh SD card reader now reads read-only SD card. (Tested with Adata 150X 2GB SD card)&lt;br /&gt;
*Newer Wireless LAN drivers. For Intel cards this results in working LED, more sensitive reception, increased stability of connections and some 802.1x bugfixes.&lt;br /&gt;
*Out-of-the-box Suspend to RAM functionality (also faster resume). Not on 6459, (see above)&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&lt;br /&gt;
&lt;br /&gt;
== Bugs and Regressions ==&lt;br /&gt;
*Hard radio killswitch (at the front) cannot bring WLAN back up after killing it. (workaround available)&lt;br /&gt;
*X hangs for approx. 35 seconds when restarting or logging out. (workaround available)&lt;br /&gt;
*Atheros WLAN not working after resume from Suspend to RAM (but a workaround is available; [[#Wireless_not_working_after_resume_.28Atheros.29|see above]]).&lt;br /&gt;
&lt;br /&gt;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42281</id>
		<title>Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42281"/>
		<updated>2009-03-23T12:48:19Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Other Problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works out of the box?=&lt;br /&gt;
*Wireless (Intel 3945ABG or 4965AGN)&lt;br /&gt;
**Only tested G mode&lt;br /&gt;
*Wired LAN&lt;br /&gt;
*Video (VESA)&lt;br /&gt;
**Hardware Drivers panel offers to install nVIDIA proprietary drivers on first boot.&lt;br /&gt;
*Touchpoint and Trackpad&lt;br /&gt;
**Including scroll at the right side of the pad by default.&lt;br /&gt;
**Middle-button scrolling does NOT work (fix below)&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A works fine with Brasero disc burning&lt;br /&gt;
***Tested: CD-R, DVD+R&lt;br /&gt;
*Sound card&lt;br /&gt;
*SD/MMC Memory card reader (Ricoh)&lt;br /&gt;
**Only tested SD (non-HC) cards.&lt;br /&gt;
*Control buttons/Hotkeys&lt;br /&gt;
**Volume control buttons&lt;br /&gt;
**Screen brightness control&lt;br /&gt;
**Thinklight control&lt;br /&gt;
**WLAN/BT/OFF toggle&lt;br /&gt;
**Media player control&lt;br /&gt;
**fingerprint reader does NOT work (fix below)&lt;br /&gt;
*Some ACPI features&lt;br /&gt;
**Battery status, power graphs and history&lt;br /&gt;
**Lid states and events&lt;br /&gt;
**Only tested with a single 6-cell battery&lt;br /&gt;
*ACPI features&lt;br /&gt;
** Suspend to RAM&lt;br /&gt;
** Suspend to Disk (Hibernate) FINALLY!! Be patient, though.&lt;br /&gt;
** STR and STD work even with full disk encryption (DM-crypt + LVM)!&lt;br /&gt;
&lt;br /&gt;
=Getting the hardware to work=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
Installing the proprietary NVidia drivers is highly recommended, EVEN IF you won't use 3D acceleration, because the open source nv driver will drain your battery much faster since it does not support PowerMizer at all. Practically, this means that the GPU will constantly run at full speed, thus consuming ~12 Watts more than it would otherwise (which is a LOT of power for a laptop).&lt;br /&gt;
&lt;br /&gt;
The first time you boot Ubuntu, you should get an alert asking if you want to install the binary driver. If not, it can be installed from the Hardware Drivers panel at &lt;br /&gt;
&lt;br /&gt;
System --&amp;gt; Administration --&amp;gt; Hardware Drivers. &lt;br /&gt;
&lt;br /&gt;
You will have a choice between the 173 and 177 version of the driver (Note: if you want to have better 2D performance without breaking suspend/resume, you will have to manually install the 180.25 driver manually as it is not included in the official Intrepid repo). &lt;br /&gt;
*pro:&lt;br /&gt;
**Version 177 is recommended because it will provide Suspend to disk functionality, whereas v173 will not. &lt;br /&gt;
*con:&lt;br /&gt;
**version 177 causes a log out bug that is addressed below.&lt;br /&gt;
**version 177 might show some issues like terminal output not updating in some very weird cases (which I did not see in v173, this seems to have something to do with powermizer as well ...)&lt;br /&gt;
*Early version of the 180 drivers break the suspension/resume, however 180.25(beta) driver has fixed this issue as well as improved 2D performance in X. As of Jan 29, 2009, the 180 series drivers have been added to the official repository under the name nvidia-glx-180. The 'intrepid-updates' repository has to be enabled via &lt;br /&gt;
System --&amp;gt; Administration --&amp;gt; Software Sources --&amp;gt; Updates&lt;br /&gt;
&lt;br /&gt;
to download the drivers. The 180.11 version does not seem to have any suspend / hibernate issues.  &lt;br /&gt;
&lt;br /&gt;
Once the proprietary drivers are installed, the &amp;quot;NVidia X Server Settings&amp;quot; program will be available in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
===Version 177 logout/X restart fix===&lt;br /&gt;
There is a known issue in the v177 proprietary NVidia driver - See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Once you install the v177 driver, logging out or restarting X will cease to work, though suspend to RAM/Disk will continue to function. &lt;br /&gt;
&lt;br /&gt;
The work around is as follows:&lt;br /&gt;
* In /etc/gdm/gdm.conf , increase the value for GdmXserverTimeout to about 60. When logging out or restarting X, X will hang for ~35 seconds. By increasing the value from its default, GDM will give X more time before it assumes X is faulty.&lt;br /&gt;
&lt;br /&gt;
===Choppy Compiz animations===&lt;br /&gt;
NVidia's PowerMizer feature will slow down the GPU when &amp;quot;inactive&amp;quot; even on AC power.&lt;br /&gt;
&lt;br /&gt;
The NVidia driver does not report the correct refresh rate of the display to Compiz, resulting in choppy animations and effects. To fix this, install the &amp;lt;code&amp;gt;compizconfig-settings-manager&amp;lt;/code&amp;gt; package, then go to System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings (also might be called CompizConfig Settings Manager). Click on General Options, go to the Display Settings tab, uncheck the Detect Refresh rate box and drag the Refresh Rate slider to 60. Also, check the Sync To VBlank box. This will improve the smoothness of the window animations significantly if you're sensitive to the choppy animations.&lt;br /&gt;
 &lt;br /&gt;
Compiz animations can also be choppy due to NVidia's PowerMizer feature, which slows down the GPU to conserve power when it is not in use. This works well for 3D games which constantly use 3D acceleration, but poorly for Compiz which uses the GPU in small bursts. It seems that the interval of the PowerMizer is way too long and is not speeding up when using in bursts. Fortunately, the situation seems to have improved in version 177 of the NVidia driver.  To workaround this problem, I made a couple of shell scripts which keep the GPU at its highest speed while running on AC power. The first one is named &amp;quot;powermizer-loop&amp;quot; and does most of the work:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 while true; do&lt;br /&gt;
     &lt;br /&gt;
     powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
     &lt;br /&gt;
     if [ $powerstate = &amp;quot;on-line&amp;quot;  ]; then&lt;br /&gt;
        nvidia-settings -q all &amp;gt; /dev/null&lt;br /&gt;
     fi&lt;br /&gt;
     sleep 25;&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
The second is named &amp;quot;powermizer-off&amp;quot; and starts up powermizer-loop when I log in, ensuring that only one copy runs at a time:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 killall powermizer-loop&lt;br /&gt;
 ~/powermizer-loop &amp;amp;&lt;br /&gt;
&lt;br /&gt;
I put both of these scripts in my home directory and made them executable by doing:&lt;br /&gt;
&lt;br /&gt;
 chmod a+x powermizer-loop powermizer-off&lt;br /&gt;
&lt;br /&gt;
Then to make powermizer-off run on login, I opened System --&amp;gt; Preferences --&amp;gt; Sessions, clicked on Add, and entered the command to run the script, i.e. &amp;quot;/home/&amp;lt;user&amp;gt;/powermizer-off&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Of course, performance still suffers when running on battery, but hopefully NVidia will fix this problem in a future version of their driver.&lt;br /&gt;
&lt;br /&gt;
=== EDID misdetection ===&lt;br /&gt;
&lt;br /&gt;
EDID (Extended Display Identification Data) might be misdetected for your display, which reduces the number of resolutions available in the NVidia X Server Settings application. (For example, I was unable to set my laptop's screen to 1024x768 for use with a projector during a presentation.) If you encounter this problem, add the following lines to /etc/X11/xorg.conf in the &amp;quot;Screen&amp;quot; section:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;UseEdidFreqs&amp;quot; &amp;quot;FALSE&amp;quot;&lt;br /&gt;
 Option &amp;quot;HorizSync&amp;quot; &amp;quot;40-70&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The 40-70 values are just an example. They seem to work well with my 1680x1050 display. You should put the values of your display there. On a 1920x1200 display, making this change prevents the display from coming on when X starts.&lt;br /&gt;
&lt;br /&gt;
A better but more complicated way would be using Phoenix EDID Designer to dump and fix the EDID data and then setup the Nvidia driver so it will use the customized EDID data, as described at [http://myricci.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=36]&lt;br /&gt;
&lt;br /&gt;
==Microphone/Sound In==&lt;br /&gt;
Might need to be turned on in the mixer. See [[Install Ubuntu Hardy Heron on a T61p#Internal Microphone/Microphone Input Jack]]&lt;br /&gt;
&lt;br /&gt;
==Front radio kill switch==&lt;br /&gt;
When killing Wireless LAN with the killswitch at the front, you won't be able to get WLAN back up after switching back. See Launchpad bugs [http://bugs.launchpad.net/ubuntu/+source/hal/+bug/289286 289286] and [http://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/193970 193970] and the [https://wiki.ubuntu.com/IntrepidReleaseNotes#Cannot%20reactivate%20Intel%203945/4965%20wireless%20if%20booting%20with%20killswitch%20enabled Release Notes] on the Ubuntu Wiki.&lt;br /&gt;
&lt;br /&gt;
This will be solved in intrepid-updates eventually.&lt;br /&gt;
&lt;br /&gt;
For now there are a few ways to bring the interface back up (choose one):&lt;br /&gt;
* Right click the network manager icon in the tray, uncheck Enable Wireless, then check it again does the trick (at least for me)&lt;br /&gt;
* {{cmdroot|ip l s wlan0 up}}&lt;br /&gt;
* {{cmdroot|modprobe -r iwl3945 &amp;amp;&amp;amp; modprobe iwl3945}}&lt;br /&gt;
* reboot&lt;br /&gt;
* suspend and resume&lt;br /&gt;
&lt;br /&gt;
== Middle-button Scrolling ==&lt;br /&gt;
Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. &lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi}}&lt;br /&gt;
&lt;br /&gt;
Paste and save the following code, which will give vertical wheel emulation only:&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.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;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but this is not confirmed to work.&lt;br /&gt;
&lt;br /&gt;
source:&lt;br /&gt;
*[[Installing_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29| Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61 - Emulate Wheel (Middle-click scrolling)]]&lt;br /&gt;
&lt;br /&gt;
==Fingerprint Reader==&lt;br /&gt;
&lt;br /&gt;
The [http://thinkfinger.sourceforge.net Thinkfinger] package allows you to swipe a finger in most places where you would have to type your password. This works with sudo, gksudo and on the login page and with a little fix also for the screen saver. Also, you are still required to type your user name on the login screen.&lt;br /&gt;
&lt;br /&gt;
0) Set up the third party repository (optional but recommended!)&lt;br /&gt;
&lt;br /&gt;
due to this [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] you need to press the return key after you swipe your finger with the current version of the kernel and the packages in ubuntu. The bug is caused by the fact that it does not recognize the fingerprint reader 100% correctly ([https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/29 Description of the root cause]) , as a temporary workaround there is a special package repository.&lt;br /&gt;
&lt;br /&gt;
The packages present in ubuntu intrepid will work but you need to press enter after you swipe your finger.&lt;br /&gt;
&lt;br /&gt;
Click System -&amp;gt; administration -&amp;gt; software sources&lt;br /&gt;
go to the tab &amp;quot;third-party software&amp;quot; and click Add ...&lt;br /&gt;
&lt;br /&gt;
Enter in the popup window:&lt;br /&gt;
&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&lt;br /&gt;
Click Add source, it will ask to refresh the package list, click reload.&lt;br /&gt;
&lt;br /&gt;
1) Install the following packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo apt-get install thinkfinger-tools  libpam-thinkfinger libthinkfinger0}}&lt;br /&gt;
&lt;br /&gt;
2) For your user:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
A completed fingerprint setup should look something like this:&lt;br /&gt;
&lt;br /&gt;
 frank@Laptop:~$ sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.&lt;br /&gt;
 Storing data (/tmp/test.bir)... done.&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.&lt;br /&gt;
 Result: Fingerprint does match.&lt;br /&gt;
 frank@CLaptop:~$&lt;br /&gt;
&lt;br /&gt;
This will store your fingerprint information in /home/$USERNAME/.thinkfinger.bir&lt;br /&gt;
&lt;br /&gt;
You should do this step for each user who wants to use the fingerprint reader&lt;br /&gt;
&lt;br /&gt;
3) Enable use of reader for authentication:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
before the line which contains pam_unix.so and add&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the line containing pam_unix.so.&lt;br /&gt;
&lt;br /&gt;
So it should look something like this: &lt;br /&gt;
 ...&lt;br /&gt;
 auth    sufficient                      pam_thinkfinger.so&lt;br /&gt;
 auth    [success=1 default=ignore]      pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
4) Check uinput kernel module:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|lsmod &amp;amp;#124; grep uinput}}&lt;br /&gt;
If the output starts with uinput, then you're done.&lt;br /&gt;
If you don't get any output, then it needs to be started and set to start on boot.&lt;br /&gt;
&lt;br /&gt;
Start uinput:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo modprobe uinput}}&lt;br /&gt;
&lt;br /&gt;
Start on boot:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
make sure there is a line like this or add it at the bottom:&lt;br /&gt;
 uinput&lt;br /&gt;
&lt;br /&gt;
5) Enabling thinkfinger for gnome-screensaver&lt;br /&gt;
&lt;br /&gt;
*create this file:&lt;br /&gt;
{{cmduser|sudo gedit /etc/udev/rules.d/60-thinkfinger.rules}}&lt;br /&gt;
with this contents:&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 # http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Make the group:&lt;br /&gt;
{{cmduser|sudo groupadd fingerprint}}&lt;br /&gt;
*per user:&lt;br /&gt;
{{cmduser|sudo gpasswd -a $USERNAME fingerprint &amp;amp;&amp;amp; sudo chown $USERNAME:root /home/$USERNAME/.thinkfinger.bir }}&lt;br /&gt;
&lt;br /&gt;
Reboot your laptop and you should be ready to swipe!&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
* [[Install_Ubuntu_Gutsy_Gibbon_on_a_T61p#Fingerprint_Reader| Install Ubuntu Gutsy Gibbon on a T61p]]&lt;br /&gt;
* [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] &amp;amp; [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/21 Solution for the bug in the comments]  &lt;br /&gt;
* [https://launchpad.net/~jon-oberheide/+archive Repository for the third party fix] credits to [https://launchpad.net/~jon-oberheide Jon Oberheide]&lt;br /&gt;
* [[How_to_enable_the_fingerprint_reader_with_ThinkFinger| General page about Fingerprint reader with thinkfinger]] &amp;amp;  [[How_to_enable_the_fingerprint_reader_with_ThinkFinger#xscreensaver.2Fgnome-screensaver| Specific gnome-screensaver section]]&lt;br /&gt;
&lt;br /&gt;
==Hard Drive Active Protection System (APS ~ HDAPS)==&lt;br /&gt;
Please add to this section&lt;br /&gt;
&lt;br /&gt;
Some interesting links:&lt;br /&gt;
* [[Active_Protection_System| Description of APS]]&lt;br /&gt;
* [[How_to_protect_the_harddisk_through_APS| How to protect the harddisk through APS]]&lt;br /&gt;
* [[Tp_smapi| tp_smapi kernel modules]]&lt;br /&gt;
&lt;br /&gt;
=Other Problems=&lt;br /&gt;
== Resume Disables WLAN ==&lt;br /&gt;
On power up CDMA WLAN module is enabled, if user suspense and resumes it is turned off - no known fix. &lt;br /&gt;
Additionally fn-F5 turns off bluetooth but no option to turn off WLAN using function keys. This is problem is on the 6459CTO. &lt;br /&gt;
&lt;br /&gt;
== Resume Requests WIFI Network Key ==&lt;br /&gt;
On resume Network Manager request the wifi network key several times before connecting to network. This has been noted on a 6459CTO laptop and no known fix is available. Currently with this problem it takes several minutes to regain network access after resume. &lt;br /&gt;
&lt;br /&gt;
== Black Screen on Resume ==&lt;br /&gt;
On the 6459CTO with default 8.10 install suspend did not work. Enabling the proposed updates to be installed to your system might fix this issue. To enable the proposed updates go to the 'Software Sources' - tab 'Updates' in System -&amp;gt; Administration. Tick the 'Proposed updates (intrepid-updates)' checkbox, close 'Software Sources' to reload the package lists. Then, check for updates with the software updater (there should be some), update and reboot afterwards.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Brightness control on battery power ==&lt;br /&gt;
By default, when unplugging the AC power while the system is running, the brightness of the display goes down even when you have set not to in the Power Management settings and you are not able to reach a brightness level as high as possible when connected to AC power. This is not a software setting or GNOME bug, but a BIOS setting. In the BIOS you can find a brightness setting in the Power section. Set it to high for normal, expected behavior. You can let the GNOME Power Manager still lower the brightness, but you will be able to increase it when needed.&lt;br /&gt;
&lt;br /&gt;
== Kernel Panic (System freezes and Caps lock blinks) ==&lt;br /&gt;
This is caused by a bug on the wireless card drivers on the Intel Corporation PRO/Wireless 4965 AG or AGN.&lt;br /&gt;
To fix you need newer drivers on the backport modules:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-intrepid&lt;br /&gt;
&lt;br /&gt;
=Software Install=&lt;br /&gt;
==Adobe Flash==&lt;br /&gt;
Adobe has plug-ins direct for 32 bit version for x64 download the libflashplayer.so file from here: &lt;br /&gt;
http://labs.adobe.com/downloads/flashplayer10.html&lt;br /&gt;
Then copy to the mozilla plugins directory &lt;br /&gt;
 sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins/&lt;br /&gt;
&lt;br /&gt;
=Other Information=&lt;br /&gt;
== Saving power ==&lt;br /&gt;
Some nice information on power saving you can find at&lt;br /&gt;
&lt;br /&gt;
http://www.lesswatts.org&lt;br /&gt;
&lt;br /&gt;
A tool that allows you to test most tips and tricks to reduce power is powertop, you can install it using&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install powertop}}&lt;br /&gt;
&lt;br /&gt;
and run it with:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo powertop}}&lt;br /&gt;
&lt;br /&gt;
For more information see http://www.lesswatts.org/projects/powertop/&lt;br /&gt;
== Battery control by tp_smapi ==&lt;br /&gt;
You need to load a kernel module first:&lt;br /&gt;
 sudo modprobe tp_smapi&lt;br /&gt;
&lt;br /&gt;
Now, you will be able to have significantly more control over your battery charging via /sys/devices/platform/smapi.&lt;br /&gt;
&lt;br /&gt;
For example, you could set a threshold value of 90% for charging, preventing the battery from charging all the way in exchange for a reduction in the loss of battery capacity that occurs after multiple cycles.&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/stop_charge_thresh&lt;br /&gt;
(by default this was set to 86% on my laptop)&lt;br /&gt;
&lt;br /&gt;
View the number of charge cycles your battery has had in its lifetime:&lt;br /&gt;
 cat /sys/devices/platform/smapi/BAT0/cycle_count&lt;br /&gt;
&lt;br /&gt;
While AC connected, force discharging of your battery:&lt;br /&gt;
 echo &amp;quot;1&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/force_discharge&lt;br /&gt;
&lt;br /&gt;
For convenience, you could load the kernel module at boot time by adding it to /etc/modules.&lt;br /&gt;
 echo &amp;quot;tp_smapi&amp;quot; | sudo tee -a /etc/modules&lt;br /&gt;
&lt;br /&gt;
If you have an Ultrabay battery, you might want to place this [http://forum.thinkpads.com/viewtopic.php?p=433463#p433463 script] into &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt; to keep the Ultrabay battery from being completely discharged to 0%, which permanently damages the battery.&lt;br /&gt;
 # rolls to BAT0 when remaining capacity on BAT1 is less than 20%.  Change .2 if wanted.  Swap BAT0 and BAT1 if tp_smapi thinks the ultrabay is BAT0.&lt;br /&gt;
 awk '{if (/remaining capacity/) left=$3; if (/last full capacity/) full=$4} END {if ((left/full) &amp;lt; .2) system(&amp;quot;echo 1 &amp;gt; /sys/devices/platform/smapi/BAT0/force_discharge&amp;quot;)}' /proc/acpi/battery/BAT1/*&lt;br /&gt;
Remember the script needs root in order to write to the files in &amp;lt;code&amp;gt;/sys/devices/platform/smapi/BAT{0,1}/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Compared to Hardy (8.04) =&lt;br /&gt;
Why upgrade your T61p to Intrepid or why not? (Specific for T61p)&lt;br /&gt;
== Improvements ==&lt;br /&gt;
*Ricoh SD card reader now reads read-only SD card. (Tested with Adata 150X 2GB SD card)&lt;br /&gt;
*Newer Wireless LAN drivers. For Intel cards this results in working LED, more sensitive reception, increased stability of connections and some 802.1x bugfixes.&lt;br /&gt;
*Out-of-the-box Suspend to RAM functionality (also faster resume). Not on 6459, (see above)&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&lt;br /&gt;
&lt;br /&gt;
== Bugs and Regressions ==&lt;br /&gt;
*Hard radio killswitch (at the front) cannot bring WLAN back up after killing it. (workaround available)&lt;br /&gt;
*X hangs for approx. 35 seconds when restarting or logging out. (workaround available)&lt;br /&gt;
*Atheros WLAN not working after resume from Suspend to RAM (but a workaround is available; [[#Wireless_not_working_after_resume_.28Atheros.29|see above]]).&lt;br /&gt;
&lt;br /&gt;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Thermal_Sensors&amp;diff=40664</id>
		<title>Talk:Thermal Sensors</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Thermal_Sensors&amp;diff=40664"/>
		<updated>2009-01-18T15:37:17Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* T61? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Secret sensor and the cause of fan always on ==&lt;br /&gt;
&lt;br /&gt;
On my {{T43}}, ecdump offsets 0xC0-0xC2 seem to include 3 more temperature sensors that are not seen in {{path|/proc/acpi/ibm/thermal}}:&lt;br /&gt;
 # cat /proc/acpi/ibm/thermal;  &lt;br /&gt;
 temperatures:   44 41 33 42 33 -128 30 -128&lt;br /&gt;
 # perl -ne 'm/^EC 0xc0: .(..) .(..) .(..) / or next; print hex($1).&amp;quot; &amp;quot;.hex($2).&amp;quot; &amp;quot;.hex($3).&amp;quot;\n&amp;quot;' &amp;lt; /proc/acpi/ibm/ecdump&lt;br /&gt;
 40 48 43&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;48&amp;quot; entry (EC offset 0xC1). Something's pretty hot even at full full speed (level 7, 4700RPM). This sensor increases very quickly when the system starts (in fact, faster than anything else when the CPU is undervolted and [[fglrx]] is in maximum powersaving).&lt;br /&gt;
&lt;br /&gt;
Now, note this: the fan kicks up from low speed to medium speed whenever this sensor reaches 46 degrees, even if no other sensor changes; and this seems to usually be the first trigger encountered. Moreover, this sensor hovers around 47-48 degrees even on an idle machine. Taken together, '''this fully explains the &amp;quot;fan always on&amp;quot; behavior: a previously-unnoticed sensor that's always hot.'''&lt;br /&gt;
&lt;br /&gt;
Any idea what this sensor is? It seems correlated with WiFi: there's a 2deg difference when I toggle {{path|/sys/bus/pci/drivers/ipw2200/*/rf_kill}} (without ever being associated so this shouldn't affect anything else), and heavy WiFi data transfer increases temperature by several more degrees. This suggests the sensor is located in or close to the mini-PCI slot (i.e., under the touchpad). That region is indeed often hot to the touch. But why would the mini-PCI slot get so hot? Could it be the southbridge, which sits under the mini-PCI slot with no heatsink and poor ventilation? Can anyone correlate this sensor other specific activity, or with blocking of specific ventilation holes, or with cooling of specific components? If it's the mini-PCI slot? The operating temperature of the Intel 2200BG is [ftp://download.intel.com/network/connectivity/resources/doc_library/tech_brief/2200bg_prodbrief.pdf 0-80 deg].&lt;br /&gt;
&lt;br /&gt;
Caveat: this is my experience with a {{T43}} after [[Pentium M undervolting and underclocking|undervolting]] the CPU and activating [[How to make use of Graphics Chips Power Management features|maximal GPU powersaving using fglrx]]. It could be that for other people, other components are the first to trigger. But either way, those are 3 temperature sensors we didn't know of and they're used by the Embedded Controller's algorithm.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:20, 20 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
At the moment I am experimenting with controlling the fan on Windows XP with a self written tool on a {{T43}} (Model 2668 97G).  Having found the information about the secret sensors here I built these into the program and it seems that after starting my cooled (placed outside) {{T43}} the 0xC1 sensor indeed rises fastest but also cools down quite quicky especially if also the CPU is cool.  I have seen it hotter than the CPU but not much cooler, so probably it is a small chip connected to the colling element of the CPU.&lt;br /&gt;
&lt;br /&gt;
The values at 0xC0 and 0xC2 also seem to show temperature values here, while 0xC4 is always at 128.&lt;br /&gt;
&lt;br /&gt;
First experiments indicate that as long as all the temperature value are below 43Â°C the Thinkpad comes up with no fan and stays that way.  (The fan control register at EC offset 0x2F set to 0x80, see the bottom of the [[patch for controlling fan speed]] page for a description of this register).  If 43Â°C are reached on the 0xC1 sensor, the fan kicks in with low speed while 43Â°C on the CPU do not activate the fan.  With regard to the CPU the kick-in seems to be around 48Â°C.&lt;br /&gt;
&lt;br /&gt;
Once the fan is on, it goes off again if all the seonsors drop to the area of 38Â°C or lower (the value may not be precise).  But it hardly happens on it's own, for tests I placed it outside in cold weather.&lt;br /&gt;
&lt;br /&gt;
On [http://forum.thinkpads.com/ forums.thinkpad.com] is a ([http://forum.thinkpads.com/viewtopic.php?t=14580http://forum.thinkpads.com/viewtopic.php?t=14580 discussion]) from users who experimented with physically cooling the North- and Southbridge without success.  In a different thread there a user claimed that he worked with a couple of Thinkpads and silenced them by turning off unused devices, WLAN being among them.&lt;br /&gt;
&lt;br /&gt;
With the XP WLAN device disabled the temperature on 0xC1 stays around 41Â°C here even if there is heavy activity on the CPU.  It rises as soon as the WLAN device is enabled but hardly goes any hotter than 44Â°C.  But I also could not make it go hot at all running on battery.  And the heat reading there somehow more or less follows the value of the CPU.&lt;br /&gt;
&lt;br /&gt;
Bottom line on my {{T43}} (2668 97G): Fan kicks in for CPU around 48Â°C or 0xC1 at 43Â°C and then never goes off again unless you use external cooling.  0xC1 sensor could to be related to WLAN (I'm not really sure about it) and/or is probably placed near the CPU.  It could also have something to do with running the machine no AC rather than battery.&lt;br /&gt;
&lt;br /&gt;
-- Shimdoax - 2005-11-27&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Shimdoax, you said &amp;quot;''I have seen it hotter than the CPU but not much cooler, so probably it is a small chip connected to the colling element of the CPU''&amp;quot;, but also &amp;quot;''the temperature on 0xC1 stays around 41Â°C here even if there is heavy activity on the CPU''&amp;quot;. It follows that your CPU is never much hotter than 41Â°C, which I find unlikely... Anyway, on my T43, sensor 0cC1 is correlated with the CPU but very slightly; it is more correlated with the GPU, but not very much either.&lt;br /&gt;
&lt;br /&gt;
I suspect that sensor 0xC1 sits on the system board under the touchpad, since this is consistent with all of the following:&lt;br /&gt;
* In idle with wireless off, sensor 0xC1 has roughly the same temperature as the GPU (which is adjacent on the system board, under the spacebar and TrackPoint buttons).&lt;br /&gt;
* Correlation with the WLAN card activity (which is sandwiched between the system board and the touchpad).&lt;br /&gt;
* Quick warm-up (the southbridge is also on the system board under the touchpad, and has no heat spreader).&lt;br /&gt;
* Negligible effect of fan speed on 0xC1 temperature (the touchpad area is cramped and lacks decent ventilation, hence has negligible air flow).&lt;br /&gt;
* When I place a 12cm-by-12cm pad of thick thermally isolating material (a folded fleece blanket...) under the touchpad, 0xC1 temperature consistently rises by 2-3 degrees (and cools back when I remove the pad); other sensors seem unaffected.&lt;br /&gt;
&lt;br /&gt;
If this is indeed the case, it's hard to see what can be done (other than using a fan control script with an increased threshold for this sensor). It looks like IBM/Lenovo counted on this area being passively cooled through the bottom of the case - see how the bottom of the laptop is designed to allow air flow under the front quarter? However, once the desk under the laptop has warmed up (or if air flow is blocked, as when the laptop is sitting on the top of a lap), things just cook up. The [http://forum.thinkpads.com/viewtopic.php?t=14580http://forum.thinkpads.com/viewtopic.php?t=14580 mods] which  thermally connet the southbridge to the GPU cooling assembly might improve things a bit, but on my system sensor 0xC1 isn't much hotter than the GPU anyway. Maybe ventilation can be improved by letting in more air through the speaker grills on the front - does anyone know what things looks like, under the very front of the palmrest? This won't solve &amp;quot;fan always on&amp;quot; since it will help only when the fan is on, but it may let the fan run at a lower speed.&lt;br /&gt;
&lt;br /&gt;
BTW, Shimdoax, how are you monitoring/controlling the EC under Windows?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:22, 27 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Thinker,&lt;br /&gt;
&lt;br /&gt;
I currently don't know where to read the GPU temp from, so I can't say much about it (I'm running XP and have not found drivers or tools that would display the GPU).&lt;br /&gt;
&lt;br /&gt;
However, regarding my experiments: I had the machine on my desk earlier today (when I wrote the post) on AC with WLAN connection to the office network and &amp;quot;Max. Battery Life&amp;quot; Scheme.  I had taken it from the trunk of the car (it's quite cold outside, around freezing).  During the whole experiments the CPU hardly went higher than 46Â°C, most of the time it was around 39Â°C to 43Â°C.  I wasn't very systematic in these tests, these were just first observations.&lt;br /&gt;
&lt;br /&gt;
However, I think I can confirm that the 43Â°C on the C1 triggers the fan on my machine here.  48Â°C to 50Â°C on the CPU also triggers the fan on.  Then I put the laptop outside the window twice.  Temperatures dropped quite quickly and around MAX(CPU, 0xC1) of 38Â°C the fan turned itself off.&lt;br /&gt;
&lt;br /&gt;
Further tests on the WLAN revealed mixed results about correlation.  If the CPU goes up the C1 also goes up, even if WLAN is disabled.  On the other hand I had cases where WLAN (big folder copy) made the C1 rise ahead of the CPU.  The way I tested it, mostly the C1 triggered the fan before the CPU did.  This at least explains why CPU undervolting/clocking doesn't help much.&lt;br /&gt;
&lt;br /&gt;
But I think you're right.  Without custom scripts I guess it will be hard to keep the C1 below 43Â°C.  This value may even be intentional by IBM.  If it is really near the palmrest, higher values may cause burns (I once read about a guy who actually burnt his balls [no joke!] by working with a laptop which had a 42Â°C - 45Â°C battery temp. in his lap for an hour or two).  So they may think that fan noise is preferrable to bad publicity.&lt;br /&gt;
&lt;br /&gt;
Hence I'm not counting on IBM.  Instead I'm currently writing a custom fan control program for XP, that's how I read the EC there.  I'll post a first version [http://forum.thinkpads.com/viewtopic.php?t=17715 here] later today.  Maybe some folks from the hardware modding thread will help to locate the sensors with some cooling spray.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax - 2005-11-27&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Shimodax,&lt;br /&gt;
&lt;br /&gt;
Great to see work on a Windows solution, especially from Emtec! (Alas, I let my ZOC registration expire when I switched to Linux). Will you be releasing the source code? &lt;br /&gt;
&lt;br /&gt;
If the 0xC1 sensor is near the southbridge then it will be affected by CPU activity both because of related southbridge activity and by thermal conductance via the motherboard; but I've seen 0xC1 at 47deg and CPU at 59deg (after a long burn-in), so they can't be too close. About the palmrest, IBM actually brags about low palm rest temperature in some of their marketing publication. But ironically the hottest and worst-cooled area of the laptop (where I suspect 0xC1 sits) is in the bottom center right under the touchpad - which tends to coincide with certain anatomical regions... BTW, GPU temp is EC offset 0x7B; there a partial list inside my new fan control script at [[Talk:ACPI_fan_control_script]] (I'll move it to the article page soon).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 23:20, 27 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
+LOL+ I wouldn't have expected that anybody would know me :-)&lt;br /&gt;
&lt;br /&gt;
Yes, I'll release source code soon.  I took quite some pain in writing this tool without our proprietary classes and libs in order to be able to release the source (or at least maintain a basic Open Source version).  I'll see if SourceForge accepts the project (applied on Saturday), otherwise I'll have find another place.&lt;br /&gt;
&lt;br /&gt;
Thanks for the info about the GPU ... &lt;br /&gt;
&lt;br /&gt;
Markus&lt;br /&gt;
&lt;br /&gt;
-- Shimodax - 23:42 (CET) - 2005-11-27&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
For the record: the new [http://forum.thinkpads.com/viewtopic.php?p=111974 &amp;quot;Shimodax fan control tool : sharing values&amp;quot;] topic at the thinkpads.com forums tracks some other users' experience with their sensor. So far the only new observation is that sensor 0x7A (3rd) is probably in the vicinity of the the CPU or northbridge.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:53, 28 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Just now I see the C2 higher than C1 and rest of the system for the first time.  Only difference I can think of is the fact that the battery is loading.  I hooked it on with 6% left about 30 minutes ago.  Usage was mainly web broswing (firefox, maybe a webpage with animated gif ads).  C2 triggered the fan at 50Â°C two times.&lt;br /&gt;
&lt;br /&gt;
CPU 42Â°C (0x78)&lt;br /&gt;
APS 41Â°C (0x79)&lt;br /&gt;
X7A 34Â°C (0x7A)&lt;br /&gt;
GPU 44Â°C (0x7B)&lt;br /&gt;
BAT 40Â°C (0x7C)&lt;br /&gt;
BAT 31Â°C (0x7E)&lt;br /&gt;
XC0 40Â°C (0xC0)&lt;br /&gt;
XC1 46Â°C (0xC1)&lt;br /&gt;
XC2 48Â°C (0xC2)&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 00:17 CET - 2005-11-30&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Upon further casual observation I would like to offer the theory that the C2 sensor is indeed related to battery loading and may be located rear/left (under the Esc/F1) on a T43.  See: page 2 on [http://forum.thinkpads.com/viewtopic.php?p=111974 &amp;quot;Shimodax fan control tool : sharing values&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 13:27 CET - 2005-12-01&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I happen to have a photo of that area from the last time I opened my T43, and indeed it looks like there's some power circuitry there:&lt;br /&gt;
&lt;br /&gt;
[[Image:T43-2686-DGU-CDC.jpg|500px|T43 CDC]]&lt;br /&gt;
&lt;br /&gt;
Those two &amp;quot;150 A47L&amp;quot; are just above the ventilation grill. Any idea what they could be?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:11, 1 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Don't know ... they could look like power stabilizing transistors, but I have very little knowledge of electronic (especially of SMD circuits) so that's just wild guessing.&lt;br /&gt;
&lt;br /&gt;
Hoever, the system is currently loading battery again and I played with the fan.  The C2 does react to the fan quite slowly and when I forced the fan off it rose no higher than 55Â°C.   Also from touching the bottom of the laptop, I'd say the hottest part of that area is between the grill and the latch for the DRAM expansion (probably below the thing in the center of your photo).&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 01:53 CET - 2005-12-02&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Makes perfect sense. So 0xC2 sits under the CDC and monitors the power circuitry (not just battery charging, since it also heats up slightly above its environment without a battery). Then XC2-&amp;gt;PWR, I guess. Two more to go: 0x7A and 0xC0 (both are nice and cool here).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 03:35, 2 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I'll then rename it in my tool with the next release.  Btw, do you have any idea what the APS might be on other models?&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 14:07 CET - 2005-12-03&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
It's easy to check if 0x79 is the HDAPS accelerometer or not: read the HDAPS temperature directly and compare. For getting the HDAPS temperature you can follow the Linux hdaps.c driver, or just reboot to Linux and look at {{path|/sys/bus/platform/drivers/hdaps/hdaps/temp1}} (and at {{path|/proc/acpi/ibm/thermal}} for the first 8 EC sensors). On my T43, the 0x79 always matches the HDAPS sensor (usually identical but sometimes 1 degree off, probably due to a different sampling time). BTW, my [[ACPI_fan_control_script#Variable_speed_control_scripts|ACPI fan control script]] monitors both, just in case.&lt;br /&gt;
&lt;br /&gt;
Speaking of which, the table at the top of that script reflects all knowledge gleaned from the forum.tinkpads.com discussion. Feel free to update it (maybe we should move it to a separate and more spacious page?).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 15:03, 3 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
For another view of the 0xC2 area, including a peek under the CDC card, see IBM/Lenovo's [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-51451 CDC removal movie]. There seems to be nothing very exciting visible on the upper side on the motherboard (but judging by the plastic buldge in the bottom of the case, there's probably some circuitry on the underside).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:39, 3 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
I just had the idea that 0xC0 could be the Northbridge chip. See [http://forum.thinkpads.com/viewtopic.php?p=111974 &amp;quot;Shimodax fan control tool : sharing values&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 23:15 CET - 2005-12-05&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, 0xC0 is very much correlated with CPU temperature. But if it's the northbrighe then it's surpsigingly cool, since northbridges usually run pretty hot, and the 815PM has a small surface area and no cooling assembly whatsoever, see here:&lt;br /&gt;
&lt;br /&gt;
[[Image:ThinkPad-T43-under-keyboard-left.jpg|500px|T43 systemboard]] (click to enlarge)&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:45, 5 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Mmmh, I guess I'll remove the keyboard and play with some cooling spray.  It seems that a good part of the inside area can be reached through the opening of the keyboard.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 23:15 CET - 2005-12-05&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Just in case - these [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50233 instructions and movies] are pretty useful. It looks like the palmrest should be easy to remove too, but I didn't try that.&lt;br /&gt;
&lt;br /&gt;
Keep us posted :-)&lt;br /&gt;
&lt;br /&gt;
And please take plenty of photos! You never know what you'll want to look up later (as with those 0xC2 power chips above).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:34, 6 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Someone on a [http://thinkpad-forum.de/forum/viewtopic.php?p=29286#29286 German forum] reported that he saw pictures on an U.S. forum where someone said he located the 0xC1 with cooling spray. Seems indeed to be below the left of the touchpad on the mainboard (pictures on the forum article linked above)&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 22:50 CET - 2005-12-06&lt;br /&gt;
----&lt;br /&gt;
Interesting. That's a T40, right? Similar layout but different cooling assembly. Anyway, the T40 didn't have HDAPS, but on the T43 the HDAPS accelerometer chip is just 1 or 2 centimeters down from the location of the chip marked here. And on the T43, sensor 0xC1 and direct HDAPS reads give very different results. So maybe they moved 0xC1 away on the T43? Or, maybe the temperatures read through by HDAPS driver actually come from a separate sensor located elsewhere (unlikely but possible).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 01:05, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Yep, that was a T40.  Well, I purchased a can of cooling spray today.  First results without opening the machine indicate 0xC2 is near the grill below the Esc-F3 keys.  The currently still unknown 0x7A cools down if I spray into the PCMCIA slot (also makes sense to place a sensor there, I'd say it is on the mainboard below the slots).&lt;br /&gt;
&lt;br /&gt;
Probably will open the case tonight or tomorrow.  I guess for precise results I'll need to remove the bezel and the fan ... quite an adventure ;-).  Will keep you posted of further results.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 2005-12-07&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Speaking of the PCMCIA port - I noticed that under heavy CPU load with the fan on, if I insert a PC Card into the slot then the CPU and 0x79 (HDAPS) temperature quickly go up a couple of degrees. This happens even if the PC Card is turned off or not inserted all the way in (no electric contact). Probably blocked airflow.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:08, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
I opened the thing today and played around a bit.  Here's my assesment of where the sensors are:&lt;br /&gt;
[http://img363.imageshack.us/img363/545/pc080805custom22ef.jpg Image] (dunno how to upload an image here, feel free to add it to thinkwiki directly).&lt;br /&gt;
&lt;br /&gt;
C1 is most likely the Southbridge chip itself, APS and BUS are the small highlighted chips or very near them.  PWR did not react much to the spray, but does react to spraying throught the grill on the bottom of the case, so it's probably on the underside.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 2005-12-08&lt;br /&gt;
&lt;br /&gt;
[[Image:T43-thermal-sensors.jpg|ThinkPad T43 thermal sensors|700px]] (click to enlarge)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Shimodax,&lt;br /&gt;
&lt;br /&gt;
Beautiful, beautiful work! Got everything back in working order, I hope, including those pesky screwcap stickers?&lt;br /&gt;
&lt;br /&gt;
This confirms our information/guesses about CPU,GPU,BAT,BAT2,PWR and Southbridge, and solves the mystery of 0x7A (PCMCIA) and 0xCA (Northbridge-RAM bus). A few notes:&lt;br /&gt;
&lt;br /&gt;
* 0x79 is a surprise - it is quite far from the HDAPS acceleromater chip (search for &amp;quot;accelerometer&amp;quot; [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/39t2393.pdf here]), even though it gives the same temperatures as when reading the accelerometer's IO ports. But this explains why 0x89 quickly gets hotter under load when the PCMCIA port is blocked.&lt;br /&gt;
* The mapping is indeed different from the R52 one that people keep citing because of the ibm-acpi documentation - the 2nd and 3rd sensors are ''not'' HDD and Mini-PCI.&lt;br /&gt;
* Some of the chips are a quite distant from the hot components they presumably monitor. Most significantly, when some usage causes the Northbridge to heat up rapidly, by the time sensor 0xC0 says 55 degrees the Northbridge core is probably above 60.&lt;br /&gt;
&lt;br /&gt;
Shimodoax, it would be great if you could upload more (unprocessed) photos, either to the Wiki (using the &amp;quot;Upload file&amp;quot; button on the left navigation bar) or by links. Deserves its own Wikipage, I think. It will save a lot of people the need to open their laptop too... For example, in regard to a discussion from yesterday further up the page - got a clear photo of the fan power connector, by any chance?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:38, 8 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
See [[Thermal sensors]].&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 19:48, 8 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Just for the record: I did not test the two BAT locations, these were taken from your previous description.  Regarding the other locations, I'm quite sure about them but not 100% definite.  I would not treat them as bullet proof fact until someone else confirms the experiment.&lt;br /&gt;
&lt;br /&gt;
The whole procedure went quite smoothly.  I just found that there were three screws missing in my machine but luckily I had ordered a thinkpad screw kit on Ebay a few days ago.  Also, on my model I did not need the stickers, all screws were without one.  Just mone minor mishap happened when I stuck one of the #2 screws in the wrong hole (there is an empty hole that looks like a screw hole about 4mm from the intended location) and had a hard time getting the screw out.&lt;br /&gt;
&lt;br /&gt;
I still have no idea how to upload stuff here, maybe becaue I don't have an account here.  I do have a couple more pictures, also larger ones, although they are not too great photography.  I'll upload them to the thinkpad forum via imageshack and you can grab them and put them here. &lt;br /&gt;
&lt;br /&gt;
-- Shimodax -- 2005-12-08&lt;br /&gt;
----&lt;br /&gt;
Maybe those missing screws were the 3 optional Torx screws &amp;quot;protecting&amp;quot; the wireless card (lip service to FCC regulations). Yes, uploads require an account (registation is straightforward, and has some perks). BTW, and that extra hole fooled me too. :-)&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:45, 8 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
One of the missing screws was the one that secures the HD, the other were two #1 near the front.   &lt;br /&gt;
I just zipped and uploaded the other pictures to our server: [http://www.emtec.com/zzstuff/T43-2668.zip T43-2668.zip].  Feel free to upload or use them anywhere you want.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax -- 2005-12-08&lt;br /&gt;
----&lt;br /&gt;
Thinker, [[Talk:Problem with fan noise#Correct BIOS settings?|this]] could be related. [[User:Piccobello|Piccobello]] 11:12, 25 November 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Southbridge sensor 0xC1 ==&lt;br /&gt;
&lt;br /&gt;
The southbridge on the T43 does not have a built-in thermal sensor, according to its specs (see [[Intel 82801FBM]]). So sensor 0xC1 may be adjacent or on the underside of the system board.&lt;br /&gt;
--Thinker&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
That's possible. Spraying the Southbridge chip did yield the most direct temperature changes, but they were not as quick as I would have expected (I attributed that to the large size of the chip).  So it may indeed be the underside or something near (there wasn't anything visible that looked like the BUS or APS sensors in my picture.)&lt;br /&gt;
&lt;br /&gt;
--Shimodax&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Since the southbridge is the hottest thing around, and moreover has a large ceramic package, it gives the quickest heat exchange with the cooling spray (i.e., it &amp;quot;absorbs the cold&amp;quot; fastest). Thermal conductance through the PCB would then allow the sensor to be anywhere nearby. Similarly for some of the other locations, which to my (untrained) eye look more like power regulation components than sensors. So the actual sensors are probably on the underside (otherwise you'd spot them, and it also makes sense in the bottlenek is the user's lap rather than the chips), in the vicinity of the identified components.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:33, 11 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
For what it is worth, the other ones (BUS,APS) did react very directly, even to very targeted and short bursts of cold (in one instance BUS went down to zero with one burst).  Also, they look quite like the thing the user on the thinkpads forum had identified on the T40.  With the southbridge I sprayed that specifically also (just covering the chip) but results were not nearly as direct as with the small chips.  Reason could have been that the chip itself generated heat from the core at the same time but if the SB doesn't have it's own sensor, a themrmal sensor on the underside would fit the observation quite as well (or even better).&lt;br /&gt;
&lt;br /&gt;
--Shimodax&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;APS&amp;quot; sensor 0x79 ==&lt;br /&gt;
&lt;br /&gt;
About the 0x79 sensor: I previously claimed that it's the HDAPS chip, because it gave the same values as reading the the Linux [[hdaps]] driver (which reads ports 0x1600-0x161f directly). This didn't sit well with Shmidoax's cooling spray experiment. Well, my original claim is misguided - it turns out that the interface at ports 0x1600-0x161f also reports stuff unrelated to HDAPS (namely battery information), so it's probably yet another view into the embedded controller and there's no reason to assign its temperature reports to the HDAPS accelerometer.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:50, 13 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Embedded controller firmware disassembly ==&lt;br /&gt;
&lt;br /&gt;
[http://forum.thinkpads.com/viewtopic.php?t=20958 This thread] points to, and discusses, a commented (partial) disassembly of the embedded controller. It may provide useful hints about the sensors.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 07:07, 24 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== empty screw hole ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Anybody know what the empty screw hole on the bottom panel is?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Shiyang&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
There's a screw hole under the Ultrabay slot, for an optional screw that locks in the Ultrabay device. There's also a hole (or two, on the T60) for drainage of spilled liquid from the keyboards.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 13:16, 17 March 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Thermal sensors on X40 ==&lt;br /&gt;
&lt;br /&gt;
I was reading the locations of the sensors reported on other Thinkpads, but they seem to be different on the X40 (results with running Debian Testing).&lt;br /&gt;
&lt;br /&gt;
 $ cat /proc/acpi/ibm/thermal&lt;br /&gt;
 temperatures:   42 43 47 38 -128 -128 -128 -128&lt;br /&gt;
 $ smartctl -A /dev/hda | grep Temperature&lt;br /&gt;
 194 Temperature_Celsius     0x0022   100   072   000    Old_age   Always       -      35 (Lifetime Min/Max 9/54)&lt;br /&gt;
 $ cat /sys/bus/platform/drivers/hdaps/hdaps/temp1&lt;br /&gt;
 39&lt;br /&gt;
&lt;br /&gt;
So I ran some tests. The first thermal sensor show the CPU temperature, it rises significantly when doing CPU-intensive work (e.g. compiling). The second seems to be the GPU/Chipset (since it's an integrated GPU); temperatures on CPU and GPU rise several degrees when running e.g. glxgears. The third sensors I think should be underneath space key/mouse buttons; this is the hottest spot of the laptop and this sensor shows the highest temperatur (ok, this is just a guess). The fourth sensor seems to be related to the wireless mini pci card; its temperature shows a clear correlation to switching power saving on/off for the ipw2100.&lt;br /&gt;
&lt;br /&gt;
With battery put back in the battery's two sensors are shown.&lt;br /&gt;
&lt;br /&gt;
 $ cat /proc/acpi/ibm/thermal&lt;br /&gt;
 temperatures:   42 43 47 42 35 -128 33 -128&lt;br /&gt;
&lt;br /&gt;
None of the sensors show the HDAPS or the HDD temperature.&lt;br /&gt;
The results so far are:&lt;br /&gt;
&lt;br /&gt;
 Index   Location (estimated)&lt;br /&gt;
 1       CPU&lt;br /&gt;
 2       GPU/Chipset&lt;br /&gt;
 3       Unknown&lt;br /&gt;
 4       MiniPCI&lt;br /&gt;
 5       System battery&lt;br /&gt;
 6       n/a&lt;br /&gt;
 7       System battery&lt;br /&gt;
 8       n/a&lt;br /&gt;
&lt;br /&gt;
No sensors show up when reading from ecdump (something wrong here?):&lt;br /&gt;
&lt;br /&gt;
 perl -ne 'print join(&amp;quot; &amp;quot;,map(hex,m/\w+/g)).&amp;quot;\n&amp;quot; if s/^EC 0xc0://' &amp;lt; /proc/acpi/ibm/ecdump&lt;br /&gt;
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;br /&gt;
&lt;br /&gt;
Can someone confirm this? Other suggestions?&lt;br /&gt;
&lt;br /&gt;
--shze 11:54, 14 May 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The X40 doesn't have 0xC0 sensors, the HDD temperature you get from the HDD is not available through any other channel in any other thinkpad -- you may have an HDD sensor that is near the HDD in some thinkpads but that's not the same as a sensor inside the HDD :-)&lt;br /&gt;
&lt;br /&gt;
As for the HDAPS temperature being different from the other normal sensors, now THAT is an interesting detail.  Are you sure it is not on the regular sensor list?&lt;br /&gt;
&lt;br /&gt;
--[[User:Hmh|hmh]] 17:07, 14 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T61? ==&lt;br /&gt;
&lt;br /&gt;
There doesn't seem to be any mention of the T61 in this article. Does anyone know about its /proc/acpi/ibm/thermal ? [[User:Zro|Zro]] 05:13, 13 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
No, someone will have to open it and do the dirty work.&lt;br /&gt;
&lt;br /&gt;
:Thanks [[User:Lunatico|Lunatico]] for adding the [[Thermal_Sensors#ThinkPad_T61|T61 temp zones]]. My results, however, are a little different. I notice that you have ''position 4'' listed as &amp;quot;n/a&amp;quot;, yet I get a non-null (''not'' -128) result for that sensor position. Is this perhaps a difference w/ single processor vs SMP (multiprocessor) machines? My results are as follows for the record:&lt;br /&gt;
:&amp;lt;pre&amp;gt;temperatures:	46 43 34 54 34 -128 31 -128 39 44 42 -128 -128 -128 -128 -128&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Perhaps on SMP 1&amp;amp;2 are each a cpu then pushing the following results forward 1 position? Any ideas? [[User:Zro|Zro]] 19:51, 13 January 2009 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Well [[User:Zro|Zro]] I'm not sure why that difference. I don't understand what you mean about the single and multiprocessor machines. As far as I know the [http://www.thinkwiki.org/wiki/Category:T61#Standard_Features|T61 comes with Core Duo]. So as far as the 4th sensor I wouldn't have an answer for you. I still haven't got time to figure out sensors 9, 10 and 11 though, if you find that out let me know (and update [http://www.thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_T61|my post]). I also have a T60p which also have some unknown sensors. Thanks! --[[User:Lunatico|Lunatico]] 15:37, 18 January 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Thermal_Sensors&amp;diff=40663</id>
		<title>Talk:Thermal Sensors</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Thermal_Sensors&amp;diff=40663"/>
		<updated>2009-01-18T15:36:46Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* T61? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Secret sensor and the cause of fan always on ==&lt;br /&gt;
&lt;br /&gt;
On my {{T43}}, ecdump offsets 0xC0-0xC2 seem to include 3 more temperature sensors that are not seen in {{path|/proc/acpi/ibm/thermal}}:&lt;br /&gt;
 # cat /proc/acpi/ibm/thermal;  &lt;br /&gt;
 temperatures:   44 41 33 42 33 -128 30 -128&lt;br /&gt;
 # perl -ne 'm/^EC 0xc0: .(..) .(..) .(..) / or next; print hex($1).&amp;quot; &amp;quot;.hex($2).&amp;quot; &amp;quot;.hex($3).&amp;quot;\n&amp;quot;' &amp;lt; /proc/acpi/ibm/ecdump&lt;br /&gt;
 40 48 43&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;48&amp;quot; entry (EC offset 0xC1). Something's pretty hot even at full full speed (level 7, 4700RPM). This sensor increases very quickly when the system starts (in fact, faster than anything else when the CPU is undervolted and [[fglrx]] is in maximum powersaving).&lt;br /&gt;
&lt;br /&gt;
Now, note this: the fan kicks up from low speed to medium speed whenever this sensor reaches 46 degrees, even if no other sensor changes; and this seems to usually be the first trigger encountered. Moreover, this sensor hovers around 47-48 degrees even on an idle machine. Taken together, '''this fully explains the &amp;quot;fan always on&amp;quot; behavior: a previously-unnoticed sensor that's always hot.'''&lt;br /&gt;
&lt;br /&gt;
Any idea what this sensor is? It seems correlated with WiFi: there's a 2deg difference when I toggle {{path|/sys/bus/pci/drivers/ipw2200/*/rf_kill}} (without ever being associated so this shouldn't affect anything else), and heavy WiFi data transfer increases temperature by several more degrees. This suggests the sensor is located in or close to the mini-PCI slot (i.e., under the touchpad). That region is indeed often hot to the touch. But why would the mini-PCI slot get so hot? Could it be the southbridge, which sits under the mini-PCI slot with no heatsink and poor ventilation? Can anyone correlate this sensor other specific activity, or with blocking of specific ventilation holes, or with cooling of specific components? If it's the mini-PCI slot? The operating temperature of the Intel 2200BG is [ftp://download.intel.com/network/connectivity/resources/doc_library/tech_brief/2200bg_prodbrief.pdf 0-80 deg].&lt;br /&gt;
&lt;br /&gt;
Caveat: this is my experience with a {{T43}} after [[Pentium M undervolting and underclocking|undervolting]] the CPU and activating [[How to make use of Graphics Chips Power Management features|maximal GPU powersaving using fglrx]]. It could be that for other people, other components are the first to trigger. But either way, those are 3 temperature sensors we didn't know of and they're used by the Embedded Controller's algorithm.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:20, 20 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
At the moment I am experimenting with controlling the fan on Windows XP with a self written tool on a {{T43}} (Model 2668 97G).  Having found the information about the secret sensors here I built these into the program and it seems that after starting my cooled (placed outside) {{T43}} the 0xC1 sensor indeed rises fastest but also cools down quite quicky especially if also the CPU is cool.  I have seen it hotter than the CPU but not much cooler, so probably it is a small chip connected to the colling element of the CPU.&lt;br /&gt;
&lt;br /&gt;
The values at 0xC0 and 0xC2 also seem to show temperature values here, while 0xC4 is always at 128.&lt;br /&gt;
&lt;br /&gt;
First experiments indicate that as long as all the temperature value are below 43Â°C the Thinkpad comes up with no fan and stays that way.  (The fan control register at EC offset 0x2F set to 0x80, see the bottom of the [[patch for controlling fan speed]] page for a description of this register).  If 43Â°C are reached on the 0xC1 sensor, the fan kicks in with low speed while 43Â°C on the CPU do not activate the fan.  With regard to the CPU the kick-in seems to be around 48Â°C.&lt;br /&gt;
&lt;br /&gt;
Once the fan is on, it goes off again if all the seonsors drop to the area of 38Â°C or lower (the value may not be precise).  But it hardly happens on it's own, for tests I placed it outside in cold weather.&lt;br /&gt;
&lt;br /&gt;
On [http://forum.thinkpads.com/ forums.thinkpad.com] is a ([http://forum.thinkpads.com/viewtopic.php?t=14580http://forum.thinkpads.com/viewtopic.php?t=14580 discussion]) from users who experimented with physically cooling the North- and Southbridge without success.  In a different thread there a user claimed that he worked with a couple of Thinkpads and silenced them by turning off unused devices, WLAN being among them.&lt;br /&gt;
&lt;br /&gt;
With the XP WLAN device disabled the temperature on 0xC1 stays around 41Â°C here even if there is heavy activity on the CPU.  It rises as soon as the WLAN device is enabled but hardly goes any hotter than 44Â°C.  But I also could not make it go hot at all running on battery.  And the heat reading there somehow more or less follows the value of the CPU.&lt;br /&gt;
&lt;br /&gt;
Bottom line on my {{T43}} (2668 97G): Fan kicks in for CPU around 48Â°C or 0xC1 at 43Â°C and then never goes off again unless you use external cooling.  0xC1 sensor could to be related to WLAN (I'm not really sure about it) and/or is probably placed near the CPU.  It could also have something to do with running the machine no AC rather than battery.&lt;br /&gt;
&lt;br /&gt;
-- Shimdoax - 2005-11-27&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Shimdoax, you said &amp;quot;''I have seen it hotter than the CPU but not much cooler, so probably it is a small chip connected to the colling element of the CPU''&amp;quot;, but also &amp;quot;''the temperature on 0xC1 stays around 41Â°C here even if there is heavy activity on the CPU''&amp;quot;. It follows that your CPU is never much hotter than 41Â°C, which I find unlikely... Anyway, on my T43, sensor 0cC1 is correlated with the CPU but very slightly; it is more correlated with the GPU, but not very much either.&lt;br /&gt;
&lt;br /&gt;
I suspect that sensor 0xC1 sits on the system board under the touchpad, since this is consistent with all of the following:&lt;br /&gt;
* In idle with wireless off, sensor 0xC1 has roughly the same temperature as the GPU (which is adjacent on the system board, under the spacebar and TrackPoint buttons).&lt;br /&gt;
* Correlation with the WLAN card activity (which is sandwiched between the system board and the touchpad).&lt;br /&gt;
* Quick warm-up (the southbridge is also on the system board under the touchpad, and has no heat spreader).&lt;br /&gt;
* Negligible effect of fan speed on 0xC1 temperature (the touchpad area is cramped and lacks decent ventilation, hence has negligible air flow).&lt;br /&gt;
* When I place a 12cm-by-12cm pad of thick thermally isolating material (a folded fleece blanket...) under the touchpad, 0xC1 temperature consistently rises by 2-3 degrees (and cools back when I remove the pad); other sensors seem unaffected.&lt;br /&gt;
&lt;br /&gt;
If this is indeed the case, it's hard to see what can be done (other than using a fan control script with an increased threshold for this sensor). It looks like IBM/Lenovo counted on this area being passively cooled through the bottom of the case - see how the bottom of the laptop is designed to allow air flow under the front quarter? However, once the desk under the laptop has warmed up (or if air flow is blocked, as when the laptop is sitting on the top of a lap), things just cook up. The [http://forum.thinkpads.com/viewtopic.php?t=14580http://forum.thinkpads.com/viewtopic.php?t=14580 mods] which  thermally connet the southbridge to the GPU cooling assembly might improve things a bit, but on my system sensor 0xC1 isn't much hotter than the GPU anyway. Maybe ventilation can be improved by letting in more air through the speaker grills on the front - does anyone know what things looks like, under the very front of the palmrest? This won't solve &amp;quot;fan always on&amp;quot; since it will help only when the fan is on, but it may let the fan run at a lower speed.&lt;br /&gt;
&lt;br /&gt;
BTW, Shimdoax, how are you monitoring/controlling the EC under Windows?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:22, 27 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Thinker,&lt;br /&gt;
&lt;br /&gt;
I currently don't know where to read the GPU temp from, so I can't say much about it (I'm running XP and have not found drivers or tools that would display the GPU).&lt;br /&gt;
&lt;br /&gt;
However, regarding my experiments: I had the machine on my desk earlier today (when I wrote the post) on AC with WLAN connection to the office network and &amp;quot;Max. Battery Life&amp;quot; Scheme.  I had taken it from the trunk of the car (it's quite cold outside, around freezing).  During the whole experiments the CPU hardly went higher than 46Â°C, most of the time it was around 39Â°C to 43Â°C.  I wasn't very systematic in these tests, these were just first observations.&lt;br /&gt;
&lt;br /&gt;
However, I think I can confirm that the 43Â°C on the C1 triggers the fan on my machine here.  48Â°C to 50Â°C on the CPU also triggers the fan on.  Then I put the laptop outside the window twice.  Temperatures dropped quite quickly and around MAX(CPU, 0xC1) of 38Â°C the fan turned itself off.&lt;br /&gt;
&lt;br /&gt;
Further tests on the WLAN revealed mixed results about correlation.  If the CPU goes up the C1 also goes up, even if WLAN is disabled.  On the other hand I had cases where WLAN (big folder copy) made the C1 rise ahead of the CPU.  The way I tested it, mostly the C1 triggered the fan before the CPU did.  This at least explains why CPU undervolting/clocking doesn't help much.&lt;br /&gt;
&lt;br /&gt;
But I think you're right.  Without custom scripts I guess it will be hard to keep the C1 below 43Â°C.  This value may even be intentional by IBM.  If it is really near the palmrest, higher values may cause burns (I once read about a guy who actually burnt his balls [no joke!] by working with a laptop which had a 42Â°C - 45Â°C battery temp. in his lap for an hour or two).  So they may think that fan noise is preferrable to bad publicity.&lt;br /&gt;
&lt;br /&gt;
Hence I'm not counting on IBM.  Instead I'm currently writing a custom fan control program for XP, that's how I read the EC there.  I'll post a first version [http://forum.thinkpads.com/viewtopic.php?t=17715 here] later today.  Maybe some folks from the hardware modding thread will help to locate the sensors with some cooling spray.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax - 2005-11-27&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Shimodax,&lt;br /&gt;
&lt;br /&gt;
Great to see work on a Windows solution, especially from Emtec! (Alas, I let my ZOC registration expire when I switched to Linux). Will you be releasing the source code? &lt;br /&gt;
&lt;br /&gt;
If the 0xC1 sensor is near the southbridge then it will be affected by CPU activity both because of related southbridge activity and by thermal conductance via the motherboard; but I've seen 0xC1 at 47deg and CPU at 59deg (after a long burn-in), so they can't be too close. About the palmrest, IBM actually brags about low palm rest temperature in some of their marketing publication. But ironically the hottest and worst-cooled area of the laptop (where I suspect 0xC1 sits) is in the bottom center right under the touchpad - which tends to coincide with certain anatomical regions... BTW, GPU temp is EC offset 0x7B; there a partial list inside my new fan control script at [[Talk:ACPI_fan_control_script]] (I'll move it to the article page soon).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 23:20, 27 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
+LOL+ I wouldn't have expected that anybody would know me :-)&lt;br /&gt;
&lt;br /&gt;
Yes, I'll release source code soon.  I took quite some pain in writing this tool without our proprietary classes and libs in order to be able to release the source (or at least maintain a basic Open Source version).  I'll see if SourceForge accepts the project (applied on Saturday), otherwise I'll have find another place.&lt;br /&gt;
&lt;br /&gt;
Thanks for the info about the GPU ... &lt;br /&gt;
&lt;br /&gt;
Markus&lt;br /&gt;
&lt;br /&gt;
-- Shimodax - 23:42 (CET) - 2005-11-27&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
For the record: the new [http://forum.thinkpads.com/viewtopic.php?p=111974 &amp;quot;Shimodax fan control tool : sharing values&amp;quot;] topic at the thinkpads.com forums tracks some other users' experience with their sensor. So far the only new observation is that sensor 0x7A (3rd) is probably in the vicinity of the the CPU or northbridge.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:53, 28 Nov 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Just now I see the C2 higher than C1 and rest of the system for the first time.  Only difference I can think of is the fact that the battery is loading.  I hooked it on with 6% left about 30 minutes ago.  Usage was mainly web broswing (firefox, maybe a webpage with animated gif ads).  C2 triggered the fan at 50Â°C two times.&lt;br /&gt;
&lt;br /&gt;
CPU 42Â°C (0x78)&lt;br /&gt;
APS 41Â°C (0x79)&lt;br /&gt;
X7A 34Â°C (0x7A)&lt;br /&gt;
GPU 44Â°C (0x7B)&lt;br /&gt;
BAT 40Â°C (0x7C)&lt;br /&gt;
BAT 31Â°C (0x7E)&lt;br /&gt;
XC0 40Â°C (0xC0)&lt;br /&gt;
XC1 46Â°C (0xC1)&lt;br /&gt;
XC2 48Â°C (0xC2)&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 00:17 CET - 2005-11-30&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Upon further casual observation I would like to offer the theory that the C2 sensor is indeed related to battery loading and may be located rear/left (under the Esc/F1) on a T43.  See: page 2 on [http://forum.thinkpads.com/viewtopic.php?p=111974 &amp;quot;Shimodax fan control tool : sharing values&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 13:27 CET - 2005-12-01&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I happen to have a photo of that area from the last time I opened my T43, and indeed it looks like there's some power circuitry there:&lt;br /&gt;
&lt;br /&gt;
[[Image:T43-2686-DGU-CDC.jpg|500px|T43 CDC]]&lt;br /&gt;
&lt;br /&gt;
Those two &amp;quot;150 A47L&amp;quot; are just above the ventilation grill. Any idea what they could be?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:11, 1 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Don't know ... they could look like power stabilizing transistors, but I have very little knowledge of electronic (especially of SMD circuits) so that's just wild guessing.&lt;br /&gt;
&lt;br /&gt;
Hoever, the system is currently loading battery again and I played with the fan.  The C2 does react to the fan quite slowly and when I forced the fan off it rose no higher than 55Â°C.   Also from touching the bottom of the laptop, I'd say the hottest part of that area is between the grill and the latch for the DRAM expansion (probably below the thing in the center of your photo).&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 01:53 CET - 2005-12-02&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Makes perfect sense. So 0xC2 sits under the CDC and monitors the power circuitry (not just battery charging, since it also heats up slightly above its environment without a battery). Then XC2-&amp;gt;PWR, I guess. Two more to go: 0x7A and 0xC0 (both are nice and cool here).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 03:35, 2 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I'll then rename it in my tool with the next release.  Btw, do you have any idea what the APS might be on other models?&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 14:07 CET - 2005-12-03&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
It's easy to check if 0x79 is the HDAPS accelerometer or not: read the HDAPS temperature directly and compare. For getting the HDAPS temperature you can follow the Linux hdaps.c driver, or just reboot to Linux and look at {{path|/sys/bus/platform/drivers/hdaps/hdaps/temp1}} (and at {{path|/proc/acpi/ibm/thermal}} for the first 8 EC sensors). On my T43, the 0x79 always matches the HDAPS sensor (usually identical but sometimes 1 degree off, probably due to a different sampling time). BTW, my [[ACPI_fan_control_script#Variable_speed_control_scripts|ACPI fan control script]] monitors both, just in case.&lt;br /&gt;
&lt;br /&gt;
Speaking of which, the table at the top of that script reflects all knowledge gleaned from the forum.tinkpads.com discussion. Feel free to update it (maybe we should move it to a separate and more spacious page?).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 15:03, 3 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
For another view of the 0xC2 area, including a peek under the CDC card, see IBM/Lenovo's [http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&amp;amp;lndocid=MIGR-51451 CDC removal movie]. There seems to be nothing very exciting visible on the upper side on the motherboard (but judging by the plastic buldge in the bottom of the case, there's probably some circuitry on the underside).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 16:39, 3 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
I just had the idea that 0xC0 could be the Northbridge chip. See [http://forum.thinkpads.com/viewtopic.php?p=111974 &amp;quot;Shimodax fan control tool : sharing values&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 23:15 CET - 2005-12-05&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, 0xC0 is very much correlated with CPU temperature. But if it's the northbrighe then it's surpsigingly cool, since northbridges usually run pretty hot, and the 815PM has a small surface area and no cooling assembly whatsoever, see here:&lt;br /&gt;
&lt;br /&gt;
[[Image:ThinkPad-T43-under-keyboard-left.jpg|500px|T43 systemboard]] (click to enlarge)&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:45, 5 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Mmmh, I guess I'll remove the keyboard and play with some cooling spray.  It seems that a good part of the inside area can be reached through the opening of the keyboard.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 23:15 CET - 2005-12-05&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Just in case - these [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50233 instructions and movies] are pretty useful. It looks like the palmrest should be easy to remove too, but I didn't try that.&lt;br /&gt;
&lt;br /&gt;
Keep us posted :-)&lt;br /&gt;
&lt;br /&gt;
And please take plenty of photos! You never know what you'll want to look up later (as with those 0xC2 power chips above).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:34, 6 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Someone on a [http://thinkpad-forum.de/forum/viewtopic.php?p=29286#29286 German forum] reported that he saw pictures on an U.S. forum where someone said he located the 0xC1 with cooling spray. Seems indeed to be below the left of the touchpad on the mainboard (pictures on the forum article linked above)&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 22:50 CET - 2005-12-06&lt;br /&gt;
----&lt;br /&gt;
Interesting. That's a T40, right? Similar layout but different cooling assembly. Anyway, the T40 didn't have HDAPS, but on the T43 the HDAPS accelerometer chip is just 1 or 2 centimeters down from the location of the chip marked here. And on the T43, sensor 0xC1 and direct HDAPS reads give very different results. So maybe they moved 0xC1 away on the T43? Or, maybe the temperatures read through by HDAPS driver actually come from a separate sensor located elsewhere (unlikely but possible).&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 01:05, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Yep, that was a T40.  Well, I purchased a can of cooling spray today.  First results without opening the machine indicate 0xC2 is near the grill below the Esc-F3 keys.  The currently still unknown 0x7A cools down if I spray into the PCMCIA slot (also makes sense to place a sensor there, I'd say it is on the mainboard below the slots).&lt;br /&gt;
&lt;br /&gt;
Probably will open the case tonight or tomorrow.  I guess for precise results I'll need to remove the bezel and the fan ... quite an adventure ;-).  Will keep you posted of further results.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 2005-12-07&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Speaking of the PCMCIA port - I noticed that under heavy CPU load with the fan on, if I insert a PC Card into the slot then the CPU and 0x79 (HDAPS) temperature quickly go up a couple of degrees. This happens even if the PC Card is turned off or not inserted all the way in (no electric contact). Probably blocked airflow.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:08, 7 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
I opened the thing today and played around a bit.  Here's my assesment of where the sensors are:&lt;br /&gt;
[http://img363.imageshack.us/img363/545/pc080805custom22ef.jpg Image] (dunno how to upload an image here, feel free to add it to thinkwiki directly).&lt;br /&gt;
&lt;br /&gt;
C1 is most likely the Southbridge chip itself, APS and BUS are the small highlighted chips or very near them.  PWR did not react much to the spray, but does react to spraying throught the grill on the bottom of the case, so it's probably on the underside.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax 2005-12-08&lt;br /&gt;
&lt;br /&gt;
[[Image:T43-thermal-sensors.jpg|ThinkPad T43 thermal sensors|700px]] (click to enlarge)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Shimodax,&lt;br /&gt;
&lt;br /&gt;
Beautiful, beautiful work! Got everything back in working order, I hope, including those pesky screwcap stickers?&lt;br /&gt;
&lt;br /&gt;
This confirms our information/guesses about CPU,GPU,BAT,BAT2,PWR and Southbridge, and solves the mystery of 0x7A (PCMCIA) and 0xCA (Northbridge-RAM bus). A few notes:&lt;br /&gt;
&lt;br /&gt;
* 0x79 is a surprise - it is quite far from the HDAPS acceleromater chip (search for &amp;quot;accelerometer&amp;quot; [ftp://ftp.software.ibm.com/pc/pccbbs/mobiles_pdf/39t2393.pdf here]), even though it gives the same temperatures as when reading the accelerometer's IO ports. But this explains why 0x89 quickly gets hotter under load when the PCMCIA port is blocked.&lt;br /&gt;
* The mapping is indeed different from the R52 one that people keep citing because of the ibm-acpi documentation - the 2nd and 3rd sensors are ''not'' HDD and Mini-PCI.&lt;br /&gt;
* Some of the chips are a quite distant from the hot components they presumably monitor. Most significantly, when some usage causes the Northbridge to heat up rapidly, by the time sensor 0xC0 says 55 degrees the Northbridge core is probably above 60.&lt;br /&gt;
&lt;br /&gt;
Shimodoax, it would be great if you could upload more (unprocessed) photos, either to the Wiki (using the &amp;quot;Upload file&amp;quot; button on the left navigation bar) or by links. Deserves its own Wikipage, I think. It will save a lot of people the need to open their laptop too... For example, in regard to a discussion from yesterday further up the page - got a clear photo of the fan power connector, by any chance?&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 18:38, 8 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
See [[Thermal sensors]].&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 19:48, 8 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
Just for the record: I did not test the two BAT locations, these were taken from your previous description.  Regarding the other locations, I'm quite sure about them but not 100% definite.  I would not treat them as bullet proof fact until someone else confirms the experiment.&lt;br /&gt;
&lt;br /&gt;
The whole procedure went quite smoothly.  I just found that there were three screws missing in my machine but luckily I had ordered a thinkpad screw kit on Ebay a few days ago.  Also, on my model I did not need the stickers, all screws were without one.  Just mone minor mishap happened when I stuck one of the #2 screws in the wrong hole (there is an empty hole that looks like a screw hole about 4mm from the intended location) and had a hard time getting the screw out.&lt;br /&gt;
&lt;br /&gt;
I still have no idea how to upload stuff here, maybe becaue I don't have an account here.  I do have a couple more pictures, also larger ones, although they are not too great photography.  I'll upload them to the thinkpad forum via imageshack and you can grab them and put them here. &lt;br /&gt;
&lt;br /&gt;
-- Shimodax -- 2005-12-08&lt;br /&gt;
----&lt;br /&gt;
Maybe those missing screws were the 3 optional Torx screws &amp;quot;protecting&amp;quot; the wireless card (lip service to FCC regulations). Yes, uploads require an account (registation is straightforward, and has some perks). BTW, and that extra hole fooled me too. :-)&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 20:45, 8 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
One of the missing screws was the one that secures the HD, the other were two #1 near the front.   &lt;br /&gt;
I just zipped and uploaded the other pictures to our server: [http://www.emtec.com/zzstuff/T43-2668.zip T43-2668.zip].  Feel free to upload or use them anywhere you want.&lt;br /&gt;
&lt;br /&gt;
-- Shimodax -- 2005-12-08&lt;br /&gt;
----&lt;br /&gt;
Thinker, [[Talk:Problem with fan noise#Correct BIOS settings?|this]] could be related. [[User:Piccobello|Piccobello]] 11:12, 25 November 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Southbridge sensor 0xC1 ==&lt;br /&gt;
&lt;br /&gt;
The southbridge on the T43 does not have a built-in thermal sensor, according to its specs (see [[Intel 82801FBM]]). So sensor 0xC1 may be adjacent or on the underside of the system board.&lt;br /&gt;
--Thinker&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
That's possible. Spraying the Southbridge chip did yield the most direct temperature changes, but they were not as quick as I would have expected (I attributed that to the large size of the chip).  So it may indeed be the underside or something near (there wasn't anything visible that looked like the BUS or APS sensors in my picture.)&lt;br /&gt;
&lt;br /&gt;
--Shimodax&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Since the southbridge is the hottest thing around, and moreover has a large ceramic package, it gives the quickest heat exchange with the cooling spray (i.e., it &amp;quot;absorbs the cold&amp;quot; fastest). Thermal conductance through the PCB would then allow the sensor to be anywhere nearby. Similarly for some of the other locations, which to my (untrained) eye look more like power regulation components than sensors. So the actual sensors are probably on the underside (otherwise you'd spot them, and it also makes sense in the bottlenek is the user's lap rather than the chips), in the vicinity of the identified components.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 17:33, 11 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
For what it is worth, the other ones (BUS,APS) did react very directly, even to very targeted and short bursts of cold (in one instance BUS went down to zero with one burst).  Also, they look quite like the thing the user on the thinkpads forum had identified on the T40.  With the southbridge I sprayed that specifically also (just covering the chip) but results were not nearly as direct as with the small chips.  Reason could have been that the chip itself generated heat from the core at the same time but if the SB doesn't have it's own sensor, a themrmal sensor on the underside would fit the observation quite as well (or even better).&lt;br /&gt;
&lt;br /&gt;
--Shimodax&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;APS&amp;quot; sensor 0x79 ==&lt;br /&gt;
&lt;br /&gt;
About the 0x79 sensor: I previously claimed that it's the HDAPS chip, because it gave the same values as reading the the Linux [[hdaps]] driver (which reads ports 0x1600-0x161f directly). This didn't sit well with Shmidoax's cooling spray experiment. Well, my original claim is misguided - it turns out that the interface at ports 0x1600-0x161f also reports stuff unrelated to HDAPS (namely battery information), so it's probably yet another view into the embedded controller and there's no reason to assign its temperature reports to the HDAPS accelerometer.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 00:50, 13 Dec 2005 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Embedded controller firmware disassembly ==&lt;br /&gt;
&lt;br /&gt;
[http://forum.thinkpads.com/viewtopic.php?t=20958 This thread] points to, and discusses, a commented (partial) disassembly of the embedded controller. It may provide useful hints about the sensors.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 07:07, 24 February 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== empty screw hole ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Anybody know what the empty screw hole on the bottom panel is?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Shiyang&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
There's a screw hole under the Ultrabay slot, for an optional screw that locks in the Ultrabay device. There's also a hole (or two, on the T60) for drainage of spilled liquid from the keyboards.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 13:16, 17 March 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Thermal sensors on X40 ==&lt;br /&gt;
&lt;br /&gt;
I was reading the locations of the sensors reported on other Thinkpads, but they seem to be different on the X40 (results with running Debian Testing).&lt;br /&gt;
&lt;br /&gt;
 $ cat /proc/acpi/ibm/thermal&lt;br /&gt;
 temperatures:   42 43 47 38 -128 -128 -128 -128&lt;br /&gt;
 $ smartctl -A /dev/hda | grep Temperature&lt;br /&gt;
 194 Temperature_Celsius     0x0022   100   072   000    Old_age   Always       -      35 (Lifetime Min/Max 9/54)&lt;br /&gt;
 $ cat /sys/bus/platform/drivers/hdaps/hdaps/temp1&lt;br /&gt;
 39&lt;br /&gt;
&lt;br /&gt;
So I ran some tests. The first thermal sensor show the CPU temperature, it rises significantly when doing CPU-intensive work (e.g. compiling). The second seems to be the GPU/Chipset (since it's an integrated GPU); temperatures on CPU and GPU rise several degrees when running e.g. glxgears. The third sensors I think should be underneath space key/mouse buttons; this is the hottest spot of the laptop and this sensor shows the highest temperatur (ok, this is just a guess). The fourth sensor seems to be related to the wireless mini pci card; its temperature shows a clear correlation to switching power saving on/off for the ipw2100.&lt;br /&gt;
&lt;br /&gt;
With battery put back in the battery's two sensors are shown.&lt;br /&gt;
&lt;br /&gt;
 $ cat /proc/acpi/ibm/thermal&lt;br /&gt;
 temperatures:   42 43 47 42 35 -128 33 -128&lt;br /&gt;
&lt;br /&gt;
None of the sensors show the HDAPS or the HDD temperature.&lt;br /&gt;
The results so far are:&lt;br /&gt;
&lt;br /&gt;
 Index   Location (estimated)&lt;br /&gt;
 1       CPU&lt;br /&gt;
 2       GPU/Chipset&lt;br /&gt;
 3       Unknown&lt;br /&gt;
 4       MiniPCI&lt;br /&gt;
 5       System battery&lt;br /&gt;
 6       n/a&lt;br /&gt;
 7       System battery&lt;br /&gt;
 8       n/a&lt;br /&gt;
&lt;br /&gt;
No sensors show up when reading from ecdump (something wrong here?):&lt;br /&gt;
&lt;br /&gt;
 perl -ne 'print join(&amp;quot; &amp;quot;,map(hex,m/\w+/g)).&amp;quot;\n&amp;quot; if s/^EC 0xc0://' &amp;lt; /proc/acpi/ibm/ecdump&lt;br /&gt;
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;br /&gt;
&lt;br /&gt;
Can someone confirm this? Other suggestions?&lt;br /&gt;
&lt;br /&gt;
--shze 11:54, 14 May 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The X40 doesn't have 0xC0 sensors, the HDD temperature you get from the HDD is not available through any other channel in any other thinkpad -- you may have an HDD sensor that is near the HDD in some thinkpads but that's not the same as a sensor inside the HDD :-)&lt;br /&gt;
&lt;br /&gt;
As for the HDAPS temperature being different from the other normal sensors, now THAT is an interesting detail.  Are you sure it is not on the regular sensor list?&lt;br /&gt;
&lt;br /&gt;
--[[User:Hmh|hmh]] 17:07, 14 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T61? ==&lt;br /&gt;
&lt;br /&gt;
There doesn't seem to be any mention of the T61 in this article. Does anyone know about its /proc/acpi/ibm/thermal ? [[User:Zro|Zro]] 05:13, 13 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
No, someone will have to open it and do the dirty work.&lt;br /&gt;
&lt;br /&gt;
:Thanks [[User:Lunatico|Lunatico]] for adding the [[Thermal_Sensors#ThinkPad_T61|T61 temp zones]]. My results, however, are a little different. I notice that you have ''position 4'' listed as &amp;quot;n/a&amp;quot;, yet I get a non-null (''not'' -128) result for that sensor position. Is this perhaps a difference w/ single processor vs SMP (multiprocessor) machines? My results are as follows for the record:&lt;br /&gt;
:&amp;lt;pre&amp;gt;temperatures:	46 43 34 54 34 -128 31 -128 39 44 42 -128 -128 -128 -128 -128&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Perhaps on SMP 1&amp;amp;2 are each a cpu then pushing the following results forward 1 position? Any ideas? [[User:Zro|Zro]] 19:51, 13 January 2009 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Well [[User:Zro|Zro]] I'm not sure why that difference. I don't understand what you mean about the single and multiprocessor machines. As far as I know the [http://www.thinkwiki.org/wiki/Category:T61#Standard_Features|T61 comes with Core Duo]. So as far as the 4th sensor I wouldn't have an answer for you. I still haven't got time to figure out sensors 9, 10 and 11 though, if you find that out let me know (and update [http://www.thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_T61|my post]). I also have a T60p which also have some unknown sensors. Thanks!&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&amp;diff=40309</id>
		<title>Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&amp;diff=40309"/>
		<updated>2008-12-18T21:53:46Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Fingerprint Reader with ThinkFinger */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.&lt;br /&gt;
&lt;br /&gt;
== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card:''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)&lt;br /&gt;
&lt;br /&gt;
'''Webcam:''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones:''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Sound (too quiet) ===&lt;br /&gt;
Sound works &amp;quot;out of the box&amp;quot;, but is too quiet for many people. To fix this you need to do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gksudo gedit /etc/modprobe.d/alsa-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options snd-hda-intel model=thinkpad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
An additional note&lt;br /&gt;
'''System lock-ups with Intel 4965 wireless'''&lt;br /&gt;
&lt;br /&gt;
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) &lt;br /&gt;
http://www.ubuntu.com/getubuntu/releasenotes/810&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 22:44, 18 December 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Network connection after suspend/resume ===&lt;br /&gt;
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSPEND_MODULES=ath_pci&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which causes the driver to be unloaded on suspend and reloaded on resume.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader with ThinkFinger ===&lt;br /&gt;
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]&lt;br /&gt;
Add the PPA repositories to your source.list (/etc/apt/source.list):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Update installer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And install:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
=== Emulate Wheel (Middle-click scrolling) ===&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid.  Xorg.conf is not used to configure mice and keyboards anymore, but evdev is.  This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.  In terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Past and save the following code, which will give vertical wheel emulation only:&lt;br /&gt;
&amp;lt;pre&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.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;lt;/pre&amp;gt;&lt;br /&gt;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.10]]&lt;br /&gt;
[[Category:  T61]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&amp;diff=40308</id>
		<title>Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&amp;diff=40308"/>
		<updated>2008-12-18T21:45:31Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Items that need (some) tweaking to obtain full functionality */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.&lt;br /&gt;
&lt;br /&gt;
== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card:''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)&lt;br /&gt;
&lt;br /&gt;
'''Webcam:''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones:''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Sound (too quiet) ===&lt;br /&gt;
Sound works &amp;quot;out of the box&amp;quot;, but is too quiet for many people. To fix this you need to do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gksudo gedit /etc/modprobe.d/alsa-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options snd-hda-intel model=thinkpad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
An additional note&lt;br /&gt;
'''System lock-ups with Intel 4965 wireless'''&lt;br /&gt;
&lt;br /&gt;
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) &lt;br /&gt;
http://www.ubuntu.com/getubuntu/releasenotes/810&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 22:44, 18 December 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Network connection after suspend/resume ===&lt;br /&gt;
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSPEND_MODULES=ath_pci&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which causes the driver to be unloaded on suspend and reloaded on resume.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader with ThinkFinger ===&lt;br /&gt;
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]&lt;br /&gt;
Add the PPA repositories to your source.list (/etc/apt/source.list):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Update installer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And install:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]&lt;br /&gt;
&lt;br /&gt;
=== Emulate Wheel (Middle-click scrolling) ===&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid.  Xorg.conf is not used to configure mice and keyboards anymore, but evdev is.  This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.  In terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Past and save the following code, which will give vertical wheel emulation only:&lt;br /&gt;
&amp;lt;pre&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.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;lt;/pre&amp;gt;&lt;br /&gt;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.10]]&lt;br /&gt;
[[Category:  T61]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&amp;diff=40307</id>
		<title>Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&amp;diff=40307"/>
		<updated>2008-12-18T21:44:12Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Items that need (some) tweaking to obtain full functionality */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.&lt;br /&gt;
&lt;br /&gt;
== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card:''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)&lt;br /&gt;
&lt;br /&gt;
'''Webcam:''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones:''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Sound (too quiet) ===&lt;br /&gt;
Sound works &amp;quot;out of the box&amp;quot;, but is too quiet for many people. To fix this you need to do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gksudo gedit /etc/modprobe.d/alsa-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options snd-hda-intel model=thinkpad&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
An additional note&lt;br /&gt;
'''System lock-ups with Intel 4965 wireless'''&lt;br /&gt;
&lt;br /&gt;
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) &lt;br /&gt;
http://www.ubuntu.com/getubuntu/releasenotes/810&lt;br /&gt;
&lt;br /&gt;
=== Network connection after suspend/resume ===&lt;br /&gt;
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUSPEND_MODULES=ath_pci&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
which causes the driver to be unloaded on suspend and reloaded on resume.&lt;br /&gt;
&lt;br /&gt;
=== Fingerprint Reader with ThinkFinger ===&lt;br /&gt;
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]&lt;br /&gt;
Add the PPA repositories to your source.list (/etc/apt/source.list):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Update installer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And install:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]&lt;br /&gt;
&lt;br /&gt;
=== Emulate Wheel (Middle-click scrolling) ===&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid.  Xorg.conf is not used to configure mice and keyboards anymore, but evdev is.  This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.  In terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Past and save the following code, which will give vertical wheel emulation only:&lt;br /&gt;
&amp;lt;pre&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.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;lt;/pre&amp;gt;&lt;br /&gt;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 22:44, 18 December 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.10]]&lt;br /&gt;
[[Category:  T61]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_and_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_X200&amp;diff=40159</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) and Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad X200</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_and_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_X200&amp;diff=40159"/>
		<updated>2008-12-08T12:47:56Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Sensors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
Some items in this page still date from before the 8.10 final release. Please keep a close eye out, and if needed, refer to [http://ubuntuforums.org/showthread.php?p=5897839 this X200 owners' thread] on the Ubuntu forums.&lt;br /&gt;
&lt;br /&gt;
Started off working w. Ubuntu 8.04 install using the optical drive in the X200 ultrabase. Everything went swimmingly - ethernet worked out of the box as did the optical drive itself.&lt;br /&gt;
&lt;br /&gt;
Wound up upgrading to the 8.10 beta b/c of wireless troubles. See below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Ultrabay==&lt;br /&gt;
&lt;br /&gt;
Handles install without any problem - note: while the machine is in the bay, it forces you to use the ethernet port on the bay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Ethernet==&lt;br /&gt;
&lt;br /&gt;
Intel GigE worked out of the box w. 8.04 and 8.10.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Wireless==&lt;br /&gt;
&lt;br /&gt;
Ah, the wireless.&lt;br /&gt;
&lt;br /&gt;
run &amp;lt;lshw -C network&amp;gt; and sort out which wireless hardware you're working with.&lt;br /&gt;
&lt;br /&gt;
===Atheros===&lt;br /&gt;
&lt;br /&gt;
For Atheros, check out [http://ubuntuforums.org/showthread.php?t=905126 this forum post]&lt;br /&gt;
&lt;br /&gt;
===Intel 5300===&lt;br /&gt;
&lt;br /&gt;
====On 8.04====&lt;br /&gt;
&lt;br /&gt;
For Intel 5300 on 8.04, neither the recommended drivers (iwl5000) nor ndiswrapper did the trick. It's possible that manually-upgrading the kernel to 2.27 would do it.&lt;br /&gt;
&lt;br /&gt;
====On 8.10====&lt;br /&gt;
&lt;br /&gt;
With 8.10 the Intel 5300 works out of the box. Running &amp;lt;lshw -C network&amp;gt; again shows that it's the iwlagn driver (pre-loaded with the 2.27 kernel) that does the trick.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sensors ==&lt;br /&gt;
&lt;br /&gt;
The gnome sensors applets allow you to monitor all important temperatures, including battery, hdd, cpu and gpu and system fan.&lt;br /&gt;
 sudo apt-get install sensors-applet hddtemp&lt;br /&gt;
&lt;br /&gt;
Add the hardware sensor monitor to the panel and then configure it. You will see a lot of datasources.&lt;br /&gt;
&lt;br /&gt;
* libsensors: temp9 and temp10 seem to be mainboard/Nortbridge or power regulator sensors.&lt;br /&gt;
* hddtemp: /dev/sda is the sensor of the harddisk. It is important to keep the harddisk always below 45°, normally under 40°. This is no problem with the X200, the hdd cooling system seems to be very good. &lt;br /&gt;
* ibm-acpi: cpu, mPCI, GPU and FAN are intersting sensors.&lt;br /&gt;
&lt;br /&gt;
==Power Mgmt==&lt;br /&gt;
&lt;br /&gt;
Not sure what's going on here yet, but the battery claims to have only ~3 hours of life after a full charge.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;laptop&amp;quot; mode is by default disabled in ubuntu (for some historical weird hang up, I guess). To enable it, edit the file:&lt;br /&gt;
&lt;br /&gt;
  /etc/default/acpi-support&lt;br /&gt;
&lt;br /&gt;
Change the following line:&lt;br /&gt;
&lt;br /&gt;
  ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&lt;br /&gt;
to be:&lt;br /&gt;
&lt;br /&gt;
  ENABLE_LAPTOP_MODE=true&lt;br /&gt;
&lt;br /&gt;
Then your battery can provide you with some extra time (about half an hour~one hour). You can also enable it through [http://www.lesswatts.org/projects/powertop/ powertop] together with other tweaks. So far no hang is observed.&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
&lt;br /&gt;
With 8.10 things don't work well if you stick with the &amp;quot;preconfigured&amp;quot; xorg.conf settings: the default resolution is only 1074x768 and the highest setting that the laptop display is capable of (1280x800) doesn't even show up in the &amp;lt;em&amp;gt; System -&amp;gt; Preferences -&amp;gt; Screen Resolution &amp;lt;/em&amp;gt;applet. To make matters worse, VGA output is a royal pain.&lt;br /&gt;
&lt;br /&gt;
Here's a step-by-step guide to improve the situation if you just want to get the laptop display working properly:&lt;br /&gt;
&lt;br /&gt;
* First, make sure you've got the latest drivers for your Intel 4500MHD video card:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install xserver-xorg-video-intel&lt;br /&gt;
&lt;br /&gt;
* Once that's over and done with, open up your xorg.conf file (note: be careful with this file):&lt;br /&gt;
&lt;br /&gt;
 $ sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
* Make the part that isn't commented out (i.e. that isn't preceded by a #) look like this:&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;Monitor&amp;quot;&lt;br /&gt;
     Identifier    &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
     Option        &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
     Identifier    &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
     Option        &amp;quot;Ignore&amp;quot; &amp;quot;True&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;
     SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
         Modes &amp;quot;1280x800&amp;quot; &amp;quot;1024x768&amp;quot;&lt;br /&gt;
 # The following line was an auto-configuration added by an external VGA projector; you might leave it out to try&lt;br /&gt;
 # letting the system detect dimensions appropriate for whatever display you happen to use.&lt;br /&gt;
         Virtual    2432 864&lt;br /&gt;
     EndSubSection&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;
      Driver        &amp;quot;intel&amp;quot;&lt;br /&gt;
      Option        &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
      Option        &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
* Note: those HDMI settings are really important because they get rid of some imaginary monitors (see [[Installing_Debian_on_an_X200 | this other X200 installation notes post]] for more details).  Save your new xorg.conf file and quit the Gedit text editor. Also quit any other open programs and log-out from your session to reset the X-server and apply the new settings. &lt;br /&gt;
&lt;br /&gt;
* When you log back in, all the new settings should &amp;quot;just work,&amp;quot; but don't be alarmed if things look a little weird or if the screen resolution still isn't the full 1280x800...&lt;br /&gt;
:To make sure the xorg.conf changes &amp;quot;stuck&amp;quot; and that the resolution is set properly, open the aforementioned Screen Resolution applet:  &amp;lt;em&amp;gt;System -&amp;gt; Preferences -&amp;gt; Screen Resolution&amp;lt;/em&amp;gt;. Make sure the the box that says &amp;quot;Mirror Screens&amp;quot; is unchecked and click the &amp;quot;Detect Displays&amp;quot; button. In the little colorful diagram thingy, there should just be a big rectangle that says &amp;quot;laptop 12&amp;quot;&amp;quot; (or whatever portion of those words fits in the rectangle). Click on this &amp;quot;laptop&amp;quot; rectangle to make sure and activate it. Once you've clicked on it, look for the drop-down menu that says the resolution and re-set this to &amp;quot;1280 x 800 (16:10).&amp;quot; If there are other &amp;quot;imaginary&amp;quot; displays activated (there shouldn't be with the HDMI workaround in the xorg.conf file included above) use the same drop-down menu to turn them to &amp;quot;Off.&amp;quot; Click &amp;quot;Apply&amp;quot; at the bottom and close the applet. Log out again to activate the new settings. If all goes according to plan, your 12800x800 display should now work like a charm!&lt;br /&gt;
&lt;br /&gt;
* Once you've got that all sorted out, go ahead and hook the X200 up to an external display via the VGA port (so far, I've only tried it directly from the laptop and not from the ultrabase). Open the Screen Resolution applet again and click &amp;quot;detect displays.&amp;quot; Choose a resolution for the external display and decide whether you want a mirrored output or not. Click apply (here the system may prompt you to accept virtual display settings - say yes and confirm by typing your password), close the applet and log-out again to reset X. Once you log in, you should have an external display working perfectly.&lt;br /&gt;
&lt;br /&gt;
==Suspend and Hibernate==&lt;br /&gt;
&lt;br /&gt;
There will be conflicting reports and confusion about this, because there is at least one problem causing ''intermittent'' suspend/hibernate crashes. In other words, things may appear to work, and then they may not. &lt;br /&gt;
&lt;br /&gt;
If you experience a crash while resuming (my guess is that you will, eventually), first attempt the fix described here:&lt;br /&gt;
&lt;br /&gt;
[[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_an_T400#Suspend.2FHibernate|Workaround on T400]]&lt;br /&gt;
&lt;br /&gt;
Apparently, this is a mulitprocessor problem, and the workaround to disable one core at Suspend/Hibernate is relatively easy to implement.&lt;br /&gt;
&lt;br /&gt;
'''Confirmations:'''&lt;br /&gt;
&lt;br /&gt;
On a up to date 8.10 system (as of Nov 12th: linux-2.6.27-8, video-intel-2.4.1ubuntu10) suspend now seems to work perfectly. Before the above multi-processor workaround, resuming from suspend used to crash about half of the time. Not a single crash has been observed since the workaround. &lt;br /&gt;
&lt;br /&gt;
Seconded; this appeared to fix it for me as well (12/2/08), on a fully updated 8.10, with no other modifications to stock. &lt;br /&gt;
&lt;br /&gt;
Additional information about various potential fixes is included below for reference, though I didn't (so far) need to do anything aside from what's described above.&lt;br /&gt;
&lt;br /&gt;
'''Older workarounds:'''&lt;br /&gt;
&lt;br /&gt;
Without tweaking drivers and xorg.conf suspending thcrough the Gnome desktop does not work - seems to be related to the problems with the display. Some people have reported no problems with Hibernate, while others...you get the idea. If you're one of those having problems, read on... &lt;br /&gt;
&lt;br /&gt;
Once you've followed the instructions to get the Intel video card drivers installed (see above) Hibernate (suspend to disk) *should* work and Sleep/Suspend (suspend to RAM) *might* work (there are some conflicting reports out there). If you like, you can examine/tweak the settings in &amp;lt;em&amp;gt; system -&amp;gt; preferences -&amp;gt; power management&amp;lt;/em&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the suspend/sleep &amp;lt;em&amp;gt;still&amp;lt;/em&amp;gt; doesn't work, try the following work-around to get the system to recognize the sleep settings.&lt;br /&gt;
&lt;br /&gt;
First, create a text file called &amp;quot;sleep_module&amp;quot; in the /etc/pm/config.d directory:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/pm/config.d/sleep_module&lt;br /&gt;
&lt;br /&gt;
In the new file, enter:&lt;br /&gt;
&lt;br /&gt;
 SLEEP_MODULE=kernel &lt;br /&gt;
&lt;br /&gt;
Then save this new file and exit your text editor as well as your other apps. Do a reboot and try out your freshly reconfigured suspend funciton. As before, you can examine/tweak the settings in &amp;lt;em&amp;gt; system -&amp;gt; preferences -&amp;gt; power management&amp;lt;/em&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: Consider using &amp;quot;sudo -e&amp;quot; for editing files.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' The latest updates to 8.10 (still in beta at the time of this writing) appear to include a sleep_module configuration file that includes this tweak.&lt;br /&gt;
&lt;br /&gt;
I had lots of problems with both hibernate and suspend. I have disabled lots of (for me at least) unneeded devices in the bios, and now at least hibernat works. My x200 bios configuration is now like this:&lt;br /&gt;
&lt;br /&gt;
* Network&lt;br /&gt;
  * wake on lan disabled&lt;br /&gt;
  * flash over lan disabled&lt;br /&gt;
  * ethernet lan option rom disabled&lt;br /&gt;
  * hdd dma enabled&lt;br /&gt;
  * wireless lan and wimax enabled&lt;br /&gt;
* SATA AHCI&lt;br /&gt;
* CPU&lt;br /&gt;
  * multiprocessing enabled&lt;br /&gt;
  * intel virtualisation enabled&lt;br /&gt;
  * intel vt-d enabled&lt;br /&gt;
* Intel AMT&lt;br /&gt;
  * AMT Control disabled&lt;br /&gt;
* IO Port access&lt;br /&gt;
  * ethernet enabled&lt;br /&gt;
  * wlan enabled&lt;br /&gt;
  * wimax enabled&lt;br /&gt;
  * wwan enabled&lt;br /&gt;
  * bluetooth enabled&lt;br /&gt;
  * wireless usb disabled&lt;br /&gt;
  * modem disabled&lt;br /&gt;
  * usb enabled&lt;br /&gt;
  * expresscard slot disabled&lt;br /&gt;
  * ultrabay hdd disabled&lt;br /&gt;
  * memory card disabled&lt;br /&gt;
  * camera enabled&lt;br /&gt;
  * microphone enabled&lt;br /&gt;
  * fingerprint reader disabled&lt;br /&gt;
&lt;br /&gt;
I left the rest at bios defaults. Of course, you may one some of these devices enabled, but this is a starting point to get hibernate/suspend working and by enabling one after the other you should be able to find the device/s that cause problems.&lt;br /&gt;
&lt;br /&gt;
Note: with this setup i get 4h30min battery time instead of 3h55min&lt;br /&gt;
&lt;br /&gt;
===Hibernate fails with Virtualbox running===&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; http://ubuntuforums.org/showpost.php?p=4582777&amp;amp;postcount=3&lt;br /&gt;
&lt;br /&gt;
To circumvent this, put this in ~/bin/vbox_suspend:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 for x in `vboxmanage -nologo list runningvms`&lt;br /&gt;
 do&lt;br /&gt;
   vboxmanage -nologo controlvm $x savestate&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
and make it executable. you can test it by running ~/bin/vbox_suspend, which should save all your running virtual machines.&lt;br /&gt;
&lt;br /&gt;
put the following lines in /etc/pm/sleep.d/90virtualbox and make it executable as well:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 case $1 in&lt;br /&gt;
   hibernate)&lt;br /&gt;
     su YOURUSER -c /home/YOURUSER/bin/vbox_suspend&lt;br /&gt;
   ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
This is not very elegant (as the user is hard-coded), but it works.&lt;br /&gt;
I have tried to make the machines resume on thaw, but it would place the vms on the wrong workspace even if it know which X server to use, which it doesn't.&lt;br /&gt;
&lt;br /&gt;
==Sound==&lt;br /&gt;
&lt;br /&gt;
(Mostly) works out of the box under 8.04 and 8.10&lt;br /&gt;
&lt;br /&gt;
Worth noting the apparent problems w. Skype and Medibuntu on 8.10 - some of this [http://ubuntuforums.org/showthread.php?t=925211 appears to have been resolved] recently and will hopefully make it into the final release. Sound playback within Skype still failing despite the workaround.&lt;br /&gt;
&lt;br /&gt;
==Camera==&lt;br /&gt;
&lt;br /&gt;
Works with Cheese Webcam Booth on 8.10. Also with Kopete on 8.10.&lt;br /&gt;
&lt;br /&gt;
==VGA==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Unclaimed&amp;quot;&lt;br /&gt;
[[Category:X200]]&lt;br /&gt;
&lt;br /&gt;
==Tablet==&lt;br /&gt;
&lt;br /&gt;
The X200 Tablet uses a wacom device. The instructions for configuring xorg in 8.10 to work with wacom input do seem to work.&lt;br /&gt;
&lt;br /&gt;
https://help.ubuntu.com/community/WacomTroubleshooting&lt;br /&gt;
&lt;br /&gt;
Just follow the directions for a SERIAL tablet (which is indeed what you have).&lt;br /&gt;
&lt;br /&gt;
Here is an xorg.conf that has both the resolution fix and the tablet fixes (tested on 8.10 with an X200 tablet, multitouch - i.e. pen and fingertip - screen):&lt;br /&gt;
&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Driver        &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Identifier    &amp;quot;stylus&amp;quot;&lt;br /&gt;
    Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;      # SERIAL ONLY&lt;br /&gt;
    Option        &amp;quot;Type&amp;quot;          &amp;quot;stylus&amp;quot;&lt;br /&gt;
    Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;           # Tablet PC ONLY&lt;br /&gt;
  EndSection&lt;br /&gt;
 &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Driver        &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Identifier    &amp;quot;eraser&amp;quot;&lt;br /&gt;
    Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;      # SERIAL ONLY&lt;br /&gt;
    Option        &amp;quot;Type&amp;quot;          &amp;quot;eraser&amp;quot;&lt;br /&gt;
    Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;           # Tablet PC ONLY&lt;br /&gt;
  EndSection&lt;br /&gt;
 &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Driver        &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Identifier    &amp;quot;cursor&amp;quot;&lt;br /&gt;
    Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;      # SERIAL ONLY&lt;br /&gt;
    Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;&lt;br /&gt;
    Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;           # Tablet PC ONLY&lt;br /&gt;
  EndSection&lt;br /&gt;
 &lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Driver        &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Identifier    &amp;quot;pad&amp;quot;&lt;br /&gt;
    Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;         # SERIAL ONLY&lt;br /&gt;
    Option        &amp;quot;Type&amp;quot;          &amp;quot;pad&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
 &lt;br /&gt;
  # Uncomment the following section if you you have a TabletPC that upports touch&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Driver        &amp;quot;wacom&amp;quot;&lt;br /&gt;
    Identifier    &amp;quot;touch&amp;quot;&lt;br /&gt;
    Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/ttyS0&amp;quot;       # SERIAL ONLY&lt;br /&gt;
    Option        &amp;quot;Type&amp;quot;          &amp;quot;touch&amp;quot;&lt;br /&gt;
    Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;            # Serial Tablet PC ONLY&lt;br /&gt;
    # Adding manual calibration, since proper calibration seems impossible.&lt;br /&gt;
    Option &amp;quot;BottomX&amp;quot; &amp;quot;915&amp;quot;&lt;br /&gt;
    Option &amp;quot;BottomY&amp;quot; &amp;quot;940&amp;quot;&lt;br /&gt;
    Option &amp;quot;TopX&amp;quot; &amp;quot;48&amp;quot;&lt;br /&gt;
    Option &amp;quot;TopY&amp;quot; &amp;quot;90&amp;quot;&lt;br /&gt;
  EndSection&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;Monitor&amp;quot;&lt;br /&gt;
      Identifier    &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
      Option        &amp;quot;Ignore&amp;quot; &amp;quot;True&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
 &lt;br /&gt;
  Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
      Identifier    &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
      Option        &amp;quot;Ignore&amp;quot; &amp;quot;True&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;
      SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
          Modes &amp;quot;1280x800&amp;quot; &amp;quot;1024x768&amp;quot;&lt;br /&gt;
      EndSubSection&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;
      Driver        &amp;quot;intel&amp;quot;&lt;br /&gt;
      Option        &amp;quot;monitor-HDMI-1&amp;quot; &amp;quot;HDMI-1&amp;quot;&lt;br /&gt;
      Option        &amp;quot;monitor-HDMI-2&amp;quot; &amp;quot;HDMI-2&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
 &lt;br /&gt;
  Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
      Identifier    &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
      Screen        &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
      InputDevice   &amp;quot;stylus&amp;quot;  &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
      InputDevice   &amp;quot;eraser&amp;quot;  &amp;quot;SendCoreEvents&amp;quot;&lt;br /&gt;
      InputDevice   &amp;quot;cursor&amp;quot;  &amp;quot;SendCoreEvents&amp;quot; # For non-LCD tablets only&lt;br /&gt;
      InputDevice   &amp;quot;pad&amp;quot;                      # For Intuos3/CintiqV5/Graphire4/Bamboo tablets&lt;br /&gt;
      InputDevice   &amp;quot;touch&amp;quot;   &amp;quot;SendCoreEvents&amp;quot; # Only a few TabletPCs support this typeEndSection  &lt;br /&gt;
  EndSection&lt;br /&gt;
&lt;br /&gt;
You may also want to download the &amp;quot;wacom-tools&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
When I started experimenting with this, the touchscreen portion of multitouch was quite miscalibrated, and the distro's wacom-tools package has a bug which seems to prevent calibration of the touchscreen via wacomcpl. In fact, it seems to have a series of bugs, judging based on what I've found in google. My solution was to futilely experiment with various xsetwacom values (as documented [http://linuxwacom.sourceforge.net/index.php/howto/xsetwacom here]) for a few minutes, and then try the values [http://dkukawka.blogspot.com/2008/07/lenovo-thinkpad-x61t-touch-support.html posted by an X61t user].   :) These were close enough to be a starting point. Then I fiddled some more, and the results are included in the xorg.conf above. With luck, these numbers will just work for you, and you won't have any issue. If not, check out the linux wacom documentation and experiment with new calibration values via xsetwacom.&lt;br /&gt;
&lt;br /&gt;
==TrackPoint==&lt;br /&gt;
&lt;br /&gt;
Trackpoint scrolling is, as of 12/02/08, not in a good way on 8.10. &lt;br /&gt;
&lt;br /&gt;
There are numerous instructions on the net which don't work for the X200, including instructions here ([How to configure the TrackPoint]). &lt;br /&gt;
&lt;br /&gt;
On the X200, the HAL-based instructions in the last section may work, but only until suspend/resume or VT switching, due to a [https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/282387|known bug in evdev].&lt;br /&gt;
&lt;br /&gt;
I do have it working, but it is not pretty:&lt;br /&gt;
&lt;br /&gt;
* Create a patched evdev. The following is based on instructions from the bug report. These instructions will be extremely fragile - they work for me today but could stop working at any point, based on updates to evdev or changes to the bug. The lines below do the following:&lt;br /&gt;
** Set up a work area&lt;br /&gt;
** Download the patch from the bug report&lt;br /&gt;
** Prepare your environment for building evdev&lt;br /&gt;
** Download the evdev sources&lt;br /&gt;
** Patch them&lt;br /&gt;
** Produce a new deb&lt;br /&gt;
** Install it&lt;br /&gt;
&lt;br /&gt;
 sudo bash&lt;br /&gt;
 cd /usr/local/src/&lt;br /&gt;
 mkdir evdev&lt;br /&gt;
 cd evdev &lt;br /&gt;
 wget http://launchpadlibrarian.net/19254960/preinit.diff&lt;br /&gt;
 apt-get build-dep xserver-xorg-input-evdev&lt;br /&gt;
 apt-get source xserver-xorg-input-evdev&lt;br /&gt;
 cd xserver-xorg-input-evdev-2.0.99+git20080912&lt;br /&gt;
 patch -p1 &amp;lt; ../preinit.diff&lt;br /&gt;
 debian/rules binary&lt;br /&gt;
 cd ..&lt;br /&gt;
 dpkg -i xserver-xorg-input-evdev_2.0.99*.deb&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Add xinput lines to your .profile; with this patch, the normal HAL method no longer works (though note, I have not tested this with no hal policy for the trackpoint at all, just left the non-working one in place. YMMV). &lt;br /&gt;
&lt;br /&gt;
 # TEMPORARY FIX FOR BROKEN EVDEV/HAL for TrackPoint scrolling:&lt;br /&gt;
 xinput set-int-prop &amp;quot;TPPS/2 IBM TrackPoint&amp;quot; &amp;quot;Wheel Emulation&amp;quot; 8 1&lt;br /&gt;
 xinput set-int-prop &amp;quot;TPPS/2 IBM TrackPoint&amp;quot; &amp;quot;Wheel Emulation Button&amp;quot; 8 2&lt;br /&gt;
 xinput set-int-prop &amp;quot;TPPS/2 IBM TrackPoint&amp;quot; &amp;quot;Wheel Emulation Y Axis&amp;quot; 8 4 5&lt;br /&gt;
&lt;br /&gt;
* reboot your system.&lt;br /&gt;
&lt;br /&gt;
This _should_ enable trackpoint scrolling that will be durable through suspend/resumes. &lt;br /&gt;
&lt;br /&gt;
At some point they will fix the upstream evdev package, and/or adjust other configs. You may see this suddenly stop working after an update (evdev was updated but this fix wasn't in the update); in which case, re-run the steps above to create an updated patched evdev (hopefully). Or the update may carry an upstream fix; latest word in the bug is that the unstable upstream debian packages work out of the box. In which case you should simply come back and reexamine whether the xinput lines in the  .profile are still necessary at a later date, or you can use the more canonical HAL profile to control the trackpoint properties.&lt;br /&gt;
&lt;br /&gt;
==Rotating the Screen==&lt;br /&gt;
&lt;br /&gt;
A classic gripe of linux tablet users is that they can rotate the screen but the digitizer does not rotate with it automatically. This can render the portrait &amp;quot;tablet&amp;quot; configuration useless. &lt;br /&gt;
&lt;br /&gt;
The wacom driver actually has the capability to rotate as well. A script has been developed to both rotate the display and the wacom driver:&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Wacom_Serial_Tablet_PC_Stylus&lt;br /&gt;
&lt;br /&gt;
The last version of the script (for linuxwacom 8.1) appears to work on the x200, in 8.10, after using the other xorg display and wacom modifications above.&lt;br /&gt;
&lt;br /&gt;
''However'' after a few days I have noticed some instability and odd behaviour with it. If anyone would like to have a look at it, please feel free to post a correction here. &lt;br /&gt;
&lt;br /&gt;
Once you have copied the script to your local system, you can use the normal key binding facilities in gnome or kde to bind your rotation key to it. &lt;br /&gt;
&lt;br /&gt;
If anyone has any idea how to receive and act automatically on signals from the sensor inside the x200 tablet's screen hinge, please post it!&lt;br /&gt;
&lt;br /&gt;
==Fan==&lt;br /&gt;
&lt;br /&gt;
'''WARNING: USE AT YOUR OWN RISK'''&lt;br /&gt;
&lt;br /&gt;
Monitor the temperatures of harddisk, gpu and cpu when controlling fan speed.&lt;br /&gt;
&lt;br /&gt;
Software fan control is dangerous, and can shorten the life of a laptop or even destroy it. For a detailed discussion and warning from the kernel maintainer, see [http://www.nabble.com/tpfand-configuration-for-an-X200s-td20777095.html this thread, which happens to be an X200s user asking for help].&lt;br /&gt;
&lt;br /&gt;
As reported elsewhere, the fan seems to run constantly while the machine is on under 8.04 and 8.10 (though not at 100% speed).&lt;br /&gt;
&lt;br /&gt;
The fan can be made less noisy by installing the tpfand packages. &lt;br /&gt;
&lt;br /&gt;
* First add the tpfand repository. Instructions are [http://www.gambitchess.org/mediawiki/index.php/ThinkPad_Fan_Control here]&lt;br /&gt;
&lt;br /&gt;
* Then install the packages.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install tpfand tpfand-admin &lt;br /&gt;
&lt;br /&gt;
There is currently no tpfand profile for the x200, but you can set the thresholds and power settings for all fans easily with the thinkpad fan control software. Here are the settings from my /etc/tpfand.conf as a starting point. Use the sensors applet to control and monitor temperatures of cpu, gpu and harddisk (see below)!&lt;br /&gt;
&lt;br /&gt;
 #... &lt;br /&gt;
 0. CPU = 0:0 50:7 &lt;br /&gt;
 1. Mini PCI = 0:0 55:4 &lt;br /&gt;
 2. Sensor 2 = 0:255 &lt;br /&gt;
 3. GPU = 0:0 55:5 &lt;br /&gt;
 4. Bat0 = 0:0 35:3 &lt;br /&gt;
 5. Sensor 5 = 0:255 &lt;br /&gt;
 6. Bat1 = 0:0 35:3 &lt;br /&gt;
 7. Sensor 7 = 0:255 &lt;br /&gt;
 8. MB? = 0:0 45:2 &lt;br /&gt;
 9. MB? = 0:0 55:3 &lt;br /&gt;
 10. Sensor 10 = 0:255 &lt;br /&gt;
 11. Sensor 11 = 0:255 &lt;br /&gt;
 12. Sensor 12 = 0:255 &lt;br /&gt;
 13. Sensor 13 = 0:255 &lt;br /&gt;
 14. Sensor 14 = 0:255 &lt;br /&gt;
 15. Sensor 15 = 0:255 &lt;br /&gt;
 #...&lt;br /&gt;
&lt;br /&gt;
These settings achieve the following:&lt;br /&gt;
* fan runs at 15% if the system is idle. This is very quiet, while still having airflow through the system&lt;br /&gt;
* if MB2&amp;gt;55° or BAT&amp;gt;35°, fan runs at 30%&lt;br /&gt;
* if MiniPCI&amp;gt;55° fan 45%&lt;br /&gt;
* if GPU&amp;gt;55 fan 60%&lt;br /&gt;
* if CPU&amp;gt;50 fan 90%&lt;br /&gt;
The net effect is that a busy system will run the fan between 45%-90% depending on load. &lt;br /&gt;
&lt;br /&gt;
The above settings are for the X200 (without an s) as is all the information on this page. Don't know why somebody messes this page up with stuff about the X200s and sinister warnings. &lt;br /&gt;
&lt;br /&gt;
(Warnings are cheap. New laptops are not. When you have a '''&amp;quot;sinister warning&amp;quot;''' about tpfand from [http://www.nabble.com/tpfand-configuration-for-an-X200s-td20777095.html the maintainer of the thinkpad fan code in the kernel himself], I don't know why this section is even here - it's not safe. Even so I say leave it, but just make sure there is a big warning.)&lt;br /&gt;
&lt;br /&gt;
The sensor names were deduced by matching sensor readings between tpfand and acpi temperatures.&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Thermal_Sensors&amp;diff=38521</id>
		<title>Thermal Sensors</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Thermal_Sensors&amp;diff=38521"/>
		<updated>2008-08-11T10:34:37Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* ThinkPad {{T61}} */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page summarizes known information about the locations and properties of thermal sensors on ThinkPad laptops. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Accessing the sensors==&lt;br /&gt;
&lt;br /&gt;
===Basic ACPI system temperature sensors===&lt;br /&gt;
The primary means of accessing the thermal sensors is through the [[ibm-acpi]] module.  Up to Linux 2.6.19, ibm-acpi supported only 8 sensors, but since Linux 2.6.20-rc2, up to 16 sensors are supported.  When the module is loaded, the sensors (some of which may be inactive) are shown in {{path|/proc/acpi/ibm/thermal}}:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /proc/acpi/ibm/thermal}}&lt;br /&gt;
:{{cmdresult|temperatures:   44 41 33 42 33 -128 30 -128}}&lt;br /&gt;
&lt;br /&gt;
A value of -128 (i.e., 0x80 hex) means the sensor is not connected. For example, above the two -128 values belong to the UltraBay battery, which is not plugged in.&lt;br /&gt;
&lt;br /&gt;
If the ThinkPad supports the extended sensor set, eight more values will be displayed:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /proc/acpi/ibm/thermal}}&lt;br /&gt;
:{{cmdresult|temperatures:   44 41 33 42 33 -128 30 -128 48 50 49 -128 -128 -128 -128 -128}}&lt;br /&gt;
&lt;br /&gt;
====Patch for accessing the extra ACPI sensors through &amp;lt;tt&amp;gt;thermal&amp;lt;/tt&amp;gt;====&lt;br /&gt;
If you don't use a recent-enough [[ibm-acpi]], you can patch it to make the extra 3 sensors show up on {{path|/proc/acpi/ibm/thermal}} just like the 8 basic sensors, apply the {{CodeRef|ibm_acpi-extra-thermal.patch}} kernel patch to [[ibm-acpi]].&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /proc/acpi/ibm/thermal}}&lt;br /&gt;
:{{cmdresult|temperatures:   44 41 33 42 33 -128 30 -128 40 48 43}}&lt;br /&gt;
&lt;br /&gt;
If you apply this patch in conjunction with [[ACPI_fan_control_script#Comprehensive_bash_script_with_fine_control_over_fan_speed|tp-fancontrol]], you'll need tp-fancontrol 0.2.9 or newer.&lt;br /&gt;
&lt;br /&gt;
===Accessing the thermal sensors through &amp;lt;tt&amp;gt;ecdump&amp;lt;/tt&amp;gt;===&lt;br /&gt;
Load [[ibm-acpi]] with the &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; option, and parse {{path|/proc/acpi/ibm/ecdump}}.  The 8 basic sensors are on offsets 0x78-0x7f, and the extended sensors (if supported) are on offsets 0xc0-0xc7.&lt;br /&gt;
&lt;br /&gt;
To read the first three extended sensors:&lt;br /&gt;
:{{cmdroot|perl -ne 'm/^EC 0xc0: .(..) .(..) .(..) / or next; print hex($1).&amp;quot; &amp;quot;.hex($2).&amp;quot; &amp;quot;.hex($3).&amp;quot;\n&amp;quot;' &amp;lt; /proc/acpi/ibm/ecdump}}&lt;br /&gt;
:{{cmdresult|40 48 43}}&lt;br /&gt;
&lt;br /&gt;
Future models might provide additional extra sensors beyond those three. To see all candidates:&lt;br /&gt;
:{{cmdroot|perl -ne 'print join(&amp;quot; &amp;quot;,map(hex,m/\w+/g)).&amp;quot;\n&amp;quot; if s/^EC 0xc0://' &amp;lt; /proc/acpi/ibm/ecdump}}&lt;br /&gt;
:{{cmdresult|40 48 43 128 128 128 128 128 0 0 0 0 0 0 0 0}}&lt;br /&gt;
&lt;br /&gt;
{{WARN|'''ecdump''' is not a playground, and even just reading it causes side-effects to the ThinkPad.  The ibm-acpi maintainer wants to make it clear that he considers it a very dumb idea to use ecdump constantly in a script}}&lt;br /&gt;
&lt;br /&gt;
===HDAPS temperature sensor===&lt;br /&gt;
The [[Active Protection System]] accelerometer also reports a temperature, which is identical to one of the ACPI sensors. The corresponding sensor is actually not inside the HDAPS chip, but fairly close.&lt;br /&gt;
:{{cmdroot|cat /sys/bus/platform/drivers/hdaps/hdaps/temp1}}&lt;br /&gt;
:{{cmdresult|41}}&lt;br /&gt;
&lt;br /&gt;
===Harddisks SMART temperature sensor===&lt;br /&gt;
The system hard disk temperature can be read through the disk's SMART interface:&lt;br /&gt;
:{{cmdroot|&amp;lt;nowiki&amp;gt;smartctl -A /dev/hda | grep Temperature&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:{{cmdresult|194 Temperature_Celsius     0x0022   145   097   000    Old_age   Always       -       31}}&lt;br /&gt;
&lt;br /&gt;
Or, for SATA-equipped models running a recent Linux kernel (see [[Problems with SATA and Linux]]):&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|&amp;lt;nowiki&amp;gt;smartctl -A -d ata /dev/sda | grep Temperature&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:{{cmdresult|194 Temperature_Celsius     0x0022   145   097   000    Old_age   Always       -       31}}&lt;br /&gt;
&lt;br /&gt;
When the [[UltraBay Slim HDD Adapter]] or [[UltraBay Slim SATA HDD Adapter]] are used, the second hard disk will typically provide another temperature readout via its SMART interface, analogously to the above.&lt;br /&gt;
&lt;br /&gt;
Reading this sensor will typically cause a drive spin-up and head unload.&lt;br /&gt;
&lt;br /&gt;
===Hitachi harddisks &amp;lt;tt&amp;gt;SENSE CONDITION&amp;lt;/tt&amp;gt; temperature sensor===&lt;br /&gt;
&lt;br /&gt;
Recent Hitachi disks provide a non-standard &amp;lt;tt&amp;gt;SENSE CONDITION&amp;lt;/tt&amp;gt; command which reads the disk temperature without causing a spin-up or head load. The reported value is the same as when using SMART. This can be invoked, e.g., using {{cmdroot|hdparm -H}}, or the relevant code in {{CodeRef|tp-fancontrol}}. When using the  &amp;lt;tt&amp;gt;libata&amp;lt;/tt&amp;gt; driver, this requires kernel &amp;gt;= 2.6.19-rc1.&lt;br /&gt;
&lt;br /&gt;
==Utilities for viewing temperatures==&lt;br /&gt;
&lt;br /&gt;
The following utilities display the ThinkPad-specific thermal sensor readouts:&lt;br /&gt;
* The above shell commands.&lt;br /&gt;
* The &amp;quot;Sensors&amp;quot; builtin of [[GKrellM]] can show 6 specific ACPI sensors (out of up to 11).&lt;br /&gt;
* [http://www.elliptique.net/~ken/kima/ Kima] is a KDE applet that can display the 8 first ACPI sensors as well as the HDAPS sensor.&lt;br /&gt;
* [http://www.kraus.tk/projects/IBMDoK/ IBMDoK], another KDE applet. Shows 4 specific sensors (out of up to 11). So far only tested at the {{T60}}.&lt;br /&gt;
* There is an [http://munin.projects.linpro.no/wiki/plugin-ibm_acpi ibm_acpi plugin] for [http://munin.projects.linpro.no/ Munin].&lt;br /&gt;
* [http://sensors-applet.sourceforge.net/ GNOME Sensors Applet] supports ibm_acpi.&lt;br /&gt;
&lt;br /&gt;
==Sensor locations==&lt;br /&gt;
This information is model specific.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{A31}}===&lt;br /&gt;
Found by Milos Popovic using cooling spray to cool down components on a completely removed, running motherboard, to locate the sensors.  Also reported [http://forum.thinkpads.com/viewtopic.php?t=31837 here].&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    Battery        (this one heats up when on battery power)&lt;br /&gt;
 0x7A        3                    Power          (sensor near power diodes and CPU; heats up when high power consumption, has crosstalk from CPU)&lt;br /&gt;
 0x7B        4                    Ultrabay 2000 battery?&lt;br /&gt;
 0x7C        5                    Northbridge    (sensor next to Northbridge, also somewhat near GPU)&lt;br /&gt;
 0x7D        6                    PCMCIA/ambient (sensor is a National Semiconductor LM75 Digital Temperature Sensor/Thermal Watchdog chip&lt;br /&gt;
                                                  next to the 9-pin VGA connector; sits right under PCMCIA slots but doesn't touch)&lt;br /&gt;
 0x7E        7                    Battery        (this one stays near ambient temperature, even when on battery power)&lt;br /&gt;
 0x7F        8                    Ultrabay 2000 battery?&lt;br /&gt;
 0xC0        none                 zero&lt;br /&gt;
 0xC1        none                 zero&lt;br /&gt;
 0xC2        none                 zero&lt;br /&gt;
The following photos (resolution reduced for server space) show the locations found for the listed temperature sensors.&lt;br /&gt;
{{gallery_start}}&lt;br /&gt;
{{thumb|A31_2652M3U_systemboardtop_DSCN6105_tempsensors_lores.jpg|ThinkPad A31 sensor locations on top of motherboard.}}&lt;br /&gt;
{{thumb|A31_2652M3U_systemboardbottom_DSCN6105_tempsensors_lores.jpg|ThinkPad A31 sensor locations on bottom of motherboard.}}&lt;br /&gt;
{{gallery_end}}&lt;br /&gt;
On this A31 systemboard (FRU 26P8398), there is a [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2313 Maxim MAX1668] 5-channel remote/local temperature sensor (4 remote + 1 self temperature) on top of the systemboard, and a [http://www.national.com/pf/LM/LM75.html National Semiconductor LM75] single-channel &amp;quot;digital temperature sensor and thermal watchdog&amp;quot; chip.  It would appear that the LM75 has the ability to hard shutdown the processor (without software intervention) if its temperature exceeds a given threshold.  I'm not sure if it is wired for this, nor whether the Thinkpad changes the threshold temperature from the chip's power-up default of 80Â°C.  A software application with drivers on the LM75 webpage is available that claims to allow direct access to the thermal sensor chip (this hasn't been tried, but could be useful in other models to determine if this sensor is somewhere on the MB, and which register it corresponds to).  The MAX1668's self-temperature reading does not appear anywhere in the above temperature registers; it's not clear whether it is read at all, and whether it is to be found elsewhere in the EC memory.  These two chips (LM75 and MAX1668) account for some of the sensors.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{R51}}===&lt;br /&gt;
The [[ibm-acpi]] documentation includes the report by Thomas Gruber:&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    Mini-PCI&lt;br /&gt;
 0x7A        3                    HDD&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    System battery&lt;br /&gt;
 0x7D        6                    UltraBay battery&lt;br /&gt;
 0x7E        7                    System battery&lt;br /&gt;
 0x7F        8                    UltraBay battery&lt;br /&gt;
 0xC0        none                 ?&lt;br /&gt;
 0xC1        none                 ?&lt;br /&gt;
 0xC2        none                 ?&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T40}}===&lt;br /&gt;
The location of one of the sensors is identified [http://forum.thinkpads.com/viewtopic.php?t=11574 here].&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    System board under rear left corner of Mini-PCI module&lt;br /&gt;
 0x7A        3                    ?&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    Battery&lt;br /&gt;
 0x7D        6                    n/a&lt;br /&gt;
 0x7E        7                    Battery&lt;br /&gt;
 0x7F        8                    n/a&lt;br /&gt;
 0xC0        none                 n/a&lt;br /&gt;
 0xC1        none                 n/a&lt;br /&gt;
 0xC2        none                 n/a&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T43}}, {{T43p}}===&lt;br /&gt;
Found by Shmidoax using cooling spray to cool down components and observe the effect on the sensors.&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    Between PCMCIA slot and CPU (same as HDAPS module)&lt;br /&gt;
 0x7A        3                    PCMCIA slot&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    System battery (front left = charging circuit)&lt;br /&gt;
 0x7D        6                    UltraBay battery&lt;br /&gt;
 0x7E        7                    System battery (rear right)&lt;br /&gt;
 0x7F        8                    UltraBay battery&lt;br /&gt;
 0xC0        none                 Bus between Northbridge and DRAM; Ethernet chip&lt;br /&gt;
 0xC1        none                 Southbridge, WLAN and clock generator (under Mini-PCI card, under touchpad)&lt;br /&gt;
 0xC2        none                 Power circuitry, on underside of system board under F2 key&lt;br /&gt;
{{gallery_start}}&lt;br /&gt;
{{thumb|T43-thermal-sensors.jpg|ThinkPad T43 sensor locations}}&lt;br /&gt;
{{thumb|T43-2668-thermal-sensors-zoom.jpg|ThinkPad T43 sensor locations detail}}&lt;br /&gt;
{{thumb|T43p-H8S2161.jpg|ThinkPad T43/p 26xx Embedded Controller Renesas H8S/2161BV}}&lt;br /&gt;
{{gallery_end}}&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T60}}===&lt;br /&gt;
Found by Marco Kraus for use in [http://www.kraus.tk/projects/IBMDoK/ IBMDok].&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU 0&lt;br /&gt;
 0x79        2                    HDD&lt;br /&gt;
 0x7A        3                    HDD&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    Battery&lt;br /&gt;
 0x7D        6                    n/a&lt;br /&gt;
 0x7E        7                    Battery&lt;br /&gt;
 0x7F        8                    n/a&lt;br /&gt;
 0xC0        none                 ?&lt;br /&gt;
 0xC1        none                 ?&lt;br /&gt;
 0xC2        none                 ?&lt;br /&gt;
&lt;br /&gt;
The CPU thermal sensors seem to be exposed in both {{path|/proc/acpi/thermal_zone/THM0/temperature}} and {{path|/proc/acpi/thermal_zone/THM1/temperature}}, though the latter curiously seems to exist only in this file and nowhere in {{path|/proc/acpi/ibm/ecdump}}.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T61}}===&lt;br /&gt;
Found By Daniel Castro. There are two sensors for the battery but I'm not sure of the difference or exact location of them. There are still 3 sensors that I couldn't figure out. If anyone can help please update it.&lt;br /&gt;
&lt;br /&gt;
 Index in &amp;quot;thermal&amp;quot;   Location&lt;br /&gt;
 1                    CPU&lt;br /&gt;
 2                    MiniPCI&lt;br /&gt;
 3                    HDD&lt;br /&gt;
 4                    n/a (-128)&lt;br /&gt;
 5                    Battery 1&lt;br /&gt;
 6                    n/a (-128)&lt;br /&gt;
 7                    Battery 2&lt;br /&gt;
 8                    n/a (-128)&lt;br /&gt;
 9                    ?&lt;br /&gt;
 10                   ?&lt;br /&gt;
 11                   ?&lt;br /&gt;
 12                   n/a (-128)&lt;br /&gt;
 13                   n/a (-128)&lt;br /&gt;
 14                   n/a (-128)&lt;br /&gt;
 15                   n/a (-128)&lt;br /&gt;
 16                   n/a (-128)&lt;br /&gt;
&lt;br /&gt;
The reading for Battery 1 is always 50C, even right after turning the computer on, and it never seems to change, so I monitor the other one.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 23:44, 10 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{X31}}===&lt;br /&gt;
I figured these out by myself ([[User:BDKMPSS|BDKMPSS]]), as there are just a few available, this wasn't a huge problem. I verified my presumptions with a contactless thermometer.&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    n/a&lt;br /&gt;
 0x7A        3                    GPU?&lt;br /&gt;
 0x7B        4                    near or the ICH4M Southbrige, on the back of the Motherboard&lt;br /&gt;
 0x7C        5                    Battery&lt;br /&gt;
 0x7D        6                    Extended-Life-Battery; may also UltraBay battery&lt;br /&gt;
 0x7E        7                    Battery&lt;br /&gt;
 0x7F        8                    Extended-Life-Battery; may also UltraBay battery&lt;br /&gt;
 0xC0        none                 n/a&lt;br /&gt;
 0xC1        none                 n/a&lt;br /&gt;
 0xC2        none                 n/a&lt;br /&gt;
&lt;br /&gt;
0x7A &amp;quot;GPU?&amp;quot; is pretty hot and seems like the GPU, but as the Chipset and the GPU are cooled with the same heatsink it is difficult to separate them without roasting the machine. However the left and GPU side of the heatsink is much closer to the shown value than the right Chipset side.&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Thermal_Sensors&amp;diff=38513</id>
		<title>Thermal Sensors</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Thermal_Sensors&amp;diff=38513"/>
		<updated>2008-08-10T21:44:36Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* ThinkPad {{T60}} */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This page summarizes known information about the locations and properties of thermal sensors on ThinkPad laptops. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Accessing the sensors==&lt;br /&gt;
&lt;br /&gt;
===Basic ACPI system temperature sensors===&lt;br /&gt;
The primary means of accessing the thermal sensors is through the [[ibm-acpi]] module.  Up to Linux 2.6.19, ibm-acpi supported only 8 sensors, but since Linux 2.6.20-rc2, up to 16 sensors are supported.  When the module is loaded, the sensors (some of which may be inactive) are shown in {{path|/proc/acpi/ibm/thermal}}:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /proc/acpi/ibm/thermal}}&lt;br /&gt;
:{{cmdresult|temperatures:   44 41 33 42 33 -128 30 -128}}&lt;br /&gt;
&lt;br /&gt;
A value of -128 (i.e., 0x80 hex) means the sensor is not connected. For example, above the two -128 values belong to the UltraBay battery, which is not plugged in.&lt;br /&gt;
&lt;br /&gt;
If the ThinkPad supports the extended sensor set, eight more values will be displayed:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /proc/acpi/ibm/thermal}}&lt;br /&gt;
:{{cmdresult|temperatures:   44 41 33 42 33 -128 30 -128 48 50 49 -128 -128 -128 -128 -128}}&lt;br /&gt;
&lt;br /&gt;
====Patch for accessing the extra ACPI sensors through &amp;lt;tt&amp;gt;thermal&amp;lt;/tt&amp;gt;====&lt;br /&gt;
If you don't use a recent-enough [[ibm-acpi]], you can patch it to make the extra 3 sensors show up on {{path|/proc/acpi/ibm/thermal}} just like the 8 basic sensors, apply the {{CodeRef|ibm_acpi-extra-thermal.patch}} kernel patch to [[ibm-acpi]].&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|cat /proc/acpi/ibm/thermal}}&lt;br /&gt;
:{{cmdresult|temperatures:   44 41 33 42 33 -128 30 -128 40 48 43}}&lt;br /&gt;
&lt;br /&gt;
If you apply this patch in conjunction with [[ACPI_fan_control_script#Comprehensive_bash_script_with_fine_control_over_fan_speed|tp-fancontrol]], you'll need tp-fancontrol 0.2.9 or newer.&lt;br /&gt;
&lt;br /&gt;
===Accessing the thermal sensors through &amp;lt;tt&amp;gt;ecdump&amp;lt;/tt&amp;gt;===&lt;br /&gt;
Load [[ibm-acpi]] with the &amp;lt;tt&amp;gt;experimental=1&amp;lt;/tt&amp;gt; option, and parse {{path|/proc/acpi/ibm/ecdump}}.  The 8 basic sensors are on offsets 0x78-0x7f, and the extended sensors (if supported) are on offsets 0xc0-0xc7.&lt;br /&gt;
&lt;br /&gt;
To read the first three extended sensors:&lt;br /&gt;
:{{cmdroot|perl -ne 'm/^EC 0xc0: .(..) .(..) .(..) / or next; print hex($1).&amp;quot; &amp;quot;.hex($2).&amp;quot; &amp;quot;.hex($3).&amp;quot;\n&amp;quot;' &amp;lt; /proc/acpi/ibm/ecdump}}&lt;br /&gt;
:{{cmdresult|40 48 43}}&lt;br /&gt;
&lt;br /&gt;
Future models might provide additional extra sensors beyond those three. To see all candidates:&lt;br /&gt;
:{{cmdroot|perl -ne 'print join(&amp;quot; &amp;quot;,map(hex,m/\w+/g)).&amp;quot;\n&amp;quot; if s/^EC 0xc0://' &amp;lt; /proc/acpi/ibm/ecdump}}&lt;br /&gt;
:{{cmdresult|40 48 43 128 128 128 128 128 0 0 0 0 0 0 0 0}}&lt;br /&gt;
&lt;br /&gt;
{{WARN|'''ecdump''' is not a playground, and even just reading it causes side-effects to the ThinkPad.  The ibm-acpi maintainer wants to make it clear that he considers it a very dumb idea to use ecdump constantly in a script}}&lt;br /&gt;
&lt;br /&gt;
===HDAPS temperature sensor===&lt;br /&gt;
The [[Active Protection System]] accelerometer also reports a temperature, which is identical to one of the ACPI sensors. The corresponding sensor is actually not inside the HDAPS chip, but fairly close.&lt;br /&gt;
:{{cmdroot|cat /sys/bus/platform/drivers/hdaps/hdaps/temp1}}&lt;br /&gt;
:{{cmdresult|41}}&lt;br /&gt;
&lt;br /&gt;
===Harddisks SMART temperature sensor===&lt;br /&gt;
The system hard disk temperature can be read through the disk's SMART interface:&lt;br /&gt;
:{{cmdroot|&amp;lt;nowiki&amp;gt;smartctl -A /dev/hda | grep Temperature&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:{{cmdresult|194 Temperature_Celsius     0x0022   145   097   000    Old_age   Always       -       31}}&lt;br /&gt;
&lt;br /&gt;
Or, for SATA-equipped models running a recent Linux kernel (see [[Problems with SATA and Linux]]):&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|&amp;lt;nowiki&amp;gt;smartctl -A -d ata /dev/sda | grep Temperature&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
:{{cmdresult|194 Temperature_Celsius     0x0022   145   097   000    Old_age   Always       -       31}}&lt;br /&gt;
&lt;br /&gt;
When the [[UltraBay Slim HDD Adapter]] or [[UltraBay Slim SATA HDD Adapter]] are used, the second hard disk will typically provide another temperature readout via its SMART interface, analogously to the above.&lt;br /&gt;
&lt;br /&gt;
Reading this sensor will typically cause a drive spin-up and head unload.&lt;br /&gt;
&lt;br /&gt;
===Hitachi harddisks &amp;lt;tt&amp;gt;SENSE CONDITION&amp;lt;/tt&amp;gt; temperature sensor===&lt;br /&gt;
&lt;br /&gt;
Recent Hitachi disks provide a non-standard &amp;lt;tt&amp;gt;SENSE CONDITION&amp;lt;/tt&amp;gt; command which reads the disk temperature without causing a spin-up or head load. The reported value is the same as when using SMART. This can be invoked, e.g., using {{cmdroot|hdparm -H}}, or the relevant code in {{CodeRef|tp-fancontrol}}. When using the  &amp;lt;tt&amp;gt;libata&amp;lt;/tt&amp;gt; driver, this requires kernel &amp;gt;= 2.6.19-rc1.&lt;br /&gt;
&lt;br /&gt;
==Utilities for viewing temperatures==&lt;br /&gt;
&lt;br /&gt;
The following utilities display the ThinkPad-specific thermal sensor readouts:&lt;br /&gt;
* The above shell commands.&lt;br /&gt;
* The &amp;quot;Sensors&amp;quot; builtin of [[GKrellM]] can show 6 specific ACPI sensors (out of up to 11).&lt;br /&gt;
* [http://www.elliptique.net/~ken/kima/ Kima] is a KDE applet that can display the 8 first ACPI sensors as well as the HDAPS sensor.&lt;br /&gt;
* [http://www.kraus.tk/projects/IBMDoK/ IBMDoK], another KDE applet. Shows 4 specific sensors (out of up to 11). So far only tested at the {{T60}}.&lt;br /&gt;
* There is an [http://munin.projects.linpro.no/wiki/plugin-ibm_acpi ibm_acpi plugin] for [http://munin.projects.linpro.no/ Munin].&lt;br /&gt;
* [http://sensors-applet.sourceforge.net/ GNOME Sensors Applet] supports ibm_acpi.&lt;br /&gt;
&lt;br /&gt;
==Sensor locations==&lt;br /&gt;
This information is model specific.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{A31}}===&lt;br /&gt;
Found by Milos Popovic using cooling spray to cool down components on a completely removed, running motherboard, to locate the sensors.  Also reported [http://forum.thinkpads.com/viewtopic.php?t=31837 here].&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    Battery        (this one heats up when on battery power)&lt;br /&gt;
 0x7A        3                    Power          (sensor near power diodes and CPU; heats up when high power consumption, has crosstalk from CPU)&lt;br /&gt;
 0x7B        4                    Ultrabay 2000 battery?&lt;br /&gt;
 0x7C        5                    Northbridge    (sensor next to Northbridge, also somewhat near GPU)&lt;br /&gt;
 0x7D        6                    PCMCIA/ambient (sensor is a National Semiconductor LM75 Digital Temperature Sensor/Thermal Watchdog chip&lt;br /&gt;
                                                  next to the 9-pin VGA connector; sits right under PCMCIA slots but doesn't touch)&lt;br /&gt;
 0x7E        7                    Battery        (this one stays near ambient temperature, even when on battery power)&lt;br /&gt;
 0x7F        8                    Ultrabay 2000 battery?&lt;br /&gt;
 0xC0        none                 zero&lt;br /&gt;
 0xC1        none                 zero&lt;br /&gt;
 0xC2        none                 zero&lt;br /&gt;
The following photos (resolution reduced for server space) show the locations found for the listed temperature sensors.&lt;br /&gt;
{{gallery_start}}&lt;br /&gt;
{{thumb|A31_2652M3U_systemboardtop_DSCN6105_tempsensors_lores.jpg|ThinkPad A31 sensor locations on top of motherboard.}}&lt;br /&gt;
{{thumb|A31_2652M3U_systemboardbottom_DSCN6105_tempsensors_lores.jpg|ThinkPad A31 sensor locations on bottom of motherboard.}}&lt;br /&gt;
{{gallery_end}}&lt;br /&gt;
On this A31 systemboard (FRU 26P8398), there is a [http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2313 Maxim MAX1668] 5-channel remote/local temperature sensor (4 remote + 1 self temperature) on top of the systemboard, and a [http://www.national.com/pf/LM/LM75.html National Semiconductor LM75] single-channel &amp;quot;digital temperature sensor and thermal watchdog&amp;quot; chip.  It would appear that the LM75 has the ability to hard shutdown the processor (without software intervention) if its temperature exceeds a given threshold.  I'm not sure if it is wired for this, nor whether the Thinkpad changes the threshold temperature from the chip's power-up default of 80Â°C.  A software application with drivers on the LM75 webpage is available that claims to allow direct access to the thermal sensor chip (this hasn't been tried, but could be useful in other models to determine if this sensor is somewhere on the MB, and which register it corresponds to).  The MAX1668's self-temperature reading does not appear anywhere in the above temperature registers; it's not clear whether it is read at all, and whether it is to be found elsewhere in the EC memory.  These two chips (LM75 and MAX1668) account for some of the sensors.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{R51}}===&lt;br /&gt;
The [[ibm-acpi]] documentation includes the report by Thomas Gruber:&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    Mini-PCI&lt;br /&gt;
 0x7A        3                    HDD&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    System battery&lt;br /&gt;
 0x7D        6                    UltraBay battery&lt;br /&gt;
 0x7E        7                    System battery&lt;br /&gt;
 0x7F        8                    UltraBay battery&lt;br /&gt;
 0xC0        none                 ?&lt;br /&gt;
 0xC1        none                 ?&lt;br /&gt;
 0xC2        none                 ?&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T40}}===&lt;br /&gt;
The location of one of the sensors is identified [http://forum.thinkpads.com/viewtopic.php?t=11574 here].&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    System board under rear left corner of Mini-PCI module&lt;br /&gt;
 0x7A        3                    ?&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    Battery&lt;br /&gt;
 0x7D        6                    n/a&lt;br /&gt;
 0x7E        7                    Battery&lt;br /&gt;
 0x7F        8                    n/a&lt;br /&gt;
 0xC0        none                 n/a&lt;br /&gt;
 0xC1        none                 n/a&lt;br /&gt;
 0xC2        none                 n/a&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T43}}, {{T43p}}===&lt;br /&gt;
Found by Shmidoax using cooling spray to cool down components and observe the effect on the sensors.&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    Between PCMCIA slot and CPU (same as HDAPS module)&lt;br /&gt;
 0x7A        3                    PCMCIA slot&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    System battery (front left = charging circuit)&lt;br /&gt;
 0x7D        6                    UltraBay battery&lt;br /&gt;
 0x7E        7                    System battery (rear right)&lt;br /&gt;
 0x7F        8                    UltraBay battery&lt;br /&gt;
 0xC0        none                 Bus between Northbridge and DRAM; Ethernet chip&lt;br /&gt;
 0xC1        none                 Southbridge, WLAN and clock generator (under Mini-PCI card, under touchpad)&lt;br /&gt;
 0xC2        none                 Power circuitry, on underside of system board under F2 key&lt;br /&gt;
{{gallery_start}}&lt;br /&gt;
{{thumb|T43-thermal-sensors.jpg|ThinkPad T43 sensor locations}}&lt;br /&gt;
{{thumb|T43-2668-thermal-sensors-zoom.jpg|ThinkPad T43 sensor locations detail}}&lt;br /&gt;
{{thumb|T43p-H8S2161.jpg|ThinkPad T43/p 26xx Embedded Controller Renesas H8S/2161BV}}&lt;br /&gt;
{{gallery_end}}&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T60}}===&lt;br /&gt;
Found by Marco Kraus for use in [http://www.kraus.tk/projects/IBMDoK/ IBMDok].&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU 0&lt;br /&gt;
 0x79        2                    HDD&lt;br /&gt;
 0x7A        3                    HDD&lt;br /&gt;
 0x7B        4                    GPU&lt;br /&gt;
 0x7C        5                    Battery&lt;br /&gt;
 0x7D        6                    n/a&lt;br /&gt;
 0x7E        7                    Battery&lt;br /&gt;
 0x7F        8                    n/a&lt;br /&gt;
 0xC0        none                 ?&lt;br /&gt;
 0xC1        none                 ?&lt;br /&gt;
 0xC2        none                 ?&lt;br /&gt;
&lt;br /&gt;
The CPU thermal sensors seem to be exposed in both {{path|/proc/acpi/thermal_zone/THM0/temperature}} and {{path|/proc/acpi/thermal_zone/THM1/temperature}}, though the latter curiously seems to exist only in this file and nowhere in {{path|/proc/acpi/ibm/ecdump}}.&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{T61}}===&lt;br /&gt;
Found By Daniel Castro. There are two sensors for the battery but I'm not sure of the difference or exact location of them. There are still 3 sensors that I couldn't figure out. If anyone can help please update it.&lt;br /&gt;
&lt;br /&gt;
 Index in &amp;quot;thermal&amp;quot;   Location&lt;br /&gt;
 1                    CPU&lt;br /&gt;
 2                    MiniPCI&lt;br /&gt;
 3                    HDD&lt;br /&gt;
 4                    n/a (-128)&lt;br /&gt;
 5                    Battery 1&lt;br /&gt;
 6                    n/a (-128)&lt;br /&gt;
 7                    Battery 2&lt;br /&gt;
 8                    n/a (-128)&lt;br /&gt;
 9                    ?&lt;br /&gt;
 10                   ?&lt;br /&gt;
 11                   ?&lt;br /&gt;
 12                   n/a (-128)&lt;br /&gt;
 13                   n/a (-128)&lt;br /&gt;
 14                   n/a (-128)&lt;br /&gt;
 15                   n/a (-128)&lt;br /&gt;
 16                   n/a (-128)&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 23:44, 10 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
===ThinkPad {{X31}}===&lt;br /&gt;
I figured these out by myself ([[User:BDKMPSS|BDKMPSS]]), as there are just a few available, this wasn't a huge problem. I verified my presumptions with a contactless thermometer.&lt;br /&gt;
 EC offset   Index in &amp;quot;thermal&amp;quot;   Location (estimated)&lt;br /&gt;
 0x78        1                    CPU&lt;br /&gt;
 0x79        2                    n/a&lt;br /&gt;
 0x7A        3                    GPU?&lt;br /&gt;
 0x7B        4                    near or the ICH4M Southbrige, on the back of the Motherboard&lt;br /&gt;
 0x7C        5                    Battery&lt;br /&gt;
 0x7D        6                    Extended-Life-Battery; may also UltraBay battery&lt;br /&gt;
 0x7E        7                    Battery&lt;br /&gt;
 0x7F        8                    Extended-Life-Battery; may also UltraBay battery&lt;br /&gt;
 0xC0        none                 n/a&lt;br /&gt;
 0xC1        none                 n/a&lt;br /&gt;
 0xC2        none                 n/a&lt;br /&gt;
&lt;br /&gt;
0x7A &amp;quot;GPU?&amp;quot; is pretty hot and seems like the GPU, but as the Chipset and the GPU are cooled with the same heatsink it is difficult to separate them without roasting the machine. However the left and GPU side of the heatsink is much closer to the shown value than the right Chipset side.&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38421</id>
		<title>How to enable the integrated fingerprint reader with ThinkFinger</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38421"/>
		<updated>2008-08-01T17:56:54Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Fix for the fingerprint reader getting too hot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[How to enable the fingerprint reader]] has a good explanation for using the fingerprint reader with the closed-source binary driver. But there is also an opensource project called [http://thinkfinger.sourceforge.net ThinkFinger] which does the same, but open.&lt;br /&gt;
&lt;br /&gt;
However: The fingerprint reader is an INSECURE device and gives a false sense of security! There has been quite a bit of research by a hacker named Starbug, a member of the Chaos Computer Club, Berlin, Germany. He outlined in two very good talks how to forge each and every available fingerprint sensor available at the cost of a few euros, using materials from your local hardware store, a digicam and a laser printer! Here's some links:&lt;br /&gt;
* [http://www.ccc.de/updates/2007/umsonst-im-supermarkt?language=en  Fingerprint recognition in supermarkets]&lt;br /&gt;
* [ftp://ftp.ccc.de/pub/video/Fingerabdruck_Hack/fingerabdruck.mpg?language=en Video tutorial for forging fingerprints]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
=== From source ===&lt;br /&gt;
&lt;br /&gt;
Download thinkfinger-0.3.tar.gz from the [http://thinkfinger.sourceforge.net/ homepage] and unpack it somewhere, make sure you have the gcc compiler, libtool, pkg-config, libusb-dev and libpam0g-dev installed, then:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cd thinkfinger-0.3}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;white-space:nowrap;color:#495988;background-color:white;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; ./configure --prefix=/usr --sysconfdir=/etc --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|/lib/security is the directory, where PAM assumes its modules on Debian and openSUSE, it may vary for your distro!}}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;make install&amp;quot; doesn't create the birdir we specified (where thinkfinger will store users' biometric info), so create it:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|mkdir /etc/pam_thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
If everything went OK assert that you find pam_thinkfinger.so in /lib/security typing:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|ls /lib/security}}&lt;br /&gt;
&lt;br /&gt;
=== From package ===&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
[http://packages.debian.org/source/experimental/thinkfinger Packages] arrived in Debian experimental on Aug 2nd, 2007 (cf. [http://bugs.debian.org/409563 bug #409563]). To access the experimental packages via apt, add the following lines to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# experimental&lt;br /&gt;
deb ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
deb-src ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where of course you may replace mirrors.kernel.org with your mirror of choice. Just make sure that it hosts the experimental repositories.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude update &lt;br /&gt;
aptitude install libthinkfinger0 libpam-thinkfinger thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
should then get you up and running.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
===== Hardy =====&lt;br /&gt;
&lt;br /&gt;
Hardy includes the latest thinkfinger and it is up to date with subversion.  Install packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
Update the pam configuration files:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable}}&lt;br /&gt;
&lt;br /&gt;
Enroll your fingerprint (creates $HOME/.thinkfinger.bir).  If this gives an error about claiming the USB device then reboot.  {{NOTE|Do not try to enroll using 'sudo' - it will cause hidden permission problems}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
Check fingerprint enrollment&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
You can expect everything to work correctly.  Note that you still have to enter your username if prompted but will be able&lt;br /&gt;
to swipe your finger instead of the password.  The prompt will usually be &amp;quot;Password or swipe finger&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Graphical login&lt;br /&gt;
* Text console login&lt;br /&gt;
* sudo&lt;br /&gt;
* screen lock/screen saver&lt;br /&gt;
* Administrative password prompt (eg for update or package managers).  (Note no &amp;quot;or swipe finger&amp;quot; in prompt).&lt;br /&gt;
&lt;br /&gt;
===== Gutsy =====&lt;br /&gt;
&lt;br /&gt;
From https://wiki.ubuntu.com/ThinkFinger&lt;br /&gt;
&lt;br /&gt;
Add PPA repositories to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb     http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install necessary packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools  libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
==== Fedora/Fedora Core ====&lt;br /&gt;
*Packages for Fedora Core 6 are available in &amp;quot;extras&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
*Packages for Fedora 7 are available in the &amp;quot;updates&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge sys-auth/thinkfinger&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== OpenSUSE ====&lt;br /&gt;
openSUSE 10.2 includes the package &amp;quot;libthinkfinger&amp;quot; (version 0.1-7) - you will find newer packages [http://beta1.suse.com/private/thoenig/10.2/thinkfinger/ here].&lt;br /&gt;
&lt;br /&gt;
== Testing the driver ==&lt;br /&gt;
&lt;br /&gt;
Now the driver is installed and should be working. You can try it (as root) with&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
This will ask you to swipe your finger three times, save the fingerprint to /tmp/test.bir and then verify your fingerprint with the bir-file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring PAM to use ThinkFinger ==&lt;br /&gt;
Now you can configure PAM to use ThinkFinger:&lt;br /&gt;
&lt;br /&gt;
Open {{path|/etc/pam.d/common-auth}} (In FC6, F7, and Gentoo, this file is {{path|/etc/pam.d/system-auth}}):&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|nano -w /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Add this line before any pam_unix or pam_unix2 directives:&lt;br /&gt;
 auth     sufficient     pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
If your PAM uses the pam_unix and not the pam_unix2 module, you need to pass a specific argument in&lt;br /&gt;
the /etc/pam.d/common-auth directive to make it consider the password entered at the pam_thinkfinger prompt.&lt;br /&gt;
 auth     required     pam_unix.so try_first_pass&lt;br /&gt;
&lt;br /&gt;
For instance, {{path|/etc/pam.d/common-auth}} looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
&lt;br /&gt;
On openSUSE 10.2, it looks like this now:&lt;br /&gt;
 auth    required        pam_env.so&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix2.so&lt;br /&gt;
&lt;br /&gt;
Now we are ready to add users to thinkfinger. You can add a fingerprint for a user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user $USERNAME}}&lt;br /&gt;
&lt;br /&gt;
Now the user should be able to login with his finger instead of the password.&lt;br /&gt;
&lt;br /&gt;
If you would like to use thinkfinger for su, you have to enroll the fingerprint for root user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user root}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should see the &amp;quot;Password or swipe finger:&amp;quot; prompt when trying to sudo or su. If you don't, you probably do not have the &amp;quot;User level driver support&amp;quot; compiled into your kernel or the &amp;quot;uinput&amp;quot; module loaded!}}&lt;br /&gt;
&lt;br /&gt;
== xscreensaver/gnome-screensaver ==&lt;br /&gt;
{{NOTE|In Fedora 7, the package has been modified in such a way as to make doing this unnecessary.}}&lt;br /&gt;
&lt;br /&gt;
If you'd like to be able to unlock your screen using the fingerprint reader, you must have current versions of xscreesaver (&amp;gt;~5.03) or gnome-screensaver (&amp;gt;~2.18.2). Then you must give yourself access to the fingerprint reader and your bir-file, because unlike login/gdm/su/sudo, both gnome-screensaver and xscreensaver do not run as root. The following procedure will make the fingerprint reader accessible to members of the &amp;quot;fingerprint&amp;quot; group.&lt;br /&gt;
&lt;br /&gt;
Make the group: {{cmdroot|groupadd fingerprint}}&lt;br /&gt;
&lt;br /&gt;
Save the following as {{path|/etc/udev/rules.d/60-thinkfinger.rules}} and run {{cmdroot|sudo /sbin/udevtrigger}} (you may need to reboot for this to take effect if udev trigger does not work):&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # &lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, edit {{path|/etc/pam.d/gnome-screensaver}} so that it looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Per user:&lt;br /&gt;
&lt;br /&gt;
# Add him to the group: {{cmdroot|gpasswd -a $USERNAME fingerprint}}&lt;br /&gt;
# Make him owner of his bir-file: {{cmdroot|chown $USERNAME:root /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give him read-only access to his bir-file: {{cmdroot|chmod 400 /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give &amp;quot;execute only&amp;quot; access to everyone for the /etc/pam_thinkfinger/ directory: {{cmdroot|chmod o+x /etc/pam_thinkfinger}} (WARNING: this opens up security a little).&lt;br /&gt;
&lt;br /&gt;
== GNOME ==&lt;br /&gt;
&lt;br /&gt;
{{NOTE|1=This problem should be solved if you're using sudo &amp;gt;= 1.6.9p9. Links: [http://savannah.nongnu.org/bugs/?19132], [http://www.sudo.ws/bugs/show_bug.cgi?id=180], [https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/86843]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gksu/gksudo doesn't work correctly. It just stays invisible. When starting a su privileged application such as synaptics you will not get prompted for the password. Nevertheless you can swipe your finger and it should authenticate you. Starting synaptics twice makes gksudo visible.&lt;br /&gt;
&lt;br /&gt;
There are two possibilities to solve it:&lt;br /&gt;
* Changing the string &amp;quot;Password or swipe finger:&amp;quot; to a plain &amp;quot;Password:&amp;quot; (like sudo normally would do) in the file pam/pam_thinkfinger.c of the thinkfinger source directory. Of course, in the console you will then only see a &amp;quot;Password:&amp;quot; instead of &amp;quot;Password or swipe finger:&amp;quot; but this is still more usefull than having gksu/gksudo crashing everytime.&lt;br /&gt;
* Patching libgksu with the following patch. This is also a nasty hack until a better solution is implemented.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- libgksu-2.0.3/libgksu/libgksu.c.orig	2007-06-17 16:00:24.000000000 +0200&lt;br /&gt;
+++ libgksu-2.0.3/libgksu/libgksu.c		2007-06-17 16:00:47.000000000 +0200&lt;br /&gt;
@@ -2663,7 +2663,7 @@&lt;br /&gt;
        */&lt;br /&gt;
       for (counter = 0; counter &amp;lt; 50; counter++)&lt;br /&gt;
 	{&lt;br /&gt;
-	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp (buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	    break;&lt;br /&gt;
 &lt;br /&gt;
 	  read_line (parent_pipe[0], buffer, 256);&lt;br /&gt;
@@ -2675,7 +2675,7 @@&lt;br /&gt;
       if (context-&amp;gt;debug)&lt;br /&gt;
 	fprintf (stderr, &amp;quot;brute force GNOME_SUDO_PASS ended...\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp(buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	{&lt;br /&gt;
 	  gchar *password = NULL;&lt;br /&gt;
 	  gboolean prompt_grab;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE ==&lt;br /&gt;
&lt;br /&gt;
Integration in KDE and kdm seems not to be easily possible now. There is a filed [https://bugs.kde.org/show_bug.cgi?id=116682 bug] at kde.org where you can vote for this.&lt;br /&gt;
&lt;br /&gt;
Moreover, kdm in openSUSE 10.3 crashes when pam_thinkfinger is enabled. A possible &amp;quot;workaround&amp;quot; is downgrading to thinkfinger 0.2.2.&lt;br /&gt;
&lt;br /&gt;
Another workaround is to use Fprint from [http://www.reactivated.net/fprint/wiki/Main_Page] which works quite nicely on my X61s and Kubuntu Hardy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Howto was copied from [[Installing Ubuntu 6.06 on a ThinkPad T43#Fingerprint_Reader]] and then slightly modified.&lt;br /&gt;
&lt;br /&gt;
== Fix for the fingerprint reader getting too hot ==&lt;br /&gt;
&lt;br /&gt;
If you notice that your fingerprint reader occasionally gets very hot then you might be interested in this section. Thanks to Tino Keitel, he actually gave me this solution through the linux-thinkpad mailing list.&lt;br /&gt;
&lt;br /&gt;
First we need to determine if the reader is not on autosuspend mode.&lt;br /&gt;
Open a terminal and run:&lt;br /&gt;
&lt;br /&gt;
 for i in `find /sys/devices/*/*/usb* -name level` ; do echo -n &amp;quot;$i: &amp;quot; ; cat $i ; done&lt;br /&gt;
&lt;br /&gt;
We care about the devices that are with &amp;quot;on&amp;quot; state and we need to determine if one of those is the reader. So for each of those run something like:&lt;br /&gt;
&lt;br /&gt;
 cat /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/idVendor &lt;br /&gt;
 0483&lt;br /&gt;
 &lt;br /&gt;
 cat /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/idProduct &lt;br /&gt;
 2016&lt;br /&gt;
&lt;br /&gt;
Use the corresponding path of the devices that you got with &amp;quot;on&amp;quot; state and then compare the output with the output of the lsusb command. An example:&lt;br /&gt;
&lt;br /&gt;
 lsusb output: Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
&lt;br /&gt;
Which matches the output above (0483:2016). Once you have determined the path of your reader then become root with su - and:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;auto&amp;quot; &amp;gt; /sys/&amp;lt;path-to-device&amp;gt;/power/level&lt;br /&gt;
&lt;br /&gt;
After this, the fingerprint reader should be in &amp;quot;autosuspend&amp;quot; and will not get hot anymore. And it will still work as normal.&lt;br /&gt;
&lt;br /&gt;
This will only work for the current session. If you want to make this change persistent then:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/init.d/ReaderNoMoreHot&lt;br /&gt;
&lt;br /&gt;
Paste the following into it:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 echo &amp;quot;auto&amp;quot; &amp;gt; /sys/&amp;lt;path-to-device&amp;gt;/power/level&lt;br /&gt;
&lt;br /&gt;
Save and close. Then:&lt;br /&gt;
&lt;br /&gt;
 sudo chmod 755 /etc/init.d/ReaderNoMoreHot&lt;br /&gt;
 sudo update-rc.d ReaderNoMoreHot defaults 90&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 19:19, 1 August 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38420</id>
		<title>How to enable the integrated fingerprint reader with ThinkFinger</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38420"/>
		<updated>2008-08-01T17:40:36Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Fix for the fingerprint reader getting too hot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[How to enable the fingerprint reader]] has a good explanation for using the fingerprint reader with the closed-source binary driver. But there is also an opensource project called [http://thinkfinger.sourceforge.net ThinkFinger] which does the same, but open.&lt;br /&gt;
&lt;br /&gt;
However: The fingerprint reader is an INSECURE device and gives a false sense of security! There has been quite a bit of research by a hacker named Starbug, a member of the Chaos Computer Club, Berlin, Germany. He outlined in two very good talks how to forge each and every available fingerprint sensor available at the cost of a few euros, using materials from your local hardware store, a digicam and a laser printer! Here's some links:&lt;br /&gt;
* [http://www.ccc.de/updates/2007/umsonst-im-supermarkt?language=en  Fingerprint recognition in supermarkets]&lt;br /&gt;
* [ftp://ftp.ccc.de/pub/video/Fingerabdruck_Hack/fingerabdruck.mpg?language=en Video tutorial for forging fingerprints]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
=== From source ===&lt;br /&gt;
&lt;br /&gt;
Download thinkfinger-0.3.tar.gz from the [http://thinkfinger.sourceforge.net/ homepage] and unpack it somewhere, make sure you have the gcc compiler, libtool, pkg-config, libusb-dev and libpam0g-dev installed, then:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cd thinkfinger-0.3}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;white-space:nowrap;color:#495988;background-color:white;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; ./configure --prefix=/usr --sysconfdir=/etc --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|/lib/security is the directory, where PAM assumes its modules on Debian and openSUSE, it may vary for your distro!}}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;make install&amp;quot; doesn't create the birdir we specified (where thinkfinger will store users' biometric info), so create it:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|mkdir /etc/pam_thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
If everything went OK assert that you find pam_thinkfinger.so in /lib/security typing:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|ls /lib/security}}&lt;br /&gt;
&lt;br /&gt;
=== From package ===&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
[http://packages.debian.org/source/experimental/thinkfinger Packages] arrived in Debian experimental on Aug 2nd, 2007 (cf. [http://bugs.debian.org/409563 bug #409563]). To access the experimental packages via apt, add the following lines to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# experimental&lt;br /&gt;
deb ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
deb-src ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where of course you may replace mirrors.kernel.org with your mirror of choice. Just make sure that it hosts the experimental repositories.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude update &lt;br /&gt;
aptitude install libthinkfinger0 libpam-thinkfinger thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
should then get you up and running.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
===== Hardy =====&lt;br /&gt;
&lt;br /&gt;
Hardy includes the latest thinkfinger and it is up to date with subversion.  Install packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
Update the pam configuration files:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable}}&lt;br /&gt;
&lt;br /&gt;
Enroll your fingerprint (creates $HOME/.thinkfinger.bir).  If this gives an error about claiming the USB device then reboot.  {{NOTE|Do not try to enroll using 'sudo' - it will cause hidden permission problems}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
Check fingerprint enrollment&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
You can expect everything to work correctly.  Note that you still have to enter your username if prompted but will be able&lt;br /&gt;
to swipe your finger instead of the password.  The prompt will usually be &amp;quot;Password or swipe finger&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Graphical login&lt;br /&gt;
* Text console login&lt;br /&gt;
* sudo&lt;br /&gt;
* screen lock/screen saver&lt;br /&gt;
* Administrative password prompt (eg for update or package managers).  (Note no &amp;quot;or swipe finger&amp;quot; in prompt).&lt;br /&gt;
&lt;br /&gt;
===== Gutsy =====&lt;br /&gt;
&lt;br /&gt;
From https://wiki.ubuntu.com/ThinkFinger&lt;br /&gt;
&lt;br /&gt;
Add PPA repositories to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb     http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install necessary packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools  libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
==== Fedora/Fedora Core ====&lt;br /&gt;
*Packages for Fedora Core 6 are available in &amp;quot;extras&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
*Packages for Fedora 7 are available in the &amp;quot;updates&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge sys-auth/thinkfinger&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== OpenSUSE ====&lt;br /&gt;
openSUSE 10.2 includes the package &amp;quot;libthinkfinger&amp;quot; (version 0.1-7) - you will find newer packages [http://beta1.suse.com/private/thoenig/10.2/thinkfinger/ here].&lt;br /&gt;
&lt;br /&gt;
== Testing the driver ==&lt;br /&gt;
&lt;br /&gt;
Now the driver is installed and should be working. You can try it (as root) with&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
This will ask you to swipe your finger three times, save the fingerprint to /tmp/test.bir and then verify your fingerprint with the bir-file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring PAM to use ThinkFinger ==&lt;br /&gt;
Now you can configure PAM to use ThinkFinger:&lt;br /&gt;
&lt;br /&gt;
Open {{path|/etc/pam.d/common-auth}} (In FC6, F7, and Gentoo, this file is {{path|/etc/pam.d/system-auth}}):&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|nano -w /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Add this line before any pam_unix or pam_unix2 directives:&lt;br /&gt;
 auth     sufficient     pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
If your PAM uses the pam_unix and not the pam_unix2 module, you need to pass a specific argument in&lt;br /&gt;
the /etc/pam.d/common-auth directive to make it consider the password entered at the pam_thinkfinger prompt.&lt;br /&gt;
 auth     required     pam_unix.so try_first_pass&lt;br /&gt;
&lt;br /&gt;
For instance, {{path|/etc/pam.d/common-auth}} looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
&lt;br /&gt;
On openSUSE 10.2, it looks like this now:&lt;br /&gt;
 auth    required        pam_env.so&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix2.so&lt;br /&gt;
&lt;br /&gt;
Now we are ready to add users to thinkfinger. You can add a fingerprint for a user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user $USERNAME}}&lt;br /&gt;
&lt;br /&gt;
Now the user should be able to login with his finger instead of the password.&lt;br /&gt;
&lt;br /&gt;
If you would like to use thinkfinger for su, you have to enroll the fingerprint for root user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user root}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should see the &amp;quot;Password or swipe finger:&amp;quot; prompt when trying to sudo or su. If you don't, you probably do not have the &amp;quot;User level driver support&amp;quot; compiled into your kernel or the &amp;quot;uinput&amp;quot; module loaded!}}&lt;br /&gt;
&lt;br /&gt;
== xscreensaver/gnome-screensaver ==&lt;br /&gt;
{{NOTE|In Fedora 7, the package has been modified in such a way as to make doing this unnecessary.}}&lt;br /&gt;
&lt;br /&gt;
If you'd like to be able to unlock your screen using the fingerprint reader, you must have current versions of xscreesaver (&amp;gt;~5.03) or gnome-screensaver (&amp;gt;~2.18.2). Then you must give yourself access to the fingerprint reader and your bir-file, because unlike login/gdm/su/sudo, both gnome-screensaver and xscreensaver do not run as root. The following procedure will make the fingerprint reader accessible to members of the &amp;quot;fingerprint&amp;quot; group.&lt;br /&gt;
&lt;br /&gt;
Make the group: {{cmdroot|groupadd fingerprint}}&lt;br /&gt;
&lt;br /&gt;
Save the following as {{path|/etc/udev/rules.d/60-thinkfinger.rules}} and run {{cmdroot|sudo /sbin/udevtrigger}} (you may need to reboot for this to take effect if udev trigger does not work):&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # &lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, edit {{path|/etc/pam.d/gnome-screensaver}} so that it looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Per user:&lt;br /&gt;
&lt;br /&gt;
# Add him to the group: {{cmdroot|gpasswd -a $USERNAME fingerprint}}&lt;br /&gt;
# Make him owner of his bir-file: {{cmdroot|chown $USERNAME:root /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give him read-only access to his bir-file: {{cmdroot|chmod 400 /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give &amp;quot;execute only&amp;quot; access to everyone for the /etc/pam_thinkfinger/ directory: {{cmdroot|chmod o+x /etc/pam_thinkfinger}} (WARNING: this opens up security a little).&lt;br /&gt;
&lt;br /&gt;
== GNOME ==&lt;br /&gt;
&lt;br /&gt;
{{NOTE|1=This problem should be solved if you're using sudo &amp;gt;= 1.6.9p9. Links: [http://savannah.nongnu.org/bugs/?19132], [http://www.sudo.ws/bugs/show_bug.cgi?id=180], [https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/86843]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gksu/gksudo doesn't work correctly. It just stays invisible. When starting a su privileged application such as synaptics you will not get prompted for the password. Nevertheless you can swipe your finger and it should authenticate you. Starting synaptics twice makes gksudo visible.&lt;br /&gt;
&lt;br /&gt;
There are two possibilities to solve it:&lt;br /&gt;
* Changing the string &amp;quot;Password or swipe finger:&amp;quot; to a plain &amp;quot;Password:&amp;quot; (like sudo normally would do) in the file pam/pam_thinkfinger.c of the thinkfinger source directory. Of course, in the console you will then only see a &amp;quot;Password:&amp;quot; instead of &amp;quot;Password or swipe finger:&amp;quot; but this is still more usefull than having gksu/gksudo crashing everytime.&lt;br /&gt;
* Patching libgksu with the following patch. This is also a nasty hack until a better solution is implemented.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- libgksu-2.0.3/libgksu/libgksu.c.orig	2007-06-17 16:00:24.000000000 +0200&lt;br /&gt;
+++ libgksu-2.0.3/libgksu/libgksu.c		2007-06-17 16:00:47.000000000 +0200&lt;br /&gt;
@@ -2663,7 +2663,7 @@&lt;br /&gt;
        */&lt;br /&gt;
       for (counter = 0; counter &amp;lt; 50; counter++)&lt;br /&gt;
 	{&lt;br /&gt;
-	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp (buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	    break;&lt;br /&gt;
 &lt;br /&gt;
 	  read_line (parent_pipe[0], buffer, 256);&lt;br /&gt;
@@ -2675,7 +2675,7 @@&lt;br /&gt;
       if (context-&amp;gt;debug)&lt;br /&gt;
 	fprintf (stderr, &amp;quot;brute force GNOME_SUDO_PASS ended...\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp(buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	{&lt;br /&gt;
 	  gchar *password = NULL;&lt;br /&gt;
 	  gboolean prompt_grab;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE ==&lt;br /&gt;
&lt;br /&gt;
Integration in KDE and kdm seems not to be easily possible now. There is a filed [https://bugs.kde.org/show_bug.cgi?id=116682 bug] at kde.org where you can vote for this.&lt;br /&gt;
&lt;br /&gt;
Moreover, kdm in openSUSE 10.3 crashes when pam_thinkfinger is enabled. A possible &amp;quot;workaround&amp;quot; is downgrading to thinkfinger 0.2.2.&lt;br /&gt;
&lt;br /&gt;
Another workaround is to use Fprint from [http://www.reactivated.net/fprint/wiki/Main_Page] which works quite nicely on my X61s and Kubuntu Hardy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Howto was copied from [[Installing Ubuntu 6.06 on a ThinkPad T43#Fingerprint_Reader]] and then slightly modified.&lt;br /&gt;
&lt;br /&gt;
== Fix for the fingerprint reader getting too hot ==&lt;br /&gt;
&lt;br /&gt;
If you notice that you fingerprint reader occasionally gets very hot then you might be interested in this section. Thanks to Tino Keitel, he actually gave me this solution through the linux-thinkpad mailing list.&lt;br /&gt;
&lt;br /&gt;
First we need to determine if the reader is not on autosuspend mode.&lt;br /&gt;
Open a terminal and run:&lt;br /&gt;
&lt;br /&gt;
 for i in `find /sys/devices/*/*/usb* -name level` ; do echo -n &amp;quot;$i: &amp;quot; ; cat $i ; done&lt;br /&gt;
&lt;br /&gt;
We care about the devices that are with &amp;quot;on&amp;quot; state and we need to determine if one of those is the reader. So for each of those run something like:&lt;br /&gt;
&lt;br /&gt;
 cat /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/idVendor &lt;br /&gt;
 0483&lt;br /&gt;
 &lt;br /&gt;
 cat /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/idProduct &lt;br /&gt;
 2016&lt;br /&gt;
&lt;br /&gt;
Use the corresponding path of the devices that you got with &amp;quot;on&amp;quot; state and then compare the output with the output of the lsusb command. An example:&lt;br /&gt;
&lt;br /&gt;
 lsusb output: Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
&lt;br /&gt;
Which matches the output above (0483:2016). Once you have determined the path of your reader then become root with su - and:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;auto&amp;quot; &amp;gt; /sys/&amp;lt;path-to-device&amp;gt;/power/level&lt;br /&gt;
&lt;br /&gt;
After this, the fingerprint reader should be in &amp;quot;autosuspend&amp;quot; and will not get hot anymore. And it will still work as normal.&lt;br /&gt;
&lt;br /&gt;
This will only work for the current session. If you want to make this change persistent then:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/init.d/ReaderNoMoreHot&lt;br /&gt;
&lt;br /&gt;
Paste the following into it:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 echo &amp;quot;auto&amp;quot; &amp;gt; /sys/&amp;lt;path-to-device&amp;gt;/power/level&lt;br /&gt;
&lt;br /&gt;
Save and close gedit. Then:&lt;br /&gt;
&lt;br /&gt;
 sudo chmod 755 /etc/init.d/ReaderNoMoreHot&lt;br /&gt;
 sudo update-rc.d ReaderNoMoreHot defaults 90&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 19:19, 1 August 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38419</id>
		<title>How to enable the integrated fingerprint reader with ThinkFinger</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38419"/>
		<updated>2008-08-01T17:19:34Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Fix for the fingerprint reader getting too hot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[How to enable the fingerprint reader]] has a good explanation for using the fingerprint reader with the closed-source binary driver. But there is also an opensource project called [http://thinkfinger.sourceforge.net ThinkFinger] which does the same, but open.&lt;br /&gt;
&lt;br /&gt;
However: The fingerprint reader is an INSECURE device and gives a false sense of security! There has been quite a bit of research by a hacker named Starbug, a member of the Chaos Computer Club, Berlin, Germany. He outlined in two very good talks how to forge each and every available fingerprint sensor available at the cost of a few euros, using materials from your local hardware store, a digicam and a laser printer! Here's some links:&lt;br /&gt;
* [http://www.ccc.de/updates/2007/umsonst-im-supermarkt?language=en  Fingerprint recognition in supermarkets]&lt;br /&gt;
* [ftp://ftp.ccc.de/pub/video/Fingerabdruck_Hack/fingerabdruck.mpg?language=en Video tutorial for forging fingerprints]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
=== From source ===&lt;br /&gt;
&lt;br /&gt;
Download thinkfinger-0.3.tar.gz from the [http://thinkfinger.sourceforge.net/ homepage] and unpack it somewhere, make sure you have the gcc compiler, libtool, pkg-config, libusb-dev and libpam0g-dev installed, then:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cd thinkfinger-0.3}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;white-space:nowrap;color:#495988;background-color:white;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; ./configure --prefix=/usr --sysconfdir=/etc --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|/lib/security is the directory, where PAM assumes its modules on Debian and openSUSE, it may vary for your distro!}}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;make install&amp;quot; doesn't create the birdir we specified (where thinkfinger will store users' biometric info), so create it:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|mkdir /etc/pam_thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
If everything went OK assert that you find pam_thinkfinger.so in /lib/security typing:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|ls /lib/security}}&lt;br /&gt;
&lt;br /&gt;
=== From package ===&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
[http://packages.debian.org/source/experimental/thinkfinger Packages] arrived in Debian experimental on Aug 2nd, 2007 (cf. [http://bugs.debian.org/409563 bug #409563]). To access the experimental packages via apt, add the following lines to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# experimental&lt;br /&gt;
deb ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
deb-src ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where of course you may replace mirrors.kernel.org with your mirror of choice. Just make sure that it hosts the experimental repositories.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude update &lt;br /&gt;
aptitude install libthinkfinger0 libpam-thinkfinger thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
should then get you up and running.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
===== Hardy =====&lt;br /&gt;
&lt;br /&gt;
Hardy includes the latest thinkfinger and it is up to date with subversion.  Install packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
Update the pam configuration files:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable}}&lt;br /&gt;
&lt;br /&gt;
Enroll your fingerprint (creates $HOME/.thinkfinger.bir).  If this gives an error about claiming the USB device then reboot.  {{NOTE|Do not try to enroll using 'sudo' - it will cause hidden permission problems}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
Check fingerprint enrollment&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
You can expect everything to work correctly.  Note that you still have to enter your username if prompted but will be able&lt;br /&gt;
to swipe your finger instead of the password.  The prompt will usually be &amp;quot;Password or swipe finger&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Graphical login&lt;br /&gt;
* Text console login&lt;br /&gt;
* sudo&lt;br /&gt;
* screen lock/screen saver&lt;br /&gt;
* Administrative password prompt (eg for update or package managers).  (Note no &amp;quot;or swipe finger&amp;quot; in prompt).&lt;br /&gt;
&lt;br /&gt;
===== Gutsy =====&lt;br /&gt;
&lt;br /&gt;
From https://wiki.ubuntu.com/ThinkFinger&lt;br /&gt;
&lt;br /&gt;
Add PPA repositories to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb     http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install necessary packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools  libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
==== Fedora/Fedora Core ====&lt;br /&gt;
*Packages for Fedora Core 6 are available in &amp;quot;extras&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
*Packages for Fedora 7 are available in the &amp;quot;updates&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge sys-auth/thinkfinger&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== OpenSUSE ====&lt;br /&gt;
openSUSE 10.2 includes the package &amp;quot;libthinkfinger&amp;quot; (version 0.1-7) - you will find newer packages [http://beta1.suse.com/private/thoenig/10.2/thinkfinger/ here].&lt;br /&gt;
&lt;br /&gt;
== Testing the driver ==&lt;br /&gt;
&lt;br /&gt;
Now the driver is installed and should be working. You can try it (as root) with&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
This will ask you to swipe your finger three times, save the fingerprint to /tmp/test.bir and then verify your fingerprint with the bir-file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring PAM to use ThinkFinger ==&lt;br /&gt;
Now you can configure PAM to use ThinkFinger:&lt;br /&gt;
&lt;br /&gt;
Open {{path|/etc/pam.d/common-auth}} (In FC6, F7, and Gentoo, this file is {{path|/etc/pam.d/system-auth}}):&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|nano -w /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Add this line before any pam_unix or pam_unix2 directives:&lt;br /&gt;
 auth     sufficient     pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
If your PAM uses the pam_unix and not the pam_unix2 module, you need to pass a specific argument in&lt;br /&gt;
the /etc/pam.d/common-auth directive to make it consider the password entered at the pam_thinkfinger prompt.&lt;br /&gt;
 auth     required     pam_unix.so try_first_pass&lt;br /&gt;
&lt;br /&gt;
For instance, {{path|/etc/pam.d/common-auth}} looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
&lt;br /&gt;
On openSUSE 10.2, it looks like this now:&lt;br /&gt;
 auth    required        pam_env.so&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix2.so&lt;br /&gt;
&lt;br /&gt;
Now we are ready to add users to thinkfinger. You can add a fingerprint for a user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user $USERNAME}}&lt;br /&gt;
&lt;br /&gt;
Now the user should be able to login with his finger instead of the password.&lt;br /&gt;
&lt;br /&gt;
If you would like to use thinkfinger for su, you have to enroll the fingerprint for root user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user root}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should see the &amp;quot;Password or swipe finger:&amp;quot; prompt when trying to sudo or su. If you don't, you probably do not have the &amp;quot;User level driver support&amp;quot; compiled into your kernel or the &amp;quot;uinput&amp;quot; module loaded!}}&lt;br /&gt;
&lt;br /&gt;
== xscreensaver/gnome-screensaver ==&lt;br /&gt;
{{NOTE|In Fedora 7, the package has been modified in such a way as to make doing this unnecessary.}}&lt;br /&gt;
&lt;br /&gt;
If you'd like to be able to unlock your screen using the fingerprint reader, you must have current versions of xscreesaver (&amp;gt;~5.03) or gnome-screensaver (&amp;gt;~2.18.2). Then you must give yourself access to the fingerprint reader and your bir-file, because unlike login/gdm/su/sudo, both gnome-screensaver and xscreensaver do not run as root. The following procedure will make the fingerprint reader accessible to members of the &amp;quot;fingerprint&amp;quot; group.&lt;br /&gt;
&lt;br /&gt;
Make the group: {{cmdroot|groupadd fingerprint}}&lt;br /&gt;
&lt;br /&gt;
Save the following as {{path|/etc/udev/rules.d/60-thinkfinger.rules}} and run {{cmdroot|sudo /sbin/udevtrigger}} (you may need to reboot for this to take effect if udev trigger does not work):&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # &lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, edit {{path|/etc/pam.d/gnome-screensaver}} so that it looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Per user:&lt;br /&gt;
&lt;br /&gt;
# Add him to the group: {{cmdroot|gpasswd -a $USERNAME fingerprint}}&lt;br /&gt;
# Make him owner of his bir-file: {{cmdroot|chown $USERNAME:root /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give him read-only access to his bir-file: {{cmdroot|chmod 400 /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give &amp;quot;execute only&amp;quot; access to everyone for the /etc/pam_thinkfinger/ directory: {{cmdroot|chmod o+x /etc/pam_thinkfinger}} (WARNING: this opens up security a little).&lt;br /&gt;
&lt;br /&gt;
== GNOME ==&lt;br /&gt;
&lt;br /&gt;
{{NOTE|1=This problem should be solved if you're using sudo &amp;gt;= 1.6.9p9. Links: [http://savannah.nongnu.org/bugs/?19132], [http://www.sudo.ws/bugs/show_bug.cgi?id=180], [https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/86843]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gksu/gksudo doesn't work correctly. It just stays invisible. When starting a su privileged application such as synaptics you will not get prompted for the password. Nevertheless you can swipe your finger and it should authenticate you. Starting synaptics twice makes gksudo visible.&lt;br /&gt;
&lt;br /&gt;
There are two possibilities to solve it:&lt;br /&gt;
* Changing the string &amp;quot;Password or swipe finger:&amp;quot; to a plain &amp;quot;Password:&amp;quot; (like sudo normally would do) in the file pam/pam_thinkfinger.c of the thinkfinger source directory. Of course, in the console you will then only see a &amp;quot;Password:&amp;quot; instead of &amp;quot;Password or swipe finger:&amp;quot; but this is still more usefull than having gksu/gksudo crashing everytime.&lt;br /&gt;
* Patching libgksu with the following patch. This is also a nasty hack until a better solution is implemented.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- libgksu-2.0.3/libgksu/libgksu.c.orig	2007-06-17 16:00:24.000000000 +0200&lt;br /&gt;
+++ libgksu-2.0.3/libgksu/libgksu.c		2007-06-17 16:00:47.000000000 +0200&lt;br /&gt;
@@ -2663,7 +2663,7 @@&lt;br /&gt;
        */&lt;br /&gt;
       for (counter = 0; counter &amp;lt; 50; counter++)&lt;br /&gt;
 	{&lt;br /&gt;
-	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp (buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	    break;&lt;br /&gt;
 &lt;br /&gt;
 	  read_line (parent_pipe[0], buffer, 256);&lt;br /&gt;
@@ -2675,7 +2675,7 @@&lt;br /&gt;
       if (context-&amp;gt;debug)&lt;br /&gt;
 	fprintf (stderr, &amp;quot;brute force GNOME_SUDO_PASS ended...\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp(buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	{&lt;br /&gt;
 	  gchar *password = NULL;&lt;br /&gt;
 	  gboolean prompt_grab;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE ==&lt;br /&gt;
&lt;br /&gt;
Integration in KDE and kdm seems not to be easily possible now. There is a filed [https://bugs.kde.org/show_bug.cgi?id=116682 bug] at kde.org where you can vote for this.&lt;br /&gt;
&lt;br /&gt;
Moreover, kdm in openSUSE 10.3 crashes when pam_thinkfinger is enabled. A possible &amp;quot;workaround&amp;quot; is downgrading to thinkfinger 0.2.2.&lt;br /&gt;
&lt;br /&gt;
Another workaround is to use Fprint from [http://www.reactivated.net/fprint/wiki/Main_Page] which works quite nicely on my X61s and Kubuntu Hardy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Howto was copied from [[Installing Ubuntu 6.06 on a ThinkPad T43#Fingerprint_Reader]] and then slightly modified.&lt;br /&gt;
&lt;br /&gt;
== Fix for the fingerprint reader getting too hot ==&lt;br /&gt;
&lt;br /&gt;
If you notice that you fingerprint reader occasionally gets very hot then you might be interested in this section. Thanks to Tino Keitel, he actually gave me this solution through the linux-thinkpad mailing list.&lt;br /&gt;
&lt;br /&gt;
First we need to determine if the reader is not on autosuspend mode.&lt;br /&gt;
Open a terminal and run:&lt;br /&gt;
&lt;br /&gt;
 for i in `find /sys/devices/*/*/usb* -name level` ; do echo -n &amp;quot;$i: &amp;quot; ; cat $i ; done&lt;br /&gt;
&lt;br /&gt;
We care about the devices that are with &amp;quot;on&amp;quot; state and we need to determine if one of those is the reader. So for each of those run something like:&lt;br /&gt;
&lt;br /&gt;
 cat /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/idVendor &lt;br /&gt;
 0483&lt;br /&gt;
 &lt;br /&gt;
 cat /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/idProduct &lt;br /&gt;
 2016&lt;br /&gt;
&lt;br /&gt;
Use the corresponding path of the devices that you got with &amp;quot;on&amp;quot; state and then compare the output with the output of the lsusb command. An example:&lt;br /&gt;
&lt;br /&gt;
 lsusb output: Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
&lt;br /&gt;
Which matches the output above. Once you have determined the path of your reader then you can:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;auto&amp;quot; &amp;gt; /sys/&amp;lt;path-to-device&amp;gt;/power/level&lt;br /&gt;
&lt;br /&gt;
After this, the fingerprint reader should be in &amp;quot;autosuspend&amp;quot; and will not get hot anymore. And it will still work as normal.&lt;br /&gt;
&lt;br /&gt;
This will only work for the current session. If you want to make this change persistent then:&lt;br /&gt;
&lt;br /&gt;
 gedit ~/ReaderNoMoreHot&lt;br /&gt;
&lt;br /&gt;
Paste the following into it (I'm using the path of the example above, replace with whatever matches your device):&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 echo &amp;quot;auto&amp;quot; &amp;gt; echo &amp;quot;auto&amp;quot; &amp;gt; /sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-2/power/level&lt;br /&gt;
&lt;br /&gt;
Save and close gedit. Then make that file executable by:&lt;br /&gt;
&lt;br /&gt;
 chmod +x ~/ReaderNoMoreHot&lt;br /&gt;
&lt;br /&gt;
And then put this script on the session login list. Go to System-&amp;gt;Preferences-&amp;gt;Sessions click Add and on the command field put:&lt;br /&gt;
&lt;br /&gt;
 ~/ReaderNoMoreHot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 19:19, 1 August 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38418</id>
		<title>How to enable the integrated fingerprint reader with ThinkFinger</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38418"/>
		<updated>2008-08-01T16:09:16Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Fix for the fingerprint getting too hot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[How to enable the fingerprint reader]] has a good explanation for using the fingerprint reader with the closed-source binary driver. But there is also an opensource project called [http://thinkfinger.sourceforge.net ThinkFinger] which does the same, but open.&lt;br /&gt;
&lt;br /&gt;
However: The fingerprint reader is an INSECURE device and gives a false sense of security! There has been quite a bit of research by a hacker named Starbug, a member of the Chaos Computer Club, Berlin, Germany. He outlined in two very good talks how to forge each and every available fingerprint sensor available at the cost of a few euros, using materials from your local hardware store, a digicam and a laser printer! Here's some links:&lt;br /&gt;
* [http://www.ccc.de/updates/2007/umsonst-im-supermarkt?language=en  Fingerprint recognition in supermarkets]&lt;br /&gt;
* [ftp://ftp.ccc.de/pub/video/Fingerabdruck_Hack/fingerabdruck.mpg?language=en Video tutorial for forging fingerprints]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
=== From source ===&lt;br /&gt;
&lt;br /&gt;
Download thinkfinger-0.3.tar.gz from the [http://thinkfinger.sourceforge.net/ homepage] and unpack it somewhere, make sure you have the gcc compiler, libtool, pkg-config, libusb-dev and libpam0g-dev installed, then:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cd thinkfinger-0.3}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;white-space:nowrap;color:#495988;background-color:white;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; ./configure --prefix=/usr --sysconfdir=/etc --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|/lib/security is the directory, where PAM assumes its modules on Debian and openSUSE, it may vary for your distro!}}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;make install&amp;quot; doesn't create the birdir we specified (where thinkfinger will store users' biometric info), so create it:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|mkdir /etc/pam_thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
If everything went OK assert that you find pam_thinkfinger.so in /lib/security typing:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|ls /lib/security}}&lt;br /&gt;
&lt;br /&gt;
=== From package ===&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
[http://packages.debian.org/source/experimental/thinkfinger Packages] arrived in Debian experimental on Aug 2nd, 2007 (cf. [http://bugs.debian.org/409563 bug #409563]). To access the experimental packages via apt, add the following lines to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# experimental&lt;br /&gt;
deb ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
deb-src ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where of course you may replace mirrors.kernel.org with your mirror of choice. Just make sure that it hosts the experimental repositories.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude update &lt;br /&gt;
aptitude install libthinkfinger0 libpam-thinkfinger thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
should then get you up and running.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
===== Hardy =====&lt;br /&gt;
&lt;br /&gt;
Hardy includes the latest thinkfinger and it is up to date with subversion.  Install packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
Update the pam configuration files:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable}}&lt;br /&gt;
&lt;br /&gt;
Enroll your fingerprint (creates $HOME/.thinkfinger.bir).  If this gives an error about claiming the USB device then reboot.  {{NOTE|Do not try to enroll using 'sudo' - it will cause hidden permission problems}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
Check fingerprint enrollment&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
You can expect everything to work correctly.  Note that you still have to enter your username if prompted but will be able&lt;br /&gt;
to swipe your finger instead of the password.  The prompt will usually be &amp;quot;Password or swipe finger&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Graphical login&lt;br /&gt;
* Text console login&lt;br /&gt;
* sudo&lt;br /&gt;
* screen lock/screen saver&lt;br /&gt;
* Administrative password prompt (eg for update or package managers).  (Note no &amp;quot;or swipe finger&amp;quot; in prompt).&lt;br /&gt;
&lt;br /&gt;
===== Gutsy =====&lt;br /&gt;
&lt;br /&gt;
From https://wiki.ubuntu.com/ThinkFinger&lt;br /&gt;
&lt;br /&gt;
Add PPA repositories to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb     http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install necessary packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools  libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
==== Fedora/Fedora Core ====&lt;br /&gt;
*Packages for Fedora Core 6 are available in &amp;quot;extras&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
*Packages for Fedora 7 are available in the &amp;quot;updates&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge sys-auth/thinkfinger&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== OpenSUSE ====&lt;br /&gt;
openSUSE 10.2 includes the package &amp;quot;libthinkfinger&amp;quot; (version 0.1-7) - you will find newer packages [http://beta1.suse.com/private/thoenig/10.2/thinkfinger/ here].&lt;br /&gt;
&lt;br /&gt;
== Testing the driver ==&lt;br /&gt;
&lt;br /&gt;
Now the driver is installed and should be working. You can try it (as root) with&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
This will ask you to swipe your finger three times, save the fingerprint to /tmp/test.bir and then verify your fingerprint with the bir-file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring PAM to use ThinkFinger ==&lt;br /&gt;
Now you can configure PAM to use ThinkFinger:&lt;br /&gt;
&lt;br /&gt;
Open {{path|/etc/pam.d/common-auth}} (In FC6, F7, and Gentoo, this file is {{path|/etc/pam.d/system-auth}}):&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|nano -w /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Add this line before any pam_unix or pam_unix2 directives:&lt;br /&gt;
 auth     sufficient     pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
If your PAM uses the pam_unix and not the pam_unix2 module, you need to pass a specific argument in&lt;br /&gt;
the /etc/pam.d/common-auth directive to make it consider the password entered at the pam_thinkfinger prompt.&lt;br /&gt;
 auth     required     pam_unix.so try_first_pass&lt;br /&gt;
&lt;br /&gt;
For instance, {{path|/etc/pam.d/common-auth}} looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
&lt;br /&gt;
On openSUSE 10.2, it looks like this now:&lt;br /&gt;
 auth    required        pam_env.so&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix2.so&lt;br /&gt;
&lt;br /&gt;
Now we are ready to add users to thinkfinger. You can add a fingerprint for a user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user $USERNAME}}&lt;br /&gt;
&lt;br /&gt;
Now the user should be able to login with his finger instead of the password.&lt;br /&gt;
&lt;br /&gt;
If you would like to use thinkfinger for su, you have to enroll the fingerprint for root user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user root}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should see the &amp;quot;Password or swipe finger:&amp;quot; prompt when trying to sudo or su. If you don't, you probably do not have the &amp;quot;User level driver support&amp;quot; compiled into your kernel or the &amp;quot;uinput&amp;quot; module loaded!}}&lt;br /&gt;
&lt;br /&gt;
== xscreensaver/gnome-screensaver ==&lt;br /&gt;
{{NOTE|In Fedora 7, the package has been modified in such a way as to make doing this unnecessary.}}&lt;br /&gt;
&lt;br /&gt;
If you'd like to be able to unlock your screen using the fingerprint reader, you must have current versions of xscreesaver (&amp;gt;~5.03) or gnome-screensaver (&amp;gt;~2.18.2). Then you must give yourself access to the fingerprint reader and your bir-file, because unlike login/gdm/su/sudo, both gnome-screensaver and xscreensaver do not run as root. The following procedure will make the fingerprint reader accessible to members of the &amp;quot;fingerprint&amp;quot; group.&lt;br /&gt;
&lt;br /&gt;
Make the group: {{cmdroot|groupadd fingerprint}}&lt;br /&gt;
&lt;br /&gt;
Save the following as {{path|/etc/udev/rules.d/60-thinkfinger.rules}} and run {{cmdroot|sudo /sbin/udevtrigger}} (you may need to reboot for this to take effect if udev trigger does not work):&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # &lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, edit {{path|/etc/pam.d/gnome-screensaver}} so that it looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Per user:&lt;br /&gt;
&lt;br /&gt;
# Add him to the group: {{cmdroot|gpasswd -a $USERNAME fingerprint}}&lt;br /&gt;
# Make him owner of his bir-file: {{cmdroot|chown $USERNAME:root /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give him read-only access to his bir-file: {{cmdroot|chmod 400 /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give &amp;quot;execute only&amp;quot; access to everyone for the /etc/pam_thinkfinger/ directory: {{cmdroot|chmod o+x /etc/pam_thinkfinger}} (WARNING: this opens up security a little).&lt;br /&gt;
&lt;br /&gt;
== GNOME ==&lt;br /&gt;
&lt;br /&gt;
{{NOTE|1=This problem should be solved if you're using sudo &amp;gt;= 1.6.9p9. Links: [http://savannah.nongnu.org/bugs/?19132], [http://www.sudo.ws/bugs/show_bug.cgi?id=180], [https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/86843]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gksu/gksudo doesn't work correctly. It just stays invisible. When starting a su privileged application such as synaptics you will not get prompted for the password. Nevertheless you can swipe your finger and it should authenticate you. Starting synaptics twice makes gksudo visible.&lt;br /&gt;
&lt;br /&gt;
There are two possibilities to solve it:&lt;br /&gt;
* Changing the string &amp;quot;Password or swipe finger:&amp;quot; to a plain &amp;quot;Password:&amp;quot; (like sudo normally would do) in the file pam/pam_thinkfinger.c of the thinkfinger source directory. Of course, in the console you will then only see a &amp;quot;Password:&amp;quot; instead of &amp;quot;Password or swipe finger:&amp;quot; but this is still more usefull than having gksu/gksudo crashing everytime.&lt;br /&gt;
* Patching libgksu with the following patch. This is also a nasty hack until a better solution is implemented.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- libgksu-2.0.3/libgksu/libgksu.c.orig	2007-06-17 16:00:24.000000000 +0200&lt;br /&gt;
+++ libgksu-2.0.3/libgksu/libgksu.c		2007-06-17 16:00:47.000000000 +0200&lt;br /&gt;
@@ -2663,7 +2663,7 @@&lt;br /&gt;
        */&lt;br /&gt;
       for (counter = 0; counter &amp;lt; 50; counter++)&lt;br /&gt;
 	{&lt;br /&gt;
-	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp (buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	    break;&lt;br /&gt;
 &lt;br /&gt;
 	  read_line (parent_pipe[0], buffer, 256);&lt;br /&gt;
@@ -2675,7 +2675,7 @@&lt;br /&gt;
       if (context-&amp;gt;debug)&lt;br /&gt;
 	fprintf (stderr, &amp;quot;brute force GNOME_SUDO_PASS ended...\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp(buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	{&lt;br /&gt;
 	  gchar *password = NULL;&lt;br /&gt;
 	  gboolean prompt_grab;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE ==&lt;br /&gt;
&lt;br /&gt;
Integration in KDE and kdm seems not to be easily possible now. There is a filed [https://bugs.kde.org/show_bug.cgi?id=116682 bug] at kde.org where you can vote for this.&lt;br /&gt;
&lt;br /&gt;
Moreover, kdm in openSUSE 10.3 crashes when pam_thinkfinger is enabled. A possible &amp;quot;workaround&amp;quot; is downgrading to thinkfinger 0.2.2.&lt;br /&gt;
&lt;br /&gt;
Another workaround is to use Fprint from [http://www.reactivated.net/fprint/wiki/Main_Page] which works quite nicely on my X61s and Kubuntu Hardy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Howto was copied from [[Installing Ubuntu 6.06 on a ThinkPad T43#Fingerprint_Reader]] and then slightly modified.&lt;br /&gt;
&lt;br /&gt;
== Fix for the fingerprint reader getting too hot ==&lt;br /&gt;
&lt;br /&gt;
If you notice that you fingerprint reader occasionally gets very hot then you might be interested in this section. Thanks to Tino Keitel, he actually gave me this solution through &lt;br /&gt;
&lt;br /&gt;
First we need to&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38417</id>
		<title>How to enable the integrated fingerprint reader with ThinkFinger</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_enable_the_integrated_fingerprint_reader_with_ThinkFinger&amp;diff=38417"/>
		<updated>2008-08-01T16:06:47Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[How to enable the fingerprint reader]] has a good explanation for using the fingerprint reader with the closed-source binary driver. But there is also an opensource project called [http://thinkfinger.sourceforge.net ThinkFinger] which does the same, but open.&lt;br /&gt;
&lt;br /&gt;
However: The fingerprint reader is an INSECURE device and gives a false sense of security! There has been quite a bit of research by a hacker named Starbug, a member of the Chaos Computer Club, Berlin, Germany. He outlined in two very good talks how to forge each and every available fingerprint sensor available at the cost of a few euros, using materials from your local hardware store, a digicam and a laser printer! Here's some links:&lt;br /&gt;
* [http://www.ccc.de/updates/2007/umsonst-im-supermarkt?language=en  Fingerprint recognition in supermarkets]&lt;br /&gt;
* [ftp://ftp.ccc.de/pub/video/Fingerabdruck_Hack/fingerabdruck.mpg?language=en Video tutorial for forging fingerprints]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
=== From source ===&lt;br /&gt;
&lt;br /&gt;
Download thinkfinger-0.3.tar.gz from the [http://thinkfinger.sourceforge.net/ homepage] and unpack it somewhere, make sure you have the gcc compiler, libtool, pkg-config, libusb-dev and libpam0g-dev installed, then:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|cd thinkfinger-0.3}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;white-space:nowrap;color:#495988;background-color:white;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; ./configure --prefix=/usr --sysconfdir=/etc --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|make install}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|/lib/security is the directory, where PAM assumes its modules on Debian and openSUSE, it may vary for your distro!}}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;make install&amp;quot; doesn't create the birdir we specified (where thinkfinger will store users' biometric info), so create it:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|mkdir /etc/pam_thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
If everything went OK assert that you find pam_thinkfinger.so in /lib/security typing:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|ls /lib/security}}&lt;br /&gt;
&lt;br /&gt;
=== From package ===&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
[http://packages.debian.org/source/experimental/thinkfinger Packages] arrived in Debian experimental on Aug 2nd, 2007 (cf. [http://bugs.debian.org/409563 bug #409563]). To access the experimental packages via apt, add the following lines to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# experimental&lt;br /&gt;
deb ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
deb-src ftp://mirrors.kernel.org/debian/ experimental main contrib non-free&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where of course you may replace mirrors.kernel.org with your mirror of choice. Just make sure that it hosts the experimental repositories.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude update &lt;br /&gt;
aptitude install libthinkfinger0 libpam-thinkfinger thinkfinger-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
should then get you up and running.&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
===== Hardy =====&lt;br /&gt;
&lt;br /&gt;
Hardy includes the latest thinkfinger and it is up to date with subversion.  Install packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
Update the pam configuration files:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable}}&lt;br /&gt;
&lt;br /&gt;
Enroll your fingerprint (creates $HOME/.thinkfinger.bir).  If this gives an error about claiming the USB device then reboot.  {{NOTE|Do not try to enroll using 'sudo' - it will cause hidden permission problems}}&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
Check fingerprint enrollment&lt;br /&gt;
&lt;br /&gt;
{{cmduser|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
You can expect everything to work correctly.  Note that you still have to enter your username if prompted but will be able&lt;br /&gt;
to swipe your finger instead of the password.  The prompt will usually be &amp;quot;Password or swipe finger&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Graphical login&lt;br /&gt;
* Text console login&lt;br /&gt;
* sudo&lt;br /&gt;
* screen lock/screen saver&lt;br /&gt;
* Administrative password prompt (eg for update or package managers).  (Note no &amp;quot;or swipe finger&amp;quot; in prompt).&lt;br /&gt;
&lt;br /&gt;
===== Gutsy =====&lt;br /&gt;
&lt;br /&gt;
From https://wiki.ubuntu.com/ThinkFinger&lt;br /&gt;
&lt;br /&gt;
Add PPA repositories to your sources.list:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb     http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install necessary packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install thinkfinger-tools  libpam-thinkfinger}}&lt;br /&gt;
&lt;br /&gt;
==== Fedora/Fedora Core ====&lt;br /&gt;
*Packages for Fedora Core 6 are available in &amp;quot;extras&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
*Packages for Fedora 7 are available in the &amp;quot;updates&amp;quot; repository (# yum install thinkfinger).&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge sys-auth/thinkfinger&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== OpenSUSE ====&lt;br /&gt;
openSUSE 10.2 includes the package &amp;quot;libthinkfinger&amp;quot; (version 0.1-7) - you will find newer packages [http://beta1.suse.com/private/thoenig/10.2/thinkfinger/ here].&lt;br /&gt;
&lt;br /&gt;
== Testing the driver ==&lt;br /&gt;
&lt;br /&gt;
Now the driver is installed and should be working. You can try it (as root) with&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --acquire}}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
This will ask you to swipe your finger three times, save the fingerprint to /tmp/test.bir and then verify your fingerprint with the bir-file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring PAM to use ThinkFinger ==&lt;br /&gt;
Now you can configure PAM to use ThinkFinger:&lt;br /&gt;
&lt;br /&gt;
Open {{path|/etc/pam.d/common-auth}} (In FC6, F7, and Gentoo, this file is {{path|/etc/pam.d/system-auth}}):&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|nano -w /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
Add this line before any pam_unix or pam_unix2 directives:&lt;br /&gt;
 auth     sufficient     pam_thinkfinger.so&lt;br /&gt;
&lt;br /&gt;
If your PAM uses the pam_unix and not the pam_unix2 module, you need to pass a specific argument in&lt;br /&gt;
the /etc/pam.d/common-auth directive to make it consider the password entered at the pam_thinkfinger prompt.&lt;br /&gt;
 auth     required     pam_unix.so try_first_pass&lt;br /&gt;
&lt;br /&gt;
For instance, {{path|/etc/pam.d/common-auth}} looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
&lt;br /&gt;
On openSUSE 10.2, it looks like this now:&lt;br /&gt;
 auth    required        pam_env.so&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix2.so&lt;br /&gt;
&lt;br /&gt;
Now we are ready to add users to thinkfinger. You can add a fingerprint for a user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user $USERNAME}}&lt;br /&gt;
&lt;br /&gt;
Now the user should be able to login with his finger instead of the password.&lt;br /&gt;
&lt;br /&gt;
If you would like to use thinkfinger for su, you have to enroll the fingerprint for root user with:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|tf-tool --add-user root}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should see the &amp;quot;Password or swipe finger:&amp;quot; prompt when trying to sudo or su. If you don't, you probably do not have the &amp;quot;User level driver support&amp;quot; compiled into your kernel or the &amp;quot;uinput&amp;quot; module loaded!}}&lt;br /&gt;
&lt;br /&gt;
== xscreensaver/gnome-screensaver ==&lt;br /&gt;
{{NOTE|In Fedora 7, the package has been modified in such a way as to make doing this unnecessary.}}&lt;br /&gt;
&lt;br /&gt;
If you'd like to be able to unlock your screen using the fingerprint reader, you must have current versions of xscreesaver (&amp;gt;~5.03) or gnome-screensaver (&amp;gt;~2.18.2). Then you must give yourself access to the fingerprint reader and your bir-file, because unlike login/gdm/su/sudo, both gnome-screensaver and xscreensaver do not run as root. The following procedure will make the fingerprint reader accessible to members of the &amp;quot;fingerprint&amp;quot; group.&lt;br /&gt;
&lt;br /&gt;
Make the group: {{cmdroot|groupadd fingerprint}}&lt;br /&gt;
&lt;br /&gt;
Save the following as {{path|/etc/udev/rules.d/60-thinkfinger.rules}} and run {{cmdroot|sudo /sbin/udevtrigger}} (you may need to reboot for this to take effect if udev trigger does not work):&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # &lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, edit {{path|/etc/pam.d/gnome-screensaver}} so that it looks like this:&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Per user:&lt;br /&gt;
&lt;br /&gt;
# Add him to the group: {{cmdroot|gpasswd -a $USERNAME fingerprint}}&lt;br /&gt;
# Make him owner of his bir-file: {{cmdroot|chown $USERNAME:root /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give him read-only access to his bir-file: {{cmdroot|chmod 400 /etc/pam_thinkfinger/$USERNAME.bir}}&lt;br /&gt;
# Give &amp;quot;execute only&amp;quot; access to everyone for the /etc/pam_thinkfinger/ directory: {{cmdroot|chmod o+x /etc/pam_thinkfinger}} (WARNING: this opens up security a little).&lt;br /&gt;
&lt;br /&gt;
== GNOME ==&lt;br /&gt;
&lt;br /&gt;
{{NOTE|1=This problem should be solved if you're using sudo &amp;gt;= 1.6.9p9. Links: [http://savannah.nongnu.org/bugs/?19132], [http://www.sudo.ws/bugs/show_bug.cgi?id=180], [https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/86843]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gksu/gksudo doesn't work correctly. It just stays invisible. When starting a su privileged application such as synaptics you will not get prompted for the password. Nevertheless you can swipe your finger and it should authenticate you. Starting synaptics twice makes gksudo visible.&lt;br /&gt;
&lt;br /&gt;
There are two possibilities to solve it:&lt;br /&gt;
* Changing the string &amp;quot;Password or swipe finger:&amp;quot; to a plain &amp;quot;Password:&amp;quot; (like sudo normally would do) in the file pam/pam_thinkfinger.c of the thinkfinger source directory. Of course, in the console you will then only see a &amp;quot;Password:&amp;quot; instead of &amp;quot;Password or swipe finger:&amp;quot; but this is still more usefull than having gksu/gksudo crashing everytime.&lt;br /&gt;
* Patching libgksu with the following patch. This is also a nasty hack until a better solution is implemented.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--- libgksu-2.0.3/libgksu/libgksu.c.orig	2007-06-17 16:00:24.000000000 +0200&lt;br /&gt;
+++ libgksu-2.0.3/libgksu/libgksu.c		2007-06-17 16:00:47.000000000 +0200&lt;br /&gt;
@@ -2663,7 +2663,7 @@&lt;br /&gt;
        */&lt;br /&gt;
       for (counter = 0; counter &amp;lt; 50; counter++)&lt;br /&gt;
 	{&lt;br /&gt;
-	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+	  if (strncmp (buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp (buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	    break;&lt;br /&gt;
 &lt;br /&gt;
 	  read_line (parent_pipe[0], buffer, 256);&lt;br /&gt;
@@ -2675,7 +2675,7 @@&lt;br /&gt;
       if (context-&amp;gt;debug)&lt;br /&gt;
 	fprintf (stderr, &amp;quot;brute force GNOME_SUDO_PASS ended...\n&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
-      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0)&lt;br /&gt;
+      if (strncmp(buffer, &amp;quot;GNOME_SUDO_PASS&amp;quot;, 15) == 0 || strncmp(buffer, &amp;quot;Password or swi&amp;quot;, 15) == 0)&lt;br /&gt;
 	{&lt;br /&gt;
 	  gchar *password = NULL;&lt;br /&gt;
 	  gboolean prompt_grab;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE ==&lt;br /&gt;
&lt;br /&gt;
Integration in KDE and kdm seems not to be easily possible now. There is a filed [https://bugs.kde.org/show_bug.cgi?id=116682 bug] at kde.org where you can vote for this.&lt;br /&gt;
&lt;br /&gt;
Moreover, kdm in openSUSE 10.3 crashes when pam_thinkfinger is enabled. A possible &amp;quot;workaround&amp;quot; is downgrading to thinkfinger 0.2.2.&lt;br /&gt;
&lt;br /&gt;
Another workaround is to use Fprint from [http://www.reactivated.net/fprint/wiki/Main_Page] which works quite nicely on my X61s and Kubuntu Hardy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This Howto was copied from [[Installing Ubuntu 6.06 on a ThinkPad T43#Fingerprint_Reader]] and then slightly modified.&lt;br /&gt;
&lt;br /&gt;
== Fix for the fingerprint getting too hot ==&lt;br /&gt;
&lt;br /&gt;
If you notice that you fingerprint reader occasionally gets very hot then you might be interested in this section.&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38306</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38306"/>
		<updated>2008-07-26T12:50:12Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* To enable the Wifi LED with the Atheros cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested (Only has an effect over the bluetooth, wifi is unaffected)&lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
--[[User:Lunatico|Lunatico]] 14:50, 26 July 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38290</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38290"/>
		<updated>2008-07-24T14:26:01Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Items that work out of the box */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested (Only has an effect over the bluetooth, wifi is unaffected)&lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38289</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38289"/>
		<updated>2008-07-24T14:17:48Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38288</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38288"/>
		<updated>2008-07-24T14:15:07Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution [[below]].&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38287</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38287"/>
		<updated>2008-07-24T14:14:45Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38286</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38286"/>
		<updated>2008-07-24T14:12:52Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution [#To_enable_the_Wifi_LED_with_the_Atheros_cards|below]]&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38285</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38285"/>
		<updated>2008-07-24T14:12:20Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution [#To_enable_the_Wifi_LED_with_the_Atheros_cards|below]].&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38283</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38283"/>
		<updated>2008-07-24T14:09:29Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution [#To enable the Wifi LED with the Atheros cards|below]].&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38282</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38282"/>
		<updated>2008-07-24T14:07:39Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* '''To enable the Wifi LED with the Atheros cards''' */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== To enable the Wifi LED with the Atheros cards ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38281</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38281"/>
		<updated>2008-07-24T14:07:02Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
==== '''To enable the Wifi LED with the Atheros cards''' ====&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38280</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38280"/>
		<updated>2008-07-24T14:03:15Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
First check if this solution works on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38279</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38279"/>
		<updated>2008-07-24T14:02:38Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
First check is this solution will work on your computer. Open a terminal and run this commands: &lt;br /&gt;
&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then:&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38278</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38278"/>
		<updated>2008-07-24T12:39:02Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
After you reboot your wireless led should be working.&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38277</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38277"/>
		<updated>2008-07-24T12:38:08Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38276</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38276"/>
		<updated>2008-07-24T12:37:27Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* To enable the Wifi LED with the Atheros cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38275</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38275"/>
		<updated>2008-07-24T12:36:26Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== To enable the Wifi LED with the Atheros cards ==&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38274</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38274"/>
		<updated>2008-07-24T12:35:00Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it: &lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Commands to enable the wireless LED&lt;br /&gt;
 sysctl dev.wifi0.ledpin=1&lt;br /&gt;
 sysctl dev.wifi0.softled=3&lt;br /&gt;
&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38273</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38273"/>
		<updated>2008-07-24T12:33:55Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Enable normal User to Limit CPU Speed */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it:&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Commands to enable the wireless LED&lt;br /&gt;
sysctl dev.wifi0.ledpin=1&lt;br /&gt;
sysctl dev.wifi0.softled=3&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
answer the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38272</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38272"/>
		<updated>2008-07-24T12:32:40Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
'''To enable the Wifi LED with the Atheros cards'''&lt;br /&gt;
&lt;br /&gt;
1) Create a file ~/wifiLED and copy/paste the following into it:&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
# Commands to enable the wireless LED&lt;br /&gt;
sysctl dev.wifi0.ledpin=1&lt;br /&gt;
sysctl dev.wifi0.softled=3&lt;br /&gt;
2) sudo cp ~/wifiLED /etc/init.d&lt;br /&gt;
3) sudo chmod 755 /etc/init.d/wifiLED&lt;br /&gt;
4) sudo update-rc.d wifiLED defaults 90&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
anser the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38271</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38271"/>
		<updated>2008-07-24T12:29:26Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at the solution below.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
To enable the LED with the Atheros cards&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
anser the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38270</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61&amp;diff=38270"/>
		<updated>2008-07-24T12:26:11Z</updated>

		<summary type="html">&lt;p&gt;Lunatico: /* Wireless activity LED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Items that work out of the box ==&lt;br /&gt;
&lt;br /&gt;
'''Intel Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Nvidia Video:''' 2D and 3D acceleration works&lt;br /&gt;
&lt;br /&gt;
'''Wireless:''' Intel cards tested. Atheros cards also works.&lt;br /&gt;
&lt;br /&gt;
'''Wireless WAN:''' Cingular/AT&amp;amp;T card tested.&lt;br /&gt;
&lt;br /&gt;
'''Network Card''' Intel 10/100/1000 tested&lt;br /&gt;
&lt;br /&gt;
'''Wireless switch''' Tested &lt;br /&gt;
&lt;br /&gt;
'''Webcam''' Tested with cheese and skype.&lt;br /&gt;
&lt;br /&gt;
'''Headphones''' Works out of the box&lt;br /&gt;
&lt;br /&gt;
'''Microphone''' Just needs to be activated, see section [[#Audio|below]]&lt;br /&gt;
&lt;br /&gt;
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]&lt;br /&gt;
&lt;br /&gt;
== Items that need (some) tweaking to obtain full functionality ==&lt;br /&gt;
&lt;br /&gt;
=== Open Source Intel Wifi Driver ===&lt;br /&gt;
The following information is important if you are upgrading from a previous version of Ubuntu to 8.04.&lt;br /&gt;
&lt;br /&gt;
Intel has created a new Linux Wifi driver project for Intel Wireless cards, &amp;quot;[[Iwlwifi]]&amp;quot;.  This driver is Open Source and no longer requires the Intel daemon to run in addition.  This project will support the [[:Category:T61 | T61]]'s Wifi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].&lt;br /&gt;
&lt;br /&gt;
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04.  However, there is a caveat to be aware of:&lt;br /&gt;
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces.  Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot.  A new entry will automatically be created that is appropriate for the new driver.  Here's an example of the lines to delete:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PCI device 0x8086:0x4227 (ipw3945)&lt;br /&gt;
SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, ATTRS{address}==&amp;quot;00:1b:77:a4:0e:2f&amp;quot;, NAME=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.&lt;br /&gt;
&lt;br /&gt;
=== Compiz and XV Playback on Intel GM965/GL960 ===&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 7.10 (Gutsy Gibbon) you currently have to choose between using Compiz and working video playback using XV. On 8.04 (Hardy Heron) alpha 5 you can play videos using XV under compiz, it works right out of the box using the Live-CD.&lt;br /&gt;
&lt;br /&gt;
=== Suspend with Nv140m ===&lt;br /&gt;
&lt;br /&gt;
** Update as of July 17th 2008 -- Using 8.04.1 with the newest nvidea drivers, I had no problems suspending without any additional configuration. **&lt;br /&gt;
&lt;br /&gt;
Suspend may not work even after editing acpi-support. Enable bluetooth (Fn+F5) may result in a successful suspend. NOTE: that although the wifi led does not change when Fn+F5 is used, the wifi is still toggled by this key.&lt;br /&gt;
&lt;br /&gt;
'''Hal &amp;quot;S3 BIOS&amp;quot; parameter issue!'''&lt;br /&gt;
&lt;br /&gt;
After doing the changes to the /etc/default/acpi-support file (described [http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.10_(Gutsy_Gibbon)_on_a_ThinkPad_T61#How_to_Suspend_with_nVidia_140m.2F570m here]), I for one, managed to have '''stable''' suspend support by creating a new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&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;lt;/pre&amp;gt;&lt;br /&gt;
{{NOTE|The problem (after reading the HAL and pm-utils documentations) is the fact that (as far as I can tell) the T61 Lenovo doesn't allow the S3 BIOS to be called *during* suspend/resume, which HAL seems to do by default (who knows, maybe there are T61s out there that do work with this default)!&lt;br /&gt;
&lt;br /&gt;
This did not seem to be necessary for previous versions of Ubuntu. Also note that I have an NVIDIA card so I have no idea what to do for Intel versions.The change should also be resistant to HAL and pm-utils upgrades.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Still no suspend with nvs140m? Got Modell 6460?'''&lt;br /&gt;
&lt;br /&gt;
Fix above didn't work for me on a 15.4 wide T61 Modell 6460 with nv140m. Bios is updated to 2.14 but didn't change anything, except the usb bug is fix. Suspend seems to work fine, but resume gives me a black screen (backlight off - no reaction to brightness up) and I can hear 2 beeps. Most of the time I can reboot with ctrl+alt+delete but the screen stays dark until bios.&lt;br /&gt;
&lt;br /&gt;
follow the instructions above but create the new file called: '''/etc/hal/fdi/information/lenovo.fdi''' with the following contents instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt; &amp;lt;!-- -*- SGML -*- --&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;system.hardware.vendor&amp;quot; string=&amp;quot;LENOVO&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&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;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also you want to set the following parameter in &lt;br /&gt;
&lt;br /&gt;
{{path|/etc/default/acpi-support}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works for me with mode 6460, except for one problem: You may get a white screen in xorg after resume when using compiz. If you don't have a 6460 with nvidia this file may break things for you because it doesn't care about the modell and sets the parameter for any lenovo product}}&lt;br /&gt;
{{HELP|Anyone with more knowledge of hal and acpi-support is welcome to clean this up. I also don't know why this setting can be done via hal and in acpi-support.&lt;br /&gt;
See below!}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Working on hardy final'''&lt;br /&gt;
&lt;br /&gt;
After trying out all these recipes on my 6457CTO waking up from suspend still did not work. Finally I came across a blog entry which pointed out the right way: [[http://david.goodlad.ca/2008/3/14/suspend-hibernate-on-lenovo-t61 David Goodlad's blog]]. I realized that all the fixes proposing editing the acpi-support file or adding a kernel parameter acpi_sleep=s3_mode must be wrong because since hardy gnome-power-manager gets its information solely from hal. So setting up correct hal information is the right way but the proposed solution (creating a /etc/hal/fdi/information/lenovo.fdi file) did not work for me. Ok, but now step by step:&lt;br /&gt;
&lt;br /&gt;
# Revert ALL the proposed fixes from above. I found out that at least the lenovo.fdi solution is actually breaking the real fix. So for sure delete /etc/hal/fdi/information/lenovo.fdi&lt;br /&gt;
# Find out about the excact hal name of your machine: &amp;lt;pre&amp;gt;hal-device |grep 6457&amp;lt;/pre&amp;gt; where 6457 is the model number of my t61, replace it with your own. In my case it spits out something like this: system.hardware.product = '6457CTO'. So now I know that hal identifies my machine as 6457CTO.&lt;br /&gt;
# &amp;lt;pre&amp;gt;sudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi&amp;lt;/pre&amp;gt; and add a section to the end of the file, just above the &amp;lt;/device&amp;gt; tag and replace 6457CTO with your hal device name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
      &amp;lt;!-- T61 6457CTO uses NVidia driver --&amp;gt;&lt;br /&gt;
      &amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; string=&amp;quot;6457CTO&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;!-- Proprietray NVidia driver quirks --&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_mode&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;false&amp;lt;/merge&amp;gt;&lt;br /&gt;
        &amp;lt;merge key=&amp;quot;power_management.quirk.save_pci&amp;quot; type=&amp;quot;bool&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
      &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now save and reboot. Now you might run into the problem of coming back from resume into a completely white screen where normally should be the password dialog. Entering your password blindly is not nice but at least you can resume.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Somehow I couldn't make the wildcard matching work as they did in the lenovo.fdi solution, but that might be due to my shortcomings on that syntax. Anyway matching the device by its full name worked for me. Probably somebody who knows more about the matching could make that wildcard thing work to have a more general solution. Because hal also knows the xorg driver name (info.linux.driver) there should be a way to set up the quirks depending on the driver.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:  T61]]&lt;br /&gt;
&lt;br /&gt;
=== TrackPoint ===&lt;br /&gt;
The [[TrackPoint]] works out of the box, but does not scroll nor does the tap-clicking (press to select) feature work. Therefor see: [[#tap-to-click feature]] To enable using the middle mouse button to scroll, replace the &amp;quot;Configured Mouse&amp;quot; section in {{path|/etc/X11/xorg.conf}} with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;Trackpoint&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;mouse&amp;quot;&lt;br /&gt;
	Option		&amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ImPS/2&amp;quot;&lt;br /&gt;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheel&amp;quot;          &amp;quot;true&amp;quot;&lt;br /&gt;
	Option		&amp;quot;EmulateWheelButton&amp;quot;    &amp;quot;2&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{NOTE|However, if you need to use external usb mouse, the above configuration is wrong. It will cause odd behavior. Try the following configuration from [http://gentoo-wiki.com/HARDWARE_IBM_Specific_Laptop_Guide#TrackPoint Gentoo Wiki]:}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
       Identifier  &amp;quot;UltraNav TrackPoint&amp;quot;&lt;br /&gt;
       Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Device&amp;quot;	         &amp;quot;/dev/input/mouse1&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Protocol&amp;quot;            &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3Buttons&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;Emulate3TimeOut&amp;quot;     &amp;quot;50&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheel&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelTimeOut&amp;quot; &amp;quot;200&amp;quot;&lt;br /&gt;
       Option      &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
       Option      &amp;quot;YAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
       Option      &amp;quot;XAxisMapping&amp;quot;        &amp;quot;6 7&amp;quot;&lt;br /&gt;
       Option      &amp;quot;ZAxisMapping&amp;quot;        &amp;quot;4 5&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
&lt;br /&gt;
Works great out of the box, just the microphone has to be activated, it is considered a generic capture source and is muted by default.&lt;br /&gt;
&lt;br /&gt;
To unmute the microphone:&lt;br /&gt;
&lt;br /&gt;
*Right Click on the volume icon next to the clock and click on &amp;quot;Open Volume Control&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Click Edit -&amp;gt; Preferences.   A list of devices will be displayed, you should check the following (Do not uncheck any existing items):&lt;br /&gt;
 &lt;br /&gt;
      Input Source&lt;br /&gt;
      Capture&lt;br /&gt;
&lt;br /&gt;
*Click Close and there should be two additional tabs &amp;quot;Recording&amp;quot; and &amp;quot;Options&amp;quot;.   - &lt;br /&gt;
&lt;br /&gt;
*Click Recording and click on the microphone under the Capture slider so that it no longer has a red line through it, and put the slider up as it may be deactivated.  &lt;br /&gt;
&lt;br /&gt;
*Click Options and under capture source select internal mic.&lt;br /&gt;
&lt;br /&gt;
To test your mic using Sound Recorder select Capture as the sound source.&lt;br /&gt;
&lt;br /&gt;
This solution has been tested with Sound Recorder and Skype.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the volume controls working:&lt;br /&gt;
&lt;br /&gt;
*add the following line to /etc/modprobe.d/alsa-base, then reboot&lt;br /&gt;
 &lt;br /&gt;
      options snd-hda-intel index=0 model=thinkpad&lt;br /&gt;
&lt;br /&gt;
{{NOTE|The volume controls worked fine for me out of the box on a 6460.}}&lt;br /&gt;
&lt;br /&gt;
=== Multimedia Keys ===&lt;br /&gt;
&lt;br /&gt;
Most Multimedia Keys work out of the box, just the play, forward and stop buttons need to be adjusted, therefore, press alt + F2 and type in gnome-keybinding-properties. Then everything works as followed:&lt;br /&gt;
&lt;br /&gt;
* Fn-PgUp activates/deactivates the thinklight&lt;br /&gt;
* Fn-Up will trigger stop on a media player&lt;br /&gt;
* Fn-Down will toggle pause and play on a media player&lt;br /&gt;
* Fn-Left/Right go to prev/next tracks on a media player&lt;br /&gt;
* Fn-F2 properly locks the screen&lt;br /&gt;
* Fn-F3 shows remaining battery  &amp;gt;&amp;gt;does not work on all machines&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F4 suspends (to ram)&lt;br /&gt;
* Fn-F9 ejects cds  &amp;gt;&amp;gt;does not work on all machines, I think this is supposed to eject from a &amp;quot;dock&amp;quot;&amp;lt;&amp;lt;&lt;br /&gt;
* Fn-F12 hibernates (to disk)&lt;br /&gt;
* PrtSc opens the screenshot dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To enable the back, forward, and the menu keys you'll need to teach XKB what they are.&lt;br /&gt;
&lt;br /&gt;
* Check the '''XkbLayout''' option (under '''InputDevice''') in your {{path|/etc/X11/xorg.conf}} file to determine which keyboard layout Ubuntu is using (I'll use 'us' for the example).&lt;br /&gt;
* Navigate to {{path|/etc/X11/xkb/symbols}} and, as root, open the appropriate layout file (as determined above) in your favorite editor.&lt;br /&gt;
 {{cmduser|cd /etc/X11/xkb/symbols}}&lt;br /&gt;
 {{cmduser|sudo gedit us}}&lt;br /&gt;
* In the '''xkb_symbols &amp;quot;basic&amp;quot;''' section after the '''name[Group1]= &amp;quot;x&amp;quot;;''' (where x is a country name, or similar) line add the following:&lt;br /&gt;
 key &amp;lt;I63&amp;gt; {         [ Menu           ]       };&lt;br /&gt;
 key &amp;lt;I69&amp;gt; {         [ XF86Forward    ]       };&lt;br /&gt;
 key &amp;lt;I6A&amp;gt; {         [ XF86Back       ]       };&lt;br /&gt;
* Now log out and back in and all three of the buttons should function.&lt;br /&gt;
&lt;br /&gt;
=== Thinkpad Button ===&lt;br /&gt;
&lt;br /&gt;
Paste the following into /usr/share/hotkey-setup/ibm.hk&lt;br /&gt;
 setkeycodes e017 148 # thinkpad button&lt;br /&gt;
You can also just type this into a terminal, to test it for the time of the current session.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the right file in /usr/share/xmodmap (check your country code)&lt;br /&gt;
 keycode 159 = XF86Terminal&lt;br /&gt;
For immediate availability of the button, reload the file by executing&lt;br /&gt;
 xmodmap &amp;lt;xmodmap.file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then use the &amp;quot;Keyboard Shortcuts&amp;quot; tool under &amp;quot;Preferences&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Items that don't work (a.k.a.: items that need more intense tweaking to get fixed)==&lt;br /&gt;
&lt;br /&gt;
=== tap-to-click feature ===&lt;br /&gt;
&lt;br /&gt;
For the tap-to-click feature (taping the stick instead of using the left mouse button) i used a configure trackpoint utility: [http://tpctl.sourceforge.net/configure-trackpoint.html] there is a package for ubuntu 7.04 i386, but i compiled it by myself (using amd64):&lt;br /&gt;
&lt;br /&gt;
1.) download the .tar.gz file&lt;br /&gt;
&lt;br /&gt;
2.) unpack it&lt;br /&gt;
&lt;br /&gt;
3.) install libgnomeui-dev&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo aptitude install libgnomeui-dev}}&lt;br /&gt;
&lt;br /&gt;
4.) in the folder, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|./configure}}&lt;br /&gt;
&lt;br /&gt;
if everything worked fine:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|make}}&lt;br /&gt;
&lt;br /&gt;
then install it:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo make install}}&lt;br /&gt;
&lt;br /&gt;
5.a) Gnome : Open it: System &amp;gt; configure trackpoint, and configure on your needs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.b) Kde : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint &amp;gt; right-click &amp;gt; edit entry, edit &amp;quot;command&amp;quot; to &amp;quot;kdesu configure-trackpoint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save &amp;amp; exit &lt;br /&gt;
&lt;br /&gt;
Open it : K-menu &amp;gt; Prefences &amp;gt; configure trackpoint and configure on your needs&lt;br /&gt;
&lt;br /&gt;
=== Hotswapping ===&lt;br /&gt;
&lt;br /&gt;
{{HELP|We need someone who is able to get hotswaping to work properly, this is not the right was to do this!}}&lt;br /&gt;
With the new kernel, bay-drivers changed, so if you remove the ultrabay it will freeze your system! You can hack it with a simple comand, first you have to look where the device is:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|less /sys/class/scsi_device/(x)\:0\:0\:0/device/model}}&lt;br /&gt;
&lt;br /&gt;
for (x) first put in 0, if it tells you DVD or the name of the model you want to hotswap youre right. if not, go on with 1, 2 or 3...&lt;br /&gt;
&lt;br /&gt;
then, once you are sure (I deactivated my harddisk like that) you put in:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 1 {{!}} sudo tee /sys/class/scsi_device/(x)\:0\:0\:0/device/delete}}&lt;br /&gt;
&lt;br /&gt;
Now you should be able to remove the device. &lt;br /&gt;
&lt;br /&gt;
{{WARN|Do not use it for harddisks, be sure you unmounted it before! This is just a bad hack, if anyone knows how to get it right --&amp;gt; publish!}}&lt;br /&gt;
&lt;br /&gt;
If Ubuntu does not reactivate the device after putting it in again, do:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|echo 0 0 0 {{!}} sudo tee /sys/class/scsi_host/host1/scan}}&lt;br /&gt;
&lt;br /&gt;
=== Wireless activity LED ===&lt;br /&gt;
&lt;br /&gt;
The LED is not implemented at least in the IWL4965 driver. For the Atheros wifi cards look at this solution.&lt;br /&gt;
&lt;br /&gt;
A patch posted in this [http://bughost.org/bugzilla/show_bug.cgi?id=1209 thread] works for me on R61 with IWL4965 card.&lt;br /&gt;
&lt;br /&gt;
{{HELP|A howto is needed showing the process of implementing the patch in Hardy Heron. If anyone knows how to do this, please create a quick howto and either put it here or link to it from this page. Please and thank you.}}&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can install a backported IWL4965 driver that ''may'' fix the LED problem on your system.&lt;br /&gt;
&lt;br /&gt;
To active WiFi LED, &lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install linux-backports-modules-hardy&lt;br /&gt;
&lt;br /&gt;
{{NOTE|On some machines, (at least one running IWL3945 &amp;amp; IWL4965) applying the above turns on the LED permanently. It should flicker as data is being transmitted. Also, with the above modification, after turning off wireless and then turning it back on (via the switch on the front of the machine) wireless is not reactivated, so not very helpful}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can download a compatible [http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 driver] which supports WiFi led flicking and build it with modifying the {{path|config.mk}} by adding {{bootparm|CONFIG_IWL3945_LEDS|y}} and {{bootparm|CONFIG_IWLWIFI_LEDS|y}}  these two options. For Ubuntu/Debian users, build-essential, linux-source-2.6.24 and linux-headers-generic packages are required.&lt;br /&gt;
&lt;br /&gt;
{{HELP|I added the above lines to the config.mk file and it would not make or make install correctly. I received an error 2 at the end of the make. If you have had success, where did you put the items in the config.mk file for it to make and make install correctly? Thanks in advance.}}&lt;br /&gt;
&lt;br /&gt;
=== Hidden SSID ===&lt;br /&gt;
It has been reported that users wanting to access Hidden SSIDs have to enter the SSID and password manually in Network Manager to connect. Even after the SSID is saved in Network Manager, it will not reconnect automatically. The user has to connect manually by entering the information as previously described. &lt;br /&gt;
It appears that updating the driver by following the instructions [http://linuxwireless.org/en/users/Download here] resolves this issue.&lt;br /&gt;
&lt;br /&gt;
=== Hard Disk Parking ===&lt;br /&gt;
Getting hard disk parking to work:&lt;br /&gt;
&lt;br /&gt;
tp_smapi patch is not needed in [http://packages.ubuntu.com/search?keywords=linux-image-2.6.24-18&amp;amp;searchon=names&amp;amp;suite=hardy&amp;amp;section=all linux-image-2.6.24-18]&lt;br /&gt;
&lt;br /&gt;
1. Patch your kernel with the 'protect' [http://www.thinkwiki.org/wiki/HDAPS#Kernel_patch patch]. &lt;br /&gt;
&lt;br /&gt;
2. Installing the hdapsd daemon which does the actual parking.&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install hdapsd hdaps-utils}}&lt;br /&gt;
&lt;br /&gt;
== some other tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== screenblank with {{key|Fn}} + {{key|F3}} ===&lt;br /&gt;
&lt;br /&gt;
Its ok, and might be usefull to get the estimated batterytime when pressing {{key|Fn}}+{{key|F3}}, as it should be. But i dont need that, i find the earlier command for {{key|F3}}, to blank the screen, more useful to save batterylife better.&lt;br /&gt;
&lt;br /&gt;
For that, you must edit {{path|/etc/acpi/thinkpad-lockbattery.sh}} and replace LENOVO by IBM, and IBM by LENOVO :). Do not forget to copy the file before you change it!&lt;br /&gt;
&lt;br /&gt;
=== Enable normal User to Limit CPU Speed ===&lt;br /&gt;
To let user set the CPU limit you need to open a Terminal an type there&lt;br /&gt;
 sudo dpkg-reconfigure gnome-applets&lt;br /&gt;
anser the question with yes&lt;br /&gt;
&lt;br /&gt;
=== Fix bluish WSXGA+ displays ===&lt;br /&gt;
Many T61 owners complain about a very bluish color temperature: My T61 WSXGA+ was also way too blue. I came across a thread at the notebook review forum http://forum.notebookreview.com/showthread.php?t=174408 which provided two useful ICC profiles which fixed the situation for me. Just install xcalib &lt;br /&gt;
 sudo apt-get install xcalib&lt;br /&gt;
and load one of these profiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:  Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Lunatico</name></author>
		
	</entry>
</feed>