<?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=Jomanchu</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=Jomanchu"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Jomanchu"/>
	<updated>2026-04-22T20:21:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42543</id>
		<title>Talk:Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42543"/>
		<updated>2009-04-08T16:14:03Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Choppy Compiz animations and nvidia 180 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Log out &amp;amp; NVidia ==&lt;br /&gt;
This is a problem between the 177.* drivers and broken Lenovo DFP EDID.&lt;br /&gt;
You can make it work by increasing timeout in GDM:&lt;br /&gt;
e.g. set GdmXServerTimeout=45 in /etc/gdm/gdm.conf&lt;br /&gt;
&lt;br /&gt;
This workaround works. I've read it on the LP bug report as well. I don't know if it has to do with the broken EDID. I've seen much more laptops with broked EDIDs, but this hang does not occur with Intrepid on those machines.--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
Just want to point out that the 173.* driver broken EDID too.  --[[User:Dickeywang|Dickeywang]] 16:15, 27 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== WiFi &amp;amp; HW RFkill ==&lt;br /&gt;
I think that the interface is just not brought up after the kill switch is disabled. Try:&lt;br /&gt;
ip l s wlan0 up&lt;br /&gt;
&lt;br /&gt;
This works, just like reloading the module. Why is it so hard to fix in the the release?--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
How about simpy adding &lt;br /&gt;
 sudo ip l s wlan0 up&lt;br /&gt;
to&lt;br /&gt;
 /etc/acpi-wireless.sh&lt;br /&gt;
like &lt;br /&gt;
&lt;br /&gt;
 !/bin/sh&lt;br /&gt;
 test -f /usr/share/acpi-support/state-funcs || exit 0&lt;br /&gt;
 # Find and toggle wireless of bluetooth devices on ThinkPads&lt;br /&gt;
 . /usr/share/acpi-support/state-funcs&lt;br /&gt;
 BLUETOOTH=/proc/acpi/ibm/bluetooth&lt;br /&gt;
 '''sudo ip l s wlan0 up'''&lt;br /&gt;
 if [ -r $BLUETOOTH ]; then&lt;br /&gt;
     grep -q disabled $BLUETOOTH&lt;br /&gt;
     bluetooth_state=$?&lt;br /&gt;
 fi&lt;br /&gt;
 ...&lt;br /&gt;
In my case it works like a charm so that wireless LAN can always be activated with Fn-F5.&lt;br /&gt;
Wouldn't it perhaps be an easy solution to the problem, because running  sudo ip l s wlan0 up from terminal every time&lt;br /&gt;
is IMHO not very convenient? --[[User:Bombenbach|Bombenbach]] 22:05, 2 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== UUOC award nomination ==&lt;br /&gt;
&lt;br /&gt;
Looking at this line in the &amp;lt;code&amp;gt;powermizer-loop&amp;lt;/code&amp;gt; script&lt;br /&gt;
 powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
Can this be changed to&lt;br /&gt;
 powerstate=`awk '{print $2}' /proc/acpi/ac_adapter/AC/state`&lt;br /&gt;
