https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Lhotari&feedformat=atomThinkWiki - User contributions [en]2024-03-28T17:58:14ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_ThinkPad_T400&diff=43160Install Ubuntu 9.04 (Jaunty Jackalope) on a ThinkPad T4002009-05-08T15:19:13Z<p>Lhotari: </p>
<hr />
<div>[[:Category:T400|T400]]<br />
<br />
==Before Installation==<br />
<br />
Before you can start Ubuntu from CD or USB you have to change two BIOS settings:<br />
* Change to Internal or ATI Graphics with Config --> Display --> Graphics Device --> [Integrated graphics] or [Discrete Graphics]<br />
* Disable OS Detection for Switchable Graphics. Otherwise it will mysteriously switch back to Switchable Graphics.<br />
<br />
Now you can boot your Live-CD, connect to Wireless Lan, and install the OS.<br />
<br />
==What works out of the box?==<br />
<br />
*Wireless with iwlagn driver ([[Intel WiFi Link 5100/5300 WLAN controller]])<br />
**G mode + WEP and WPA2 PSK<br />
**with status LED and everything!<br />
*Bluetooth<br />
**Even with [[Bluetooth Laser Mouse]]<br />
*[[Ethernet Controllers#Intel Gigabit (10/100/1000)|Intel Gigabit Ethernet Controller]]<br />
<br />
<br />
*Intel driver for Integrated Graphics (Intel Integrated [[Intel GMA 4500MHD]])<br />
** with 3D acceleration out-of-the-box<br />
*ATI [[fglrx]] driver for Discrete Graphics ([[ATI Mobility Radeon 3470]] graphics)<br />
**To enjoy 3D acceleration, you have to install the proprietary [[fglrx]] Driver. (for example with the jockey-gtk tool)<br />
*VGA/HDMI output<br />
<br />
<br />
*Sound card<br />
**To use your internal microphone you maybe have to change to "HDA Intel CONEXANT Analog (ALSA)" in audio-settings.<br />
*Optical drive (Including DVD burning)<br />
*built-in webcam (tested with skype, cheese and vlc media player)<br />
*7-in-1 card reader from Ricoh (MMC, Memory Stick, Mem Stick Pro, SD, SDHC, XD, XD Type H Memory)<br />
*Touchpoint and Trackpad<br />
**Including scroll at the right side of the pad by default. (for scrolling with the middle mouse button, see below!)<br />
<br />
<br />
*Control buttons/Hotkeys<br />
**Volume control buttons<br />
**Screen brightness control (FN + Home/End)<br />
**Thinklight control (FN + PgUp)<br />
**WLAN/BT/OFF toggle (Fn+F5 press once: Wlan and BT off/Press second time: BT off, Wlan on/Third time: BT on, Wlan off/Press another time: BT and Wlan on)<br />
**To add a bluetooth-only-toggle (Fn+F6) that doesn't affect WLAN take a look [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2)|here]]<br />
**Wlan/BT hardware switch<br />
**Media player control (FN + arrows)<br />
**Browser history buttons<br />
**Switch to extern Monitor (FN + F7 press once: picture on both monitors/Second time: on external Monitor/Third time: Laptop monitor)<br />
**Suspend shortcut (FN + F4)<br />
**Hibernate shortcut (FN + F12)<br />
**Battery info shortcut (FN + F3)<br />
**Screenlock shortcut (FN + F2)<br />
**dock eject button (FN + F9) not tested yet!<br />
**[[ThinkVantage Button]] (You only have to allocate a programm!)<br />
<br />
<br />
*Some ACPI features<br />
**Battery status, power graphs and history (tested with an single 6-Cell battery)<br />
**Lid states and events<br />
*Suspend/Hibernate<br />
<br />
==What needs some Tweaks?==<br />
<br />
===Postinstall-Script for this Workarounds===<br />
<br />
This script:<br />
*enables scrolling with trackpoint<br />
*enables FN + F8 to switch on/off trackpad<br />
*makes the recommended Workaround for the harddrive-Bug<br />
*writes BATT_HD_POWERMGMT=200 (also to disable permanent Harddrive-parking )<br />
*enables the Menu-Key<br />
<br />
<br />
#!/bin/sh<br />
# Shell-script for postinstallation work on a T400 or another Thinkpad<br />
<br />
# Scrolling with Trackpoint<br />
echo '<?xml version="1.0" encoding="UTF-8"?><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge><br />
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match>' > /etc/hal/fdi/policy/mouse-wheel.fdi<br />
<br />
# FN + F8 to switch trackpad on/off<br />
echo '<?xml version="1.0" encoding="ISO-8859-1"?><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="input.x11_driver" string="synaptics"><br />
<merge key="input.x11_options.SHMConfig" type="string">True</merge><br />
</match><br />
</device><br />
</deviceinfo>' > /etc/hal/fdi/policy/shmconfig.fdi<br />
<br />
# recommended workaround for hard disk bug<br />
sed -i 's/ENABLE_LAPTOP_MODE=false/ENABLE_LAPTOP_MODE=true/g' /etc/default/acpi-support<br />
<br />
sed -i 's/BATT_HD_POWERMGMT=1/BATT_HD_POWERMGMT=200/g' /etc/laptop-mode/laptop-mode.conf<br />
<br />
# Menu Key Workaround<br />
sed -i 's|key\ <I151>\ \ \ {\ \ \ \ \ \ \[\ XF86WakeUp|key\ <I151>\ \ {\ \ \ \ \ \ \[\ Menu\ \ \ \ \ \ |g' /usr/share/X11/xkb/symbols/inet<br />
<br />
echo '==========================================='<br />
echo 'After an reboot you certainly can use the features! To do so type "reboot"'<br />
<br />
Step for Step:<br />
<br />
1.Save this script as a textfile on your Desktop<br />
<br />
2.Open the Terminal<br />
<br />
3.Write this to change directory to Desktop<br />
<br />
cd Desktop<br />
<br />
4.Then type this line to set rights to read/write and execute (replace textfile with your filename!)<br />
<br />
chmod 775 textfile<br />
<br />
5.To get administrator rights type:<br />
<br />
sudo su<br />
<br />
6.Type your password<br />
<br />
7.Execute the script<br />
<br />
./textfile<br />
<br />
<br />
<br />
====Scrolling with Trackpoint====<br />
<br />
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:<br />
<br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
<br />
And fill it with this code:<br />
<br />
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --><br />
<br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge><br />
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
<br />
<br />
Source: [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html]<br />
<br />
(Based on code from [http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt] and adapted to support both vertical and horizontal scrolling.)<br />
<br />
====Enabling Touchpad on/off key====<br />
<br />
Source: [[https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig]]<br />
The SHMConfig is now controlled through hal. In the past this was done through xorg.conf<br />
<br />
You have to add the file <br />
{{cmduser|sudo gedit /etc/hal/fdi/policy/shmconfig.fdi}}<br />
with the following content:<br />
<?xml version="1.0" encoding="ISO-8859-1"?><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="input.x11_driver" string="synaptics"><br />
<merge key="input.x11_options.SHMConfig" type="string">True</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
<br />
After this change please reboot. Restarting hal doesn't help.<br />
<br />
<br />
====Menu-Key====<br />
<br />
Taken from '''Bug [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287428 #287428]''' "Menu key emits XF86WakeUp on Thinkpad X61s":<br />
<br />
Václav Šmilauer wrote:<br />
"When I press the menu key on Thinkpad X61s, it doesn't do anything. I checked with xev and the generated keycode is 151 (xev-reported), which is mapped to <I151> and this, in turn to XF86WakeUp.<br />
I tried diferent keyboard models for Thinkpads, bot none of them worked in this respect. A temporary solution was to replace "XF86WakeUp" with "Menu" in /usr/share/X11/xkb/symbols/inet:86, where <I151> is mapped."<br />
<br />
<br />
'''The Workaround in short:'''<br />
<br />
sudo gedit /usr/share/X11/xkb/symbols/inet<br />
<br />
Press Str + F to search for '''"I151"''' and write <br />
<br />
'''"Menu"''' instead of '''"XF86WakeUp"''' in this line!<br />
<br />
<br />
====Notebook-Harddrive Bug====<br />
<br />
https://wiki.ubuntu.com/PowerManagement#8.10%20(Intrepid):<br />
<br />
"Many of the previous issues have been addressed in Intrepid. All you need to do is:<br />
"ENABLE_LAPTOP_MODE=true" in /etc/default/acpi-support (Bug 244838 fixed in acpi-support 0.111?)<br />
<br />
You can also change "BATT_HD_POWERMGMT=1" in /etc/laptop-mode/laptop-mode.conf to an higher value to stop permanent harddrive-parking!<br />
<br />
====[[Active Protection System]]====<br />
<br />
<br />
Sources:<br />
http://ubuntuforums.org/showthread.php?t=1017393<br />
http://wiki.ubuntuusers.de/Festplattenschutz?highlight=festplattenschutz#Module_laden<br />
https://bugs.launchpad.net/ubuntu/+source/hdapsd/+bug/303915/<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/<br />
http://www.thinkwiki.org/wiki/Talk:Install_Ubuntu_8.10_%28Intrepid_Ibex%29_on_a_Thinkpad_T400<br />
http://www.thinkwiki.org/wiki/Tp_smapi#t…s_0x1600-0x161f<br />
<br />
<br />
'''Here is a Step by Step guidance [[How to protect the harddisk through APS]] with Kernel 2.6.28!'''<br />
<br />
At first you have to delete existing kernel modules to make space for the new ones (Press ENTER after each line):<br />
<br />
sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko<br />
sudo rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko<br />
sudo rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko<br />
<br />
<br />
Then downlaod the newest packages:<br />
<br />
You will need <br />
*tp_smapi-0.4 from here: http://sourceforge.net/project/showfiles.php?group_id=1212&package_id=171579<br />
*hdapsd-20090401.tar.gz from here: http://sourceforge.net/project/showfiles.php?group_id=138242&package_id=308030<br />
*gnome-hdaps-applet-20081204.tar.gz from here: http://www.zen24593.zen.co.uk/hdaps/<br />
<br />
Save this things on your Desktop and unpack them, e.g.<br />
<br />
tar xvfz hdapsd-20090401.tar.gz<br />
tar xvfz tp_smapi-0.40.tgz<br />
tar xvfz gnome-hdaps-applet-20081204.tar.gz<br />
<br />
Then open the Terminal and type this to change into the tp_smapi directory:<br />
<br />
cd Desktop/tp_smapi-0.40<br />
<br />
Then try to load the kernel modules:<br />
<br />
make load HDAPS=1 FORCE_IO=1<br />
<br />
If there is written "drivers successfully loaded", you can type this for installation:<br />
<br />
make install HDAPS=1 FORCE_IO=1<br />
<br />
To laod this modules on startup you have to write them into the /etc/modules file:<br />
<br />
sudo gedit /etc/modules<br />
<br />
Append this to the file:<br />
<br />
thinkpad_ec <br />
tp_smapi<br />
hdaps<br />
<br />
We also need options to load this modules correctly. They have to be written in /etc/modprobe.d/local.conf<br />
<br />
sudo gedit /etc/modprobe.d/local.conf<br />
<br />
Fill the file with this code<br />
<br />
# enable thinkpad_ec<br />
options thinkpad_ec force_io=1<br />
<br />
# option to correctly set tilting through hdaps sensor<br />
options hdaps invert=1<br />
<br />
Now you can try, if the modules are loaded yet. Do so with <br />
<br />
lsmod | grep hdaps<br />
<br />
if not perform:<br />
<br />
sudo modprobe thinkpad_ec tp_smapi hdaps<br />
<br />
<br />
Then install this packages:<br />
<br />
sudo apt-get install hdaps-utils hdapsd<br />
<br />
Afterwards you can test hdaps-gl (with typing hdaps-gl in terminal) which shows the position of your Laptop.<br />
<br />
hdapsd is not working yet. Therefore we need to compile our newer version downloaded before. <br />
<br />
cd Desktop/hdapsd-20090401/<br />
./configure --prefix=/usr/<br />
make<br />
sudo make install<br />
<br />
If compilation and installation succeeded, you can test it by typing this into your terminal:<br />
<br />
sudo hdapsd -d sda -s 15 -a -v -y <br />
<br />
If you suddenly move your laptop the output will change! (stop it with pressing Str + C)<br />
<br />
The last step is, to copy an overworked initiation-script over the existing one.<br />
<br />
The first line will download it, the second will set rights and the third one copies it to the right position. (Press ENTER after each!)<br />
<br />
wget http://www.unet.univie.ac.at/~a0604095/hdapsd<br />
sudo chmod 733 hdapsd<br />
sudo cp hdapsd /etc/init.d/<br />
<br />
Now you can start hdapsd with typing<br />
<br />
sudo /etc/init.d/hdapsd start<br />
<br />
After an reboot everything should start automatically and work correctly! You can change the sensitivity value and other things in this file: "'''/etc/default/hdapsd'''". <br />
To see the effects you have to type "sudo /etc/init.d/hdapsd restart" to restart hdapsd!<br />
<br />
To install the gnome-panel-applet type this lines into the terminal:<br />
<br />
sudo apt-get install libpanel-applet2-dev<br />
cd Desktop/gnome-hdaps-applet-20081204<br />
gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c<br />
sudo cp gnome-hdaps-applet /usr/bin/<br />
sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/<br />
sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/<br />
sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/<br />
<br />
The first line is to install required deps, second line is to move to the source directory (we have downloaded it looong time ago!), then we compile it and copy the files to several positions. After an reboot you can add this applet to the panel!<br />
<br />
Please feel free to correct mistakes. If you have trouble, don't be shy and contact me with jabber: jango4@jabber.org<br />
<br />
==What doesn't work at the moment?==<br />
<br />
<br />
====[[Integrated Fingerprint Reader]]====<br />
<br />
There is a new chipset build in, the "AuthenTec AES2810". So neither the [http://thinkfinger.sourceforge.net thinkfinger] nor the [http://www.reactivated.net/fprint/wiki/Main_Page fprint] Project support this Device at the moment.<br />
<br />
lsusb:<br />
Bus 002 Device 004: ID 08ff:2810 AuthenTec, Inc.<br />
<br />
Daniel from fprint Project wrote in their mailing list, that support for our device is in development!<br />
For more information look here: [http://reactivated.net/fprint/wiki/Unsupported_devices fprint Unsupported devices]<br />
<br />
<br />
====[[Switchable Graphics]]====<br />
<br />
Same Problem as with 8.10!<br />
<br />
==Not tested yet==<br />
<br />
<br />
====ThinkPad 11b/g Wireless LAN mini PCI Express Adapter III (Atheros AR5007EG/AR2425 Chipset)====<br />
<br />
{{todo|Please test the drivers!}}<br />
<br />
<br />
==Upgrading from earlier versions of Ubuntu==<br />
<br />
====Resume/Suspend problems====<br />
If you have problems with resume/suspend, first try if it works from the LiveCD. If LiveCD works, the problem must be in your Ubuntu configuration.<br />
Try reinstalling acpi-support and laptop-mode-tools:<br />
sudo apt-get remove --purge laptop-mode-tools acpi-support<br />
sudo apt-get install laptop-mode-tools acpi-support<br />
If this doesn't help, check the files in /etc/hal/fdi/information directory and remove the unnecessary files.<br />
<br />
<br />
[[Category:T400]][[Category:Ubuntu]][[Category:Ubuntu_9.04]]</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42885Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-04-22T13:59:25Z<p>Lhotari: /* Nvidia performance (Firefox is very slow) and Xorg memory consumption problem */</p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards and Ath5K driver ====<br />
<br />
If you want to use Ath5k driver for your adapter, which I think provides better signal quality, then open a terminal and run these commands: <br />
<pre><br />
sudo su <br />
</pre><br />
<br />
Install necessary build packages:<br />
<pre><br />
apt-get install build-essential <br />
</pre><br />
<br />
Then close Madwifi if you have it installed before:<br />
<pre><br />
rmmod ath_pci; rmmod ath_hal<br />
</pre><br />
<br />
Download the most recent source code for Ath5k: <br />
<pre> <br />
wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2009-03-30.tar.bz2<br />
tar xvf compat-wireless-2009-03-30.tar.bz2<br />
cd compat-wireless-2009-03-30<br />
</pre><br />
<br />
Before compiling, you need to modify the file compat-wireless-2009-03-30/drivers/net/wireless/ath5k/led.c<br />
from:<br />
<pre><br />
/* IBM-specific AR5212 */<br />
{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5212_IBM), ATH_LED(0, 0) },<br />
</pre><br />
to:<br />
<pre><br />
/* IBM-specific AR5212 */<br />
{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5212_IBM), ATH_LED(1, 1) },<br />
</pre><br />
<br />
Save and then move on to compiling the driver, make sure you execute this command in the directory of compat-wireless-2009-03-30/<br />
<pre><br />
make<br />
</pre><br />
<br />
Then confirm that all other drivers are unloaded: <br />
<pre><br />
make unload <br />
</pre><br />
<br />
Install:<br />
<pre><br />
make install <br />
</pre><br />
<br />
Load the module:<br />
<pre><br />
modprobe ath5k <br />
</pre><br />
<br />
Check the wireless network<br />
<pre><br />
ifconfig wlan0 up; iwconfig <br />
</pre><br />
<br />
Your Wi-Fi LED should be blinking happily ever after...<br />
<br />
Now we add Madwifi to blacklist to completely forbid it:<br />
<pre><br />
echo "blacklist ath_pci" >> /etc/modprobe.d/blacklist; echo "blacklist ath_hal" >> /etc/modprobe.d/blacklist <br />
</pre><br />
<br />
<br />
Load ath5k automatically everytime the system starts:<br />
<br />
<pre><br />
echo "ath5k" >> /etc/modules <br />
</pre><br />
<br />
Then the whole process should be done. Happy wifi~<br />
<br />
If you want to remove ath5k, change directory to the directory compat-wireless-2009-03-30/<br />
<pre><br />
sudo make uninstall <br />
</pre><br />
<br />
Unload ath5k:<br />
<br />
<pre><br />
sudo rmmod ath5k <br />
</pre><br />
<br />
remove ath5k from /etc/modules and restart.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the ThinkPad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
If you want to upgrade to latest version, follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
===== Nvidia performance (Firefox is very slow) and Xorg memory consumption problem =====<br />
<br />
Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
I've added these settings to xorg.conf. The GDM Startup problem went away too.<br />
<pre><br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
I added did this from the command line:<br />
<pre><br />
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1<br />
</pre><br />
<br />
more information:<br />
http://www.nvnews.net/vbulletin/showthread.php?t=118088<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/223238<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/190228<br />
https://bugs.launchpad.net/firefox/+bug/207454<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
Use "NVidia X Server Settings" (nvidia-settings) application to configure the external monitor (refresh rate & resolution). xrandr will stall, don't use it.<br />
Remove possible " Option "AllowEmptyInput" "false"" line. In Ubuntu 9.04 Jaunty Jackalope it will cause duplicate/triple key events when you press a key once.</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42884Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-04-22T13:58:57Z<p>Lhotari: /* /etc/X11/xorg.conf settings with support for beamer */</p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards and Ath5K driver ====<br />
<br />
If you want to use Ath5k driver for your adapter, which I think provides better signal quality, then open a terminal and run these commands: <br />
<pre><br />
sudo su <br />
</pre><br />
<br />
Install necessary build packages:<br />
<pre><br />
apt-get install build-essential <br />
</pre><br />
<br />
Then close Madwifi if you have it installed before:<br />
<pre><br />
rmmod ath_pci; rmmod ath_hal<br />
</pre><br />
<br />
Download the most recent source code for Ath5k: <br />
<pre> <br />
wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2009-03-30.tar.bz2<br />
tar xvf compat-wireless-2009-03-30.tar.bz2<br />
cd compat-wireless-2009-03-30<br />
</pre><br />
<br />
Before compiling, you need to modify the file compat-wireless-2009-03-30/drivers/net/wireless/ath5k/led.c<br />
from:<br />
<pre><br />
/* IBM-specific AR5212 */<br />
{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5212_IBM), ATH_LED(0, 0) },<br />
</pre><br />
to:<br />
<pre><br />
/* IBM-specific AR5212 */<br />
{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5212_IBM), ATH_LED(1, 1) },<br />
</pre><br />
<br />
Save and then move on to compiling the driver, make sure you execute this command in the directory of compat-wireless-2009-03-30/<br />
<pre><br />
make<br />
</pre><br />
<br />
Then confirm that all other drivers are unloaded: <br />
<pre><br />
make unload <br />
</pre><br />
<br />
Install:<br />
<pre><br />
make install <br />
</pre><br />
<br />
Load the module:<br />
<pre><br />
modprobe ath5k <br />
</pre><br />
<br />
Check the wireless network<br />
<pre><br />
ifconfig wlan0 up; iwconfig <br />
</pre><br />
<br />
Your Wi-Fi LED should be blinking happily ever after...<br />
<br />
Now we add Madwifi to blacklist to completely forbid it:<br />
<pre><br />
echo "blacklist ath_pci" >> /etc/modprobe.d/blacklist; echo "blacklist ath_hal" >> /etc/modprobe.d/blacklist <br />
</pre><br />
<br />
<br />
Load ath5k automatically everytime the system starts:<br />
<br />
<pre><br />
echo "ath5k" >> /etc/modules <br />
</pre><br />
<br />
Then the whole process should be done. Happy wifi~<br />
<br />
If you want to remove ath5k, change directory to the directory compat-wireless-2009-03-30/<br />
<pre><br />
sudo make uninstall <br />
</pre><br />
<br />
Unload ath5k:<br />
<br />
<pre><br />
sudo rmmod ath5k <br />
</pre><br />
<br />
remove ath5k from /etc/modules and restart.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the ThinkPad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
If you want to upgrade to latest version, follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
===== Nvidia performance (Firefox is very slow) and Xorg memory consumption problem =====<br />
<br />
Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
I've added these settings to xorg.conf. The GDM Startup problem went away too.<br />
<pre><br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
I added did this from the command line:<br />
<pre><br />
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1<br />
</pre><br />
<br />
more information:<br />
http://www.nvnews.net/vbulletin/showthread.php?t=118088<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/223238<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/190228<br />
https://bugs.launchpad.net/firefox/+bug/207454<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
Use "NVidia X Server Settings" (nvidia-settings) application to configure the external monitor (refresh rate & resolution). xrandr will stall, don't use it.<br />
Remove possible " Option "AllowEmptyInput" "false"" line. In Ubuntu 9.04 Jaunty Jackalope it will cause duplicate/triple key events when you press a key once.</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42247Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-20T10:18:17Z<p>Lhotari: /* /etc/X11/xorg.conf settings with support for beamer */</p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
If you want to upgrade to latest version, follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
===== Nvidia performance (Firefox is very slow) and Xorg memory consumption problem =====<br />
<br />
Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
I've added these settings to xorg.conf. The GDM Startup problem went away too.<br />
<pre><br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
I added did this from the command line:<br />
<pre><br />
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1<br />
</pre><br />
<br />
more information:<br />
http://www.nvnews.net/vbulletin/showthread.php?t=118088<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/223238<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/190228<br />
https://bugs.launchpad.net/firefox/+bug/207454<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
Use "NVidia X Server Settings" (nvidia-settings) application to configure the external monitor (refresh rate & resolution). xrandr will stall, don't use it.</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42246Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-20T10:16:13Z<p>Lhotari: </p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
If you want to upgrade to latest version, follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
===== Nvidia performance (Firefox is very slow) and Xorg memory consumption problem =====<br />
<br />
Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
I've added these settings to xorg.conf. The GDM Startup problem went away too.<br />
<pre><br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
I added did this from the command line:<br />
<pre><br />
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1<br />
</pre><br />
<br />
more information:<br />
http://www.nvnews.net/vbulletin/showthread.php?t=118088<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/223238<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/190228<br />
https://bugs.launchpad.net/firefox/+bug/207454<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre></div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42245Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-20T10:14:15Z<p>Lhotari: /* Nvidia performance and Xorg memory consumption problem */</p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
===== Nvidia performance (Firefox is very slow) and Xorg memory consumption problem =====<br />
<br />
I've added these settings to xorg.conf. The GDM Startup problem went away too.<br />
<pre><br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
I added did this from the command line:<br />
<pre><br />
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1<br />
</pre><br />
<br />
more information:<br />
http://www.nvnews.net/vbulletin/showthread.php?t=118088<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/223238<br />
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/190228<br />
https://bugs.launchpad.net/firefox/+bug/207454<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre></div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42244Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-20T10:12:06Z<p>Lhotari: </p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
===== Nvidia performance and Xorg memory consumption problem =====<br />
<br />
I've added these settings to xorg.conf. The GDM Startup problem went away too.<br />
<pre><br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre><br />
<br />
I added did this from the command line:<br />
<pre><br />
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1<br />
</pre><br />
<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre></div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=42243Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-20T10:09:54Z<p>Lhotari: </p>
<hr />
<div>NOTE: I copied the 8.04 document for the {{T61}} and created this one with the information. Please help to update it so it accurately reflects Ubuntu 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357<br />
<br />
<br />
===== /etc/X11/xorg.conf settings with support for beamer =====<br />
<br />
<pre><br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
Option "ConnectedMonitor" "DFP-0,CRT-0"<br />
Option "UseDisplayDevice" "DFP-0,CRT-0"<br />
Option "TwinView" "true"<br />
Option "TwinViewOrientation" "Clone"<br />
Option "TwinViewXineramaInfoOrder" "DFP-0,CRT-0"<br />
Option "MonitorLayout" "LFP,LFP+CRT"<br />
Option "metamodes" "DFP-0: 1680x1050 +0+0, CRT-0: NULL; DFP-0: 1024x768 +0+0, CRT-0: 1024x768 +0+0; DFP-0: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0; DFP-0: 1024x768 +0+0, CRT-0: NULL"<br />
Option "SecondMonitorHorizSync" "31-82" # 15,75-91,1<br />
Option "SecondMonitorVertRefresh" "56-76" # 43-85<br />
DefaultDepth 24<br />
EndSection<br />
<br />
Section "Module"<br />
Load "glx"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Option "ModeValidation" "CRT-0: NoEdidModes, NoHorizSyncCheck, NoVertRefreshCheck"<br />
Driver "nvidia"<br />
Option "NoLogo" "True"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "Xinerama" "0"<br />
Option "AllowEmptyInput" "false"<br />
Option "PixmapCacheSize" "1000000"<br />
Option "AllowSHMPixmaps" "0"<br />
Option "PixmapCache" "1"<br />
Option "PixmapCacheRoundSizeKB" "1024"<br />
Option "InitialPixmapPlacement" "2" <br />
Option "GlyphCache" "1"<br />
EndSection<br />
</pre></div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=41818Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-04T10:46:42Z<p>Lhotari: /* Sound (too quiet, no sound after resume) */</p>
<hr />
<div>NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=41817Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-04T10:46:24Z<p>Lhotari: /* Sound (too quiet, no sound after resume) */</p>
<hr />
<div>NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
{{NOTE|Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend. }}<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=41816Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-04T10:45:33Z<p>Lhotari: /* Sound (too quiet) */</p>
<hr />
<div>NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet, no sound after resume) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad power_save_controller=Y power_save=10<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
{{NOTE|Note: power_save_controller=Y option fixes the problem with no sound after resuming from suspend.}}<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=41814Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-04T07:53:23Z<p>Lhotari: </p>
<hr />
<div>NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
===== GDM Startup problem with Nvidia 177 or 180 driver versions =====<br />
<br />
There's a bug in the driver so that the driver hangs for 30 seconds after logout (in restart X server):<br />
http://www.nvnews.net/vbulletin/showthread.php?t=125286<br />
<br />
Workaround: increase GdmXserverTimeout to 60. Modify /etc/gdm/gdm.conf<br />
<pre><br />
line 232: GdmXserverTimeout=60<br />
</pre><br />
<br />
More information in the Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/258357</div>Lhotarihttps://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61&diff=41769Installing Ubuntu 8.10 (Intrepid Ibex) on a ThinkPad T612009-03-03T14:25:21Z<p>Lhotari: </p>
<hr />
<div>NOTE: I copied the 8.04 document and created this one with the information. Please help to update it so it accurately reflects 8.10.<br />
<br />
== Items that work out of the box ==<br />
<br />
'''Intel Video:''' 2D and 3D acceleration works<br />
<br />
'''Nvidia Video:''' 2D and 3D acceleration works . 64-bit Ubuntu 8.10 requires updated Nvidia driver 180.29 .<br />
<br />
'''Wireless:''' Intel cards tested. Atheros cards also works.<br />
<br />
'''Wireless WAN:''' Cingular/AT&T card tested.<br />
<br />
'''Network Card:''' Intel 10/100/1000 tested<br />
<br />
'''Wireless switch:''' Tested (Only has an effect over the bluetooth, wifi is unaffected)<br />
<br />
'''Webcam:''' Tested with cheese and skype.<br />
<br />
'''Headphones:''' Works out of the box<br />
<br />
'''Microphone:''' Just needs to be activated, see section [[#Audio|below]]<br />
<br />
'''Keyboard Shortcuts:''' Most of them work out of the box, some need to be activated, see section [[#Multimedia_Keys|below]]<br />
<br />
'''Fingerprint Reader:''' With ThinkFinger, not as functional after upgrade (need to hit 'Enter'), see below<br />
<br />
== Items that need (some) tweaking to obtain full functionality ==<br />
=== Sound (too quiet) ===<br />
{{NOTE|Note: This seems to have been fixed in a recent update. Following these instructions will actually dampen sound if your sound is already at the appropriate volume. Only apply if necessary.}}<br />
Sound works "out of the box", but is too quiet for many people. To fix this you need to do the following:<br />
<pre><br />
gksudo gedit /etc/modprobe.d/alsa-base<br />
</pre><br />
and add<br />
<pre><br />
options snd-hda-intel model=thinkpad<br />
</pre><br />
to the very end of the file ({{path|/etc/modprobe.d/alsa-base}}).<br />
<br />
=== Open Source Intel Wi-Fi Driver ===<br />
The following information is important if you are upgrading from a previous version (2007 or earlier) of Ubuntu to 8.10.<br />
<br />
Intel has created a new Linux Wi-Fi driver project for Intel Wireless cards, "[[Iwlwifi]]". This driver is Open Source and no longer requires the Intel daemon to run in addition. This project will support the [[:Category:T61 | T61]]'s Wi-Fi [[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter | Intel 3945ABG network adapter]] and [[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter| Intel 4965AGN network adapter]].<br />
<br />
An automatic migration will occur when upgrading from [[Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61|Ubuntu 7.10]] to Ubuntu 8.04. However, there is a caveat to be aware of:<br />
* The new driver wants to name the interface wlan0 (by default -- you can rename it to anything you want), and requires a different entry in {{path|/etc/udev/rules.d/70-persistent-net.rules}}, which handles the naming of interfaces. Simply edit this file and delete your old entry for the ipw3945 driver, then unload/reload the new driver, or simply reboot. A new entry will automatically be created that is appropriate for the new driver. Here's an example of the lines to delete:<br />
<pre><br />
# PCI device 0x8086:0x4227 (ipw3945)<br />
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:77:a4:0e:2f", NAME="eth1"<br />
</pre><br />
<br />
If you need to perform a manual migration, the Ubuntu Help Community has written some [https://help.ubuntu.com/community/WifiDocs/Driver/iwlwifi_Intel_3945_4965/gutsy documentation] that will make this very easy to do.<br />
<br />
An additional note<br />
'''System lock-ups with Intel 4965 wireless'''<br />
<br />
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-intrepid package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.) <br />
http://www.ubuntu.com/getubuntu/releasenotes/810<br />
<br />
==== To enable the Wi-Fi LED with the Atheros cards ====<br />
<br />
First check if this solution works on your computer. Open a terminal and run this commands: <br />
<br />
sysctl dev.wifi0.ledpin=1<br />
sysctl dev.wifi0.softled=3<br />
<br />
Now connect to a wireless network and the LED should start working. If so and you want to make the changes permanent then, on a Debian-based system, add<br />
<pre><br />
dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1<br />
</pre><br />
to the file /etc/sysctl.conf. If your distribution doesn't have a sysctl.conf file then you can add the two sysctl commands to an initscript.<br />
<br />
=== Network connection after suspend/resume ===<br />
Networking may not work after a suspend or resume operation, this is because of the ath_pci driver and can be worked around by creating the file {{path|/etc/pm/config.d/madwifi}} and adding the single line <br />
<pre><br />
SUSPEND_MODULES=ath_pci<br />
</pre><br />
which causes the driver to be unloaded on suspend and reloaded on resume.<br />
<br />
=== Fingerprint Reader with ThinkFinger ===<br />
Here are the general instruction on [http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger how to enable the fingerprint reader with ThinkFinger]<br />
Add the PPA repositories to your source.list (/etc/apt/source.list):<br />
<pre><br />
deb http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
deb-src http://ppa.launchpad.net/jon-oberheide/ubuntu intrepid main<br />
</pre><br />
Update installer:<br />
<pre><br />
$ sudo apt-get update<br />
</pre><br />
And install:<br />
<pre><br />
$ sudo apt-get install thinkfinger-tools<br />
</pre><br />
From: [http://www.eastwoodzhao.com/ubuntu-810-intrepid-ibex-thinkfinger-fingerprint-reader/ Ubuntu 8.10 Intrepid Ibex - ThinkFinger Fingerprint Reader]<br />
<br />
'''NOTE:''' Just the above didn't worked for me. [http://www.thinkwiki.org/wiki/Install_Ubuntu_Intrepid_Ibex_on_a_T61p#Fingerprint_Reader This] did worked like a charm. --[[User:Lunatico|Lunatico]] 22:53, 18 December 2008 (CET)<br />
<br />
=== Emulate Wheel (Middle-click scrolling) ===<br />
[http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/ Michael Vogt described] how to get middle-click scrolling to work again in Intrepid. Xorg.conf is not used to configure mice and keyboards anymore, but evdev is. This makes the configuration of middle-click scrolling a little bit different than previous versions of Ubuntu. In terminal:<br />
<pre><br />
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi<br />
</pre><br />
Past and save the following code, which will give vertical wheel emulation only:<br />
<pre><br />
<match key="info.product" string="TPPS/2 IBM TrackPoint"><br />
<merge key="input.x11_options.EmulateWheel" type="string">true</merge><br />
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge><br />
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge><br />
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge><br />
</match><br />
</pre><br />
There is [http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html another method] to get horizontal scrolling as well, but I don't think it worked for me.<br />
<br />
=== Enabling touchpad on/off key (fn-f8) ===<br />
The procedure shown [[Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T500#Enabling_Touchpad_on.2Foff_key|here]] for T500 also works for T61. <br />
<br />
=== Suspend/Hibernate ===<br />
==== Nvidia drivers ====<br />
One of the many problems associated with the Thinkpad *61 series and '''nvidia''' is the suspend/hibernate feature being broken.<br />
<br />
If you have such a problem then try this fix.<br />
<br />
First of all make sure that you use '''nvidia''' drivers. System -> Administration -> Hardware drivers and there the activate the latest one. <br />
<br />
Then create file /etc/hal/fdi/information/lenovo.fdi<br />
<br />
With contents:<br />
<pre><br />
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="system.hardware.vendor" string="LENOVO"><br />
<!-- Ubuntu default settings: good for nvidia driver --><br />
<merge key="power_management.quirk.s3_mode" type="bool">true</merge><br />
<merge key="power_management.quirk.s3_bios" type="bool">false</merge><br />
<merge key="power_management.quirk.save_pci" type="bool">true</merge><br />
</match><br />
</device><br />
</deviceinfo><br />
</pre><br />
Reboot and check suspend and hibernation.<br />
<br />
'''Update and success 1 March 2009'''<br />
I didn't have success with above alone. After editing loads of hal files I cam across a suggestion that early versions of the nvidia 180 drivers dont do suspend/resume. It was also said that from 180.25 on they worked. So I manually upgraded to the using the documentation on the Ubuntu wiki - but basically it's a matter of removing anything that was installed by ubuntu (like getting rid of /lib/modules/2.6.27-11-generic/updates/dkms/nvidia.ko) and then running the nvidia installer, rebooting and you have the newer version - in my case 180.29. Now suspend to ram works!<br />
<br />
<br />
===== Nvidia driver upgrade to latest version (180.29 currently) =====<br />
<br />
Follow these instructions: http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid<br />
<br />
Without 180.29 version Firefox and X.org will stall with these error messages in the log file:<br />
<pre><br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
[mi] EQ overflowing. The server is probably stuck in an infinite loop.<br />
[mi] mieqEnequeue: out-of-order valuator event; dropping.<br />
</pre><br />
For example http://grails.org website stalls Firefox and X.org.<br />
<br />
<br />
<br />
<br />
=== Bluetooth ===<br />
{{HELP|Bluetooth seems to work out of the box, but I can't get it to work after a suspend. Anyone have any ideas?}}<br />
<br />
[[Category: Ubuntu 8.10]]<br />
[[Category: T61]]</div>Lhotari