如何让 ELO 触摸屏正常工作?

如何让 ELO 触摸屏正常工作?

我买了一台新的触摸屏 POS 机,并在上面安装了 fedora 14。我无法使触摸屏工作,因为 ELO 触摸制造商仅提供适用于内核 2.6.14 版本的驱动程序。尽管 Fedora 14 已经为 ELO 触摸屏预编译了内核级驱动程序支持,但我无法让它工作。

xorg.conf我也 尝试过配置,但没有任何效果。

Section "Files"  
        FontPath        "/usr/share/fonts/X11/misc"  
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"  
        FontPath        "/usr/share/fonts/X11/cyrillic"  
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"  
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"  
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"  
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"  
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"  
        FontPath        "/usr/share/fonts/X11/Type1"  
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"  
        FontPath        "/usr/share/fonts/X11/100dpi"  
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"  
        FontPath        "/usr/share/fonts/X11/75dpi"  
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"  
#path to defoma fonts  
FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"  
 EndSection  
 Section "Module"  
 Load    "i2c"  
 Load    "bitmap"  
 Load    "ddc"  
 Load    "dri"  
 Load      "extmod"  
 Load    "freetype"  
 Load    "glx"  
 Load    "int10"  
 Load    "vbe"  
  EndSection  

Section "InputDevice"  
Identifier      "Generic Keyboard"  
Driver          "kbd"  
Option          "CoreKeyboard"  
Option          "XkbRules"      "xorg"  
Option          "XkbModel"      "pc104"  
Option          "XkbLayout"     "us"  
EndSection  

Section "InputDevice"  
Identifier      "Configured Mouse"  
Driver          "mouse"  
Option          "CorePointer"  
Option          "Device"                  "/dev/input/mice"  
Option          "Protocol"              "ImPS/2"  
Option          "Emulate3Buttons"       "true"  
EndSection  

Section "InputDevice"  
Identifier "ELO touchscreen"  
Driver "elographics"  
Option "Device" "/dev/ttyS0"  
Option  "MinX" "375"  
Option  "MaxX" "3700"  
Option  "MinY" "500"  
Option  "MaxY" "3590"  
Option  "UntouchDelay"  "10"  
Option  "ReportDelay"   "10"  
Option  "SendCoreEvents"        "yes"  
Option  "ScreenNumber"  "0"  
Option  "ButtonNumber"  "1"  
EndSection  

Section "Device"  
Identifier      "Intel"  
Driver          "intel"  
BusID           "PCI:0:2:0"  
EndSection

Section "Monitor"  
Identifier      "LCD Touch"  
Option          "DPMS"  
EndSection  

Section "Screen"  
Identifier      "Default Screen"  
Device          "ATI Technologies Inc ATI Default Card"  
Monitor         "ELO Touch"   

        DefaultDepth    24  
        SubSection "Display"  
        Depth           1  
        Modes "800x600"  
        EndSubSection  
        SubSection "Display"  
Depth           4  
Modes           "800x600" "720x400" "640x480"  
EndSubSection  
SubSection "Display"  
Depth           8  
Modes           "800x600" "720x400" "640x480"  
EndSubSection  
SubSection "Display"  
Depth           15  
Modes           "800x600" "720x400" "640x480"  
EndSubSection  
SubSection "Display"  
Depth           16  
Modes           "800x600" "720x400" "640x480"  
EndSubSection  
SubSection "Display"  
Depth           24  
Modes           "800x600" "720x400" "640x480"  
EndSubSection  
EndSection  

Section "ServerLayout"  
Identifier      "Default Layout"  
Screen          "Default Screen"  
InputDevice     "Generic Keyboard"  
InputDevice     "Configured Mouse"  
InputDevice     "ELO touchscreen" "SendCoreEvents"  
EndSection  

Section "DRI"  
Mode    0666  
EndSection

答案1

Fedora 和 X.Org 上游的 X 输入设备维护者已发布Linux 上的 Elgraphics 触摸屏设置指南

相关内容