You are not logged in.

#1 2016-05-14 02:31:34

likytau
Member
Registered: 2012-09-02
Posts: 142

Monoprice tablet input broken after recent upgrade

I have been using my Monoprice 12" with arch using evdev driver for a long time now. However, a recent upgrade seems to have changed things.
There is no longer any 'tablet' input; I can only get 'mouse' type input (no pressure sensitivity) in all programs, including Krita, Mypaint, GIMP..

EDIT: the fundamental issue appears to be that the 'mouse' sub-device grabs the input device and the 'pen' sub-device cannot get it; a way to reverse this would resolve the problem effectively IMO.

lsusb reports the tablet as a 'UC-Logic Technology Corp. Tablet PF1209'.
It appears to report events on /dev/input/event2; `sudo evtest /dev/input/event2` confirms that pressure events are still being sent, so the kernel is probably not the culprit.

Examining xinput devices lists 3 related devices:

⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳                 9x12 Tablet Mouse       	id=10	[slave  pointer  (2)]
⎜   ↳                 9x12 Tablet Mouse       	id=9	[slave  pointer  (2)]
⎜   ↳                 9x12 Tablet Pen         	id=8	[slave  pointer  (2)]

10 is the device id that is connected to /dev/input/event2 -- the others are connected to event1 and event0.
Disabling 10 and 9 (ostensibly leaving the 'pen' device) results in no input at all (pointer doesn't respond).

One possibility I'm looking at is setting the device node for #8 to /dev/input/event2 (as it should be IMO) and the device node for #10 to #8's old one (/dev/input/event0).
However, I'm not sure how to properly do this; adding a file to /etc/X11/xorg.conf.d with contents

Section "InputClass"
  Identifier    "calibration"
  MatchProduct  "                9x12 Tablet Pen"
  Driver "evdev"
  Option "Device" "/dev/input/event2"
  Option        "Calibration"   "150 23850 2850 17850"
  Option        "DeviceType"    "Tablet"
  Option        "IgnoreRelativeAxes"    "1"
EndSection

Results in -two- devices named 'tablet pen', both of which claim to be connected to /dev/input/event2 (and neither of which actually report pressure events).

Relevant part of xorg log:

[  4528.395] (II) config/udev: Adding input device                 9x12 Tablet Pen (/dev/input/event0)
[  4528.395] (**)                 9x12 Tablet Pen: Applying InputClass "evdev tablet catchall"
[  4528.395] (**)                 9x12 Tablet Pen: Applying InputClass "calibration"
[  4528.396] (II) systemd-logind: got fd for /dev/input/event2 13:64 fd 30 paused 0
[  4528.396] (II) Using input driver 'evdev' for '                9x12 Tablet Pen'
[  4528.396] (**)                 9x12 Tablet Pen: always reports core events
[  4528.396] (**) evdev:                 9x12 Tablet Pen: Device: "/dev/input/event2"
[  4528.396] (--) evdev:                 9x12 Tablet Pen: Vendor 0x5543 Product 0x42
[  4528.396] (**) Option "IgnoreRelativeAxes" "1"
[  4528.396] (--) evdev:                 9x12 Tablet Pen: Found 1 mouse buttons
[  4528.396] (--) evdev:                 9x12 Tablet Pen: Found absolute axes
[  4528.396] (--) evdev:                 9x12 Tablet Pen: Found x and y absolute axes
[  4528.396] (--) evdev:                 9x12 Tablet Pen: Found absolute tablet.
[  4528.396] (II) evdev:                 9x12 Tablet Pen: Configuring as tablet
[  4528.396] (**) evdev:                 9x12 Tablet Pen: YAxisMapping: buttons 4 and 5
[  4528.396] (**) evdev:                 9x12 Tablet Pen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  4528.396] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0/0003:5543:0042.0001/input/input1/event0"
[  4528.396] (II) XINPUT: Adding extended input device "                9x12 Tablet Pen" (type: TABLET, id 8)
[  4528.396] (II) evdev:                 9x12 Tablet Pen: initialized for absolute axes.
[  4528.396] (**)                 9x12 Tablet Pen: (accel) keeping acceleration scheme 1
[  4528.396] (**)                 9x12 Tablet Pen: (accel) acceleration profile 0
[  4528.396] (**)                 9x12 Tablet Pen: (accel) acceleration factor: 2.000
[  4528.396] (**)                 9x12 Tablet Pen: (accel) acceleration threshold: 4
[  4528.397] (II) config/udev: Adding input device                 9x12 Tablet Pen (/dev/input/mouse0)
[  4528.397] (**)                 9x12 Tablet Pen: Applying InputClass "calibration"
[  4528.397] (EE) systemd-logind: failed to take device /dev/input/event2: No such device
[  4528.397] (II) Using input driver 'evdev' for '                9x12 Tablet Pen'
[  4528.397] (**)                 9x12 Tablet Pen: always reports core events
[  4528.397] (**) evdev:                 9x12 Tablet Pen: Device: "/dev/input/event2"
[  4528.397] (--) evdev:                 9x12 Tablet Pen: Vendor 0x5543 Product 0x42
[  4528.397] (**) Option "IgnoreRelativeAxes" "1"
[  4528.397] (--) evdev:                 9x12 Tablet Pen: Found 3 mouse buttons
[  4528.398] (--) evdev:                 9x12 Tablet Pen: Found absolute axes
[  4528.398] (--) evdev:                 9x12 Tablet Pen: Found x and y absolute axes
[  4528.398] (--) evdev:                 9x12 Tablet Pen: Found absolute tablet.
[  4528.398] (II) evdev:                 9x12 Tablet Pen: Configuring as tablet
[  4528.398] (**) evdev:                 9x12 Tablet Pen: YAxisMapping: buttons 4 and 5
[  4528.398] (**) evdev:                 9x12 Tablet Pen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  4528.398] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0/0003:5543:0042.0001/input/input1/mouse0"
[  4528.398] (II) XINPUT: Adding extended input device "                9x12 Tablet Pen" (type: TABLET, id 9)
[  4528.398] (II) evdev:                 9x12 Tablet Pen: initialized for absolute axes.
[  4528.398] (**)                 9x12 Tablet Pen: (accel) keeping acceleration scheme 1
[  4528.398] (**)                 9x12 Tablet Pen: (accel) acceleration profile 0
[  4528.398] (**)                 9x12 Tablet Pen: (accel) acceleration factor: 2.000
[  4528.398] (**)                 9x12 Tablet Pen: (accel) acceleration threshold: 4
[  4528.399] (II) config/udev: Adding input device                 9x12 Tablet Mouse (/dev/input/event1)
[  4528.399] (**)                 9x12 Tablet Mouse: Applying InputClass "evdev pointer catchall"
[  4528.399] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 32 paused 0
[  4528.399] (II) Using input driver 'evdev' for '                9x12 Tablet Mouse'
[  4528.399] (**)                 9x12 Tablet Mouse: always reports core events
[  4528.399] (**) evdev:                 9x12 Tablet Mouse: Device: "/dev/input/event1"
[  4528.399] (--) evdev:                 9x12 Tablet Mouse: Vendor 0x5543 Product 0x42
[  4528.399] (--) evdev:                 9x12 Tablet Mouse: Found 3 mouse buttons
[  4528.399] (--) evdev:                 9x12 Tablet Mouse: Found scroll wheel(s)
[  4528.399] (--) evdev:                 9x12 Tablet Mouse: Found relative axes
[  4528.399] (--) evdev:                 9x12 Tablet Mouse: Found x and y relative axes
[  4528.399] (II) evdev:                 9x12 Tablet Mouse: Configuring as mouse
[  4528.399] (II) evdev:                 9x12 Tablet Mouse: Adding scrollwheel support
[  4528.399] (**) evdev:                 9x12 Tablet Mouse: YAxisMapping: buttons 4 and 5
[  4528.399] (**) evdev:                 9x12 Tablet Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  4528.399] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0/0003:5543:0042.0001/input/input2/event1"
[  4528.399] (II) XINPUT: Adding extended input device "                9x12 Tablet Mouse" (type: MOUSE, id 10)
[  4528.399] (II) evdev:                 9x12 Tablet Mouse: initialized for relative axes.
[  4528.400] (**)                 9x12 Tablet Mouse: (accel) keeping acceleration scheme 1
[  4528.400] (**)                 9x12 Tablet Mouse: (accel) acceleration profile 0
[  4528.400] (**)                 9x12 Tablet Mouse: (accel) acceleration factor: 2.000
[  4528.400] (**)                 9x12 Tablet Mouse: (accel) acceleration threshold: 4
[  4528.400] (II) config/udev: Adding input device                 9x12 Tablet Mouse (/dev/input/mouse1)
[  4528.400] (II) No input driver specified, ignoring this device.
[  4528.400] (II) This device may have been added with another device file.
[  4528.401] (II) config/udev: Adding input device                 9x12 Tablet Mouse (/dev/input/event2)
[  4528.401] (**)                 9x12 Tablet Mouse: Applying InputClass "evdev tablet catchall"
[  4528.401] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 33 paused 0
[  4528.401] (II) Using input driver 'evdev' for '                9x12 Tablet Mouse'
[  4528.401] (**)                 9x12 Tablet Mouse: always reports core events
[  4528.401] (**) evdev:                 9x12 Tablet Mouse: Device: "/dev/input/event2"
[  4528.401] (WW) evdev:                 9x12 Tablet Mouse: device file is duplicate. Ignoring.
[  4528.401] (EE) PreInit returned 8 for "                9x12 Tablet Mouse"
[  4528.401] (II) UnloadModule: "evdev"

