<?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=Gertvdijk</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=Gertvdijk"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Gertvdijk"/>
	<updated>2026-04-30T20:26:14Z</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=40874</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=40874"/>
		<updated>2009-01-26T17:10:12Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: fix start_charge_thresh&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;br /&gt;
&lt;br /&gt;
You're right, Jomanchu. Fixed.--[[User:Gertvdijk|Gertvdijk]] 17:10, 26 January 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40873</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=40873"/>
		<updated>2009-01-26T17:07:30Z</updated>

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

		<summary type="html">&lt;p&gt;Gertvdijk: changed way of adding intrepid-proposed to repositories (the GUI way)&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;
**version 180 as of 180.22 is known to have issue with suspend. Stay with version 177 until problem is fixed.&lt;br /&gt;
&lt;br /&gt;
Once the proprietary drivers are installed, the &amp;quot;NVidia X Server Settings&amp;quot; program will be available in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
===Version 177 logout/X restart fix===&lt;br /&gt;
There is a known issue in the v177 proprietary NVidia driver - See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Once you install the v177 driver, logging out or restarting X will cease to work, though suspend to RAM/Disk will continue to function. &lt;br /&gt;
&lt;br /&gt;
The work around is as follows:&lt;br /&gt;
* In /etc/gdm/gdm.conf , increase the value for GdmXserverTimeout to about 60. When logging out or restarting X, X will hang for ~35 seconds. By increasing the value from its default, GDM will give X more time before it assumes X is faulty.&lt;br /&gt;
&lt;br /&gt;
===Choppy Compiz animations===&lt;br /&gt;
NVidia's PowerMizer feature will slow down the GPU when &amp;quot;inactive&amp;quot; even on AC power.&lt;br /&gt;
&lt;br /&gt;
The NVidia driver does not report the correct refresh rate of the display to Compiz, resulting in choppy animations and effects. To fix this, install the &amp;lt;code&amp;gt;compizconfig-settings-manager&amp;lt;/code&amp;gt; package, then go to System --&amp;gt; Preferences --&amp;gt; Advanced Desktop Effects Settings (also might be called CompizConfig Settings Manager). Click on General Options, go to the Display Settings tab, uncheck the Detect Refresh rate box and drag the Refresh Rate slider to 60. Also, check the Sync To VBlank box. This will improve the smoothness of the window animations significantly if you're sensitive to the choppy animations.&lt;br /&gt;
 &lt;br /&gt;
Compiz animations can also be choppy due to NVidia's PowerMizer feature, which slows down the GPU to conserve power when it is not in use. This works well for 3D games which constantly use 3D acceleration, but poorly for Compiz which uses the GPU in small bursts. It seems that the interval of the PowerMizer is way too long and is not speeding up when using in bursts. Fortunately, the situation seems to have improved in version 177 of the NVidia driver.  To workaround this problem, I made a couple of shell scripts which keep the GPU at its highest speed while running on AC power. The first one is named &amp;quot;powermizer-loop&amp;quot; and does most of the work:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 while true; do&lt;br /&gt;
     &lt;br /&gt;
     powerstate=`cat /proc/acpi/ac_adapter/AC/state | awk '{print $2}'`&lt;br /&gt;
     &lt;br /&gt;
     if [ $powerstate = &amp;quot;on-line&amp;quot;  ]; then&lt;br /&gt;
        nvidia-settings -q all &amp;gt; /dev/null&lt;br /&gt;
     fi&lt;br /&gt;
     sleep 25;&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
The second is named &amp;quot;powermizer-off&amp;quot; and starts up powermizer-loop when I log in, ensuring that only one copy runs at a time:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 killall powermizer-loop&lt;br /&gt;
 ~/powermizer-loop &amp;amp;&lt;br /&gt;
&lt;br /&gt;
I put both of these scripts in my home directory and made them executable by doing:&lt;br /&gt;
&lt;br /&gt;
 chmod a+x powermizer-loop powermizer-off&lt;br /&gt;
&lt;br /&gt;
Then to make powermizer-off run on login, I opened System --&amp;gt; Preferences --&amp;gt; Sessions, clicked on Add, and entered the command to run the script, i.e. &amp;quot;/home/&amp;lt;user&amp;gt;/powermizer-off&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Of course, performance still suffers when running on battery, but hopefully NVidia will fix this problem in a future version of their driver.&lt;br /&gt;
&lt;br /&gt;
=== EDID misdetection ===&lt;br /&gt;
&lt;br /&gt;
EDID (Extended Display Identification Data) might be misdetected for your display, which reduces the number of resolutions available in the NVidia X Server Settings application. (For example, I was unable to set my laptop's screen to 1024x768 for use with a projector during a presentation.) If you encounter this problem, add the following lines to /etc/X11/xorg.conf in the &amp;quot;Screen&amp;quot; section:&lt;br /&gt;
&lt;br /&gt;
 Option &amp;quot;UseEdidFreqs&amp;quot; &amp;quot;FALSE&amp;quot;&lt;br /&gt;
 Option &amp;quot;HorizSync&amp;quot; &amp;quot;40-70&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The 40-70 values are just an example. They seem to work well with my 1680x1050 display. You should put the values of your display there. On a 1920x1200 display, making this change prevents the display from coming on when X starts.&lt;br /&gt;
&lt;br /&gt;
A better but more complicated way would be using Phoenix EDID Designer to dump and fix the EDID data and then setup the Nvidia driver so it will use the customized EDID data, as described at [http://myricci.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=36]&lt;br /&gt;
&lt;br /&gt;
==Microphone/Sound In==&lt;br /&gt;
Might need to be turned on in the mixer. See [[Install Ubuntu Hardy Heron on a T61p#Internal Microphone/Microphone Input Jack]]&lt;br /&gt;
&lt;br /&gt;
==Front radio kill switch==&lt;br /&gt;
When killing Wireless LAN with the killswitch at the front, you won't be able to get WLAN back up after switching back. See Launchpad bugs [http://bugs.launchpad.net/ubuntu/+source/hal/+bug/289286 289286] and [http://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/193970 193970] and the [https://wiki.ubuntu.com/IntrepidReleaseNotes#Cannot%20reactivate%20Intel%203945/4965%20wireless%20if%20booting%20with%20killswitch%20enabled Release Notes] on the Ubuntu Wiki.&lt;br /&gt;
&lt;br /&gt;
This will be solved in intrepid-updates eventually.&lt;br /&gt;
&lt;br /&gt;
For now there are a few ways to bring the interface back up (choose one):&lt;br /&gt;
* Right click the network manager icon in the tray, uncheck Enable Wireless, then check it again does the trick (at least for me)&lt;br /&gt;
* {{cmdroot|ip l s wlan0 up}}&lt;br /&gt;
* {{cmdroot|modprobe -r iwl3945 &amp;amp;&amp;amp; modprobe iwl3945}}&lt;br /&gt;
* reboot&lt;br /&gt;
* suspend and resume&lt;br /&gt;
&lt;br /&gt;
== Middle-button Scrolling ==&lt;br /&gt;
Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. &lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi}}&lt;br /&gt;
&lt;br /&gt;
Paste and save the following code, which will give vertical wheel emulation only:&lt;br /&gt;
 &amp;lt;match key=&amp;quot;info.product&amp;quot; string=&amp;quot;TPPS/2 IBM TrackPoint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheel&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.EmulateWheelButton&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;2&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.ZAxsisMapping&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;4 5&amp;lt;/merge&amp;gt;&lt;br /&gt;
  &amp;lt;merge key=&amp;quot;input.x11_options.Emulate3Buttons&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;true&amp;lt;/merge&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but this is not confirmed to work.&lt;br /&gt;
&lt;br /&gt;
source:&lt;br /&gt;
*[[Installing_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29| Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T61 - Emulate Wheel (Middle-click scrolling)]]&lt;br /&gt;
&lt;br /&gt;
==Fingerprint Reader==&lt;br /&gt;
&lt;br /&gt;
The [http://thinkfinger.sourceforge.net Thinkfinger] package allows you to swipe a finger in most places where you would have to type your password. This works with sudo, gksudo and on the login page and with a little fix also for the screen saver. Also, you are still required to type your user name on the login screen.&lt;br /&gt;
&lt;br /&gt;
0) Set up the third party repository (optional but recommended!)&lt;br /&gt;
&lt;br /&gt;
due to this [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] you need to press the return key after you swipe your finger with the current version of the kernel and the packages in ubuntu. The bug is caused by the fact that it does not recognize the fingerprint reader 100% correctly ([https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/29 Description of the root cause]) , as a temporary workaround there is a special package repository.&lt;br /&gt;
&lt;br /&gt;
The packages present in ubuntu intrepid will work but you need to press enter after you swipe your finger.&lt;br /&gt;
&lt;br /&gt;
Click System -&amp;gt; administration -&amp;gt; software sources&lt;br /&gt;
go to the tab &amp;quot;third-party software&amp;quot; and click Add ...&lt;br /&gt;
&lt;br /&gt;
Enter in the popup window:&lt;br /&gt;
&lt;br /&gt;
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main&lt;br /&gt;
&lt;br /&gt;
Click Add source, it will ask to refresh the package list, click reload.&lt;br /&gt;
&lt;br /&gt;
1) Install the following packages:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo apt-get install thinkfinger-tools  libpam-thinkfinger libthinkfinger0}}&lt;br /&gt;
&lt;br /&gt;
2) For your user:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify}}&lt;br /&gt;
&lt;br /&gt;
A completed fingerprint setup should look something like this:&lt;br /&gt;
&lt;br /&gt;
 frank@Laptop:~$ sudo tf-tool --acquire &amp;amp;&amp;amp; sudo tf-tool --verify&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 3/3, failed swipes: 0)... done.&lt;br /&gt;
 Storing data (/tmp/test.bir)... done.&lt;br /&gt;
 &lt;br /&gt;
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)&lt;br /&gt;
 Copyright (C) 2006, 2007 Timo Hoenig &amp;lt;thoenig@suse.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Initializing... done.&lt;br /&gt;
 Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.&lt;br /&gt;
 Result: Fingerprint does match.&lt;br /&gt;
 frank@CLaptop:~$&lt;br /&gt;
