Bug 363443 - [UGEE] Pen pressure not recognised
Summary: [UGEE] Pen pressure not recognised
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (other bugs)
Version First Reported In: 3.0 Release Candidate
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-23 17:52 UTC by jim
Modified: 2017-08-02 13:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jim 2016-05-23 17:52:39 UTC
This is almost identical to a previous bug detailing the situation for a UC-LOGIC tablet (https://bugs.kde.org/show_bug.cgi?id=359642).

I believe that UGEE tablets are rebranded UC-LOGIC devices.

As with the previous bug report, this problem is only showing up with the latest version of Krita, however, I did have to patch the previous version to get it to recognise the pen pressure.  This was achieved by adding a check for WizardPenTablet to the file kis_tablet_support_x11.cpp.

The only issue I can find is that the new appimage does not recognise pen pressure.  I've tried adding the same fix to the kis_tablet_support_x11.cpp, but it's not working.

I noticed in a recent update to the code that there is a block in qxcbconnection_xi2.cpp:

...
            dbgType = QLatin1String("pen");
        } else if (name.contains("uc-logic") && isTablet) {
            isTablet = true;
            tabletData.pointerType = QTabletEvent::Pen;
            dbgType = QLatin1String("pen");
        } else {
...

I think the isTablet = true is redundant because isTablet is checked as part of the if.

I think that my tablet is only meeting the first part of this test because it is not recognised as "isTablet" from the earlier tests for AbsX, etc.

Reproducible: Always

Steps to Reproduce:
1. Create a new file in Krita
2. Choose any pen with pressure sensitivity (eg. the basic soft tip)
3. Draw.

Actual Results:  
A solid, 100% opaque line is drawn.

Expected Results:  
Varying opacity with pressure.

I have attached the output from the following command in order to (hopefully) help:

QT_LOGGING_RULES='qt.qpa.input.devices.debug=true' ./krita-3.0-RC-1-master-6f75b0f-x86_64.appimage

QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: ::Vc::AVXImpl
krita.lib.pigment: Features supported:
krita.lib.pigment:       "SSE2"         ---      yes
krita.lib.pigment:       "SSSE3"        ---      yes
krita.lib.pigment:       "SSE4.1"       ---      yes
krita.lib.pigment:       "AVX "         ---      yes
qt.qpa.input.devices: XInput version 2.2 is available and Qt supports 2.2 or greater
qt.qpa.input.devices: input device  Virtual core XTEST pointer
qt.qpa.input.devices:    has 10 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  UC-Logic 19" Tablet Monito
qt.qpa.input.devices:    has 6 buttons
qt.qpa.input.devices:    has valuator "" recognized? false
qt.qpa.input.devices:    has valuator "" recognized? false
qt.qpa.input.devices:    has valuator "" recognized? false
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  UC-Logic 19" Tablet Monito
qt.qpa.input.devices:    has 13 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Wheel" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Wheel" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Logitech USB Receiver
qt.qpa.input.devices:    has 24 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Wheel" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Wheel" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Logitech USB Receiver
qt.qpa.input.devices:    has 7 buttons
qt.qpa.input.devices:    it's a keyboard
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Wheel" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  ETPS/2 Elantech Touchpad
qt.qpa.input.devices:    has 12 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices:    has touch class with mode 2
qt.qpa.input.devices:    it's a touchpad with type 1 capabilities 0x40 max touch points 2 size 3260000.000000 x 1630000.000000
Set style "Fusion"
OpenGL Info
  Vendor:  ATI Technologies Inc.
  Renderer:  AMD Radeon HD 7400M Series
  Version:  3.2.13399 Compatibility Profile Context 15.20.1013
  Shading language:  4.40
  Requested format:  QSurfaceFormat(version 3.2, options QFlags(0x4), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  2)
  Current format:    QSurfaceFormat(version 3.2, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile  2)
GL Version: 302 0 2
krita has opengl true
Setting XDG_DATA_DIRS "/tmp/.mount_xHZFeE/usr/bin/../share:./share/:/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/"
Available translations QSet("bg", "hne", "se", "fr", "uz@cyrillic", "oc", "sk", "sl", "fy", "br", "bs", "sq", "sv", "ga", "kk", "pt_BR", "km", "ko", "en_GB", "ca", "ta", "xh", "zh_CN", "gl", "tg", "th", "pa", "zh_TW", "ca@valencia", "cs", "tr", "pl", "cy", "he", "pt", "da", "hi", "de", "lt", "lv", "ug", "hr", "uk", "hu", "ia", "mk", "en_US", "uz", "mai", "mr", "ms", "is", "el", "vi", "it", "af", "nds", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "ru", "nn", "fa", "wa", "ast", "fi", "be")
Available domain translations QSet("bg", "hne", "se", "fr", "uz@cyrillic", "oc", "sk", "sl", "fy", "br", "bs", "sq", "sv", "ga", "kk", "pt_BR", "km", "ko", "en_GB", "ca", "ta", "xh", "zh_CN", "gl", "tg", "th", "pa", "zh_TW", "ca@valencia", "cs", "tr", "pl", "cy", "he", "pt", "da", "hi", "de", "lt", "lv", "ug", "hr", "uk", "hu", "ia", "mk", "en_US", "uz", "mai", "mr", "ms", "is", "el", "vi", "it", "af", "nds", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "ru", "nn", "fa", "wa", "ast", "fi", "be")
QCommandLineParser: option not defined: "profile-filename"
qt.qpa.input.devices: XInput version 2.2 is available and Qt supports 2.2 or greater
qt.qpa.input.devices: input device  Virtual core XTEST pointer
qt.qpa.input.devices:    has 10 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  UC-Logic 19" Tablet Monito
qt.qpa.input.devices:    has 6 buttons
qt.qpa.input.devices:    has valuator "" recognized? false
qt.qpa.input.devices:    has valuator "" recognized? false
qt.qpa.input.devices:    has valuator "" recognized? false
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  UC-Logic 19" Tablet Monito
qt.qpa.input.devices:    has 13 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Wheel" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Wheel" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Logitech USB Receiver
qt.qpa.input.devices:    has 24 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Wheel" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Wheel" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Logitech USB Receiver
qt.qpa.input.devices:    has 7 buttons
qt.qpa.input.devices:    it's a keyboard
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Wheel" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  ETPS/2 Elantech Touchpad
qt.qpa.input.devices:    has 12 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices:    has touch class with mode 2
qt.qpa.input.devices:    it's a touchpad with type 1 capabilities 0x0 max touch points 2 size inf x inf
KoJsonTrader will load its plugins from "/tmp/.mount_xHZFeE/usr/lib/kritaplugins"
        falling back on QIcon::FromTheme: "document-properties"
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
KoJsonTrader will load its plugins from "/tmp/.mount_xHZFeE/usr/lib/kritaplugins"
initTemplates(); "templates/"
GL Version: 302 0 2
libpng warning: iCCP: too many profiles
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]"
glVersion
Comment 1 jim 2016-05-24 14:28:35 UTC
Results from xinput:

 xinput
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ UC-Logic 19" Tablet Monito                id=11   [slave  pointer  (2)]
⎜   ↳ UC-Logic 19" Tablet Monito                id=12   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=13   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=14   [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=16   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Video Bus                                 id=9    [slave  keyboard (3)]
    ↳ 1.3M HD WebCam                            id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=15   [slave  keyboard (3)]
    ↳ Acer WMI hotkeys                          id=17   [slave  keyboard (3)]