For [http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat UUOC], see Wikipedia ;) [[User:Jomanchu|Jomanchu]] 08:51, 18 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Possible Mistake in Tp_smapi section ==&lt;br /&gt;
&lt;br /&gt;
Should&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/start_charge_thresh&lt;br /&gt;
be changed to&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/stop_charge_thresh&lt;br /&gt;
start-&amp;gt; stop? This section is talking about an upper limit, I thought.&lt;br /&gt;
&lt;br /&gt;
You're right, Jomanchu. Fixed.--[[User:Gertvdijk|Gertvdijk]] 17:10, 26 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Choppy Compiz animations and nvidia 180 ==&lt;br /&gt;
&lt;br /&gt;
Do the nvidia 180 drivers still have the choppy compiz problems? I just installed 180 (seems it got pushed to Ubuntu's stable repositories today), so I will test in a bit. [[User:Jomanchu|Jomanchu]] 16:00, 8 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Yep still the same problem. [[User:Jomanchu|Jomanchu]] 16:14, 8 April 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42542</id>
		<title>Talk:Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=42542"/>
		<updated>2009-04-08T16:00:48Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Choppy Compiz animations and nvidia 180 */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Log out &amp;amp; NVidia ==&lt;br /&gt;
This is a problem between the 177.* drivers and broken Lenovo DFP EDID.&lt;br /&gt;
You can make it work by increasing timeout in GDM:&lt;br /&gt;
e.g. set GdmXServerTimeout=45 in /etc/gdm/gdm.conf&lt;br /&gt;
&lt;br /&gt;
This workaround works. I've read it on the LP bug report as well. I don't know if it has to do with the broken EDID. I've seen much more laptops with broked EDIDs, but this hang does not occur with Intrepid on those machines.--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
Just want to point out that the 173.* driver broken EDID too.  --[[User:Dickeywang|Dickeywang]] 16:15, 27 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== WiFi &amp;amp; HW RFkill ==&lt;br /&gt;
I think that the interface is just not brought up after the kill switch is disabled. Try:&lt;br /&gt;
ip l s wlan0 up&lt;br /&gt;
&lt;br /&gt;
This works, just like reloading the module. Why is it so hard to fix in the the release?--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
How about simpy adding &lt;br /&gt;
 sudo ip l s wlan0 up&lt;br /&gt;
to&lt;br /&gt;
 /etc/acpi-wireless.sh&lt;br /&gt;
like &lt;br /&gt;
&lt;br /&gt;
 !/bin/sh&lt;br /&gt;
 test -f /usr/share/acpi-support/state-funcs || exit 0&lt;br /&gt;
 # Find and toggle wireless of bluetooth devices on ThinkPads&lt;br /&gt;
 . /usr/share/acpi-support/state-funcs&lt;br /&gt;
 BLUETOOTH=/proc/acpi/ibm/bluetooth&lt;br /&gt;
 '''sudo ip l s wlan0 up'''&lt;br /&gt;
 if [ -r $BLUETOOTH ]; then&lt;br /&gt;
     grep -q disabled $BLUETOOTH&lt;br /&gt;
     bluetooth_state=$?&lt;br /&gt;
 fi&lt;br /&gt;
 ...&lt;br /&gt;
In my case it works like a charm so that wireless LAN can always be activated with Fn-F5.&lt;br /&gt;
Wouldn't it perhaps be an easy solution to the problem, because running  sudo ip l s wlan0 up from terminal every time&lt;br /&gt;
is IMHO not very convenient? --[[User:Bombenbach|Bombenbach]] 22:05, 2 April 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== UUOC award nomination ==&lt;br /&gt;
&lt;br /&gt;
Looking at this line in the &amp;lt;code&amp;gt;powermizer-loop&amp;lt;/code&amp;gt; script&lt;br /&gt;
 powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
Can this be changed to&lt;br /&gt;
 powerstate=`awk '{print $2}' /proc/acpi/ac_adapter/AC/state`&lt;br /&gt;
For [http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat UUOC], see Wikipedia ;) [[User:Jomanchu|Jomanchu]] 08:51, 18 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Possible Mistake in Tp_smapi section ==&lt;br /&gt;
&lt;br /&gt;
Should&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/start_charge_thresh&lt;br /&gt;
be changed to&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/stop_charge_thresh&lt;br /&gt;
start-&amp;gt; stop? This section is talking about an upper limit, I thought.&lt;br /&gt;
&lt;br /&gt;
You're right, Jomanchu. Fixed.--[[User:Gertvdijk|Gertvdijk]] 17:10, 26 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Choppy Compiz animations and nvidia 180 ==&lt;br /&gt;
&lt;br /&gt;
Do the nvidia 180 drivers still have the choppy compiz problems? I just installed 180 (seems it got pushed to Ubuntu's stable repositories today), so I will test in a bit. [[User:Jomanchu|Jomanchu]] 16:00, 8 April 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category_talk:T61p&amp;diff=42541</id>
		<title>Category talk:T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category_talk:T61p&amp;diff=42541"/>
		<updated>2009-04-08T15:55:19Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Max memory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I wonder why the [http://www.nvidia.com/page/quadrofx_go.html nVidia website] states a miximum graphics RAM of 256 MB for the Quadro FX 570M, but mine identifies as 512 MB in the nVidia X Server Settings tool. Anyone an idea?&lt;br /&gt;
&lt;br /&gt;
--[[User:TobyS|tobyS]] 22:02, 10 Sep 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Card Reader ==&lt;br /&gt;
&lt;br /&gt;
I have a T61p 8891 without a card reader. From my point of view only the models with a 15.4&amp;quot; screen have a Card Reader. Probably this should be mentioned in the configuration list.&lt;br /&gt;
&lt;br /&gt;
== Max memory ==&lt;br /&gt;
&lt;br /&gt;
Has anyone actually tested the claimed 8GB maximum memory?  Lenovo's documentation for this model indicates a maximum of 4GB.&lt;br /&gt;
&lt;br /&gt;
--[[User:JaminCollins|JaminCollins]] 19:35, 3 July 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
He has:&lt;br /&gt;
http://blogs.technet.com/keithcombs/archive/2008/06/04/my-lenovo-thinkpad-t61p-now-has-8gb-of-ram.aspx&lt;br /&gt;
&lt;br /&gt;
--[[User:Dummvogel|Dummvogel]] 08:03, 10 July 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
I believe that this page should list the Lenovo official max of 4GB and have the 8GB max entry be said in the [[Unofficial maximum memory specs]]&lt;br /&gt;
&lt;br /&gt;
--[[User:ImmortalTimeKeeper|ImmortalTimeKeeper]] 23:30, 27 September 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
: Anybody know what chipset he was using? AFAIK, the maximum memory limit is chipset dependent and according to Intel[http://ark.intel.com/chipset.aspx?familyID=28116], the PM965 can't support more than 4 GB. Although there is one report of a GM965 (same as PM965 but with a GPU) booting with 8GB.[http://forum.thinkpads.com/viewtopic.php?f=29&amp;amp;t=65015] [[User:Jomanchu|Jomanchu]] 15:55, 8 April 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40655</id>
		<title>Talk:Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40655"/>
		<updated>2009-01-18T10:10:10Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Possible Mistake in Tp_smapi section */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Log out &amp;amp; NVidia ==&lt;br /&gt;
This is a problem between the 177.* drivers and broken Lenovo DFP EDID.&lt;br /&gt;
You can make it work by increasing timeout in GDM:&lt;br /&gt;
e.g. set GdmXServerTimeout=45 in /etc/gdm/gdm.conf&lt;br /&gt;
&lt;br /&gt;
This workaround works. I've read it on the LP bug report as well. I don't know if it has to do with the broken EDID. I've seen much more laptops with broked EDIDs, but this hang does not occur with Intrepid on those machines.--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== WiFi &amp;amp; HW RFkill ==&lt;br /&gt;
I think that the interface is just not brought up after the kill switch is disabled. Try:&lt;br /&gt;
ip l s wlan0 up&lt;br /&gt;
&lt;br /&gt;
This works, just like reloading the module. Why is it so hard to fix in the the release?--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== UUOC award nomination ==&lt;br /&gt;
&lt;br /&gt;
Looking at this line in the &amp;lt;code&amp;gt;powermizer-loop&amp;lt;/code&amp;gt; script&lt;br /&gt;
 powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
Can this be changed to&lt;br /&gt;
 powerstate=`awk '{print $2}' /proc/acpi/ac_adapter/AC/state`&lt;br /&gt;
For [http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat UUOC], see Wikipedia ;) [[User:Jomanchu|Jomanchu]] 08:51, 18 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Possible Mistake in Tp_smapi section ==&lt;br /&gt;
&lt;br /&gt;
Should&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/start_charge_thresh&lt;br /&gt;
be changed to&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/stop_charge_thresh&lt;br /&gt;
start-&amp;gt; stop? This section is talking about an upper limit, I thought.&lt;/div&gt;</summary>
		<author><name>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40654</id>
		<title>Talk:Install Ubuntu Intrepid Ibex on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40654"/>
		<updated>2009-01-18T08:51:03Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* UUOC award nomination */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Log out &amp;amp; NVidia ==&lt;br /&gt;
This is a problem between the 177.* drivers and broken Lenovo DFP EDID.&lt;br /&gt;
You can make it work by increasing timeout in GDM:&lt;br /&gt;
e.g. set GdmXServerTimeout=45 in /etc/gdm/gdm.conf&lt;br /&gt;
&lt;br /&gt;
This workaround works. I've read it on the LP bug report as well. I don't know if it has to do with the broken EDID. I've seen much more laptops with broked EDIDs, but this hang does not occur with Intrepid on those machines.--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== WiFi &amp;amp; HW RFkill ==&lt;br /&gt;
I think that the interface is just not brought up after the kill switch is disabled. Try:&lt;br /&gt;
ip l s wlan0 up&lt;br /&gt;
&lt;br /&gt;
This works, just like reloading the module. Why is it so hard to fix in the the release?--[[User:Gertvdijk|Gertvdijk]] 18:42, 6 November 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== UUOC award nomination ==&lt;br /&gt;
&lt;br /&gt;
Looking at this line in the &amp;lt;code&amp;gt;powermizer-loop&amp;lt;/code&amp;gt; script&lt;br /&gt;
 powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
Can this be changed to&lt;br /&gt;
 powerstate=`awk '{print $2}' /proc/acpi/ac_adapter/AC/state`&lt;br /&gt;
For [http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat UUOC], see Wikipedia ;) [[User:Jomanchu|Jomanchu]] 08:51, 18 January 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40653</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=40653"/>
		<updated>2009-01-18T08:44:27Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Battery control by tp_smapi */&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. &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;
&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;
== 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;
=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/start_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).&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&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>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40652</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=40652"/>
		<updated>2009-01-18T08:43:25Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Battery control by tp_smapi */ added battery saving script&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. &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;