Notable in the above are the lines referring to /dev/input/mouse* -- which IMO should be ignored; and the absence of any reference to a 'pressure' axis on any device,
in spite of the underlying device /dev/input/event2 clearly returning pressure events when they occur.

I'm pretty sure that the kernel or udev is assigning 'mouse' type to /dev/input/event2. But I do not know how to force it to assign 'tablet' type instead.

FWIW here's the pacman log of upgrades for the last few days

[2016-05-10 09:26] [ALPM] downgraded nvidia-340xx-dkms (340.96-12 -> 340.96-11)
[2016-05-13 15:32] [ALPM] upgraded you-get-git (0.3.32.20150217-1 -> 0.4.390.20160506.1253-1)
[2016-05-13 21:48] [ALPM] upgraded glibc (2.23-2 -> 2.23-4)
[2016-05-13 21:48] [ALPM] upgraded lib32-glibc (2.23-2 -> 2.23-4)
[2016-05-13 21:48] [ALPM] upgraded libksba (1.3.3-1 -> 1.3.4-1)
[2016-05-13 21:48] [ALPM] upgraded gnupg (2.1.12-1 -> 2.1.12-2)
[2016-05-13 21:48] [ALPM] upgraded glib2 (2.48.0-2 -> 2.48.1-1)
[2016-05-13 21:48] [ALPM] upgraded perl-anyevent (4:7.12-1 -> 4:7.12-2)
[2016-05-13 21:48] [ALPM] upgraded libseccomp (2.3.0-1 -> 2.3.1-1)
[2016-05-13 21:48] [ALPM] upgraded device-mapper (2.02.152-1 -> 2.02.153-1)
[2016-05-13 21:48] [ALPM] upgraded lvm2 (2.02.152-1 -> 2.02.153-1)
[2016-05-13 21:48] [ALPM] upgraded popt (1.16-7 -> 1.16-8)
[2016-05-13 21:48] [ALPM] upgraded gssproxy (0.5.0-2 -> 0.5.0-3)
[2016-05-13 21:48] [ALPM] upgraded dosfstools (3.0.28-1 -> 4.0-1)
[2016-05-13 21:48] [ALPM] upgraded linux-headers (4.5.3-1 -> 4.5.4-1)
[2016-05-13 21:49] [ALPM] upgraded pacman-mirrorlist (20160504-1 -> 20160512-1)
[2016-05-13 21:49] [ALPM] upgraded linux (4.5.3-1 -> 4.5.4-1)
[2016-05-13 21:49] [ALPM] upgraded man-pages (4.05-1 -> 4.06-1)
[2016-05-13 21:49] [ALPM] upgraded gtk-update-icon-cache (3.20.3-4 -> 3.20.4-2)
[2016-05-13 21:49] [ALPM] upgraded llvm-libs (3.7.1-1 -> 3.8.0-1)
[2016-05-13 21:49] [ALPM] upgraded mesa (11.2.1-1 -> 11.2.2-1)
[2016-05-13 21:49] [ALPM] upgraded adwaita-icon-theme (3.20-1 -> 3.20-2)
[2016-05-13 21:50] [ALPM] upgraded glib-networking (2.48.1-1 -> 2.48.2-1)
[2016-05-13 21:50] [ALPM] upgraded file-roller (3.20.1-1 -> 3.20.2-1)
[2016-05-13 21:50] [ALPM] upgraded kdelibs (4.14.19-2 -> 4.14.20-1)
[2016-05-13 21:50] [ALPM] upgraded libnm-glib (1.2.0-3 -> 1.2.2-1)
[2016-05-13 21:50] [ALPM] upgraded p7zip (9.38.1-4 -> 15.14.1-1)
[2016-05-13 21:50] [ALPM] upgraded gvfs (1.28.1-1 -> 1.28.2-1)
[2016-05-13 21:50] [ALPM] upgraded imagemagick (6.9.3.10-1 -> 6.9.4.0-1)
[2016-05-13 21:50] [ALPM] upgraded llvm (3.7.1-1 -> 3.8.0-1)
[2016-05-13 21:50] [ALPM] upgraded libinput (1.2.4-1 -> 1.3.0-1)
[2016-05-13 21:50] [ALPM] upgraded libkomparediff2 (16.04.0-1 -> 16.04.1-1)
[2016-05-13 21:50] [ALPM] upgraded kruler (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:50] [ALPM] upgraded kig (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:50] [ALPM] upgraded clang (3.7.1-1 -> 3.8.0-1)
[2016-05-13 21:50] [ALPM] upgraded kdegraphics-mobipocket (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:50] [ALPM] upgraded networkmanager (1.2.0-3 -> 1.2.2-1)
[2016-05-13 21:50] [ALPM] upgraded kompare (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:50] [ALPM] upgraded gnome-desktop (1:3.20.1-1 -> 1:3.20.2-1)
[2016-05-13 21:50] [ALPM] upgraded eog (3.20.1-1 -> 3.20.2-1)
[2016-05-13 21:50] [ALPM] upgraded eog-plugins (3.16.3-1 -> 3.16.4-1)
[2016-05-13 21:50] [ALPM] upgraded nm-connection-editor (1.2.0-1 -> 1.2.2-1)
[2016-05-13 21:50] [ALPM] upgraded network-manager-applet (1.2.0-1 -> 1.2.2-1)
[2016-05-13 21:50] [ALPM] upgraded libkipi (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:50] [ALPM] upgraded libkdcraw (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded kdebase-runtime (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded vte-common (0.44.1-1 -> 0.44.2-1)
[2016-05-13 21:51] [ALPM] upgraded libkcddb (16.04.0-1 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded marble-data (16.04.0-2 -> 16.04.1-2)
[2016-05-13 21:51] [ALPM] upgraded gwenview (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded kqtquickcharts (16.04.0-1 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded kdenlive (16.04.0-3 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded flashplugin (11.2.202.616-2 -> 11.2.202.621-1)
[2016-05-13 21:51] [ALPM] upgraded libastro (16.04.0-2 -> 16.04.1-2)
[2016-05-13 21:51] [ALPM] upgraded marble (16.04.0-2 -> 16.04.1-2)
[2016-05-13 21:51] [ALPM] upgraded kdegraphics-okular (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded xcb-util-cursor (0.1.2-1 -> 0.1.3-1)
[2016-05-13 21:51] [ALPM] upgraded python2-atspi (2.20.1-1 -> 2.20.2-1)
[2016-05-13 21:51] [ALPM] upgraded chromium (50.0.2661.94-1 -> 50.0.2661.102-1)
[2016-05-13 21:51] [ALPM] upgraded gvfs-smb (1.28.1-1 -> 1.28.2-1)
[2016-05-13 21:51] [ALPM] upgraded libgweather (3.20.0-1 -> 3.20.1-1)
[2016-05-13 21:51] [ALPM] upgraded evolution-data-server (3.20.1-2 -> 3.20.2-1)
[2016-05-13 21:51] [ALPM] upgraded nvidia-340xx-dkms (340.96-11 -> 340.96-12)
[2016-05-13 21:51] [ALPM] upgraded vte3 (0.44.1-1 -> 0.44.2-1)
[2016-05-13 21:51] [ALPM] upgraded kdebase-lib (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:51] [ALPM] upgraded libkdegames (16.04.0-1 -> 16.04.1-1)
[2016-05-13 21:52] [ALPM] upgraded imagemagick-doc (6.9.3.10-1 -> 6.9.4.0-1)
[2016-05-13 21:52] [ALPM] upgraded cvs (1.11.23-10 -> 1.11.23-11)
[2016-05-13 21:52] [ALPM] upgraded kdeedu-ktouch (16.04.0-2 -> 16.04.1-1)
[2016-05-13 21:52] [ALPM] upgraded python2-argh (0.26.1.20151013-2 -> 0.26.2-1)
[2016-05-13 21:52] [ALPM] upgraded perl-canary-stability (2011-1 -> 2011-2)
[2016-05-13 21:52] [ALPM] upgraded jenkins (2.1-1 -> 2.2-1)
[2016-05-13 21:52] [ALPM] upgraded python-markups (1.0.1-1 -> 2.0.0-1)
[2016-05-13 21:52] [ALPM] upgraded python2-apsw (3.11.0-1 -> 3.12.2-1)
[2016-05-13 21:52] [ALPM] upgraded python-setproctitle (1.1.9-3 -> 1.1.10-1)
[2016-05-13 21:52] [ALPM] upgraded oniguruma (5.9.6-1 -> 6.0.0-1)
[2016-05-13 21:52] [ALPM] upgraded cellwriter (1.3.5-2 -> 1.3.5-3)
[2016-05-13 21:52] [ALPM] upgraded mc (4.8.16-2 -> 4.8.17-1)
[2016-05-13 21:52] [ALPM] upgraded jq (1.5-2 -> 1.5-3)
[2016-05-13 21:52] [ALPM] upgraded retext (5.3.1-4 -> 6.0.0-1)
[2016-05-13 21:52] [ALPM] upgraded lib32-llvm-libs (3.7.1-1 -> 3.8.0-1)
[2016-05-13 21:52] [ALPM] upgraded lib32-mesa (11.2.1-1 -> 11.2.2-1)
[2016-05-13 21:52] [ALPM] upgraded lib32-flashplugin (11.2.202.616-1 -> 11.2.202.621-1)
[2016-05-14 10:30] [ALPM] upgraded qtile-python3-git (2425.0c17528-1 -> 2522.b410845-1)
[2016-05-14 10:43] [ALPM] downgraded linux (4.5.4-1 -> 4.5.3-1)
[2016-05-14 10:45] [ALPM] downgraded linux-headers (4.5.4-1 -> 4.5.3-1)

Any idea for how to advance on this or get additional information?

Last edited by likytau (2016-05-14 08:18:14)

Offline

#2 2016-05-14 10:01:28

likytau
Member
Registered: 2012-09-02
Posts: 142

Re: Monoprice tablet input broken after recent upgrade

Still not sure what's causing this. However, switching to libinput (instead of evdev) fixed this

Last edited by likytau (2016-05-15 07:41:52)

Offline

Board footer

Powered by FluxBB