Difference between revisions of "Installing Ubuntu 10.10 on a ThinkPad T510"

From ThinkWiki
Jump to: navigation, search
(←Created page with '{| width="100%" |style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__ |style="vertical-align:top" | |} == Success Chart - Out of the box ...')
 
(FingerPrint Reader)
 
(8 intermediate revisions by 2 users not shown)
Line 28: Line 28:
 
|colspan=2| Audio || {{Cyes}} ||
 
|colspan=2| Audio || {{Cyes}} ||
 
|-
 
|-
|rowspan=2| Wireless || WiFi - [[ThinkPad_11b/g/n_Wireless_LAN_Mini-PCI_Express_Adapter_II|ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II]]|| {{Cyes}} || Has some small issue. see notes below
+
|rowspan=2| Wireless || WiFi - [[ThinkPad_11b/g/n_Wireless_LAN_Mini-PCI_Express_Adapter_II|ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II]]|| {{Cyes}} ||  
 
|-
 
|-
 
| [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2.1)|Bluetooth]] || {{Cyes}} || It did detect my HTC legend and i transferred some files from it.
 
| [[ThinkPad_Bluetooth_with_Enhanced_Data_Rate_(BDC-2.1)|Bluetooth]] || {{Cyes}} || It did detect my HTC legend and i transferred some files from it.
Line 64: Line 64:
 
|}
 
|}
  
= Tested and Verified on ubuntu 10.04 =
+
= Tested and Verified on ubuntu 10.10 =
  
Information in this section has been tested and verified using ubuntu 10.04.
+
Information in this section has been tested and verified using ubuntu 10.10.
  
 
== Installation ==
 
== Installation ==
Line 72: Line 72:
 
Installation is very easy and a breeze. The system boots really fast. Even faster then windows. I was like WOW!!!
 
Installation is very easy and a breeze. The system boots really fast. Even faster then windows. I was like WOW!!!
 
