MuTouch Touchscreen

From FGWiki
Jump to: navigation, search

Steps to set up a MuTouch touchscreen for store POS use.

Installation

MuTouch is incompatible with Ubuntu 10.04 (Lucid). These instructions are for 11.04 (Natty)

1. Install OpenbravoPOS.

2. Copy and paste the following into gedit, and save as /tmp/config.sh

 apt-get install xserver-xorg-input-mutouch
 touch /etc/X11/xorg.conf
 cat << EOF > /etc/X11/xorg.conf
 Section "Device"
       Identifier      "Configured Video Device" 
 EndSection
 Section "Monitor"
       Identifier      "Configured Monitor"
 EndSection
 Section "Screen"
       Identifier      "Default Screen"
       Monitor         "Configured Monitor"
       Device          "Configured Video Device"
 EndSection
 Section "InputDevice"
   Identifier "TouchScreen"
   Driver "mutouch"
   Option "Type" "finger"
   Option "Device" "/dev/ttyS0"
   Option "ScreenNo" "0"
   Option "MinX" "-50"
   Option "MaxX" "16400"
   Option "MaxY" "-100"
   Option "MinY" "16100"
   Option "SendCoreEvents" "yes"
 EndSection
 Section "ServerLayout"
   Identifier "Default Layout"
   Screen "Default Screen"
   InputDevice "TouchScreen"
 EndSection
 EOF

3. In terminal run the following

 sudo /bin/bash /tmp/config.sh

4. Edit the Min/Max X/Y to calibrate the touchscreen

 sudo nano /etc/X11/xorg.conf && sudo service gdm restart