Running:

xinput test 11

shows the expected motions and button press events with the a[2] value correctly showing pressure (0 .. 1024).  I can post some of the output if you need it.
Comment 2 jim 2016-05-24 15:30:20 UTC
In the initial bug report above, it can be seen that Krita is identifying the valuators for the device as Rel instead of Abs.
It was suggested that I should change the mode of the display tablet to Absolute instead of Relative.  In the process of trying to identify how this should be done, I have found more information that may help.

As can be seen in the additional comment above, xinput shows the device to be recognised at IDs of 11 and 12.  I am not sure why the device is listed with two separate IDs, however...

Running:

xinput list --long 11
UC-Logic 19" Tablet Monito                      id=11   [slave  pointer  (2)]
        Reporting 4 classes:
                Class originated from: 11. Type: XIButtonClass
                Buttons supported: 6
                Button labels: None None None None None None
                Button state:
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 0:
                  Label: None
                  Range: -2274.000000 - 2047.000000
                  Resolution: 1000 units/m
                  Mode: absolute
                  Current value: 826.000000
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 1:
                  Label: None
                  Range: 0.000000 - 2047.000000
                  Resolution: 1000 units/m
                  Mode: absolute
                  Current value: 1135.000000
                Class originated from: 11. Type: XIValuatorClass
                Detail for Valuator 2:
                  Label: None
                  Range: 0.000000 - 1023.000000
                  Resolution: 1000 units/m
                  Mode: absolute
                  Current value: 0.000000

