Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tpctl(8) [netbsd man page]

TPCTL(8)						    BSD System Manager's Manual 						  TPCTL(8)

NAME
tpctl -- touch panel calibration utility SYNOPSIS
tpctl [-D dispdevname] [-d devname] [-f filename] [-hnuv] DESCRIPTION
tpctl is a touch panel calibration utility. tpctl calibrates a touch panel and saves and restores the calibration parameters into/from a parameter database file. Available command-line flags are: -D dispdevname Specify display device name. -d devname Specify touch panel device name. -f filename Specify alternate parameter database file name. -h Print brief description. -n Do not change the parameter database file. -u Force calibration. Without this flag, tpctl won't do calibration if the database file already contains parameters for the touch panel. -v Verbose mode. You calibrate the touch panel the first time you run tpctl. If you see a cross cursor on the screen, you should tap the center of the cursor to calibrate the touch panel, or you can abort the calibration with the 'ESC' key. Five cursors will appear on the screen in turn. Once calibration is done, tpctl saves the calibration parameters into the database file and uses the saved parameters to calibrate the touch panel. You can run tpctl automatically with /etc/rc.d/tpctl. FILES
/etc/tpctl.dat The default calibration parameter database file. The -f flag may be used to specify an alternate database file name. tpctl will create an empty database file if it doesn't exist. /dev/ttyE0 The default display device, which is used to display the cursor during calibration. The -D flag may be used to specify an alternate display device name. The display device must provide the 'hpcfb' interface as defined in /usr/include/dev/hpc/hpcfbio.h. /dev/wsmux0 The default touch panel device. The -d flag may be used to specify an alternate touch panel device name. SEE ALSO
rc.conf(5) BUGS
tpctl isn't available on all ports because it requires a display device which provides the 'hpcfb' interface. BSD
August 25, 2002 BSD

Check Out this Related Man Page

PALMAX(4x)																PALMAX(4x)

NAME
palmax - Palmax (TR88L803) touchscreen driver SYNOPSIS
Section "InputDevice" Identifier "idevname" Driver "palmax" Option "Device" "devpath" ... EndSection DESCRIPTION
palmax is an XFree86 input driver for the Palmax PD1000/PD1100 The palmax driver functions as a pointer input device, and is normally used as the X server's core pointer. It supports positioning and mouse buttons using the touchscreen display and lid buttons on the Palmax machines. SUPPORTED HARDWARE
Palmax PD1000, Palmax PD1100. In theory also any other system using a TR88L803 wired to a serial port. CONFIGURATION DETAILS
Please refer to XF86Config(5x) for general configuration details and for options that can be used with all input drivers. This section only covers configuration details specific to this driver. The following driver options are supported Option "MinX" "integer" Set the left hand X value from the touchscreen, for calibration. Option "MaxX" "integer" Set the right hand X value from the touchscreen, for calibration. Option "MinY" "integer" Set the top Y value from the touchscreen, for calibration. Option "MaxY" "integer" Set the bottom Y value from the touchscreen, for calibration. Option "Screen" "integer" The screen to attach to the touchscreen when running with multiple screens. The default is screen 0. Option "Device" "string" The serial port that is attached to the touchscreen interface. On the Palmax PD1000 and PD1100 this is ttyS0. Option "DeviceName" "string" Set the X11 device name for the touchscreen. This defaults to TOUCHSCREEN. Option "PortraitMode" "string" Set the display orientation. The default is "landscape" but you can rotate the screen clockwise ("portrait") or anticlockwise ("por- traitCCW"). Option "SwapXY" "boolean" Swap the X and Y values on the display. The default is false. Option "TapButton" "boolean" Set the touchscreen tap to act as mouse button 1. This allows single handed operation except when using the menu buttons. The default is false. BUGS
The driver has been tested on the Palmax systems, the defaults reflect the Palmax hardware and should work out of the box. No testing has been done on other systems using the same digitizer. Support for a double-tap menu button option would be nice. The smoothing algorithm would benefit from real mathematics. XFree86 needs a nice calibration tool. SEE ALSO
XFree86(1), XF86Config(5x), xf86config(1), Xserver(1), X(7x). AUTHORS
Authors include... Alan Cox XFree86 Version Version 4.3.0 PALMAX(4x)
Man Page