GNOME Bugzilla – Bug 664669
wacom: Invalid default threshold value
Last modified: 2011-11-24 14:09:25 UTC
For stylus and eraser: $ xinput list | grep 16 ⎜ ↳ WACOM Pen Tablet stylus id=16 [slave pointer (2)] $ xinput set-prop 16 --type=int --format=32 "Wacom Pressure Threshold" -1 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 141 (XInputExtension) Minor opcode of failed request: 57 () Value in failed request: 0x1df Serial number of failed request: 18 Current serial number in output stream: 19
At the moment, only the "Wacom Tablet Area" property has a value which indicates the driver should reset it to default. I don't see any immediate problems with allowing other properties to have a similar value, though that's just the five-second opinion of a lone developer. In the meantime, the default value the driver uses for this particular property is 27.
Thanks for the update, Jason. I filed https://bugs.freedesktop.org/show_bug.cgi?id=43221 about it. commit 0369025cc6d7a0ac11ad52c5ebd6ea00136f25b0 Author: Bastien Nocera <hadess@hadess.net> Date: Thu Nov 24 14:06:30 2011 +0000 wacom: Hard-code default threshold value -1 is an invalid value for the pressure threshold for now, so have a default for ourselves. See wacom driver bug: https://bugs.freedesktop.org/show_bug.cgi?id=43221 https://bugzilla.gnome.org/show_bug.cgi?id=664669