xinput list --long 12

UC-Logic 19" Tablet Monito                      id=12   [slave  pointer  (2)]
        Reporting 7 classes:
                Class originated from: 12. Type: XIButtonClass
                Buttons supported: 13
                Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown"
                Button state:
                Class originated from: 12. Type: XIValuatorClass
                Detail for Valuator 0:
                  Label: Rel X
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 12. Type: XIValuatorClass
                Detail for Valuator 1:
                  Label: Rel Y
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 12. Type: XIValuatorClass
                Detail for Valuator 2:
                  Label: Rel Horiz Wheel
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 12. Type: XIValuatorClass
                Detail for Valuator 3:
                  Label: Rel Vert Wheel
                  Range: -1.000000 - -1.000000
                  Resolution: 1 units/m
                  Mode: relative
                Class originated from: 12. Type: XIScrollClass
                Scroll info for Valuator 2
                  type: 2 (horizontal)
                  increment: 1.000000
                  flags: 0x0
                Class originated from: 12. Type: XIScrollClass
                Scroll info for Valuator 3
                  type: 1 (vertical)
                  increment: -1.000000
                  flags: 0x2 ( preferred )

So, the device at ID 11 is absolute, but the device at ID 12 is relative.

Additionally, I checked in the Xorg.0.log file and found that the absolute/relative detection was also showing in there, but there is a bug that is being triggered too.