However as the default installation came with windows and drive was not partitioned, i had to manually resize the partitions. I used the following guide [http://www.linuxbsdos.com/2010/05/26/manual-disk-partitioning-guide-for-linux-mint-9-and-ubuntu-10-04/ to partition the HDD]
 
However as the default installation came with windows and drive was not partitioned, i had to manually resize the partitions. I used the following guide [http://www.linuxbsdos.com/2010/05/26/manual-disk-partitioning-guide-for-linux-mint-9-and-ubuntu-10-04/ to partition the HDD]
{{WARN|Be careful! Make sure you have make your recovery disks and Boot disk first prior to partitioning. These disks are made in windows itself. In my case i had 2 recovery DVD's and 1 boot cd. Also DO NOT delete the recovery partition or driver partition.}}  
+
{{WARN|Be careful! Make sure you have make your recovery disks and Boot disk first prior to partitioning. These disks are made in windows itself. In my case i had 2 recovery DVD's and 1 boot cd. Well this time i deleted all partitions. Why would i use windows when i can install it using virtualbox}}  
  
 
== Updating ==
 
== Updating ==
Line 94: Line 94:
  
 
=== WiFi ===
 
=== WiFi ===
The wifi driver with the old kernel before updating is unstable. it hardly detects access points and if it does it continuously disconnects. The problem is solved simply by upgrading your system to the latest kernel.
+
Works smoothly.
{{cmdroot|sudo aptitude update}}
 
  
 
{{cmdroot|sudo aptitude upgrade}}
 
{{cmdroot|sudo aptitude upgrade}}
Line 102: Line 101:
  
 
=== FingerPrint Reader ===
 
=== FingerPrint Reader ===
Finally worked. It was so easy.
 
  
1. Download the driver from here [http://www.upek.com/support/downloads/linux/ Protector Suite for Linux]
+
There are two possibilities:
2. To enroll type
 
  
{{cmdroot|enroll}}
+
Get the proprietary software from the [http://www.upek.com/support/downloads/linux/ Upek page] (32bit only)<br>
 +
or try the [http://www.n-view.net/Appliance/fingerprint/ Fingerprint GUI project] which uses ''upeksonly'' driver from the [http://reactivated.net/fprint/wiki/Upeksonly fprint project]
  
A graphical fingerprint program will come up where you just select which finger(s) you want to enroll.
+
=== Trackpoint ===
  
For PAM, Add this as the first line to PAM configuration files:  /etc/pam.d/sudo
+
You can adjust the sensitivity and speed by running this script at boot
  
auth sufficient pam_upek.s
+
make a new config file {{path|nano /etc/init/trackpoint.conf}}
  
Although it should be there already.
+
<pre>
 +
description "Trackpoint settings"
 +
env TPDIR=/sys/devices/platform/i8042/serio1/serio2
 +
start on virtual-filesystems
 +
script
  
Done now when you log out, reboot, type a sudo command all you need to do is swipe your finger and press the ENTER key:).
+
  while [ ! -f $TPDIR/sensitivity ]; do
 +
    sleep 2
 +
  done
 +
 
 +
  echo -n 200 > $TPDIR/sensitivity    // values from 0 to 250 for sensitivity
 +
  echo -n 150 > $TPDIR/speed          // values from 0 to 250 for speed
 +
  echo -n 0 > $TPDIR/press_to_select  // 1 or 0 to turn on/off press to select
 +
 
 +
end script
 +
</pre>
 +
 
 +
from [http://wiki.ubuntuusers.de/Trackpoint?highlight=bios#Einstellungen-permanent-machen-ab-Ubuntu-9-10 ubuntuusers]
 +
 
 +
For some reason the settings get lost after hibernate or standby and you need to reboot to get this working again.
  
 
=== Setup ThinkVantage ActiveProtection ===
 
=== Setup ThinkVantage ActiveProtection ===
  
sudo cp /etc/modules /etc/modules_backup
+
{{cmduser|sudo cp /etc/modules /etc/modules_backup}}
sudo apt-get install tp-smapi-dkms
+
 
sudo modprobe tp-smapi
+
{{cmduser|sudo apt-get -y install tp-smapi-dkms hdapsd}}
sudo apt-get install hdapsd
+
 
 +
{{cmduser|sudo modprobe tp-smapi}}
 +
 
 +
{{cmduser|sudo /etc/init.d/hdapsd restart}}
 +
 
  
  
Line 148: Line 167:
  
 
Reboot. Now HDAPS should work. If you want to have a HDAPS icon in your notification area
 
Reboot. Now HDAPS should work. If you want to have a HDAPS icon in your notification area
like in Windows, follow these steps to install [http://thpani.at/projects/thinkhdaps/ ThinkHDAPS]
+
like in Windows, simply install AVN
 +
 
 +
{{cmduser|sudo apt-get -y install avant-window-navigator awn-applets-python-core}}
 +
 
 +
Now you can run the avn
 +
 
 +
Click Applications > Accessories > Avant Window Navigator
 +
 
 +
to make the '''ThinkHDAPS''' icon appear in the navigator, right click on the navigator bar and select "Dock Preferences"
 +
 
 +
Go to applets and under the catefory "All" browse down and select the applet named '''ThinkHDAPS'''
 +
 
 +
A new applet should appear on the dock. The applet changes when you shake your laptop:)
 +
 
 +
[[File:Selection_003.png]]
  
Download [https://launchpad.net/~andypiperuk/+archive/andypiper-ppa/+files/thinkhdaps_0.2.1-1_all.deb https://launchpad.net/~andypiperuk/+archive/andypiper-ppa/+files/thinkhdaps_0.2.1-1_all.deb] and put it into your home directory. Right click on the file and select "Extract Here". In terminal run
+
=== Setup Think Sensors ===
cd ~
+
The gnome sensors applets allow you to monitor all important temperatures, including battery, hdd, cpu and gpu and system fan
cd thinkhdaps_0.2.1-1_all
 
sudo cp
 
tar -zxvf data.tar.gz
 
sudo cp usr/bin/thinkhdaps /usr/bin/
 
sudo chmod +x /usr/bin/thinkhdaps
 
sudo cp usr/share/pixmaps/* /usr/share/pixmaps/
 
  
Now you can run
+
{{cmduser|sudo apt-get -y install sensors-applet}}
thinkhdaps &
+
Add the hardware sensor monitor to the panel and then configure it. You can add the sensors eighter in the gnome panel or Avant Window Manager.
to make the '''ThinkHDAPS''' icon appear in the notification area
+
Note: I had to reboot the system first so that the applet appeared in gnome panel.
  
[[File:ThinkHDAPS.png]]
+
# libsensors: temp2 to 8 do not work for me. I have no idea if they are supposed to work or not.
 +
# hddtemp: /dev/sda is the sensor of the harddisk. It is important to keep the harddisk always below 45°, normally under 40°.  
  
To make it autostart go to '''System -> Preferences -> Startup Applications''', select the "Startup Programms" tab, click Add and add this
+
[[File:Menu_004.png]]
Name: thinkhdaps
 
Command: thinkhdaps
 
Click Add and then Close. Now the ThinkHDAPS icon should be always visible in the notification area.
 
  
  
Line 229: Line 254:
  
 
[[Category:T510]]
 
[[Category:T510]]
[[Category:Ubuntu 10.04]]
+
[[Category:Ubuntu 10.10]]

Latest revision as of 10:23, 15 December 2010

Success Chart - Out of the box experience

I had posted a howto for 10.04. This howto is similar and i changed somethings to make the istallation easier!

Item Working Notes
Installation Local CD/DVD install yes
Network Installation unknown
USB Installation yes
Display Laptop Screen (15.6" TFT display with 1920x1080(FHD) or 1600x900(HD+)) yes See notes below
VGA yes
Power Management Software Suspend (hibernate) yes
Suspend to Memory (ACPI sleep) yes
Audio yes
Wireless WiFi - ThinkPad 11b/g/n Wireless LAN Mini-PCI Express Adapter II yes
Bluetooth yes It did detect my HTC legend and i transferred some files from it.
Input Keyboard yes
(TrackPoint / Touchpad combo) yes
Extra keys partial see ThinkPad Extra keys section below
Fingerprint yes See notes below
Ports Ethernet yes
Modem unknown
ExpressCard_slot unknown
USB yes
Firewire_Port unknown
5-in-1 MultiCard Reader yes 2GB SanDisk Ultra II SD flash card automatically detected.
2.0MP webcamera yes Tested with Skype. Works perfectly.
Harddisk Active Protection yes See notes below
TPM (security subsystem) unknown
Dock removal unknown

Tested and Verified on ubuntu 10.10

Information in this section has been tested and verified using ubuntu 10.10.

Installation

Installation is very easy and a breeze. The system boots really fast. Even faster then windows. I was like WOW!!! However as the default installation came with windows and drive was not partitioned, i had to manually resize the partitions. I used the following guide to partition the HDD

ATTENTION!
Be careful! Make sure you have make your recovery disks and Boot disk first prior to partitioning. These disks are made in windows itself. In my case i had 2 recovery DVD's and 1 boot cd. Well this time i deleted all partitions. Why would i use windows when i can install it using virtualbox

Updating

I recommend you update your system after installation to get all the bugs sorted out

Configuration

Kernel

..

Issues


NVIDIA

Update the driver by selecting System-->Administration-->Hardware drivers. You will be prompted if you want to upgrade to the relevant driver, Accept and restart. There is a bug in ubuntu in that the startup and shutdown logos get blurred. Beats me why they have not sorted it out yet but its not "important" as the logo only comes up when you start or shut down the system.


Backlight controls are not functional while running nVidia driver 195. They can be controlled by either changing brightness in a VT or adding the following to the "Devices" section of /etc/X11/xorg.conf

   Option "RegistryDwords" "EnableBrightnessControl=1"

Reboot and the keys now work

WiFi

Works smoothly.

# sudo aptitude upgrade

Then reboot and the wifi card works flawlessly.

FingerPrint Reader

There are two possibilities:

Get the proprietary software from the Upek page (32bit only)
or try the Fingerprint GUI project which uses upeksonly driver from the fprint project

Trackpoint

You can adjust the sensitivity and speed by running this script at boot

make a new config file nano /etc/init/trackpoint.conf

description "Trackpoint settings"
env TPDIR=/sys/devices/platform/i8042/serio1/serio2
start on virtual-filesystems
script

  while [ ! -f $TPDIR/sensitivity ]; do
    sleep 2
  done

  echo -n 200 > $TPDIR/sensitivity    // values from 0 to 250 for sensitivity
  echo -n 150 > $TPDIR/speed          // values from 0 to 250 for speed
  echo -n 0 > $TPDIR/press_to_select  // 1 or 0 to turn on/off press to select

end script

from ubuntuusers

For some reason the settings get lost after hibernate or standby and you need to reboot to get this working again.

Setup ThinkVantage ActiveProtection

$ sudo cp /etc/modules /etc/modules_backup

$ sudo apt-get -y install tp-smapi-dkms hdapsd

$ sudo modprobe tp-smapi

$ sudo /etc/init.d/hdapsd restart


You can set the activeprotection sensivity:

cd /etc/default/
gedit hdapsd
# sensitivity
SENSITIVITY=25


Now you can try, if the modules are loaded yet. Do so with

lsmod | grep hdaps


If the installation of hdapsd succeeded, you can test it by typing this into your terminal:

sudo hdapsd -d sda -s 15 -a -v -y 

If you suddenly move your laptop the output will change! (stop it with pressing Ctr + C)

Reboot. Now HDAPS should work. If you want to have a HDAPS icon in your notification area like in Windows, simply install AVN

$ sudo apt-get -y install avant-window-navigator awn-applets-python-core

Now you can run the avn

Click Applications > Accessories > Avant Window Navigator

to make the ThinkHDAPS icon appear in the navigator, right click on the navigator bar and select "Dock Preferences"

Go to applets and under the catefory "All" browse down and select the applet named ThinkHDAPS

A new applet should appear on the dock. The applet changes when you shake your laptop:)

Selection 003.png

Setup Think Sensors

The gnome sensors applets allow you to monitor all important temperatures, including battery, hdd, cpu and gpu and system fan

$ sudo apt-get -y install sensors-applet Add the hardware sensor monitor to the panel and then configure it. You can add the sensors eighter in the gnome panel or Avant Window Manager. Note: I had to reboot the system first so that the applet appeared in gnome panel.

  1. libsensors: temp2 to 8 do not work for me. I have no idea if they are supposed to work or not.
  2. hddtemp: /dev/sda is the sensor of the harddisk. It is important to keep the harddisk always below 45°, normally under 40°.

Menu 004.png


ThinkPad Extra keys

ThinkPad keys are handled by a mixture of the thinkpad_acpi, acpi button and acpi dock drivers.

Key Function Handled by Event Works Notes
FnF2 Lock the computer - unknown yes
FnF3 Select Power Plan - unknown yes
FnF4 Put Computer to sleep/standby mode - unknown yes
FnF5 wireless - unknown yes Switches the bluetooth off
FnF6 Change camera/audio settings - unknown yes
FnF7 Switch Display output location - unknown yes
FnF8 Change ultranav device settings - unknown yes
FnF12 Put computer in hibernation mode - unknown unknown
FnHome brightness up - unknown yes
FnEnd brightness down - unknown yes
FnPgUp thinklight - unknown yes
FnSpace zoom - unknown unknown
FnPrtSc Have the same function as the SysRq key. - unknown unknown
FnScrLk Enable or disable the numeric keypad. - unknown yes
FnPause Have the same function as the Break key. - unknown unknown
ThinkVantage Vendor key - unknown unknown
VolumeUp Volume Up - unknown yes
VolumeDown Volume Down - unknown yes
VolumeMute Volume Mute - unknown yes
MicMute Microphone Mute - unknown no
NextTab Browser Next tab - unknown yes
PreviousTab Browser Previous tab - unknown yes
Power Power button - unknown yes
Lid Lid button - unknown yes