&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;
== 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;
=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/start_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;
&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).&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&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>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40651</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=40651"/>
		<updated>2009-01-18T08:25:47Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Microphone/Sound In */&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. &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;
&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;
== 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;
=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/start_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;
= 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).&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&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>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=40650</id>
		<title>Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad T61p</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_T61p&amp;diff=40650"/>
		<updated>2009-01-18T08:23:32Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Internal Microphone/Microphone Input Jack */&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;
*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. Didn't take locked (read-only) 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;
*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;
&lt;br /&gt;
==What needs some tweaks?==&lt;br /&gt;
*Suspend-to-RAM (Standby, Suspend)&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
*Smooth Compiz performance&lt;br /&gt;
*DVD playback (region code problem)&lt;br /&gt;
{{Todo|HDAPS (harddrive protection system)}}&lt;br /&gt;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
*Suspend-to-Disk (Hibernate)&lt;br /&gt;
*Wireless LAN issues (both fixed in Intrepid):&lt;br /&gt;
**LED not working.&lt;br /&gt;
**Broken PEAP/TTLS WPA enterprise authentication.&lt;br /&gt;
&lt;br /&gt;
== Display / Video ==&lt;br /&gt;
&lt;br /&gt;
To enable 3D acceleration, the proprietary NVidia driver must be installed. The first time you boot into 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 System --&amp;gt; Administration --&amp;gt; Hardware Drivers. &lt;br /&gt;
&lt;br /&gt;
Optionally, if you want more options for configuring your video card than is provided by the Ubuntu control panels, you can install the NVidia Control Panel with&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo aptitude install nvidia-settings}}&lt;br /&gt;
&lt;br /&gt;
which will add the NVidia X Server Settings panel to the Administration menu.&lt;br /&gt;
However, this version of the driver will not provide you proper suspend functionality. The easiest way to install more recent drivers is by using Envy, described below.&lt;br /&gt;
==== Installation of more recent Envy driver ====&lt;br /&gt;
Alternately, more recent versions of the NVidia driver can be installed using EnvyNG.&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo aptitude install envyng-gtk}}&lt;br /&gt;
&lt;br /&gt;
After installation, simply start EnvyNG (you can find it in the System Tools menu) and let it install the NVidia driver. Using more recent drivers than the one offered in the Hardware Drivers panel will provide proper suspend functionality.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are still some annoying bugs in the NVidia driver. The most annoying one is that after resuming from suspend, you might get a blank white screen, instead of a simple box asking for your password. To get past it, simply type in your password (blindly) and press enter, and you will be returned to your desktop. Fortunately, Ubuntu has released a workaround for this bug, so it should go away once you update all your packages to the latest versions. You might still see the white screen for a short amount of time. For suspend functionality you might need to follow the steps in the Suspend section below.&lt;br /&gt;
&lt;br /&gt;
As far as I know there is no NVidia X Server Settings program available for the Envy driver, since it conflicts with the Envy driver when you try to install it from the repositories.&lt;br /&gt;
&lt;br /&gt;
==== Choppy Compiz animations ====&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate of the display to Compiz, resulting in chopped animations and effects. To fix this, install the compizconfig-settings-manager package, then go to System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings. 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;
Next, Compiz animations are also 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. 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;
One final bug is that EDID (Extended Display Identification Data) might be misdetected for your display, which causes problems with font sizes and greatly 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 encouter 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;UseEdidDpi&amp;quot; &amp;quot;FALSE&amp;quot;&lt;br /&gt;
 Option &amp;quot;DPI&amp;quot; &amp;quot;96 x 96&amp;quot;&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 first two lines fix the font size issue, and the last two lines fix the resolution problem. The 40-70 values are just an example. You should put the values of your display there.&lt;br /&gt;
