Installing the M3 touchscreen under ubuntu 9.10

Following this howto: http://tnoergaard.wordpress.com/2009/05/09/ubuntu-touch-screen-setup-and-calibration/ I ended up without a working touchscreen, so I decided to update the steps to ubuntu 9.10

Installing required packages:

sudo apt-get install xserver-xorg-input-microtouch

Update the xorg.conf in /etc/X11/:

service kdm stop ;# or /etc/init.d/kdm stop

Now to create a new xorg.conf

Xorg -configure

Modify the config and add a section for the TouchScreen driver

Section "ServerLayout"
        Identifier      "X.org Configured"
        Screen          0               "Screen0"       0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "TouchScreen"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
 ...
EndSection

Section "Module"
 ...
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier      "TouchScreen"
        Driver          "mutouch"
        Option          "Type"          "finger"
        Option          "Device"        "/dev/ttyS0"
        Option          "ScreenNo"      "0"
        Option          "MinX"          "100"
        Option          "MaxX"          "4000"
        Option          "MinY"          "100"
        Option          "MaxY"          "4000"
        Option          "SendCoreEvents"        "yes"
EndSection

Section "Monitor"
 ...
EndSection

Section "Device"
 ...
EndSection

Section "Screen"
 ...
EndSection

Calibration Tool

To calibrate your touchscreen, use the following commands:

sudo apt-get install libncurses-dev
wget http://sourceforge.net/projects/touchcal/files/touchcal/touchcal-0.31/touchcal-0.31.tar.gz/download
tar -zxf touchcal-0.31.tar.gz
cd touchcal-0.31
./configure ; make
./touchcal m /dev/ttyS0
 
documents/ubuntu_m3_touchscreen.txt · Last modified: 2009/11/09 16:21 by bware
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki