Thursday, July 29, 2010

HOWTO : Ubuntu 10.04 on Gigabyte TouchNote T1028X

Gigabyte TouchNote T1028X equipped with Intel Atom N280 and eGalax touch screen. It runs Ubuntu 10.04 flawlessly except touchpad and touchscreen. This tutorial is telling you how to overcome these problems.

"lsusb" shows the following :

Bus 005 Device 002: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen

Step 1 :

Boot up the system and press "Ctrl+Alt+F2" to go to command prompt.

sudo nano /etc/default/grub

Append "i8042.noloop=1 usbhid.quirks=0xeef:0x1:0x40" to "GRUB_CMDLINE_LINUX_DEFAULT".

*where i8042.noloop=1 solves the touchpad probem.

It will look like this :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.noloop=1 usbhid.quirks=0xeef:0x1:0x40"

Save and exit.

sudo update-grub

Step 2 :

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

Append the following to the file.

blacklist usbtouchscreen

Step 3 :

sudo nano /usr/lib/X11/xorg.conf.d/05-evdev.conf

Append the following to the file.

Section "InputClass"
   Identifier "eGalax"
   MatchProduct "eGalax"
   MatchDevicePath "/dev/input/event*"
   Driver "evdev"
   Option "SwapAxes" "off"
   Option "Calibration" "2 4100 11 4099"
EndSection


The value of calibration is "2 4100 11 4099" is perfect on my Gigabyte TouchNote T1028X (resolution 1366 x 768). However, you can change the value after doing Step 6 when necessary.

Step 4 :

sudo apt-get update
sudo apt-get install build-essential libgtkmm-2.4-dev autoconf libtool


Go to "http://github.com/tias/xinput_calibrator/downloads" and download the latest version of xinput-calibrator. The current version at this writing is 0.6.1.

tar -xvzf tias-xinput_calibrator-v0.6.1-0-gd2ce98b.tar.gz

cd tias-xinput_calibrator-d2ce98b
./autogen.sh
./configure
make
sudo make install


Step 4a (Optional) :

Or, you can build your debian package by using checkinstall.

sudo apt-get update
sudo apt-get install build-essential libgtkmm-2.4-dev autoconf libtool checkinstall


Go to "http://github.com/tias/xinput_calibrator/downloads" and download the latest version of xinput-calibrator. The current version at this writing is 0.6.1.

tar -xvzf tias-xinput_calibrator-v0.6.1-0-gd2ce98b.tar.gz

cd tias-xinput_calibrator-d2ce98b
./autogen.sh
./configure
make
sudo checkinstall


Follows the instructions on the screen provided to generate your debian package.

Then install the package by using "sudo dpkg -i package_name.deb".

Step 5 :

Reboot your system.

Step 6 (Optional) :

To calibration your system and edit the value to Step 3 when necessary.

xinput_calibrator_x11

That's all! See you.