Hi,

I have a little problem calibrating my touchscreen using xinput.

I can invert the Y axis no problem, suppress acceleration, but there is
no way to get calibration right it seems that the numbers I put do not
influence the pointer.

for example I execute :
xinput set-int-prop 6 238 32 500 600 200 300
or
xinput set-int-prop 6 238 32 20 100 30 50

but the cursor is bound in the same rectangle (which is 1/3 of the
total screen size)

xinput list-props 6
shows 

Device 'S3C TouchScreen':
        Device Enabled (112):   1
        Device Accel Profile (231):     -1
        Device Accel Constant Deceleration (232):       1.000000
        Device Accel Adaptive Deceleration (234):       1.000000
        Device Accel Velocity Scaling (235):    10.000000
        Evdev Reopen Attempts (236):    10
        Evdev Axis Inversion (237):     0, 1
        Evdev Axis Calibration (238):   20, 100, 30, 50
        Evdev Axes Swap (239):  0
        Axis Labels (240):      "Abs X", "Abs Y", "Abs Pressure"


Versions:
xf86-input-evdev-2.3.0
xinput-1.5.0 (tested with 1.4.2 didn't change anything)
inputproto-2.0
xorg-server-1.7.4
kernel-2.6.24.7 (heavily patched... but this is the only thing I can't
do anything about)

my log is attached (it doesn't contain anything special though).

Anyone has a pointer if I do something wrong, if evdev can't be used
like this or anything else ?

Because I don't really want to change to tslib+kdrive (as you can't
calibrate tslib from within xorg).
X.Org X Server 1.7.4
Release Date: 2010-01-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24.7 armv6l 
Current Operating System: Linux Mai 2.6.24.7-by-Aelia #1 PREEMPT Sun Jan 31 22:27:44 CET 2010 armv6l
Kernel command line: loglevel=6 rootwait s3cfb.backlight=80 root=/dev/mmcblk1p2 
Build Date: 31 January 2010  08:50:19AM
 
Current version of pixman: 0.17.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb  1 09:20:30 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x1820c4
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 3

(II) Open APM successful
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
Primary device is not PCI
(==) Matched fbdev for the autoconfigured driver
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 0.4.1
	ABI class: X.Org Video Driver, version 6.0
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 0.0.2
	ABI class: X.Org Video Driver, version 6.0
(II) FBDEV(0): using default device
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) Running in FRAMEBUFFER Mode
(II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
(==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
(==) FBDEV(0): RGB weight 565
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: s3cfb (video memory: 750kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 800x480 (pitch 800)
(**) FBDEV(0):  Built-in mode "current": 0.0 MHz, 0.0 kHz, 0.1 Hz
(II) FBDEV(0): Modeline "current"x0.0    0.03  800 1016 1017 1057  480 515 516 526 -hsync -vsync -csync (0.0 kHz)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 1.1.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(==) FBDEV(0): Backing store disabled
(==) FBDEV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) config/hal: Adding input device S3C TouchScreen
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.4, module version = 2.3.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) S3C TouchScreen: always reports core events
(**) S3C TouchScreen: Device: "/dev/input/event0"
(II) S3C TouchScreen: Found absolute axes
(II) S3C TouchScreen: Found x and y absolute axes
(II) S3C TouchScreen: Found absolute touchpad.
(II) S3C TouchScreen: Configuring as touchpad
(II) XINPUT: Adding extended input device "S3C TouchScreen" (type: TOUCHPAD)
(**) S3C TouchScreen: (accel) keeping acceleration scheme 1
(**) S3C TouchScreen: (accel) acceleration profile 0
(II) S3C TouchScreen: initialized for absolute axes.
(II) config/hal: Adding input device gpio-keys
(**) gpio-keys: always reports core events
(**) gpio-keys: Device: "/dev/input/event2"
(II) gpio-keys: Found keys
(II) gpio-keys: Configuring as keyboard
(II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device gpio-keys
(**) gpio-keys: always reports core events
(**) gpio-keys: Device: "/dev/input/event1"
(II) gpio-keys: Found keys
(II) gpio-keys: Configuring as keyboard
(II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to