From the relevant section of the log file below, it looks like the device is detected OK to start with, but when adding it as an extended input device, a bug is triggered (see 26.308).  Is this bug caused by the inclusion of the inverted commas in the tablet name (...19"...)?  Is this error causing the problem with the tablet recognition?

[    26.296] (II) config/udev: Adding input device UC-Logic 19" Tablet Monito (/dev/input/event6)
[    26.296] (**) UC-Logic 19" Tablet Monito: Applying InputClass "evdev tablet catchall"
[    26.296] (**) UC-Logic 19" Tablet Monito: Applying InputClass "Tablet on WizardPen"
[    26.296] (II) LoadModule: "wizardpen"
[    26.296] (II) Loading /usr/lib/xorg/modules/input/wizardpen_drv.so
[    26.296] (II) Module wizardpen: vendor="X.Org Foundation"
[    26.296]    compiled for 1.15.1, module version = 0.8.1
[    26.296]    Module class: X.Org XInput Driver
[    26.296]    ABI class: X.Org XInput driver, version 20.0
[    26.296] (II) Using input driver 'wizardpen' for 'UC-Logic 19" Tablet Monito'
[    26.296] (**) UC-Logic 19" Tablet Monito: always reports core events
[    26.297] (**) Option "Device" "/dev/input/event6"
[    26.297] (--) UC-Logic 19" Tablet Monito: MaxX:32188 MaxY:20316 MaxZ:2047
[    26.297] (--) UC-Logic 19" Tablet Monito: aspect ratio:1.00:1
[    26.297] (**) UC-Logic 19" Tablet Monito is in absolute mode
[    26.297] (II) UC-Logic 19" Tablet Monito: ScreenX = 1440, ScreenY = 900
[    26.297] (**) UC-Logic 19" Tablet Monito: TopX                   = -2274
[    26.297] (**) UC-Logic 19" Tablet Monito: TopY                   = 0
[    26.297] (**) UC-Logic 19" Tablet Monito: BottomX                = 2047
[    26.297] (**) UC-Logic 19" Tablet Monito: BottomY                = 2047
[    26.297] (**) UC-Logic 19" Tablet Monito: TopZ    (min pressure) = 0
[    26.297] (**) UC-Logic 19" Tablet Monito: BottomZ (max pressure) = 2047
[    26.297] (**) UC-Logic 19" Tablet Monito: always reports core events
[    26.308] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input8/event6"
[    26.308] (II) XINPUT: Adding extended input device "UC-Logic 19" Tablet Monito" (type: WizardPen Tablet, id 11)
[    26.308] (EE) BUG: triggered 'if (dev->proximity != ((void *)0))'
[    26.308] (EE) BUG: ../../Xi/exevents.c:2053 in InitProximityClassDeviceStruct()
[    26.308] (EE) 
[    26.308] (EE) Backtrace:
[    26.308] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7fba0a625848]
[    26.309] (EE) 1: /usr/bin/X (InitProximityClassDeviceStruct+0x47) [0x7fba0a5b5867]
[    26.309] (EE) 2: /usr/lib/xorg/modules/input/wizardpen_drv.so (0x7fb9fd1b3000+0x2d92) [0x7fb9fd1b5d92]
[    26.309] (EE) 3: /usr/bin/X (ActivateDevice+0x37) [0x7fba0a4c79e7]
[    26.309] (EE) 4: /usr/bin/X (0x7fba0a47c000+0xa1ed3) [0x7fba0a51ded3]
[    26.309] (EE) 5: /usr/bin/X (0x7fba0a47c000+0xb79eb) [0x7fba0a5339eb]
[    26.309] (EE) 6: /usr/bin/X (0x7fba0a47c000+0xb7f63) [0x7fba0a533f63]
[    26.309] (EE) 7: /usr/bin/X (config_init+0x9) [0x7fba0a532d49]
[    26.309] (EE) 8: /usr/bin/X (InitInput+0x9c) [0x7fba0a511bcc]
[    26.310] (EE) 9: /usr/bin/X (0x7fba0a47c000+0x59d59) [0x7fba0a4d5d59]
[    26.310] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fba07fb8ec5]
[    26.310] (EE) 11: /usr/bin/X (0x7fba0a47c000+0x451ee) [0x7fba0a4c11ee]
[    26.310] (EE) 
[    26.310] (EE) UC-Logic 19" Tablet Monito: unable to allocate ProximityClassDeviceStruct
[    26.310] (**) UC-Logic 19" Tablet Monito: (accel) keeping acceleration scheme 1
[    26.310] (**) UC-Logic 19" Tablet Monito: (accel) acceleration profile 0
[    26.310] (**) UC-Logic 19" Tablet Monito: (accel) acceleration factor: 2.000
[    26.310] (**) UC-Logic 19" Tablet Monito: (accel) acceleration threshold: 4
[    26.311] (II) config/udev: Adding input device UC-Logic 19" Tablet Monito (/dev/input/mouse0)
[    26.311] (II) No input driver specified, ignoring this device.
[    26.311] (II) This device may have been added with another device file.
[    26.312] (II) config/udev: Adding input device UC-Logic 19" Tablet Monito (/dev/input/event7)
[    26.312] (**) UC-Logic 19" Tablet Monito: Applying InputClass "evdev pointer catchall"
[    26.312] (II) Using input driver 'evdev' for 'UC-Logic 19" Tablet Monito'
[    26.312] (**) UC-Logic 19" Tablet Monito: always reports core events
[    26.312] (**) evdev: UC-Logic 19" Tablet Monito: Device: "/dev/input/event7"
[    26.312] (--) evdev: UC-Logic 19" Tablet Monito: Vendor 0x5543 Product 0x47
[    26.312] (--) evdev: UC-Logic 19" Tablet Monito: Found 9 mouse buttons
[    26.312] (--) evdev: UC-Logic 19" Tablet Monito: Found scroll wheel(s)
[    26.312] (--) evdev: UC-Logic 19" Tablet Monito: Found relative axes
[    26.312] (--) evdev: UC-Logic 19" Tablet Monito: Found x and y relative axes
[    26.312] (II) evdev: UC-Logic 19" Tablet Monito: Configuring as mouse
[    26.312] (II) evdev: UC-Logic 19" Tablet Monito: Adding scrollwheel support
[    26.312] (**) evdev: UC-Logic 19" Tablet Monito: YAxisMapping: buttons 4 and 5
[    26.312] (**) evdev: UC-Logic 19" Tablet Monito: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    26.312] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/input/input9/event7"
[    26.312] (II) XINPUT: Adding extended input device "UC-Logic 19" Tablet Monito" (type: MOUSE, id 12)
[    26.312] (II) evdev: UC-Logic 19" Tablet Monito: initialized for relative axes.
[    26.313] (**) UC-Logic 19" Tablet Monito: (accel) keeping acceleration scheme 1
[    26.313] (**) UC-Logic 19" Tablet Monito: (accel) acceleration profile 0
[    26.313] (**) UC-Logic 19" Tablet Monito: (accel) acceleration factor: 2.000
[    26.313] (**) UC-Logic 19" Tablet Monito: (accel) acceleration threshold: 4
[    26.314] (II) config/udev: Adding input device UC-Logic 19" Tablet Monito (/dev/input/mouse1)
[    26.314] (II) No input driver specified, ignoring this device.
[    26.314] (II) This device may have been added with another device file.
Comment 3 Halla Rempt 2016-06-17 09:37:55 UTC
Yes, I think you're right. I'll push that change.
Comment 4 Halla Rempt 2016-06-17 09:39:06 UTC
Git commit 567b1c3262ba5bb62dc9277dfd255a128980607d by Boudewijn Rempt.
Committed on 17/06/2016 at 09:38.
Pushed by rempt into branch 'krita/3.0'.

