Difference between revisions of "Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad X61"

From ThinkWiki
Jump to: navigation, search
m (Add and fix some wiki links and some internal article links)
Line 35: Line 35:
 
== Items that requires some light tweaks: ==
 
== Items that requires some light tweaks: ==
  
* browser keys does not work (see below to enable them -Easy-)
+
* browser keys does not work ([[Installing_Ubuntu_8.04_%28Hardy_Heron%29_on_a_ThinkPad_X61#Browser_keys|see below to enable them]] -Easy-)
* trackpoint middle button act as a simple third button, it cannot be used to scroll (at least without manual config -Easy-)
+
* trackpoint middle button act as a simple third button, it cannot be used to scroll (at least without manual config -Easy-) ([[Installing_Ubuntu_8.04_%28Hardy_Heron%29_on_a_ThinkPad_X61#Middle_button_wheel_emulation|Easy config of middle button]])
* fingerprint: require some config -Easy-
+
* fingerprint: [[Installing_Ubuntu_8.04_%28Hardy_Heron%29_on_a_ThinkPad_X61#Fingerprint|require some config]] -Easy-
  
 
== Items that will work with a custom kernel upgrade: ==
 
== Items that will work with a custom kernel upgrade: ==
Line 60: Line 60:
  
 
A very nice and easy howto is located there:
 
A very nice and easy howto is located there:
http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger#Hardy
+
[[How_to_enable_the_fingerprint_reader_with_ThinkFinger#Hardy]]
  
 
==== Fingerprint reader getting hot ====
 
==== Fingerprint reader getting hot ====
Line 66: Line 66:
 
It is very to fix.
 
It is very to fix.
  
See this article http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader_with_ThinkFinger#Fix_for_the_fingerprint_reader_getting_too_hot
+
See this article [[How_to_enable_the_fingerprint_reader_with_ThinkFinger#Fix_for_the_fingerprint_reader_getting_too_hot]]
  
 
=== TuxOnIce ===
 
=== TuxOnIce ===

Revision as of 10:43, 3 August 2008

More coming soon...

If this tutorial works for you and your X61, fell free to add the X61 model number below.

  • Tested on a X61 7376-CU9


Items that works out of the box:

fn-keys:

  • play/pause/stop/next/previous: should work as they are correctly mapped in gnome
  • brightness down (note: send events ibm & video)
  • brightness up (note: send only event video, fixed using a custom kernel)
  • lock
  • sleep
  • battery show a popup with current battery info
  • suspend to disk (hibernate): works
  • suspend to ram: works and wakes up as soon the lid is opened
  • bluetooth enable/disable works

additional keys:

  • sound up/down buttons
  • power button: makes popup a menu with many choices (sleep/suspend/restart/logoff/shutdown/...)

misc:

  • dim lcd works (for eg: when idle)
  • bluetooth:
    • pairing works fine
    • obex works fine
    • not much tested other features should work.

Items that requires some light tweaks:

Items that will work with a custom kernel upgrade:

Do not be affraid I will try to explain most of the needed steps (coming soon). Moreover the new features will be very sweet ;) And you will not loose any features that already works out of the box. Humm, Do I said that? Well at this time the work in progress is about TuxOnIce.

Here are the features that works smoothly after that you use your own kernel

Note: I use zen-sources kernel.

  • all sound keys works as expected (including mute key)
  • brightness works fine (both keys send ibm & video events)
  • rf-switch tested and working
  • sound mute (only mute but does not unmute, have to press sound up or down to get the sound back, fixed using a custom kernel, see below for the full details -Easy-)
  • hdaps with head parking works fine (details below)

Manual configuration

Fingerprint

Install and configuration

A very nice and easy howto is located there: How_to_enable_the_fingerprint_reader_with_ThinkFinger#Hardy

Fingerprint reader getting hot

It is very to fix.

See this article How_to_enable_the_fingerprint_reader_with_ThinkFinger#Fix_for_the_fingerprint_reader_getting_too_hot

TuxOnIce

WIP

HDAPS with head parking

Does not work with the default Kernel shipped in Ubuntu as it does not include the head parking patch, but you can still do the following steps to configure hdaps and hdapsd, your config will be ready when you will choose to compile a new kernel or when the Ubuntu team will include the patch in their kernel tree.

  • add "hdaps" at the end of /etc/modules
  • add in the file /etc/udev/rules.d/50-hdapsd.rules
KERNEL=="event[0-9]*", ATTRS{phys}=="hdaps/input1", ATTRS{modalias}=="input:b0019v1014p5054e4801-*",SYMLINK+="input/hdaps/accelerometer-event"
  • edit /etc/default/hdapsd to fit your needs.

Disk is "sda" on my X61 (may vary if you use Ultrabase -I do not have this hardware-)

And I use 40 for the sensitivity (you can lower the sensitivity -down to 15 I think- if you are working in a very quiet and stable environement)

Browser keys

I use Xmodmap.

Put the two following lines in the file ~/.Xmodmap

 keycode 234 = XF86Back
 keycode 233 = XF86Forward

Restart X and enjoy the keys in Fiferox

Middle button wheel emulation

The following config does not only enable the wheel button but it also keeps the cut/paste feature on it.

I used the Device section from the config of my OpenSuSE and all works very fine.

Config to replace:

	Section "InputDevice"
	       Identifier      "Configured Mouse"
	       Driver          "mouse"
	       Option          "CorePointer"
	EndSection

	Section "InputDevice"
	       Identifier      "Synaptics Touchpad"
	       Driver          "synaptics"
	       Option          "SendCoreEvents"        "true"
	       Option          "Device"                "/dev/psaux"
	       Option          "Protocol"              "auto-dev"
	       Option          "HorizEdgeScroll"       "0"
	EndSection

Just comment both of the previous sections and add the following one:

	Section "InputDevice"
	  Driver       "mouse"
	  Identifier   "Mouse[1]"
	  Option       "Buttons" "5"
	  Option       "Device" "/dev/input/mice"
	  Option       "EmulateWheel" "on"
	  Option       "EmulateWheelButton" "2"
	  Option       "InputFashion" "Mouse"
	  Option       "Name" "IBM;TPPS/2 TrackPoint"
	  Option       "Protocol" "explorerps/2"
	  Option       "Vendor" "Sysp"
	  Option       "ZAxisMapping" "4 5"
	EndSection