Tuesday, November 8, 2011

Fujitsu P1620 Ubuntu Touchscreen Driver

A clean install of XP runs pretty slow on the Fujitsu P1620 touchscreen. But what to do to since that is the only OS that Fujitsu publishes touchscreen drivers for? Well, after scouring the net, I found that hacker Zmiq2 has adapted/created an Ubuntu driver for just this purpose.

Since some of the finer details of making this work on the P1620 specifically are strewn about in comments on his blog, etc., I thought I might as well centralize the info and relate my experience with this model.

At first, I tried installing the driver on Ubuntu 10.10 which failed so I reloaded the laptop with 9.04 and loaded the driver which worked nearly out-of-the-box.

I've put a copy of Zmiq2's driver on my Google Sites storage and created a tinyurl for it which is below. This is the fujitsu-usb-touchscreen-0.3.8 version which is the one I had success with:


http://preview.tinyurl.com/75afehs


Steps to install:

OS: Ubuntu 9.04 Jaunty
Driver: fujitsu-usb-touchscreen-0.3.8
Chassis: Fujitsu P1620
1. Download the driver in the link above, extract it and change directory to the newly extracted folder in a terminal.
2. Run the following commands from that directory:

make
sudo make install

3. I was not able to get the rotate or right mouse click features to work using the readme or manual installation of fjbtndrv. So on to calibration... :(

4. In my case, running the calibration tool listed in the readme also did not work. However, there is a workaround... I suggest manually editing the conf files as follows.

a. Run the following command from a terminal...

sudo nano /etc/modprobe.d/fujitsu_usb_touchscreen.conf

...and edit the file to look like this:

options fujitsu_usb_touchscreen touch_minx=108 touch_miny=353 touch_maxx=3911 touch_maxy=4000

b. Then run this command...

sudo nano /etc/hal/fdi/policy/fujitsu_usb_touchscreen.fdi

...and make the MinX/MinY section look like this:

<merge key="input.x11_options.MinX" type="string">108</merge>
<merge key="input.x11_options.MinY" type="string">353</merge>
<merge key="input.x11_options.MaxX" type="string">3911</merge>
<merge key="input.x11_options.MaxY" type="string">4000</merge>


Well, that was the fix for me. Hope this makes the world a better place for someone like it did me!









13 comments:

  1. Well, I had a user post the comment below. I had to delete the comment though because their avatar picture was so extremely explicit. Ouch. Anyhow, here it is:

    "Do you know of anyway to turn off the 'palm rejection technology' they came up with? It would be totally sweet if it could be turned on and off at command. I like it, but still want regular finger presses to work."

    ReplyDelete
  2. In answer to the above, no I'm not sure if there is a way to manipulate that. Try seeing if there is anything in the following files that looks like a candidate, though:

    /etc/modprobe.d/fujitsu_usb_touchscreen.conf

    /etc/hal/fdi/policy/fujitsu_usb_touchscreen.fdi

    ReplyDelete
  3. if you could spare a sec would be greatly appreciated... I have a p1620, though I can't boot Linux from USB as it's excluded from bootable drives in the Bios (& system has no internal CD or floppy). Can I ask how you manged to install Linux

    ReplyDelete
  4. Have you tried enabling the Legacy USB and SCSI mass storage options in the BIOS? They can be found under Advanced>USB Features. Try that. Also, what version of the BIOS are you using? I have 1.06. Be sure to let us know if that worked...

    ReplyDelete
  5. Hi 1.06 too and both settings enabled... Have you set 'supervisor password' and 'user password' fields by chance? I didn't want to set in case selling later, though interesting to know if this might be limiting my access i.e. right now I can enter Bios without password, how about you?

    Thanks for getting back to me.

    ReplyDelete
  6. I have not set any BIOS passwords. I do not recommend setting one, as that will not help with troubleshooting this. Does the BIOS see the USB drive at all? Does it show it in the BIOS, but just does not allow it to be booted to?

    ReplyDelete
  7. Yes shows in Bios though not allowed or "excluded". Tried a couple of sticks will try and find another couple...

    ReplyDelete
  8. Can you tell me exactly what text is shown in the BIOS under excluded boot devices? Does it it say the following?:

    "USB MEMORY: None"

    ...Or does it say something else?

    ReplyDelete
  9. one testing right now says "USB MEMORY: USB DRIVE-(USB 2.0)"; the other one I have is again under "Excluded from boot order" and is listed similarly except with Sandisk in the title...

    ReplyDelete
  10. did my last message send? I included the details I think it was "USB Memory: USB 2 Stick"
    and the other I tried "USB Memory: Sandisk USB 2.0Gb" so they are recognised by machine... I just tried another in the other USB slot "USB Memory: Jet transcend 8Gb" still appears as "Excluded"... there are Fujitsu offices close to me I will try and make it their problem, not sure they'll care though...

    ReplyDelete
  11. Been busy with real life but back now...

    Find one that you haven't put Linux on and shows as normal (not excluded) in the BIOS and then prepare it to become your Linux install. I'm guessing that once you do this, it will suddenly show as excluded. See if I'm right.

    If I'm right, then it has something to do with the method you are using to put the Linux installer on the USB. It may be the way your are imaging it/marking the partition at boot, etc. While were at it, tell me about that. What are you using to prepare the USB? Unetbootin? YUMI? If the former, did you remember the boot flag?

    My theory may be wrong, but it's what I would try if I were you, so there it is.

    ReplyDelete
  12. you theory was right! So there it is...
    either the reimaging did it or the cross in bios [x] I missed everytime... so thanks for reminder... hopefully karma will come around your way...

    ReplyDelete

Spammy/foul language comments or those with an explicit avatar will be tossed in a 55 gallon drum and a match thrown in after them. (Oooo, now I can warm my hands!!)