Peter Hutterer ha scritto, Il 11/02/2010 00:18: > xserver/Xi/xiproperty.c, ProcXChangeDeviceProperty, or if you're using > server 1.7 xinput will likely use XIChangeProperty. that's in the same file, > but called ProcXIChangeProperty. > > that again calls into the property handler, for acceleration properties that > is one of the AccelSet*Property calls in xserver/dix/ptrveloc.c. > for evdev properties, it's EvdevSetProperty in xf86-input-evdev/src/evdev.c. > That's likely where the Error is coming from. > > Can you provide some more detail though, it might be a trivial fix once I > can reproduce it. What's the URL for the calibrator program and what > property are you trying to set?
Hi Peter, thank you for answering. I'm working with Tias on his project http://github.com/tias/xinput_calibrator These settings, and any xinput set-int-prop "atmel-ts" "Evdev Axis Calibration" has no effect. --------------- # export DISPLAY=:0 # xinput_calibrator Calibrating EVDEV driver for "atmel-ts" current calibration values (from XInput): min_x=150, max_x=3830 and min_y=190, max_y=3830 To make the settings permanent, create add a startup script for your window manager with the following command(s): xinput set-int-prop "atmel-ts" "Evdev Axes Swap" 8 1 xinput set-int-prop "atmel-ts" "Evdev Axis Calibration" 32 3581 1929 -106 1946 Doing dynamic recalibration: Swapping X and Y axis... Setting new calibration data: 3581, 1929, -106, 1946 ---------- # xinput --list --short Virtual core pointer id=2 [master pointer (3)] Virtual core XTEST pointer id=4 [slave pointer (2)] Generic Mouse id=6 [slave pointer (2)] Virtual core keyboard id=3 [master keyboard (2)] Virtual core XTEST keyboard id=5 [slave keyboard (3)] <default keyboard> id=8 [slave keyboard (3)] atmel-ts id=7 [floating slave] # xinput --list-props "atmel-ts" Device 'atmel-ts': Device Enabled (112): 1 Device Accel Profile (220): 0 Device Accel Constant Deceleration (221): 1.000000 Device Accel Adaptive Deceleration (223): 1.000000 Device Accel Velocity Scaling (224): 10.000000 Evdev Reopen Attempts (229): 10 Evdev Axis Inversion (230): 0, 0 Evdev Axis Calibration (231): 1000, 10, 1000, 10 Evdev Axes Swap (232): 1 Axis Labels (233): "Abs X" (226), "Abs Y" (227), "Abs Pressure" (228) Button Labels (234): "Button Unknown" (225), "Button Unknown" (225), "Button Unknown" (225), "Button Wheel U) Evdev Middle Button Emulation (235): 2 Evdev Middle Button Timeout (236): 50 Evdev Wheel Emulation (237): 0 Evdev Wheel Emulation Axes (238): 0, 0, 4, 5 Evdev Wheel Emulation Inertia (239): 10 Evdev Wheel Emulation Timeout (240): 200 Evdev Wheel Emulation Button (241): 4 Evdev Drag Lock Buttons (242): 0 Cheers -- Marco Cavallini | KOAN sas | Bergamo - Italia embedded and real-time software engineering Atmel third party certified consultant Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