M  +1    -1    libs/ui/input/wintab/qxcbconnection_xi2.cpp

http://commits.kde.org/krita/567b1c3262ba5bb62dc9277dfd255a128980607d
Comment 5 v.harishankar 2017-07-31 15:30:52 UTC
Can you please add the string "UGEE" to list of recognized evdev tablets? Because pressure stopped working in Krita 3.x series while it worked in Krita 2.9.x
Comment 6 v.harishankar 2017-08-02 03:20:24 UTC
I can confirm that tablet works with pressure if I add these lines to the source just below the code for "uc-logic".

else if (name.contains("ugee")) {
             isTablet = true;
             tabletData.pointerType = QTabletEvent::Pen;
             dbgType = QLatin1String("pen");
}

My tablet is identified by xinput as UGEE 10.1 Tablet Monitor:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Optical Mouse id=10 [slave pointer (2)]
⎜ ↳ UGEE 10.1 Tablet Monitor id=16 [slave pointer (2)]
⎜ ↳ UGEE 10.1 Tablet Monitor id=17 [slave pointer (2)]
⎜ ↳ UGEE 10.1 Tablet Monitor id=18 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ HP Truevision HD id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ HP WMI hotkeys id=14 [slave keyboard (3)]
↳ HP Wireless hotkeys id=15 [slave keyboard (3)]
Comment 7 Halla Rempt 2017-08-02 09:09:57 UTC
Git commit f6dfa71c1d53dd54aa9de74ad2a5cc06af4c847f by Boudewijn Rempt.
Committed on 02/08/2017 at 09:08.
Pushed by rempt into branch 'krita/3.2'.

Add an identifier for uc-logic based tablets on Linux
CCMAIL:v.harishankar@gmail.com

M  +20   -16   libs/ui/input/wintab/qxcbconnection_xi2.cpp

https://commits.kde.org/krita/f6dfa71c1d53dd54aa9de74ad2a5cc06af4c847f
Comment 8 Halla Rempt 2017-08-02 09:10:09 UTC
Git commit 0dc77119769d4056b39c6ae6e004237690618798 by Boudewijn Rempt.
Committed on 02/08/2017 at 09:09.
Pushed by rempt into branch 'master'.

Add an identifier for uc-logic based tablets on Linux
CCMAIL:v.harishankar@gmail.com

M  +20   -16   libs/ui/input/wintab/qxcbconnection_xi2.cpp

https://commits.kde.org/krita/0dc77119769d4056b39c6ae6e004237690618798
Comment 9 v.harishankar 2017-08-02 13:45:51 UTC
Thanks a lot :-)