Difference between revisions of "Touchscreen"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
|||
| Line 25: | Line 25: | ||
InputDevice "dummy" | InputDevice "dummy" | ||
== redhat testing == | |||
yum install \ | |||
libpciaccess xorg-x11-font-utils xorg-x11-util-macros libdrm xinput_calibrator usbmuxd tslib xorg-x11-drv-synaptics wacomexpresskeys xorg-x11-drv-mutouch | |||
Revision as of 16:40, 1 April 2012
- installing IIyama multitouch screen:
- dmesg
usb 2-1.2: new full speed USB device number 22 using ehci_hcd usb 2-1.2: New USB device found, idVendor=0408, idProduct=3001 usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-1.2: Product: OpticalTouchScreen usb 2-1.2: Manufacturer: QUANTA
- lsusb:
Bus 002 Device 022: ID 0408:3001 Quanta Computer, Inc. Optical Touch Screen
hiding the mouse pointer
- in xorg.conf
Section "InputDevice"
Identifier "dummy"
Driver "void"
Option "Device" "/dev/input/mice"
EndSection
- and in the "ServerLayout" section:
InputDevice "dummy"
redhat testing
yum install \ libpciaccess xorg-x11-font-utils xorg-x11-util-macros libdrm xinput_calibrator usbmuxd tslib xorg-x11-drv-synaptics wacomexpresskeys xorg-x11-drv-mutouch
wacom-s
...
# Synaptics Touchpad device
Section "InputDevice"
Identifier "touchpad"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
EndSection
# wacom pen device
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "type" "stylus"
Option "device" "/dev/input/tablet-tpc93-stylus"
Option "USB" "on"
Option "ForceDevice" "ISDV4"#Doesn't seem to be needed with option above
# Without this, the button on the stylus won't work with newer linuxwacom
Option "TPCButton" "off"
# Make the stylus button a right-click
Option "Button2" "3"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "type" "eraser"
Option "device" "/dev/input/tablet-tpc93-stylus"
Option "USB" "on"
Option "ForceDevice" "ISDV4"#Doesn't seem to be needed with option above
EndSection
# Wacom touchscreen
Section "InputDevice"
Driver "wacom"
Identifier "touch"
Option "type" "touch"
Option "device" "/dev/input/tablet-tpc93-touch"
Option "USB" "on"
Option "ForceDevice" "ISDV4"$Doesn't seem to be needed with above option
# Calibration for the touch screen (same options for above devices). Yours may vary and you should try without these first.
Option "TopX" "1025"
Option "TopY" "800"
Option "BottomX" "25400"
Option "BottomY" "15500"
EndSection
...
Section "ServerLayout"
InputDevice "touchpad" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "touch" "SendCoreEvents"
...
EndSection