&lt;br /&gt;
NVidia seems to have corrected the EDID misdetection bug in the latest version of their driver, but it's not available in Hardy and I'm not aware of any easy way to install it.&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;
==== 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, espected behavior. You can let the GNOME Power Manager still lower the brightness, but you will be able to higher it when needed.&lt;br /&gt;
&lt;br /&gt;
== Suspend ==&lt;br /&gt;
Suspend is supposed to work out of the box if you're not using the Nvidia binary drivers. If you are using them, make sure the are updated as explained in the Display/Video section, and the following instructions will fix suspend to ram. Suspend to disk (hibernate) is not working at this time.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|These instructions worked on the T61p with type numbers 6460, 6457 (and perhaps 6465). It may also work with other type numbers.}}&lt;br /&gt;
&lt;br /&gt;
To get suspend to ram working, you need to edit a configuration file, which apparently has some bad information in it.&lt;br /&gt;
&lt;br /&gt;
{{cmduser |gksudo gedit /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi}}&lt;br /&gt;
&lt;br /&gt;
Find the following section:&lt;br /&gt;
      ...&lt;br /&gt;
      &amp;amp;lt;!-- T61 (8895), intel card 32bit works with S3_MODE, but 64bit needs VBE_MODE &lt;br /&gt;
 	      T61p (6460), does not work with the NVidia driver--&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; prefix_outof=&amp;quot;6457;6460;6465&amp;quot;&amp;amp;gt;&lt;br /&gt;
 	&amp;amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;amp;gt;true&amp;amp;lt;/merge&amp;amp;gt;&lt;br /&gt;
 	&amp;amp;lt;merge key=&amp;quot;power_management.quirk.vbemode_restore&amp;quot; type=&amp;quot;bool&amp;quot;&amp;amp;gt;true&amp;amp;lt;/merge&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;/match&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
      &amp;amp;lt;!-- These Thinkpads don\'t need a quirk: 6459 (T61p), 7664 (T60) see s2ram --&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; prefix_outof=&amp;quot;6459;7664;8918&amp;quot;&amp;amp;gt;&lt;br /&gt;
 	&amp;amp;lt;merge key=&amp;quot;power_management.quirk.none&amp;quot; type=&amp;quot;bool&amp;quot;&amp;amp;gt;true&amp;amp;lt;/merge&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;/match&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
      &amp;amp;lt;!-- Lenovos non-ThinkPads --&amp;amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
