LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SUCCESS: 3M Microtouch touchscreen in Ubuntu (https://www.linuxquestions.org/questions/linux-hardware-18/success-3m-microtouch-touchscreen-in-ubuntu-583400/)

jimbo1708 09-09-2007 11:39 AM

SUCCESS: 3M Microtouch touchscreen in Ubuntu
 
After sinking about $250 into a touchscreen from an old airport self check-in, I finally got the thing working under Feisty.

First, I installed the driver:
Code:

sudo apt-get install xserver-xorg-input-microtouch
Then I had to put this into my /etc/X11/xorg.conf
Code:

Section "InputDevice"
        Identifier "TouchScreen"
        Driver "microtouch"
        Option "Type" "finger"
        Option "Device" "/dev/ttyS1"
        Option "ScreenNo" "0"
        #subtracting shifts cursor right
        #adding shifts cursor left
        Option "MinX" "150"            #left
        Option "MaxX" "16233"          #right
        #subtracting shifts cursor up
        #adding shifts cursor down
        Option "MaxY" "200"            #Bottom
        Option "MinY" "16483"          #Top
        Option "SendCoreEvents" "yes"
EndSection

Next, add the following to the serverlayout section
Code:

InputDevice    "TouchScreen"
After all that, I had the resolution on the monitor set to a really poor setting, so I then changed the default depth in the screen section to a lower number which fixed the problem.
Code:

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB]"
        Monitor        "Generic Monitor"
        #This is where I made my change from 24
        DefaultDepth    16
        SubSection "Display"
                Depth          1
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          4
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          8
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          15
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          16
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          24
                Modes          "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

This tutorial was where I got most of my information, but I hope my notes help especially for ubuntu.
http://ubuntuforums.org/showthread.php?t=158666

- Jim


All times are GMT -5. The time now is 08:00 PM.