On Tue, Jan 25, 2011 at 3:23 AM, Nikolai Kondrashov <spbn...@gmail.com> wrote: > On 01/25/2011 02:07 AM, Ping Cheng wrote: >> For kernels older than 2.6.30, resolution is not part of absinfo. >> For kernels older than 2.6.35, kernel does not pass resolution to >> the userland. > I was quite lost in your discussion about the units and am not sure which > you do use in the end. I just want to verify you're aware that the absinfo > resolution was recently agreed to be units/mm. Although, I think Chris is > aware of that, as he was participating in the discussion. > > Sincerely, > Nick >
I'll try to summarize where we are at. 1) For some touch devices, kernel sets the maximum value of ABS_RX/ABS_RX as HID's reported physical size of device in 0.001 of cm's. Thist patch takes that value and converts to resolution and stores in wcmTouchResolX/Y in units per meter. Before patch I guess it was microns per unit and so buggy. 2) There is a patch on linux-input from Ping that makes Tablet PC report resolution as part of absinfo in units per mm. This xf86-input-wacom patch converts that value to units per meter and also store in same wcmTochResolX/Y. BTW: Same linux-input removes ABS_RX/ABS_TX so its only uses one of two ways of reporting. 3) Peter points out header file states wcmTouchResolX/Y is in points/mm which needs updating to points/meter. I also just noticed it says wcmResolX/Y is in points/inches but thats now also points/meter after a recent submit by Peter. So both need updating. And last, I'll soon submit a patch to linux-input to make Bamboo work same as Tablet PC (unless Ping beats me to it). I also hope to submit a patch that makes kernel send hardcoded resolutions per USB ID for stylus devices in units/mm based on updated table in wcmUSB.c that Peter made. Chris ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel