diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-12-22 12:11:43 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-09-20 09:30:06 +1000 |
commit | 1962c6f2db819a6d3bfe9031f86d221150c3c572 (patch) | |
tree | d1bca27a36e3eaba27708bfc5692186a8fad68f6 /udev | |
parent | 34f28a329bf0ad010bd22227e5d3d11e01a4af7e (diff) | |
download | libinput-1962c6f2db819a6d3bfe9031f86d221150c3c572.tar.gz |
tablet: add a quirk for the HUION PenTablet that doesn't send proximity out events
Could be fixed in the kernel, but these tablets are effectively abandoned and
fixing them is a one-by-one issue. Let's put the infrastructure in place to
have this fixed once for this type of device and move on.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Yay-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'udev')
-rw-r--r-- | udev/90-libinput-model-quirks.hwdb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb index 72fcdca1..867ffa53 100644 --- a/udev/90-libinput-model-quirks.hwdb +++ b/udev/90-libinput-model-quirks.hwdb @@ -163,6 +163,25 @@ libinput:name:AlpsPS/2 ALPS GlidePoint:dmi:*svnHP:pnHPZBookStudioG3:* LIBINPUT_MODEL_HP_ZBOOK_STUDIO_G3=1 ########################################## +# HUION +########################################## +# +# HUION PenTablet device. Some of these devices send a BTN_TOOL_PEN event +# with value 1 on the first event received by the device but never send the +# matching BTN_TOOL_PEN value 0 event. The device appears as if it was +# permanently in proximity. +# +# If the tablet is affected by this bug, copy the two lines below into a new +# file +# /etc/udev/hwdb.d/90-libinput-huion-pentablet-proximity-quirk.hwdb, then run +# sudo udevadm hwdb --update and reboot. +# +# Note that HUION re-uses USB IDs for its devices, not ever HUION tablet is +# affected by this bug. +#libinput:name:PenTablet Pen:dmi:* +# LIBINPUT_MODEL_TABLET_NO_PROXIMITY_OUT=1 + +########################################## # LENOVO ########################################## |