Skip to content

Enable TouchPack Resistive Touch Screen With Ubuntu 10.04 LTS

2010 July 19
by Hardik Dalwadi

Let me complete this very quickly, I am seeing flow of TouchPack Resistive Touch Screen in recent hardwares. It’s not working well with Ubuntu 10.04 LTS. In my pre-test i have found that cursor is automatically  moving at top left corner of the screen. I have also seen this behavior in Ubuntu Netbook Edition. During my information triage for this behavior, i have found below hack. I have slightly modify it, so it can work smoothly.

Get the Vendor ID and Product ID of TouchPack Resistive Touch Screen using ‘lsusb’ command.

person@CANONICAL-DESK:~/Desktop$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1bfd:1688 TouchPack Resistive Touch Screen
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
person@CANONICAL-DESK:~/Desktop$

So, here is VID and PID of Touch Screen is:

Bus 002 Device 002: ID 1bfd:1688 TouchPack Resistive Touch Screen

VID = 1bfd

PID = 1688

Now, it requires quirks to work well with Ubuntu. Ubuntu is taking it as usbhid device. There are few ways to enable this device with quirks.

Modify /etc/rc.local file  and add below line:

modprobe -r usbhid
modprobe  usbhid quirks=0x1bfd:0x1688:0x40

Please reboot the Ubuntu, and next window will give you touch experience. Now, there are few applications in Ubuntu, that will make your user experience rich. There is application called “onboard”, comming in default Ubuntu Netbook Installation. That
will enable on-screen keyboard for every situation. You have to just enable it in start-up application so, GDM can launching new session. There is “onboard-settings” where you can define your optiont, like icon in Ubuntu Top Panel, your custom keyboard layout, launch it while locked  screen, etc… And for editor, there is very good application called, “xournal”, which you can installed straight from Ubuntu Software Center.

:wq

person@CANONICAL-DESK | Straight from Canonical field, Puducherry, India.

5 Responses leave one →
  1. andsegu permalink
    August 19, 2010

    This fix also worked on a Malata chinesse tablet with debian Squeeze 5.05

    Thanks a lot!!

  2. oby permalink
    September 17, 2010

    Hi there,
    It did not work for me at first…
    then

    In terminal I launched the line:

    echo “options usbhid quirks=0x1bfd:0x1688:0x40” | sudo tee /etc/modprobe.d/usbhid.conf

    after it asks for your password after which it replies back the argument of your line (0x1bfd…etc…)

    after this I modified the file rc.local with the lines

    modprobe -r usbhid
    modprobe usbhid quirks=0x1bfd:0×1688:0×40

    I saved thr rc.local and I made it executable ( sudo chmod +x /etc/rc.local)

    I re-booted it and now it works.

    This has been tested on the old asus eeepc 701.

    It would be nice to find a good calibration program now to improve precision….any suggestions are most than welcomed!!

  3. September 17, 2010

    @ Oby,

    Thanks for your prompt. I did try to push this in usbhid.conf. But i found that other hid device was attached with my system, which was blocking our quirks during boot time. I think it was sequence problem. rc.local solution is straight and transparent. It loads driver during at the end. For example you can activate touch screen after booting with help of modprobe, which i just automated with help of rc.local.

    And for calibration, i will definitely update my blog once i will hit with solution.

  4. JoshCube permalink
    March 8, 2013

    Thanks for this 2.5 year old post. :-) . I dumpster dived a touch screen kiosk panel. Now its a Linux computer for my garage. The above worked perfectly for me. Thanks!

  5. Florin permalink
    December 12, 2013

    Thanks i did this on debian 6.0.6 and now the touch screen is working great.

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

Ubuntu