On Tue, 2013-10-08 at 11:35 -0700, Ping Cheng wrote: > On Tue, Oct 8, 2013 at 11:18 AM, Bastien Nocera <had...@hadess.net> wrote: > > On Tue, 2013-10-08 at 11:08 -0700, Ping Cheng wrote: > >> On Tue, Oct 8, 2013 at 12:07 AM, Bastien Nocera <had...@hadess.net> wrote: > >> > Hey, > >> > > >> > We're having some problems in GNOME with the calibration UI, especially > >> > after a calibration has been done because the factory values for "Wacom > >> > Tablet Area" have been modified, and we cannot use those (especially if > >> > a previous erroneous calibration has been made) to calibrate the device > >> > again. > > > > My apologies, I should have followed up on this. I've spent the day > > looking into the problem, and found the very many bugs. > > > >> > Is there a way to reset those values to the factory settings? > >> > >> "xsetwacom set dev_id Area -1 -1 -1 -1" will set the area back to > >> factory values. But I don't think we want to run xsetwacom when Gnome > >> Control Center is running. So, another way is to set it through "area" > >> property directly from X server. Refer to > >> xf86-input-wacom/tools/xsetwacom.c for example. > > > > The -1 special value isn't handled in the driver though, is it? If it > > is, I've just wasted quite a bit of time implementing our own reset in > > GNOME :/ > > Yes, -1's are handled in X driver. > > Next time. please ask before doing anything real ;-).
To be fair, by the time you answered, I'd been working on the problem for 11 hours. I wasn't going to sit on my hands :) I might revisit that code once I have hardware to actually test this on. Cheers ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel