Παρασκευή, 29 Οκτωβρίου 2010

Lilliput Touchscreen working with Meego

Starting this new section about Meego, a Linux flavor for netbooks, here is how I got my in-car Lilliput EBY-701 touchscreen working with it (should be the same with any Linux distro).
  1. Firstly, grab the eGalax driver from here. More specifically, the beta 3.03.4510 version for 32-bits. Untar the tarball:
    tar -xvzf eGalaxTouch-3.03.4510-32b-k26.tar.gz
  2. Edit the setup.sh script:
    cd eGalaxTouch32; nano setup.sh
  3. Find the xorgpath2 variable and set it to /etc/X11/xorg.conf.d/: xorgpath2="/etc/X11/xorg.conf.d/"
  4. make sure the /etc/X11/xorg.conf.d/ does exist:
    mkdir -p /etc/X11/xorg.conf.d/
  5. Run the setup.sh script:
    sudo sh setup.sh
This script will determine the Xorg version you are running and will copy the module to the correct place. Also, it will generate the file /etc/X11/xorg.conf.d/50-egalax.conf informing Xorg of the driver. One final step is needed, creating the calibration file:

sudo touch /var/lib/eeti.param && sudo chmod 777 /var/lib/eeti.param

After all these, killall Xorg to let X restart and load the mod
ule/configuration. /var/log/Xorg.0.log should have eGalax references in it.

Once X restarts, the touchscreen needs to be calibrated. This is a piece of cake using the eGalaxTouch gui tool. Simply open the terminal app and launch:
sudo eGalaxTouch

The calibration tool should start app. 4-points calibration is fine, there are also some extra features that the eGalax driver has -- check them out in the tabs of calibration tool.

As a bonus, to have the eGalaxTouch tool available as an application shortcut:
sudo nano /usr/share/application/eGalaxTouch.desktop :

[Desktop Entry]
Version=1.0
Type=Application
Name=eGalaxTouch
Comment=Touchscreen Calibration
Exec=/usr/bin/eGalaxTouch
Categories=Utility
Icon=eGalaxTouch


Restart Xorg to have the menu updated and the new shortcut should appear under the Utilities menu. You can make it also a favorite app!

1 σχόλιο:

Ανώνυμος είπε...

Lots of good reading here, thanks! I was seeking on yahoo when I discovered your article, I’m going to add your feed to Google Reader, I look forward to a lot more from you.