Simon Thum ha scritto, Il 27/01/2010 13:29: > Marco Cavallini wrote: >> Simon Thum ha scritto, Il 27/01/2010 11:47: >>> Marco Cavallini wrote: >>>> Hi, >>>> I'm testing and debugging xinput-calibrator and looks like >>>> CalibratorEvdev::do_set_prop - XChangeDeviceProperty calls are ignored >>>> by Xorg. >>> Properties may reject attempts to change their value (to specific >>> values). Also, if the properties don't exist before, you may be creating >>> them but they don't have any actual meaning. >> Simon, >> If I see the following properties, should I be able to set an of them? > Yeah you should. But it's important to get the value and type right. > Citing from evdev-properties.h: > /* Run-time calibration */ > /* CARD32, 4 values [minx, maxx, miny, maxy], or no values for unset */ > #define EVDEV_PROP_CALIBRATION "Evdev Axis Calibration" > > (you should have this file if you compiled evdev or have a *-dev package) > > You ought to be getting errors if it doesn't work: > > si...@simons ~ $ xinput --set-prop 6 "Device Accel Constant Deceleration" -1 > X Error of failed request: BadValue (integer parameter out of range for > operation) > Major opcode of failed request: 139 (XInputExtension) > Minor opcode of failed request: 57 () > Value in failed request: 0xf3 > Serial number of failed request: 17 > Current serial number in output stream: 18 >
My calls are successfull and I get back any error. I still have no effects on XChangeDeviceProperty calls. Anybody could point me where to continue digging? For instance, where is XChangeDeviceProperty? How it manage the raw coordinates coming from /dev/input/touchscreen0 ? TIA /marco _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg