Providing serial touch screen coordinates in xorg.conf
To provide the X Window System with the specific minimum and maximum X and Y coordinates for the
serial touch screen:
1.
Launch the terminal application from Init 3 text console mode.
2.
Use a text editor to add the following section to the /etc/X11/xorg.conf file:
Section "InputDevice"
Driver
"
driver
"
Identifier
"Mouse[3]"
Option
"ButtonNumber" "1"
Option
"ButtonThreshold" "17"
Option
"Device" "/dev/ttyS
n
"
Option
"InputFashion" "Touchpanel"
Option
"MinX" "
minimum_X
"
Option
"MaxX" "
maximum_X
"
Option
"MinY" "
minimum_Y
"
Option
"MaxY" "
maximum_Y
"
Option
"Name" "
unique_device_id
"
Option
"ReportingMode" "Scaled"
Option
"SendCoreEvents" "on"
EndSection
See Table 1 on page 3 and Table 3 on page 4 (as applicable) for the variable values;
unique_device_id
is
any alphanumeric string by which you would like the device identified in the OS.
3.
Add the following line to the
ServerLayout
section in the /etc/X11/xorg.conf file:
InputDevice
"Mouse[3]" "SendCoreEvents"
For example:
Section "ServerLayout"
Identifier
"Layout[all]"
InputDevice
"Keyboard[0]" "CoreKeyboard"
InputDevice
"Mouse[1]" "CorePointer"
InputDevice
"Mouse[3]" "SendCoreEvents"
Option
"Clone" "off"
Option
"Xinerama" "off"
Screen
"Screen[0]"
EndSection
Tone support for Elo touch screens
IBM provides a utility which turns on or off the audible feedback for external 4820 Elo USB and RS-232
Elo touch screens. You can download the IBM_elotone4sle-1.0.0-0.i586.rpm package from IBM support
web site at http://www.ibm.com/support/docview.wss?uid=pos1R4000246.
To install the package on SLED 11 or SLES 11, enter the following command on the command line:
rpm -ivh IBM_elotone4sle-1.0.0-0.i586.rpm
To install the package on SLEPOS 11, refer to the SLEPOS 11 documentation.
To activate the tone on an external 4820 Elo touch screen, enter the following on the command line:
./elotone4sle {--help} -s [DOWN | UP | BOTH | OFF] -d
port
-f
frequency
-t
time
[DOWN | UP | BOTH | OFF]
Specifies whether the tone sounds when a touch is first recognized (
DOWN
), when a touch
is released (
UP
), at both times (
BOTH
), or not at all (
OFF
).
port
Specifies either USB-attached (
usb
) or RS-232 serial-attached (
/dev/ttyS
n
).
frequency
Specifies the frequency value in hertz for the tone.
time
Specifies the duration in milliseconds that the tone sounds.
Chapter 1. Common configuration procedures
5
Summary of Contents for 4800-C41
Page 1: ...Point Of Sale Linux Operating Systems Configuration Guide G362 0570 00...
Page 2: ......
Page 3: ...Point Of Sale Linux Operating Systems Configuration Guide G362 0570 00...
Page 6: ...iv Linux OS Configuration...
Page 18: ...10 Linux OS Configuration...
Page 26: ...18 Linux OS Configuration...
Page 31: ...IBM IBM GA27 4004 GA27 4004 Appendix A Safety information 23...
Page 32: ...GA27 4004 GA27 4004 GA27 4004 GA27 4004 GA27 4004 GA27 4004 IBM 24 Linux OS Configuration...
Page 36: ...28 Linux OS Configuration...
Page 41: ......
Page 42: ...G362 0570 00...