https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Compotatoj&feedformat=atomThinkWiki - User contributions [en]2024-03-28T18:16:21ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_8.04_(Hardy_Heron)_on_a_ThinkPad_X61_Tablet&diff=37657Installing Ubuntu 8.04 (Hardy Heron) on a ThinkPad X61 Tablet2008-05-08T02:20:06Z<p>Compotatoj: /* External Links */ Fixed link.</p>
<hr />
<div>Here is an expanding description on what we did to get Alpha_5 of Hardy on working better on the X61 Tablet. I downloaded the alternate Version and installed as the instructions said.<br />
<br />
= Graphic =<br />
== Graphics Card ==<br />
3D acceleration and Compiz Fusion worked out of the box.<br />
<br />
== X ==<br />
Edit /etc/X11/xorg.conf and add to Section Screen<br />
<br />
SubSection "Display"<br />
Virtual 3000 2250<br />
EndSubSection<br />
<br />
The Parameters behind Virtual must be bigger than all your Displays added together (3000 = 1400 + 1600)<br />
Now you can adust you settings with xrandr. e.g.:<br />
<br />
xrandr --output LVDS --rotate left<br />
xrandr --output LVDS --rotate normal<br />
xrandr --output VGA --auto --right-of LVDS<br />
…<br />
<br />
== Konsole ==<br />
<br />
Edit /etc/modprobe.d/blacklist-framebuffer and comment this out:<br />
<br />
#blacklist vesafb<br />
#blacklist vga16fb<br />
<br />
Add to /etc/initramfs-tools/modules<br />
<br />
fbcon<br />
vesafb<br />
vga16fb<br />
<br />
Run<br />
<br />
sudo update-initramfs -u<br />
<br />
Edit /boot/grub/menu.lst and change at defoptions:<br />
<br />
vga=0x31b<br />
<br />
Run<br />
<br />
sudo update-grub<br />
<br />
= Input Devices = <br />
== Keyboard ==<br />
<br />
In some cases the mute button won't work.<br />
<br />
For this add in the /boot/grub/menu.lst file following kernel parameter:<br />
<br />
acpi_osi="Linux"<br />
<br />
Run<br />
<br />
sudo update-grub<br />
<br />
== Stylus ==<br />
Enable it as described in [[Wacom_Serial_Tablet_PC_Stylus]]:<br />
Add to /etc/X11/xorg.conf:<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "cursor"<br />
Option "Device" "/dev/ttyS0"<br />
Option "Type" "cursor"<br />
Option "ForceDevice" "ISDV4" <br />
Option "Mode" "Absolute"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "stylus"<br />
Option "Device" "/dev/ttyS0"<br />
Option "Type" "stylus"<br />
Option "ForceDevice" "ISDV4"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Driver "wacom"<br />
Identifier "eraser"<br />
Option "Device" "/dev/ttyS0"<br />
Option "Type" "eraser"<br />
Option "ForceDevice" "ISDV4"<br />
EndSection<br />
<br />
and in Section ServerLayout:<br />
<br />
InputDevice "cursor" "SendCoreEvents"<br />
InputDevice "stylus" "SendCoreEvents"<br />
<br />
== Trackpoint ==<br />
The three mouse buttons and trackpoint nipple/stick/nub work out of the box.<br />
<br />
If you want the middle mouse button and the nipple to function together as a mouse wheel, add the following to the ''Configured Mouse'' Input Device section in /etc/X11/xorg.config:<br />
<pre><nowiki>Option "EmulateWheel" "true"<br />
Option "EmulateWheelButton" "2" </nowiki></pre><br />
<br />
= Tilt Detection =<br />
These steps have been referenced from [http://www.krizka.net/2008/01/23/thinkpad-x61-tablet-tilt-detection-and-ubuntu-hardy-heron/ Krizka's Blog] with a few changes.<br />
<br />
1) Install the necessary build tools:<br />
<pre><nowiki>sudo aptitude install build-essential linux-kernel-headers</nowiki></pre><br />
<br />
2) Download the tp_smapi package. It contains all the necessary sources for the hdaps module. This tutorial will be using tp_smapi version 0.36. [http://sourceforge.net/project/showfiles.php?group_id=1212 Download Here]. I downloaded the package to /opt.<br />
<br />
3) Extract the packge:<br />
<pre><nowiki>sudo tar -xvzf tp_smapi-0.36.tgz</nowiki></pre><br />
<br />
4) After unpacking, I didn't have permissions to enter the folder. Still being new to Linux, I changed the folder's access permissions using:<br />
<pre><nowiki>sudo chmod 777 tp_smapi-0.36</nowiki></pre><br />
For those of you who know better, I wouldn't recommend using 777, as that allows the folder to be read and edited by anyone. Enter the folder:<br />
<pre><nowiki>cd tp_smapi-0.36</nowiki></pre><br />
<br />
5) Build the sources:<br />
<pre><nowiki>sudo make HDAPS=1 KSRC=/usr/src/linux-headers-`uname -r`</nowiki></pre><br />
<br />
6) Install the module:<br />
<pre><nowiki>sudo make install HDAPS=1 KSRC=/usr/src/linux-headers-`uname -r`</nowiki></pre><br />
<br />
7) Install hdaps-utils in order to test the new module:<br />
<pre><nowiki>sudo aptitude install hdaps-utils</nowiki></pre><br />
<br />
8) Load the new modules:<br />
<pre><nowiki>sudo modprobe -a tp_smapi hdaps</nowiki></pre><br />
<br />
9) Run a test. hdaps-gl should open up a new window showing the tablet's orientation. If you don't want to use a graphical tool, hdaps-pivot prints its output to the command line:<br />
<pre><nowiki>hdaps-gl</nowiki></pre><br />
<br />
10) To make sure your system loads the modules at boot time add "tp_smapi" and "hdaps", without the quotes and one per line, to /etc/modules. Using echo didn't work for me, so I used pico:<br />
<pre><nowiki>sudo pico /etc/modules</nowiki></pre><br />
<br />
11) And update your initramfs:<br />
<pre><nowiki>sudo update-initramfs -u</nowiki></pre><br />
<br />
<br />
== External Links ==<br />
[http://blog.aliencam.net/?page_id=438 Customized Ubuntu Hardy Setup Guide on X61t Hardware].<br />
<br />
[[Category:X61 Tablet]]</div>Compotatoj