Debian installation on Archos9 PC Tablet

Some tips to use Debian on an Archos9 PC Tablet.

Mostly how to get the touchscreen working.

Touchscreen is an eGalax PS2, the OpenSource driver from https://github.com/poliva/opengalax will works.

First edit /etc/defaults/grub and change the cmdline as following:

GRUB_CMDLINE_LINUX_DEFAULT="quiet i8042.nomux=1"

Then run sudo update-grub.

Now you can install the opensource driver:

cd ~/
git clone git://github.com/poliva/opengalax.git
cd opengalax
vim opengalax.c
# Line 264, add the `case 6':

x = ((int)ya * YB_MAX) + ((int)yb);
y = X_AXIS_MAX - ((int)xa * XB_MAX) + (XB_MAX - (int)xb);
break;

Do a:
make
sudo make install
sudo reboot

Now this is good, after reboot the touchscreen needs to be calibrated:

Download xinput_calibrator and install:

cd ~/
git clone git://github.com/tias/xinput_calibrator.git
cd xinput_calibrator
sudo apt-get install libx11-dev libxdo-dev libxtst-dev xserver-xorg-dev
sudo apt-get install autoconf libtool m4 libgtkmm-2.4-dev
./autogen.sh
make
sudo make install

# run it:
xinput_calibrator
# touch the screen \o/
# follow instructions of xinput_calibrator to fix datas into X11/xorg.foobar

Infos got from : http://www.archoslounge.net/forum/showthread.php?t=29916&page=5 for opengalax driver.