Open fundies opened 9 years ago
I can calibrate it with xinput_calibrator however the setting disapears any time I reconnect it.
Hi I'm having the same issue, it is caused by the values of the maximum touchscreen resolution defaulting to 4096 for both x and y for the new device. By installing evtest and selecting the Adonit Jot Touch device I noticed that there is a missmatch between the original touchscreen event code 0 (ABS_X) MAX value which leads, depening on the touchscreen, to a missmatch between the touch position and the reported position.
In uinput.c line 79 and 80:
/* common */
dev->absmax[ABS_PRESSURE] = 2048;
dev->absmax[ABS_X] = 4096;
dev->absmax[ABS_Y] = 4096;
`
dev->absmin[ABS_PRESSURE] = 0;
dev->absmin[ABS_X] = 0;
dev->absmin[ABS_Y] = 0;`
We would need to read the absmax values out of the old touchscreen event device and use those as these parameters...
When I touch the stylus to the screen it moves the cursor however the cursor is a good 3-5 inches away from the stylus.
Not sure how to debug this... Not much info in the cli.
I'm on ubuntu 13 32bit
greg@greg-laptop:~/adonit_linux$ sudo ./adonit --pen 00:17:53:68:60:DE --touchreen /dev/input/by-id/usb-ELAN_Touchscreen-event-if00
adonit.c built at 10:51:36 on Aug 23 2014
Opening uinput device... uinput device created successfully.