LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   IBM TOuchScreen on RedHat Ent. (https://www.linuxquestions.org/questions/linux-hardware-18/ibm-touchscreen-on-redhat-ent-315674/)

BraunFeldt 04-21-2005 09:06 AM

IBM TOuchScreen on RedHat Ent.
 
I have a point of sales unit that I am running the latest RedHat Enterprise on and am working on getting the touchscreen working. Currently I am using the mutouch driver which if I use the od -h -w10 </dev/ttyS6 command I can see under X that it is responding to touch, however I am not able to get it to move the cursor. here is a look at my xorg.conf file

# Xorg configuration created by system-config-display

Section "ServerLayout"

Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "SerialEloTouchScreen" "SendCoreEvents"
InputDevice "TouchScreen" "SendCoreEvents"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
# Load "GLcore"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
Load "mutouch"
EndSection

Section "InputDevice"

# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:nocaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "TouchScreen"
Driver "mutouch"
Option "Device" "/dev/ttyS6"
Option "Type" "finger"
# Option "AlwaysCore"
# Option "ScreenNo" "0"
Option "MinX" "100"
Option "MaxX" "4000"
Option "MinY" "100"
Option "MaxY" "4000"
# Option "SendDragEvents" "false"
# Option "SendCoreEvents"
EndSection


#Section "InputDevice"
# Identifier "SerialEloTouchScreen"
# Driver "elographics"
# Option "Device" "/dev/ttyS6"
# Option "screeno" "0"
# Option "MinX" "600"
# Option "MaxX" "3600"
# Option "MinY" "600"
# Option "MaxY" "3600"
# Option "UntouchDelay" "3"
# Option "ReportDelay" "1"
#EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor 800x600"
HorizSync 31.5 - 35.1
VertRefresh 50.0 - 61.0
ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Option "dpms"
# -- 1400x1050 --
# 1400x1050 @ 60Hz, 65.8 kHz hsync
EndSection

Section "Device"

# no known options
#BusID
Identifier "VESA driver (generic)"
Driver "vesa"
VendorName "VESA driver (generic)"
BoardName "VESA driver (generic)"
Option "no-accel" "true"
Option "UseInternalAGPGART""no"

EndSection

Section "Screen"
Identifier "Screen0"
Device "VESA driver (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

robertob 05-12-2005 06:39 AM

Hi,
i used rh73 in the past with ibm touchscreens on ibm pos

I folloewd these instructions :
http://www-1.ibm.com/support/docview...d=pos1R1002913

It works fine for me and my pos :)


All times are GMT -5. The time now is 08:11 AM.