&lt;br /&gt;
Remove the &amp;lt;code&amp;gt;6457;6460;&amp;lt;/code&amp;gt; from the &amp;lt;code&amp;gt;&amp;amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; prefix_outof=&amp;quot;6457;6460;6465&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt; line and add the following lines right before the &amp;lt;code&amp;gt;&amp;amp;lt;!-- Lenovos non-ThinkPads --&amp;amp;gt;&amp;lt;/code&amp;gt; line:&lt;br /&gt;
      &amp;amp;lt;match key=&amp;quot;system.hardware.product&amp;quot; prefix_outof=&amp;quot;6457;6460&amp;quot;&amp;amp;gt;&lt;br /&gt;
 	&amp;amp;lt;merge key=&amp;quot;power_management.quirk.s3_bios&amp;quot; type=&amp;quot;bool&amp;quot;&amp;amp;gt;false&amp;amp;lt;/merge&amp;amp;gt;&lt;br /&gt;
 	&amp;amp;lt;merge key=&amp;quot;power_management.quirk.vbemode_restore&amp;quot; type=&amp;quot;bool&amp;quot;&amp;amp;gt;true&amp;amp;lt;/merge&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;/match&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically, it comes down to changing the power_management.quirk.s3_bios key value to false. Based on [https://bugs.launchpad.net/ubuntu/+source/hal-info/+bug/235284 Bug #235284 in hal-info (Ubuntu)]&lt;br /&gt;
&lt;br /&gt;
On (at least) the 6457 model you'll need the latest binary Nvidia graphics drivers (173.14.09 at time of writing for Envy) to be able to resume from suspend. Additionally, when resuming quickly, I have to switch to the X terminal manually by pressing alt+F7 and the sleep LED will blink for a while, but will stop eventually and the wireless devices will be switched back on. You may experience some resetting of the display when that happens. Just move the cursor to regain your desktop. N.B. This does not seem to occur when waking after a longer time of sleep (more than one minute approx.).&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This has been fixed in the latest builds of the hal-info package for Ubuntu Hardy. [https://bugs.launchpad.net/ubuntu/+source/hal/+bug/253223 Launchpad bug #253223]}}&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
If installed, bluetooth must be enabled with the command:&lt;br /&gt;
&lt;br /&gt;
{{cmduser | echo enable &amp;amp;#124; sudo tee /proc/acpi/ibm/bluetooth}}&lt;br /&gt;
&lt;br /&gt;
Replace enable with disable to turn it off.&lt;br /&gt;
&lt;br /&gt;
You can now connect devices by following the instructions at [https://help.ubuntu.com/community/BluetoothSetup Ubuntu Help Bluetooth Setup page]&lt;br /&gt;
{{NOTE|On (at least) the 6457 model the Bluetooth and Wireless LAN toggle button (Fn+F5) seems to work fine. Be aware of the additional hardware switch at the front of the machine. This needs to be in the green setting.}}&lt;br /&gt;
&lt;br /&gt;
== Internal Microphone/Microphone Input Jack ==&lt;br /&gt;
The microphone is muted out of the box. In order to enable it, double click on the the speaker icon in the task bar or run {{cmduser | gnome-volume-control}}. Under File &amp;gt; Change Device, select &amp;quot;Capture: ALSA PCM on front:0 (AD198x Analog) via DMA (PulseAudio Mixer)&amp;quot; and set the master slider to about 75%. Make sure that the mute and recording buttons below the slider do not show red Xs.&lt;br /&gt;
&lt;br /&gt;
Go back to the Change Device menu and select &amp;quot;HDA Intel (Alsa mixer)&amp;quot;. Then go to the edit menu and select preferences. In the window that opens, make sure that the boxes for Capture, Capture1, and both instances of Input Source. The Volume Control panel should now have four tabs: Playback, Recording, Switches and Options. In the options tab, select Internal Mic for the internal microphone or Mic for the mic input jack for both Input sources. As far as i can tell, the second one down doesn't seem to actually do anything. Now in the recording tab you can mute Capture 1 and adjust the sensitivity of the mic with the Capture slider. You can use Sound Recorder in Applications &amp;gt; Sound &amp;amp; Video to test out your settings.&lt;br /&gt;
&lt;br /&gt;
In the past, I have spent a fair amount of time messing with the PulseAudio settings on this install, so it would be great if someone with a relatively unaltered install could verify these instructions and post a confirmation. The main thing I did before was follow the PulseAudio howto here: [http://ubuntuforums.org/showthread.php?t=789578 HOWTO: PulseAudio Fixes &amp;amp; System-Wide Equalizer Support] [[User:Chazchaz101|Chazchaz101]] 11:05, 8 September 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
: My install is relatively altered in terms of applications I've installed and other minor tweaks here and there, but no changes were made to the sound architectures, and these instructions work. [[User:Jomanchu|Jomanchu]] 08:23, 18 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Kubuntu KDE 4.1 on the t61p ==&lt;br /&gt;
&lt;br /&gt;
=== What works? ===&lt;br /&gt;
&lt;br /&gt;
=== What does not work? ===&lt;br /&gt;
*Screen brightness control&lt;br /&gt;
*Volume control buttons&lt;br /&gt;
&lt;br /&gt;
=== Screen brightness control ===&lt;br /&gt;
There is a known bug in Kubuntu/KDE 4.1 which causes acpi_fakekey information to be lost.  This in turn breaks the /etc/acpi/video_brightnessdown.sh and video_brightnessup.sh scripts.  See https://bugs.launchpad.net/ubuntu/+source/kdeutils-kde4/+bug/223643&lt;br /&gt;
&lt;br /&gt;
Here's a workaround:  change the above scripts as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@t61p:/etc/acpi# cat video_brightnessdown.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
brightness=$(cat /sys/class/backlight/acpi_video1/actual_brightness)&lt;br /&gt;
new_brightness=$[brightness-1]&lt;br /&gt;
echo $new_brightness &amp;gt; /sys/class/backlight/acpi_video1/brightness&lt;br /&gt;
&lt;br /&gt;
root@t61p:/etc/acpi# cat video_brightnessup.sh&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
brightness=$(cat /sys/class/backlight/acpi_video1/actual_brightness)&lt;br /&gt;
new_brightness=$[brightness+1]&lt;br /&gt;
echo $new_brightness &amp;gt; /sys/class/backlight/acpi_video1/brightness&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.04]]&lt;/div&gt;</summary>
		<author><name>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40649</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=40649"/>
		<updated>2009-01-18T07:50:02Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Choppy Compiz animations */ minor cosmetic change, added alternative name for menu entry for compizconfig-settings-manager&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. &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;
&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&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;
== 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;
=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/start_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;
= 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).&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&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>Jomanchu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40648</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=40648"/>
		<updated>2009-01-18T07:47:33Z</updated>

		<summary type="html">&lt;p&gt;Jomanchu: /* Version 177 logout/X restart fix */ GdmXServerTimeout -&amp;gt; GdmXserverTimeout&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. &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;
&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 compizconfig-settings-manager package, then go to System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings. 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&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;
== 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;
=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/start_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;
= 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).&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&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>Jomanchu</name></author>
		
	</entry>
</feed>