Archive for July, 2009

Activating Fujitsu P1510 screen rotation on Ubuntu 9.04 Jaunty

Posted in ubuntu on July 9, 2009 by rvshiro

It’s quite tempting to make the screen rotation and all the 5-buttons under the P1510 to work properly as they should be. I’ve been unable to work around these features on earlier version of Ubuntu (7.10 and 8.04).

After browsing around to find appropriate driver, I found it on sourceforge.net at :

http://sourceforge.net/projects/fjbtndrv/

and you can download the file fjbtndrv-2.0.1.tar.gz here

Here are the steps I’ve taken to install the driver on Fujitsu P1510 with Jaunty Jackalope :

$ tar -zxvf ./fjbtndrv-2.0.1.tar.gz

$ cd ./fjbtndrv-2.0.1.tar.gz

$ sudo apt-get install libxi-dev libxtst-dev lib libxrandr-dev libhal-dev

$ ./configure

$ make

$ sudo make install

$ sudo depmod -a

$ sudo modprobe fsc_btns

$ sudo reboot now

It must be no errors on the process.

Now you can have the function button to work. However, I only need the first 3 buttons … so I don’t really care for the other 2. When the screen folded for tablet, it will change the orientation from landscape to portrait… Also the scrolling button A & B work flawlessly.. However, I still see that when I’m in tablet mode, the touchscreen pointer doesn’t work properly. It has different coordinate with the pointer, but mouse works ok without problem.

Thanks to Robert Gerlach for maintaining the driver and others

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.