Hardware Reference
In-Depth Information
InputDevice "touchscreen" "CorePointer"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
The ServerLayout section tells Xorg how to layout any screens that you wish to use.
This is simple, because you have only one screen device, so just put it in position 0,0
(the numbers correspond to a horizontal and vertical ordering, where 0 is the first
position).
You'll also tell it that, for your ServerLayout , you want to use the touchscreen input
device as your mouse device. By passing it as CorePointer , it tells Xorg to use it as the
default mouse device. The other options are for the DPMS timeout settings:
BlankTime
The time in minutes to let the screensaver (if any) run before blanking the screen
StandbyTime and SuspendTime
Define the inactivity period (in minutes) before going into standby and suspend
mode, respectively
OffTime
Defines the inactivity period before turning the monitor device off entirely
In this example config, these options are all set to 0 , which effectively disables power
saving on the device, but you should customize them for your needs.
When setting these, you should stagger them out, in the order presented, so that your
monitor device goes blank, then to standby, then to suspend, then turns off entirely.
If you do not want your monitor to go into one of those states (or it does not support
that state), you can always disable it by passing a 0 value to it:
Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-
e2i_Technology__Inc._USB_Touchpanel_L000000000-event-if00"
Option "DeviceName" "touchscreen"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "On"
Option "Calibration" "449 31910 31857 988"
EndSection
Search WWH ::




Custom Search