Archive for the Jaunty Category

Fujitsu P1510 touchscreen under Jaunty Jackalope

Posted in Fujitsu P1510, Jaunty, linux, touchscreen, ubuntu on July 4, 2009 by rvshiro

I have a 3-years old Fujitsu Lifebook P1510 that’s been running 7.10 with touchscreen enable flawlessly… Now it’s time to upgrade to 9.04. But the problem is the Xorg version is different.

Lucky I found the way to make it work again under Ubuntu 9.04 Jaunty Jackalope. Here are the steps that I did :

Step 1. Make a an executable file under bash shell script.

$ sudo gedit ~/ts.sh

Then copy & paste the following

#!/bin/bash

cd /tmp

sudo apt-get install -y setserial xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev build-essential pkg-config libxrandr-dev

sudo setserial /dev/ttyS0 port 0x0220 irq 4 autoconfig

echo -e ‘/dev/ttyS0 irq 4 port 0x220 autoconfig’ | sudo tee /etc/serial.conf

wget http://www.conan.de/touchscreen/xf86-input-fujitouch-0.6.5.tar.bz2

tar -jxf xf86-input-fujitouch-0.6.5.tar.bz2

cd xf86-input-fujitouch-0.6.5

wget http://launchpadlibrarian.net/21635770/fujitouch.diff | patch -p0 < fujitouch.diff

./configure –prefix=/usr && make && sudo make install

exit 0

Save it

Step 2. Run the script

$ ~/ts.sh

Wait until it’s finished. There must be no errors.

Step 3. Edit the xorg.conf using your favourite text editor (vi, nano, gedit, etc)

$ sudo gedit /etc/X11/xorg.conf

Then add the following text on the last line of xorg.conf

Section “InputDevice”
Identifier “touchscreen”
Driver “fujitsu”
Option “Device” “/dev/ttyS0”
Option “DeviceName” “touchscreen”
Option “MinX” “82”
Option “MinY” “146”
Option “MaxX” “4036”
Option “MaxY” “3999”
Option “SendCoreEvents” “On”
EndSection

Section “ServerLayout”
Identifier    “Default Layout”
Screen        “Default Screen”
InputDevice     “touchscreen” “CorePointer”
EndSection

Save it and you’ve done.

Restart your GDM (your notebook) and you’ll get the touchscreen come to life

Cheers,

nb. This howto might be work with the new Fujitsu P1610 as well but not with P1620.

Advertisements