&lt;br /&gt;
This will store your fingerprint information in /home/$USERNAME/.thinkfinger.bir&lt;br /&gt;
&lt;br /&gt;
You should do this step for each user who wants to use the fingerprint reader&lt;br /&gt;
&lt;br /&gt;
3) Enable use of reader for authentication:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/pam.d/common-auth}}&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
before the line which contains pam_unix.so and add&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the line containing pam_unix.so.&lt;br /&gt;
&lt;br /&gt;
So it should look something like this: &lt;br /&gt;
 ...&lt;br /&gt;
 auth    sufficient                      pam_thinkfinger.so&lt;br /&gt;
 auth    [success=1 default=ignore]      pam_unix.so nullok_secure try_first_pass&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
4) Check uinput kernel module:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|lsmod &amp;amp;#124; grep uinput}}&lt;br /&gt;
If the output starts with uinput, then you're done.&lt;br /&gt;
If you don't get any output, then it needs to be started and set to start on boot.&lt;br /&gt;
&lt;br /&gt;
Start uinput:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo modprobe uinput}}&lt;br /&gt;
&lt;br /&gt;
Start on boot:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
make sure there is a line like this or add it at the bottom:&lt;br /&gt;
 uinput&lt;br /&gt;
&lt;br /&gt;
5) Enabling thinkfinger for gnome-screensaver&lt;br /&gt;
&lt;br /&gt;
*create this file:&lt;br /&gt;
{{cmduser|sudo gedit /etc/udev/rules.d/60-thinkfinger.rules}}&lt;br /&gt;
with this contents:&lt;br /&gt;
 #&lt;br /&gt;
 # udev rules file for the thinkfinger fingerprint scanner&lt;br /&gt;
 # gives access to the fingerprint reader to those in the &amp;quot;fingerprint&amp;quot; group&lt;br /&gt;
 #&lt;br /&gt;
 # Taken from:&lt;br /&gt;
 # http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader&lt;br /&gt;
 # which was taken and modified from:&lt;br /&gt;
 #  http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger&lt;br /&gt;
 #  http://article.gmane.org/gmane.linux.drivers.thinkfinger/329&lt;br /&gt;
 &lt;br /&gt;
 # SGS Thomson Microelectronics Fingerprint Reader&lt;br /&gt;
 SYSFS{idVendor}==&amp;quot;0483&amp;quot;, SYSFS{idProduct}==&amp;quot;2016&amp;quot;, SYMLINK+=&amp;quot;input/thinkfinger-%k&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # the also-needed uinput device&lt;br /&gt;
 KERNEL==&amp;quot;uinput&amp;quot;, MODE=&amp;quot;0660&amp;quot;, GROUP=&amp;quot;fingerprint&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Make the group:&lt;br /&gt;
{{cmduser|sudo groupadd fingerprint}}&lt;br /&gt;
*per user:&lt;br /&gt;
{{cmduser|sudo gpasswd -a $USERNAME fingerprint &amp;amp;&amp;amp; sudo chown $USERNAME:root /home/$USERNAME/.thinkfinger.bir }}&lt;br /&gt;
&lt;br /&gt;
Reboot your laptop and you should be ready to swipe!&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
* [[Install_Ubuntu_Gutsy_Gibbon_on_a_T61p#Fingerprint_Reader| Install Ubuntu Gutsy Gibbon on a T61p]]&lt;br /&gt;
* [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429 Bug #256429: Carriage-return required after finger scan] &amp;amp; [https://bugs.launchpad.net/ubuntu/+source/thinkfinger/+bug/256429/comments/21 Solution for the bug in the comments]  &lt;br /&gt;
* [https://launchpad.net/~jon-oberheide/+archive Repository for the third party fix] credits to [https://launchpad.net/~jon-oberheide Jon Oberheide]&lt;br /&gt;
* [[How_to_enable_the_fingerprint_reader_with_ThinkFinger| General page about Fingerprint reader with thinkfinger]] &amp;amp;  [[How_to_enable_the_fingerprint_reader_with_ThinkFinger#xscreensaver.2Fgnome-screensaver| Specific gnome-screensaver section]]&lt;br /&gt;
&lt;br /&gt;
==Hard Drive Active Protection System (APS ~ HDAPS)==&lt;br /&gt;
Please add to this section&lt;br /&gt;
&lt;br /&gt;
Some interesting links:&lt;br /&gt;
* [[Active_Protection_System| Description of APS]]&lt;br /&gt;
* [[How_to_protect_the_harddisk_through_APS| How to protect the harddisk through APS]]&lt;br /&gt;
* [[Tp_smapi| tp_smapi kernel modules]]&lt;br /&gt;
&lt;br /&gt;
=Other Problems=&lt;br /&gt;
== Resume Disables WLAN ==&lt;br /&gt;
On power up CDMA WLAN module is enabled, if user suspense and resumes it is turned off - no known fix. &lt;br /&gt;
Additionally fn-F5 turns off bluetooth but no option to turn off WLAN using function keys. This is problem is on the 6459CTO. &lt;br /&gt;
&lt;br /&gt;
== Resume Requests WIFI Network Key ==&lt;br /&gt;
On resume Network Manager request the wifi network key several times before connecting to network. This has been noted on a 6459CTO laptop and no known fix is available. Currently with this problem it takes several minutes to regain network access after resume. &lt;br /&gt;
&lt;br /&gt;
== Black Screen on Resume ==&lt;br /&gt;
On the 6459CTO with default 8.10 install suspend did not work. Enabling the proposed updates to be installed to your system might fix this issue. To enable the proposed updates go to the 'Software Sources' - tab 'Updates' in System -&amp;gt; Administration. Tick the 'Proposed updates (intrepid-updates)' checkbox, close 'Software Sources' to reload the package lists. Then, check for updates with the software updater (there should be some), update and reboot afterwards.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Brightness control on battery power ==&lt;br /&gt;
By default, when unplugging the AC power while the system is running, the brightness of the display goes down even when you have set not to in the Power Management settings and you are not able to reach a brightness level as high as possible when connected to AC power. This is not a software setting or GNOME bug, but a BIOS setting. In the BIOS you can find a brightness setting in the Power section. Set it to high for normal, expected behavior. You can let the GNOME Power Manager still lower the brightness, but you will be able to increase it when needed.&lt;br /&gt;
&lt;br /&gt;
=Software Install=&lt;br /&gt;
==Adobe Flash==&lt;br /&gt;
Adobe has plug-ins direct for 32 bit version for x64 download the libflashplayer.so file from here: &lt;br /&gt;
http://labs.adobe.com/downloads/flashplayer10.html&lt;br /&gt;
Then copy to the mozilla plugins directory &lt;br /&gt;
 sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins/&lt;br /&gt;
&lt;br /&gt;
=Other Information=&lt;br /&gt;
== Saving power ==&lt;br /&gt;
Some nice information on power saving you can find at&lt;br /&gt;
&lt;br /&gt;
http://www.lesswatts.org&lt;br /&gt;
&lt;br /&gt;
A tool that allows you to test most tips and tricks to reduce power is powertop, you can install it using&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo apt-get install powertop}}&lt;br /&gt;
&lt;br /&gt;
and run it with:&lt;br /&gt;
&lt;br /&gt;
{{cmduser|sudo powertop}}&lt;br /&gt;
&lt;br /&gt;
For more information see http://www.lesswatts.org/projects/powertop/&lt;br /&gt;
== Battery control by tp_smapi ==&lt;br /&gt;
You need to load a kernel module first:&lt;br /&gt;
 sudo modprobe tp_smapi&lt;br /&gt;
&lt;br /&gt;
Now, you will be able to have significantly more control over your battery charging via /sys/devices/platform/smapi.&lt;br /&gt;
&lt;br /&gt;
For example, you could set a threshold value of 90% for charging, preventing the battery from charging all the way in exchange for a reduction in the loss of battery capacity that occurs after multiple cycles.&lt;br /&gt;
 echo &amp;quot;90&amp;quot; | sudo tee -a /sys/devices/platform/smapi/BAT0/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). Not on 6459, (see above)&lt;br /&gt;
*Working but slow Suspend to Disk functionality.&lt;br /&gt;
&lt;br /&gt;
== Bugs and Regressions ==&lt;br /&gt;
*Hard radio killswitch (at the front) cannot bring WLAN back up after killing it. (workaround available)&lt;br /&gt;
*X hangs for approx. 35 seconds when restarting or logging out. (workaround available)&lt;br /&gt;
*Atheros WLAN not working after resume from Suspend to RAM (but a workaround is available; [[#Wireless_not_working_after_resume_.28Atheros.29|see above]]).&lt;br /&gt;
&lt;br /&gt;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40106</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=40106"/>
		<updated>2008-12-03T00:38:12Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* 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 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 pam_unix.so line and&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the pam_unix.so line.&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;
*edit the file: &lt;br /&gt;
{{cmduser|sudo gedit /etc/pam.d/gnome-screensaver}}&lt;br /&gt;
so it looks like this:&lt;br /&gt;
 @include common-auth&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    optional        pam_gnome_keyring.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&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;
{{cmduser|sudo modprobe tp_smapi}}&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 (this should help against the loss of capacity through charging cycles).&lt;br /&gt;
  sudo su -&lt;br /&gt;
  cd /sys/devices/platform/smapi/BAT0/&lt;br /&gt;
  echo &amp;quot;90&amp;quot; &amp;gt; stop_charge_thresh&lt;br /&gt;
&lt;br /&gt;
Or, 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;
Or, while AC connected, force discharging of your battery:&lt;br /&gt;
  sudo su -&lt;br /&gt;
  cd /sys/devices/platform/smapi/BAT0/&lt;br /&gt;
  echo &amp;quot;1&amp;quot; &amp;gt; 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;
&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=40105</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=40105"/>
		<updated>2008-12-03T00:37:41Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: added part: 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 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 pam_unix.so line and&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the pam_unix.so line.&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;
*edit the file: &lt;br /&gt;
{{cmduser|sudo gedit /etc/pam.d/gnome-screensaver}}&lt;br /&gt;
so it looks like this:&lt;br /&gt;
 @include common-auth&lt;br /&gt;
 auth    sufficient      pam_thinkfinger.so&lt;br /&gt;
 auth    optional        pam_gnome_keyring.so&lt;br /&gt;
 auth    required        pam_unix.so try_first_pass nullok_secure&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;
{{cmduser|sudo modprobe tp_smapi}}&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 (this should help against the loss of capacity through charging cycles).&lt;br /&gt;
  sudo su -&lt;br /&gt;
  cd /sys/devices/platform/smapi/BAT0/&lt;br /&gt;
  echo &amp;quot;90&amp;quot; &amp;gt; stop_charge_thresh&lt;br /&gt;
&lt;br /&gt;
Or, 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;
Or, while AC connected, force discharging of your battery:&lt;br /&gt;
  sudo su -&lt;br /&gt;
  cd /sys/devices/platform/smapi/BAT0/&lt;br /&gt;
  echo &amp;quot;1&amp;quot; &amp;gt; 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;
&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39560</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=39560"/>
		<updated>2008-11-06T18:20:07Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Bugs and Regressions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). A workaround is available. See below.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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;
=Problems=&lt;br /&gt;
== Not able to restart X or log out ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357].&lt;br /&gt;
There are two workarounds:&lt;br /&gt;
* Use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
* Set in /etc/gdm/gdm.conf the value for GdmXServerTimeout somewhat higher than 35, like 45. X will hang approx 35 seconds and this value is the treshold for GDM to assume X is faulty.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
* {{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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39559</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=39559"/>
		<updated>2008-11-06T18:16:01Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Fix for choppy Compiz animations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). A workaround is available. See below.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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;
=Problems=&lt;br /&gt;
== Not able to restart X or log out ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357].&lt;br /&gt;
There are two workarounds:&lt;br /&gt;
* Use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
* Set in /etc/gdm/gdm.conf the value for GdmXServerTimeout somewhat higher than 35, like 45. X will hang approx 35 seconds and this value is the treshold for GDM to assume X is faulty.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
* {{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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Gertvdijk&amp;diff=39558</id>
		<title>User:Gertvdijk</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Gertvdijk&amp;diff=39558"/>
		<updated>2008-11-06T18:10:21Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: â†Created page with 'Use my GPG key if you want: 0x88EF2026'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Use my GPG key if you want: 0x88EF2026&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39557</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=39557"/>
		<updated>2008-11-06T18:04:17Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Display/Video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). A workaround is available. See below.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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. If you do not see the 'Advanced Desktop Effects Settings' option, install compizconfig-settings-manager and follow the same steps after that.&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;
=Problems=&lt;br /&gt;
== Not able to restart X or log out ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357].&lt;br /&gt;
There are two workarounds:&lt;br /&gt;
* Use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
* Set in /etc/gdm/gdm.conf the value for GdmXServerTimeout somewhat higher than 35, like 45. X will hang approx 35 seconds and this value is the treshold for GDM to assume X is faulty.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
* {{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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39556</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=39556"/>
		<updated>2008-11-06T18:00:15Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Not able to restart X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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. If you do not see the 'Advanced Desktop Effects Settings' option, install compizconfig-settings-manager and follow the same steps after that.&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;
=Problems=&lt;br /&gt;
== Not able to restart X or log out ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357].&lt;br /&gt;
There are two workarounds:&lt;br /&gt;
* Use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
* Set in /etc/gdm/gdm.conf the value for GdmXServerTimeout somewhat higher than 35, like 45. X will hang approx 35 seconds and this value is the treshold for GDM to assume X is faulty.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
* {{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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39555</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=39555"/>
		<updated>2008-11-06T17:52:04Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Radio Killswitch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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. If you do not see the 'Advanced Desktop Effects Settings' option, install compizconfig-settings-manager and follow the same steps after that.&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;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357].&lt;br /&gt;
There are two workarounds:&lt;br /&gt;
* Use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
* Set in /etc/gdm/gdm.conf the value for GdmXServerTimeout somewhat higher than 35, like 45. X will hang approx 35 seconds and this value is the treshold for GDM to assume X is faulty.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
* {{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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39554</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=39554"/>
		<updated>2008-11-06T17:48:57Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Not able to restart X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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. If you do not see the 'Advanced Desktop Effects Settings' option, install compizconfig-settings-manager and follow the same steps after that.&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;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357].&lt;br /&gt;
There are two workarounds:&lt;br /&gt;
* Use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
* Set in /etc/gdm/gdm.conf the value for GdmXServerTimeout somewhat higher than 35, like 45. X will hang approx 35 seconds and this value is the treshold for GDM to assume X is faulty.&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39553</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=39553"/>
		<updated>2008-11-06T17:45:48Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Not working */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** Workaround available (see below)&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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. If you do not see the 'Advanced Desktop Effects Settings' option, install compizconfig-settings-manager and follow the same steps after that.&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;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Workaround is to use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
To fix this problem, I followed the instructions listed at https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/275692.  Specifically, I created a file called /etc/pm/config.d/01-modules and put the following line in it:&lt;br /&gt;
&lt;br /&gt;
 SUSPEND_MODULES=&amp;quot;ath_pci&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39552</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=39552"/>
		<updated>2008-11-06T17:42:51Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* WiFi &amp;amp; HW RFkill */&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;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39551</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=39551"/>
		<updated>2008-11-06T17:42:06Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Log out &amp;amp; NVidia */&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;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39386</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=39386"/>
		<updated>2008-10-29T22:34:18Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
*The hard radio killswitch for Intel WLAN.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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.&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Workaround is to use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&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;
= Information, not Ubuntu issues =&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;
= Compared to Hardy =&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.&lt;br /&gt;
*Atheros WLAN not working after resume from Suspend to RAM.&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>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39385</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=39385"/>
		<updated>2008-10-29T22:13:31Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Working out-of-the-box */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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.&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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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.&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Workaround is to use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39384</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=39384"/>
		<updated>2008-10-29T22:12:43Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Not able to restart X */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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.&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. The Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.&lt;br /&gt;
&lt;br /&gt;
It is a known issue in the 177 version of the binary NVidia driver which has not yet been addressed by NVidia. See Launchpad bug [http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357 258357]. Workaround is to use the older 173 version (without Suspend to Disk functionality and with slower resume from Suspend to RAM).&lt;br /&gt;
&lt;br /&gt;
== Wireless not working after resume (Atheros) ==&lt;br /&gt;
After resuming from suspend, I am unable to reconnect to my wireless network.  Network Manager asks me for my password over and over again but never succeeds in connecting.  I'm using the Thinkpad (Atheros) A/B/G wireless card.&lt;br /&gt;
&lt;br /&gt;
== Radio Killswitch ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39383</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=39383"/>
		<updated>2008-10-29T22:08:44Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Wireless not working after resume */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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.&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. I'm not able to trace down the problem, because the Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.--[[User:Gertvdijk|Gertvdijk]] 18:34, 23 October 2008 (CEST)&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;
== Radio Killswitch ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39382</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=39382"/>
		<updated>2008-10-29T22:07:49Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Small issues with... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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.&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. I'm not able to trace down the problem, because the Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.--[[User:Gertvdijk|Gertvdijk]] 18:34, 23 October 2008 (CEST)&lt;br /&gt;
== Wireless not working after resume ==&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;
== Radio Killswitch ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39381</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=39381"/>
		<updated>2008-10-29T22:06:58Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Radio Killswitch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
** Bluetooth and WLAN are turned off properly when using the killswitch at the front, but WLAN (3945) doensn't come up when enabling or will only show Channel 1 APs. Reloading the iwl3945 module will sometimes solve the issue.&lt;br /&gt;
** The soft-killswitch (Fn+F5) will only toggle Bluetooth instead of the four modes as in Hardy (BT+WLAN, BT, WLAN, ALL OFF).&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mandatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choice between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&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.&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. I'm not able to trace down the problem, because the Xorg.0.log file doesn't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.--[[User:Gertvdijk|Gertvdijk]] 18:34, 23 October 2008 (CEST)&lt;br /&gt;
== Wireless not working after resume ==&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;
== Radio Killswitch ==&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39181</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=39181"/>
		<updated>2008-10-23T16:37:44Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Working out-of-the-box */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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;
*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;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
** Bluetooth and WLAN are turned off properly when using the killswitch at the front, but WLAN (3945) doensn't come up when enabling or will only show Channel 1 APs. Reloading the iwl3945 module will sometimes solve the issue.&lt;br /&gt;
** The soft-killswitch (Fn+F5) will only toggle Bluetooth instead of the four modes as in Hardy (BT+WLAN, BT, WLAN, ALL OFF).&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mendatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choiche between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&lt;br /&gt;
From &lt;br /&gt;
Compiz animations are 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;
{{NOTE|As far as I can see, the EDID misdetection bug is fixed in the 177 version of the NVidia binary driver.}}&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. I'm not able to trace down the problem, because the Xorg.0.log file doens't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.--[[User:Gertvdijk|Gertvdijk]] 18:34, 23 October 2008 (CEST)&lt;br /&gt;
== Radio Killswitch ==&lt;br /&gt;
{{Todo|Trace down this problem or look for bug report.}}&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Intrepid_Ibex_on_a_T61p&amp;diff=39180</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=39180"/>
		<updated>2008-10-23T16:34:54Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: â†Created page with '=What works and what doesn't?= ==Working out-of-the-box== *Wireless (Intel 3945ABG or 4965AGN) **Only tested G mode *Wired LAN *Video (VESA) **Hardware Drivers panel offer...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What works and what doesn't?=&lt;br /&gt;
==Working 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;
*ACPI features&lt;br /&gt;
** Suspend to RAM&lt;br /&gt;
** Suspend to Disk (Hibernate) FINALLY!! Be patient, though.&lt;br /&gt;
&lt;br /&gt;
==(Small) Tweaks needed for...==&lt;br /&gt;
*Microphone/Sound In&lt;br /&gt;
**Might need to be turned on in the mixer&lt;br /&gt;
*HDAPS&lt;br /&gt;
**Not yet in this howto&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;
==Small issues with...==&lt;br /&gt;
* The radio killswitch.&lt;br /&gt;
** Bluetooth and WLAN are turned off properly when using the killswitch at the front, but WLAN (3945) doensn't come up when enabling or will only show Channel 1 APs. Reloading the iwl3945 module will sometimes solve the issue.&lt;br /&gt;
** The soft-killswitch (Fn+F5) will only toggle Bluetooth instead of the four modes as in Hardy (BT+WLAN, BT, WLAN, ALL OFF).&lt;br /&gt;
&lt;br /&gt;
==Not working==&lt;br /&gt;
*Logging out or restarting X&lt;br /&gt;
** With 177 version of the NVidia binary (restricted) graphics driver on a Quadro FX 570M.&lt;br /&gt;
&lt;br /&gt;
=Mendatory=&lt;br /&gt;
==Display/Video==&lt;br /&gt;
''This part is taken from [[Install Ubuntu Hardy Heron on a T61p | Hardy installation instructions]].''&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. You will have a choiche between the 173 and 177 version of the driver. I would strongly recommend the latter one, because it will provide Suspend to disk functionality in favour of the 173 version.&lt;br /&gt;
&lt;br /&gt;
This should also install the &amp;quot;NVidia X Server Settings&amp;quot; program in System --&amp;gt; Administration.&lt;br /&gt;
&lt;br /&gt;
At the time of writing I am not able to restart X or log out from my GNOME session. X will fail to start and will eventually fall back to failsafe config (VESA drivers). This happens on my Quadro FX 570M and I'm not sure it is an issue of the new NVidia driver or the new X.org version in Intrepid.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|You should even install the binary NVidia driver if you won't use 3D acceleration because the open source nv driver will drain your battery much faster, because it doesn't support PowerMizer at all. This will keep the GPU in full speed all the time and will consume around 12 Watts more because of that (for the Quadro FX 570M), according to Powertop. That is 50% of the total usage!}}&lt;br /&gt;
&lt;br /&gt;
=Optional=&lt;br /&gt;
==Fix for choppy Compiz animations==&lt;br /&gt;
From &lt;br /&gt;
Compiz animations are 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;
{{NOTE|As far as I can see, the EDID misdetection bug is fixed in the 177 version of the NVidia binary driver.}}&lt;br /&gt;
&lt;br /&gt;
=Problems=&lt;br /&gt;
== Not able to restart X ==&lt;br /&gt;
This is quite an issue when you want to switch user or log out. I'm not able to trace down the problem, because the Xorg.0.log file doens't give any errors or hints. Surprisingly both Suspend to RAM and Suspend to Disk are not failing.--[[User:Gertvdijk|Gertvdijk]] 18:34, 23 October 2008 (CEST)&lt;br /&gt;
== Radio Killswitch ==&lt;br /&gt;
{{Todo|Trace down this problem or look for bug report.}}&lt;br /&gt;
&lt;br /&gt;
= Information, not Ubuntu issues =&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;
[[Category:T61p]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu 8.10]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</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=39179</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=39179"/>
		<updated>2008-10-23T16:21:26Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: &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;
{{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;
==== 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;
== 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>Gertvdijk</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=39064</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=39064"/>
		<updated>2008-10-09T13:20:54Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Suspend */&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;
{{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;
==== 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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38993</id>
		<title>Talk: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=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38993"/>
		<updated>2008-10-01T23:33:23Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nvidia Binary Drivers ==&lt;br /&gt;
Envy is not required, at least for me, to install binary drivers and get compiz working. The Hardware Drivers administration panel offers to install it on the first boot. Is there any reason to use envy? [[User:Chazchaz101|Chazchaz101]] 02:37, 21 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Re: Nvidia Binary Drivers  ==&lt;br /&gt;
&lt;br /&gt;
You'll need them for the quirks to get Suspend To Ram to work. See my edit on the Wiki page. --[[User:Gertvdijk|Gertvdijk]] 12:32, 7 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T61p category page ==&lt;br /&gt;
&lt;br /&gt;
Why isn't this article in the T61p category page? [[Category:T61p]] --[[User:Gertvdijk|Gertvdijk]] 12:32, 7 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Updated and cleaned ==&lt;br /&gt;
&lt;br /&gt;
I've cleaned it all up a bit and gave it more structure by adding some headings and splitting long blobs of text and giving it some headings.--[[User:Gertvdijk|Gertvdijk]] 01:33, 2 October 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Gertvdijk</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=38992</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=38992"/>
		<updated>2008-10-01T23:24:12Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What works out of the box? */&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;
{{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;
==== 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;
== 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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38991</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=38991"/>
		<updated>2008-10-01T23:23:34Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What needs some tweaks? */&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;
***Tried: 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;
{{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;
==== 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;
== 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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38990</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=38990"/>
		<updated>2008-10-01T23:21:25Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Display / Video */&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;
***Tried: 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;
{{Todo|HDAPS (harddrive protection system)}}&lt;br /&gt;
*Smooth Compiz performance&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;
==== 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;
== 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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38989</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=38989"/>
		<updated>2008-10-01T23:17:31Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Suspend */&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;
***Tried: 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;
{{Todo|HDAPS (harddrive protection system)}}&lt;br /&gt;
*Smooth Compiz performance&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;
== 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;
== 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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38988</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=38988"/>
		<updated>2008-10-01T23:12:59Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What needs some tweaks? */&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;
***Tried: 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;
{{Todo|HDAPS (harddrive protection system)}}&lt;br /&gt;
*Smooth Compiz performance&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;
== 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38987</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=38987"/>
		<updated>2008-10-01T23:12:10Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Display / Video */&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;
***Tried: 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;
{{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;
== 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38986</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=38986"/>
		<updated>2008-10-01T23:02:55Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Display / Video */&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;
***Tried: 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;
{{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.{{cmduser| sudo aptitude install envyng-gtk}} 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.&lt;br /&gt;
&lt;br /&gt;
==== Compiz and daily life use ====&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;
One final bug is that EDID (Extended Display Identification Data) might be misdetected, 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;
== 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38985</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=38985"/>
		<updated>2008-10-01T22:40:22Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What works out of the box? */&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;
***Tried: 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;
{{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;
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 apt-get 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;
&lt;br /&gt;
Alternately, more recent versions of the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver. Using the most recent binary drivers, or at least ones more recent that&lt;br /&gt;
those installed by the Hardware Drivers panel, is required for proper Suspend functionality.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38984</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=38984"/>
		<updated>2008-10-01T22:39:00Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What doesn't work at the moment? */&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;
**LED not working yet. Known issue in kernel driver.&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**No Microphone&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
{{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;
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 apt-get 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;
&lt;br /&gt;
Alternately, more recent versions of the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver. Using the most recent binary drivers, or at least ones more recent that&lt;br /&gt;
those installed by the Hardware Drivers panel, is required for proper Suspend functionality.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
== 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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38698</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=38698"/>
		<updated>2008-08-26T19:30:53Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What needs some tweaks? */&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;
**LED not working yet. Known issue in kernel driver.&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
{{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 power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
[[Category:T61p]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</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=38697</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=38697"/>
		<updated>2008-08-26T19:29:56Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: &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;
**LED not working yet. Known issue in kernel driver.&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
*HDAPS (harddrive protection system)&lt;br /&gt;
**{{Todo|Needs documentation}}&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 power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;
[[Category:T61p]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</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=38696</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=38696"/>
		<updated>2008-08-26T19:27:18Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What works out of the box? */&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;
**LED not working yet. Known issue in kernel driver.&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
*HDAPS (harddrive protection system)&lt;br /&gt;
**TODO&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 power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Gutsy_Gibbon_on_a_T61p&amp;diff=38695</id>
		<title>Install Ubuntu Gutsy Gibbon on a T61p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_Gutsy_Gibbon_on_a_T61p&amp;diff=38695"/>
		<updated>2008-08-26T19:24:57Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing Gutsy Gibbon (7.10) on a T61p ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This document outlines configuring Ubuntu 7.10 (Gutsy Gibbon) on your Thinkpad T61p. Most items will work out of the box and a base install will provide you with an almost completely working system. Due to the modular nature of the T61 there are many different configuration, please read carefully and only make the changes specific to your system.&lt;br /&gt;
In the successor of Ubuntu Gutsy Gibbon, Hardy Heron, more things are working out of the box. See the [[Install Ubuntu Hardy Heron on a T61p | how-to]] for Hardy Heron if you're looking for instructions installing Hardy Heron (recommended).&lt;br /&gt;
&lt;br /&gt;
Feel free to update this Wiki with your information however please ask questions on the Talk page.&lt;br /&gt;
&lt;br /&gt;
== Installation Notes ==&lt;br /&gt;
&lt;br /&gt;
Note: On lenovo t61p thinkpad with nVidia Corporation Quadro FX 570M graphics card the installer fails to create a usable xorg.conf file and the system reboots into an unusable black screen as X refuses to start. This is caused by the installer selecting the nv driver, which does not support this card. Using the vesa driver will allow X to start.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Install Ubuntu onto the laptop. The Live CD will boot in safe graphics mode for most users (but not all). However, the splash screen does not work for 64-bit users and perhaps 32-bit users as well. Be patient the system will boot, even though the screen is black. It may be faster to do the initial install using the alternate CD (text mode install).&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;After it is installed, fix issue: &amp;quot;no x session on first reboot after install&amp;quot; (see steps below)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To fix this, you have to reboot into rescue mode and hand-edit xorg.conf to use vesa driver until the restricted nvidia driver is enabled.&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Choose Recovery Mode from the Grub boot menu.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Edit the xorg.conf file:&lt;br /&gt;
{{cmdroot|nano /etc/X11/xorg.conf}}&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Scroll down until you see the section listed below and replace &amp;lt;i&amp;gt;nv&amp;lt;/i&amp;gt; with &amp;lt;i&amp;gt;vesa&amp;lt;/i&amp;gt; on the driver line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;nVidia Corporation G80 [Quadro FX 570M]&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;nv&amp;quot;&lt;br /&gt;
	BusID		&amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Hit {{key|Ctrl}}{{key|X}} to exit, {{key|Y}} then {{key|Enter}} to save.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Reboot: {{cmdroot|reboot}}&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now get the GUI login, but all of the accelerated graphics eye candy will be disabled until you have updated the nvidia drivers as per the Display/Video Section.&lt;br /&gt;
&lt;br /&gt;
If you have a Ubuntu 7.10 DVD, you could use the same to first launch a live CD version of Ubuntu. When the live CD boots up it asks for the installation of restricted nVidia drivers (internet connection required). Once the restricted drivers are installed. Use the &amp;quot;Install&amp;quot; option from the live CD session to start the installation of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
==Alternate Fix==&lt;br /&gt;
#Boot from Ubuntu 7.10 Desktop CD&lt;br /&gt;
#If during the black screen you suspect that the Ubuntu Live CD is not going to boot, or you don't wish to wait, restart the installation and explicitly choose to install in safe graphics mode.&lt;br /&gt;
#When the safe graphics installation halts while trying to initialize the X server, press CTRL-ALT-F1 to bring up the command line.&lt;br /&gt;
#At the prompt, start X in Vesa mode with the command 'startx'.  Continue the Live CD install as usual, switching back to the GUI installation process with CTRL-ALT-Function key if there are interrupting messages from another X server startup process.&lt;br /&gt;
#When the system restarts, skip to the command line again and when X fails to start, type 'startx' again to go into vesa mode.&lt;br /&gt;
#Now install the restricted nvidia drivers to resolve the problem.&lt;br /&gt;
[http://ubuntuforums.org/showpost.php?p=3566807&amp;amp;postcount=16 Citation]&lt;br /&gt;
&lt;br /&gt;
== Display/Video ==&lt;br /&gt;
&lt;br /&gt;
The '''nv''' driver does not support the Nvidia 570M card at all. To enable accelerated 3D support click System-&amp;gt;Administration-&amp;gt;Restricted Drivers Manager. It will allow you to download and install an updated set of nvidia drivers. {{NOTE| If this is a fresh installation, you will get an error &amp;quot;can't get source for nvidia-glx-new&amp;quot;, which means you need to update the package list: first, be sure that in System-&amp;gt;Administration-&amp;gt;Software Sources, the entry &amp;quot;Proprietary drivers for devices (restricted)&amp;quot; is checked. Then either click System-&amp;gt;Administration-&amp;gt;Update Manager-&amp;gt;Check, or open a terminal and type &amp;quot;sudo apt-get update&amp;quot;.}} On the next reboot you should get accelerated support and full graphics resolution (but still no splashscreen).{{NOTE| If the Restricted Drivers Manager fails to install the driver you can use the Envy tool from: http://albertomilone.com/nvidia_scripts1.html.   This tool is unsupported and the only supported method of installing the Nvidia drivers is via Synaptic or the Restricted Drivers Manager}}&lt;br /&gt;
On the model with 1920x1200 video, the default fonts are very tiny. Change them with System-&amp;gt;Preferences-&amp;gt;Appearance-&amp;gt;Fonts-&amp;gt;Details.&lt;br /&gt;
&lt;br /&gt;
--[[User:Cmnorton|cmnorton]] 16:16, 20 March 2008 (CET)&lt;br /&gt;
I run my T61p in both a KVM (docked) and a solo environment. I found the only way to get the displays to work properly in both was to set the BIOS to VGA output (my KVM connectors are VGA), and use the vesa driver. Using other combinations with and without the nvidia driver caused display problems.&lt;br /&gt;
&lt;br /&gt;
== Brightness ==&lt;br /&gt;
source: [[ Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61  ]]&lt;br /&gt;
====Nvidia Quadro N140 and 570M:====&lt;br /&gt;
The brightness controls do not work, however you can switch to a virtual terminal (ctrl+alt+F1) increase or decrease the brightness and then switch back to X (ctrl+alt+F7) without disrupting the running applications.   In a few rare cases switching back to X (ctrl+alt+7) may freeze your computer with a black screen so save any open documents before switching out.&lt;br /&gt;
&lt;br /&gt;
When using the '''vesa''' driver the brightness controls do work.  So this problem seems to be related to the '''nvidia''' driver.&lt;br /&gt;
&lt;br /&gt;
'''Update: Note that as of version 169.04 of the Nvidia driver brightness controls do work normally (with my 570M at least).'''  (Gutsy Gibbon 7.10 comes with restricted Nvidia driver version 100.14).   You can install the latest Nvidia binary drivers with &amp;quot;Envy&amp;quot; (see above)&lt;br /&gt;
&lt;br /&gt;
== Audio ==&lt;br /&gt;
*Fix ALSA:&lt;br /&gt;
Gutsy uses ALSA v1.0.14 by default. Unfortunately, the audio card is not supported using that version. The solution is to upgrade to v1.0.15 or above. At the time of this writing, there are no packages for this version; however, new users should search Synaptic because that will make the process much easier: search for alsa-base and determine whether the available version is at least v1.0.15. If there are no packages available, the driver must be compiled from source. Follow this guide http://ubuntuforums.org/showthread.php?t=612605 to install the alsa v1.0.15.&lt;br /&gt;
After restarting, open a terminal and run alsamixer. Use the left/right arrow keys to select the channels; make sure that PCM and headphone are not muted (use m key). Muting/unmuting input channels can cause interference, so experiment to produce the best sound quality. &lt;br /&gt;
--[[User:Jbrown96|Jbrown96]] 22:57, 24 December 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
I was unable to unmute sound using alsamixer or any other gui. Instead running this as root unmuted the channel and then everything worked fine. echo up &amp;gt; /proc/acpi/ibm/volume&lt;br /&gt;
--[[User:balsdorf|balsdorf]] 15:43, 30 January 2008&lt;br /&gt;
&lt;br /&gt;
Everything except the mic works fine for me with ALSA 1.0.14. When I unmute the internal mic in alsamixer, it plays the mic sounds out the speakers.&lt;br /&gt;
--[[User:Chazchaz101|Chazchaz101]] 07:17, 28 December 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
Same experience as Chazchaz101, but I could fix the microphone problem by adjusting the ALSA configuration as described in &lt;br /&gt;
source: [[Installing Ubuntu 7.10 (Gutsy_Gibbon) on a ThinkPad_T61#Microphone]].&lt;br /&gt;
--[[User:A-j|A-j]] 23:31, 28 January 2008 (UTC)&lt;br /&gt;
&lt;br /&gt;
*fix sound buttons:&lt;br /&gt;
source: [[Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T61|Installing Ubuntu 7.04 (Feisty Fawn) on a ThinkPad T61]]&lt;br /&gt;
&lt;br /&gt;
the volume control hotkeys are configured to control microphone volume out of the box.&lt;br /&gt;
&lt;br /&gt;
fix: If you're using Gnome, from the System menu, click Preferences -&amp;gt; Sound, and in the Default Mixer Tracks field, choose PCM.&lt;br /&gt;
&lt;br /&gt;
*fix volume control applet:&lt;br /&gt;
&lt;br /&gt;
the volume control applet is configured to control microphone volume out of the box.&lt;br /&gt;
&lt;br /&gt;
fix: If you're using Gnome, right-click the applet &amp;gt; preferences &amp;gt; Select the device and track to control &lt;br /&gt;
&lt;br /&gt;
**do not change device (s/b HDA Intel)&lt;br /&gt;
**change track from Microphone to PCM&lt;br /&gt;
&lt;br /&gt;
--[[User:Cmnorton|cmnorton]] 16:14, 20 March 2008 (CET)&lt;br /&gt;
In order to get sound to work, I added options snd-hda-intel model=thinkpad-t61p to the bottom of /etc/modprobe.d/alsa-base. This is referenced in [https://bugs.launchpad.net/ubuntu/+bug/122560] .&lt;br /&gt;
&lt;br /&gt;
After installing the latest &amp;quot;BIOS update&amp;quot; with the ThinkVantage Update tool in Windows, sound was working on my laptop. I did not need to upgrade ALSA.&lt;br /&gt;
--[[User:gandy|gandy]] 14:55, 08 April 2008 (CET)&lt;br /&gt;
&lt;br /&gt;
== Network/Internet ==&lt;br /&gt;
&lt;br /&gt;
If you have some kind of recent T61p (mid-2008), the Intel WifiLink 4965 wifi controler might not work out of the box. The easiest way to have it working is to use Intel's drivers for windows (http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&amp;amp;Inst=Yes&amp;amp;ProductID=2753&amp;amp;DwnldID=16617&amp;amp;strOSs=44&amp;amp;OSFullName=Windows*%20XP%20Professional&amp;amp;lang=eng) and use ndiswrapper on them :&lt;br /&gt;
*unzip the driver zip file somewhere (let's say you use $home)&lt;br /&gt;
*go to the driver directory $home/Disk/XP/Drivers/x32/&lt;br /&gt;
*run the command:  ndiswrapper-1.9 NETw5x32.inf (you should check the driver version as it can become NETw6x32.inf after next release)&lt;br /&gt;
*remember to switch on wifi from both frontal switch (physical switch, under your left wrist) and then with Fn-F5 as well. The bluetooth led should be lightened. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some users report that IPv6 has large negative impact on internet connection speed (wired and wireless) on Ubuntu 7.10. If you are experiencing this, the following steps will allow you to disable IPv6 and restore your connection speed.&lt;br /&gt;
{{NOTE|There is a workaround to improve connectivity for Firefox. On the Firefox address bar type '''about:config''' and look for '''network.dns.disableIPv6''' and change its value to '''true'''[[Image:Ubuntu710_Firefox_Fix.png]].}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following in the terminal&lt;br /&gt;
{{cmduser|sudo gedit /etc/modprobe.d/aliases}}. The system may ask you to provide the Super User password. Once the file is opened, search for the following string, '''alias net-pf-10 ipv6'''.&lt;br /&gt;
Comment this line by prefixing a {{cmdresult|#}}. Now add a new line just below the commented line, '''alias net-pf-10 off'''.&lt;br /&gt;
 &lt;br /&gt;
[[Image:Update_to_Aliases.png]]&lt;br /&gt;
&lt;br /&gt;
Now, save the file and restart Ubuntu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reference: Youtube video. [http://www.youtube.com/watch?v=Sd8nHsUevAY How-To: Fix a Slow Internet Connection in Ubuntu 7.10].&lt;br /&gt;
&lt;br /&gt;
== Suspend with Nvidia Binary Driver ==&lt;br /&gt;
&lt;br /&gt;
*Fix suspend with Nvidia binary drivers:&lt;br /&gt;
&lt;br /&gt;
Follow the directions on the Ubuntu wiki. [https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend Nvidia Binary Driver Suspend]&lt;br /&gt;
&lt;br /&gt;
The link above reports &amp;quot;Note: enabling TwinView breaks suspend-to-ram (reported to work with drivers 96XX), if you know better please delete this note and write how you did it.&amp;quot; I have not found a resolution, so if you know of one, please also delete this note and specify your solution. Thanks.&lt;br /&gt;
&lt;br /&gt;
==Bluetooth== &lt;br /&gt;
Bluetooth works out of the box. Pressing Fn-F5 once will enable bluetooth, disable wireless, pressing again, enable both and pressing one more time will disable bluetooth.  &lt;br /&gt;
&lt;br /&gt;
If you would like to set bluetooth state independently the script below determines the current bluetooth state and toggles the device on or off. &lt;br /&gt;
&lt;br /&gt;
First create a new file named bluetooth-toggle:&lt;br /&gt;
{{cmdroot|sudo touch /usr/sbin/bluetooth-toggle}}&lt;br /&gt;
&lt;br /&gt;
Now open a editor:&lt;br /&gt;
{{cmdroot|sudo gedit /usr/sbin/bluetooth-toggle}}&lt;br /&gt;
&lt;br /&gt;
Paste the following script:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 cat /proc/acpi/ibm/bluetooth | awk '{ print $2 }' | while read line;&lt;br /&gt;
  do&lt;br /&gt;
    if [ $line == &amp;quot;enabled&amp;quot; ]; then&lt;br /&gt;
        echo disable &amp;gt; /proc/acpi/ibm/bluetooth&lt;br /&gt;
    else&lt;br /&gt;
        echo enable &amp;gt; /proc/acpi/ibm/bluetooth&lt;br /&gt;
    fi&lt;br /&gt;
    break&lt;br /&gt;
  done&lt;br /&gt;
&lt;br /&gt;
Now set the execute permissions: &lt;br /&gt;
{{cmdroot|sudo chmod +x /usr/sbin/bluetooth-toggle}}&lt;br /&gt;
&lt;br /&gt;
You can invoke the script out of the console by typing sudo bluetooth-toggle or create a menu icon by using the menu editor under preferences using gksudo bluetooth-toggle as command line.&lt;br /&gt;
&lt;br /&gt;
source: [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61]]&lt;br /&gt;
&lt;br /&gt;
You can also create a launcher for this script that you can stick in the GNOME panel.&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. At least for me, the most recent (0.3) version used here works with sudo, gksudo and on the login page but not with the the screen saver. Also, you are still required to type your user name on the login screen.&lt;br /&gt;
&lt;br /&gt;
There appears to be a method to make the reader work for the screensaver, but I haven't tested it yet.&lt;br /&gt;
&lt;br /&gt;
1) Add the launchpad repository to your sources:&lt;br /&gt;
{{cmduser| sudo gedit /etc/apt/sources.lst}}&lt;br /&gt;
note: if that file is not present or empty, try &lt;br /&gt;
{{cmduser| sudo gedit /etc/apt/sources.list}}&lt;br /&gt;
add the lines:&lt;br /&gt;
 ## LAUNCHPAD REPOSITORY&lt;br /&gt;
 deb http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
 deb-src http://ppa.launchpad.net/jldugger/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
2) 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;
3) Test the package installation and connection to the reader:&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 test 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;
4) 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 pam_unix.so line and&lt;br /&gt;
 try_first_pass&lt;br /&gt;
to the end of the pam_unix.so line.&lt;br /&gt;
&lt;br /&gt;
5) Add User(s):&lt;br /&gt;
For each user:&lt;br /&gt;
{{cmduser| sudo tf-tool --add-user your_user_name}}&lt;br /&gt;
&lt;br /&gt;
You can safely ignore the error:&lt;br /&gt;
 Unable to set ACL of aquired file: /etc/pam_thinkfinger/charlie.bir: Operation not supported&lt;br /&gt;
&lt;br /&gt;
6) 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;
{{cmduser|sudo modprobe uinput}}&lt;br /&gt;
&lt;br /&gt;
Start on boot:&lt;br /&gt;
{{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
add the line:&lt;br /&gt;
 uinput&lt;br /&gt;
&lt;br /&gt;
At this point, you should be ready to swipe!&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
* [https://wiki.ubuntu.com/ThinkFinger Ubuntu Wiki: ThinkFinger on Ubuntu]&lt;br /&gt;
* [[Installing_Ubuntu_6.06_on_a_ThinkPad_T43#Fingerprint_Reader|Installing Ubuntu 6.06 on a ThinkPad T43]]&lt;br /&gt;
&lt;br /&gt;
==Touchpad and TouchPoint==&lt;br /&gt;
===Touchpad===&lt;br /&gt;
In order to adjust the Touchpad sensitivity and settings such as side scrolling and tapping, you must install the xserver-xorg-input-synaptics package:&lt;br /&gt;
{{cmduser| sudo apt-get install xserver-xorg-input-synaptics}}&lt;br /&gt;
If the newly installed Touchpad control panel gives you an error, you may will to modify your xorg.conf file.&lt;br /&gt;
{{cmduser| sudo gedit /etc/X11/xorg.conf}}&lt;br /&gt;
&lt;br /&gt;
Add the line:&lt;br /&gt;
  InputDevice    &amp;quot;Touchpad&amp;quot;&lt;br /&gt;
to the ServerLayout section add the following lines before any existing mouse or pointer entries:&lt;br /&gt;
  Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
    Identifier &amp;quot;Touchpad&amp;quot;&lt;br /&gt;
    Driver &amp;quot;synaptics&amp;quot;&lt;br /&gt;
    option &amp;quot;SendCoreEvents&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
    option &amp;quot;Device&amp;quot; &amp;quot;/dev/psaux&amp;quot;&lt;br /&gt;
    option &amp;quot;Protocol&amp;quot; &amp;quot;auto-dev&amp;quot;&lt;br /&gt;
    option &amp;quot;HorizScrollDelta&amp;quot; &amp;quot;0&amp;quot;&lt;br /&gt;
    option &amp;quot;SHMConfig&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
    option &amp;quot;MaxTapTime&amp;quot; &amp;quot;180&amp;quot;&lt;br /&gt;
    Option &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
    Option &amp;quot;Buttons&amp;quot; &amp;quot;9&amp;quot;&lt;br /&gt;
  EndSection&lt;br /&gt;
This should allow you to open the Touchpad panel in the preferences menu and make permanent changes to the settings.&lt;br /&gt;
===TrackPoint===&lt;br /&gt;
In order to set the TrackPoint speed and sensitivity temporarily, you can can echo values between 0 and 255 to the proper sysfs location for example:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| echo -n 255&amp;amp;#124;sudo tee /sys/devices/platform/i8042/serio1/serio2/speed}}&lt;br /&gt;
&lt;br /&gt;
to set the speed to max or&lt;br /&gt;
&lt;br /&gt;
{{cmduser| echo -n 76&amp;amp;#124;sudo tee /sys/devices/platform/i8042/serio1/serio2/speed}}&lt;br /&gt;
&lt;br /&gt;
to set the speed to 76.&lt;br /&gt;
In order to make these settings persist over reboots, you have to edit your rc.local:&lt;br /&gt;
&lt;br /&gt;
{{cmduser| sudo gedit /etc/rc.local}}&lt;br /&gt;
&lt;br /&gt;
and the following lines: before the line that says exit 0 :&lt;br /&gt;
  echo -n 255 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/sensitivity&lt;br /&gt;
  echo -n 76 &amp;gt; /sys/devices/platform/i8042/serio1/serio2/speed&lt;br /&gt;
where the numbers are the same as the values as the temporary settings you want.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Many how-to guides for other distros use the sysfsutils package and the accompanying sysfs.config file for setting the values instead of using rc.local. Unfortunately, it appears that Gutsy does not process this file at startup, so rc.local must be used instead.}}&lt;br /&gt;
&lt;br /&gt;
Sources:&lt;br /&gt;
*Trackpad: [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/163141/comments/8 Touchpad recognized as generic mouse on Thinkpad R61 laptop]&lt;br /&gt;
*TouchPoint: [[How_to_configure_the_TrackPoint|How to Configure the TrackPoint]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:T61p]]&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38501</id>
		<title>Talk: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=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38501"/>
		<updated>2008-08-07T10:32:42Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Re: Nvidia Binary Drivers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nvidia Binary Drivers ==&lt;br /&gt;
Envy is not required, at least for me, to install binary drivers and get compiz working. The Hardware Drivers administration panel offers to install it on the first boot. Is there any reason to use envy? [[User:Chazchaz101|Chazchaz101]] 02:37, 21 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Re: Nvidia Binary Drivers  ==&lt;br /&gt;
&lt;br /&gt;
You'll need them for the quirks to get Suspend To Ram to work. See my edit on the Wiki page. --[[User:Gertvdijk|Gertvdijk]] 12:32, 7 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T61p category page ==&lt;br /&gt;
&lt;br /&gt;
Why isn't this article in the T61p category page? [[Category:T61p]] --[[User:Gertvdijk|Gertvdijk]] 12:32, 7 August 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38500</id>
		<title>Talk: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=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38500"/>
		<updated>2008-08-07T10:32:30Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: New section: T61p category page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nvidia Binary Drivers ==&lt;br /&gt;
Envy is not required, at least for me, to install binary drivers and get compiz working. The Hardware Drivers administration panel offers to install it on the first boot. Is there any reason to use envy? [[User:Chazchaz101|Chazchaz101]] 02:37, 21 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Re: Nvidia Binary Drivers  ==&lt;br /&gt;
&lt;br /&gt;
You'll need them for the quirks to get Suspend To Ram to work. See my edit on the Wiki page.&lt;br /&gt;
&lt;br /&gt;
== T61p category page ==&lt;br /&gt;
&lt;br /&gt;
Why isn't this article in the T61p category page? [[Category:T61p]] --[[User:Gertvdijk|Gertvdijk]] 12:32, 7 August 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38499</id>
		<title>Talk: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=Talk:Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_T61p&amp;diff=38499"/>
		<updated>2008-08-07T10:29:39Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: New section: Re: Nvidia Binary Drivers &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nvidia Binary Drivers ==&lt;br /&gt;
Envy is not required, at least for me, to install binary drivers and get compiz working. The Hardware Drivers administration panel offers to install it on the first boot. Is there any reason to use envy? [[User:Chazchaz101|Chazchaz101]] 02:37, 21 June 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Re: Nvidia Binary Drivers  ==&lt;br /&gt;
&lt;br /&gt;
You'll need them for the quirks to get Suspend To Ram to work. See my edit on the Wiki page.&lt;/div&gt;</summary>
		<author><name>Gertvdijk</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=38423</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=38423"/>
		<updated>2008-08-02T00:41:05Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What needs some tweaks? */&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
*HDAPS (harddrive protection system)&lt;br /&gt;
**TODO&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 power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38422</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=38422"/>
		<updated>2008-08-02T00:39:51Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Suspend */&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
*Suspend-to-Disk (Hibernate)&lt;br /&gt;
*Wireless LAN power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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 long time of sleep.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38401</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=38401"/>
		<updated>2008-07-31T00:17:54Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Suspend */&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
*Suspend-to-Disk (Hibernate)&lt;br /&gt;
*Wireless LAN power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, 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.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38400</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=38400"/>
		<updated>2008-07-31T00:11:29Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What doesn't work at the moment? */&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
*Suspend-to-Disk (Hibernate)&lt;br /&gt;
*Wireless LAN power/activity LED&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, but will stop eventually and the wireless devices will be switched back on.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38399</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=38399"/>
		<updated>2008-07-31T00:10:25Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What works out of the box? */&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&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;
**LCD brightness adjustment on power source&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;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
*Suspend-to-Disk (Hibernate)&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, but will stop eventually and the wireless devices will be switched back on.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38398</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=38398"/>
		<updated>2008-07-31T00:08:33Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* What works out of the box */&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;
**WLAN LED not working&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&lt;br /&gt;
*Optical drive&lt;br /&gt;
**Optiarc AD-7910A&lt;br /&gt;
*Sound card&lt;br /&gt;
**Microphone not yet tested&lt;br /&gt;
*Memory card reader&lt;br /&gt;
**Only tested SD 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;
**LCD brightness adjustment on power source&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;
&lt;br /&gt;
==What doesn't work at the moment?==&lt;br /&gt;
*Suspend-to-Disk (Hibernate)&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, but will stop eventually and the wireless devices will be switched back on.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38397</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=38397"/>
		<updated>2008-07-30T23:51:37Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Bluetooth */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==What works out of the box==&lt;br /&gt;
*Video driver&lt;br /&gt;
*Wireless (Intel 3945ABG or 4965AGN)&lt;br /&gt;
**Only tested G mode&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;
*Volume control buttons&lt;br /&gt;
*Screen brightness control&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, but will stop eventually and the wireless devices will be switched back on.&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;/div&gt;</summary>
		<author><name>Gertvdijk</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=38396</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=38396"/>
		<updated>2008-07-30T23:47:17Z</updated>

		<summary type="html">&lt;p&gt;Gertvdijk: /* Suspend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==What works out of the box==&lt;br /&gt;
*Video driver&lt;br /&gt;
*Wireless (Intel 3945ABG or 4965AGN)&lt;br /&gt;
**Only tested G mode&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;
*Volume control buttons&lt;br /&gt;
*Screen brightness control&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;
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 apt-get 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;
&lt;br /&gt;
Alternately, the NVidia driver and Control Panel can be installed using EnvyNG (envyng-gtk in Synaptic). Simply start it up (System Tools --&amp;gt; EnvyNG) and ask it to install the NVidia driver.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there are some annoying bugs in the NVidia driver.  The most annoying one is that after resuming from suspend, you will often get a blank white screen.  To get past it, simply type in your password 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.&lt;br /&gt;
&lt;br /&gt;
Another problem is that the driver does not report the correct refresh rate to Compiz, resulting in rough animation.  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.&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.  To solve 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 755 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 &amp;quot;/home/argilo/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;
One final bug is that EDID (Extended Display Identification Data) is misdetected, 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.)  To correct this problem, I added 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.  I'm not sure if the 40-70 values are actually correct, since I just took them from someone else's xorg.conf, but they seem to work.&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;
== 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, 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;
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 I have to switch to the X terminal manually by pressing alt+F7.&lt;br /&gt;
The sleep LED will blink for a while after resume, but will stop eventually and the wireless devices will be switched back on.&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;/div&gt;</summary>
		<author><name>Gertvdijk</name></author>
		
	</entry>
</feed>