XP Pen Star 03 graphic tablet not running on Ubuntu later than 18.04

Bug #1926860 reported by Tino
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Undecided
Unassigned
xserver-xorg-input-libinput (Arch Linux)
New
Undecided
Unassigned
xserver-xorg-input-libinput (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The XP Pen Star 03 graphics tablet worked on Ubuntu 18.04 but is no longer working in any other Version of Ubuntu released afterwards.

I tested 20.04 and am currently running 21.04. it is recognized but in the system settings it says not tablet and not stylus found.

The terminal gives me the info that the UC-Logic TABLET 1060N is plugged in. In the system settings it shows "Wacom Tablet" but says not tablet and stylus pen are recognized.

It works perfectly fine on my 18.04 install.

I found a few reports on the internet with the exact same issue. They installed some evdev driver and somehow managed to resolve. I was not able to do so yet.

If the tablet used to work out of the box with Ubuntu 18.04 I wonder why it is no longer working.

There is also a XP Pen Star 03 V2 by now. The tablet look identical but the hardware or firmware must be different.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubuntu-release-upgrader-core 1:21.04.11
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Uname: Linux 5.11.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sun May 2 03:16:00 2021
InstallationDate: Installed on 2021-04-15 (16 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210415)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Tino (tinoh82) wrote :
Revision history for this message
Tino (tinoh82) wrote :

Ok so first of. I'm posting some more infos on this in my next comment.

Second I'm unsure if ubuntu-release-upgrader is actually the riht place for this bug. It most likely should be libinput rather. But I am unsure, since I don't know what actually causes this. I'll change it to libinput though. If you know where this should be posted/catergorized let me know.

Revision history for this message
Tino (tinoh82) wrote :

I think this fits better into xserver-xorg-input-libinput let me know if you know where exactly this is bug is located and coming from.

affects: ubuntu-release-upgrader (Ubuntu) → xserver-xorg-input-libinput (Ubuntu)
Revision history for this message
Tino (tinoh82) wrote :

Ok the following comments are a bunch of screenshots form my Ubutu 18.04 Setup as well as from my 21.04 setup. I made those with the XP Pen Star 03 attached into each setup.

Also attached are output from lineinput list-devices and lsusb for 18.04 and 21.04.

21.04 does recognize that the device is plugged in, but no stylus pen and tablet are recognized.

18.04 everything work perfectly fine. Plug and play. I can use it perfectly fine in software like Krita as well. -> That is how it should work on any version after 18.04 as well.

However the newer versions I tested all have the same issue like 21.04. I tested 19.04, 20.04 and currently am running 21.04. I also tested 18.04 on that setup and it worked perfectly fine.

I'm not sure why it worked out of the box in 18.04 but not in any newer version. I'm unble to find a working fix btw. It should of course work just like in 18.04.

Revision history for this message
Tino (tinoh82) wrote :
Revision history for this message
Tino (tinoh82) wrote :
Revision history for this message
Tino (tinoh82) wrote :
Revision history for this message
Tino (tinoh82) wrote :
Revision history for this message
Tino (tinoh82) wrote :
Revision history for this message
Tino (tinoh82) wrote :

Also I found two users with the same issue that somehow managed to at least get it to work but I was not able to reproduce it.

Same issue in Ubuntu (20.04):
https://www.linux.org.ru/forum/linux-hardware/15876782
(this one is in Russian, I used Google Translator to understand it, translation seemed to be fine)

Similair bug, same tablet (XP Pen Star 03) in ArchLinux:
https://bbs.archlinux.org/viewtopic.php?id=253659

Hope this helps.

Like I said it was supported fine in 18.04 but then no more starting in 19.04 I think.

Revision history for this message
Tino (tinoh82) wrote :

Can I fix the title? Sorry have a few typos in there.

Tino (tinoh82)
summary: - XP Pen Star 03 Grafiktable not running on Ubuntu later than 18.04
+ XP Pen Star 03 graphic tablet not running on Ubuntu later than 18.04
Revision history for this message
Tino (tinoh82) wrote :

So it looks like this has to do with the Wacom driver. I am able to get it to work again but without being able to configure the tablet itself. However the pen is recognized and working fine.

What I did is specifically add my tablet to the file /usr/share/X11/xorg.conf.d/70-wacom.conf by adding this section:

Section "InputClass"
        Identifier "XP Pen Star 03"
        MatchUSBID "5543:0081"
        MatchProduct "TABLET 1060N"
        MatchDevicePath "/dev/input/event*"
        MatchIsTablet "true"
        Driver "wacom"
EndSection

This recognizes the pen and also makes the pen come up in the ubuntu settings under "Wacom Tablet" (see screenshots for details.

Now the question is how can I get the tablet to com up in the settings as well?
And how can it be done so it works out of the box?

Revision history for this message
Tino (tinoh82) wrote :

Pen is now recognized like before in 18.04
It is also working.

Revision history for this message
Tino (tinoh82) wrote :

Tablet is not recognized yet.
However the the pen can be tested.

Revision history for this message
Tino (tinoh82) wrote :

BTW adding the section to 70-wacom.conf only worked with a fresh install of Ubuntu 20.04

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

that shouldn't be necessary

libwacom has supported it since 0.29 which 18.04 has

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

does running libwacom-list-local-devices return anything?

Revision history for this message
Tino (tinoh82) wrote :

Hi Timo,

thanks for commenting on this.

It does work fine in 18.04 but not in any other Ubuntu Version after that. I.e. 20.04, etc.

Currently I get the following output from libwacom-list-local-devices, but that is after I applied my little patch into the 70-wacom.conf, I currently get the same result when I remove my added section and reboot. The tablet is not working then but I get the same output.

However I do not know what output I get from a fresh install or a live disc. I will still have to check that.

When the tablet is disconnected I get nothing.

My libwacom-list-local-devices output:

libwacom-list-local-devices
# Device node: /dev/input/event6
[Device]
Name=XP-Pen Star 03
ModelName=
DeviceMatch=usb:5543:0081:UC-Logic TABLET 1060N Pen;usb:5543:0081:UC-Logic TABLET 1060N Pad;
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Reversible=true
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
# Ring=
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
# Device node: /dev/input/event5
[Device]
Name=XP-Pen Star 03
ModelName=
DeviceMatch=usb:5543:0081:UC-Logic TABLET 1060N Pen;usb:5543:0081:UC-Logic TABLET 1060N Pad;
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Reversible=true
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
# Ring=
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0

Revision history for this message
Tino (tinoh82) wrote :

Here is what I get running libwacom-list-local-devices in my live stick with Ubuntu 21.04. Looks pretty much the same to me unless I missed anything.

The tablet and pen however are not recognized and don't work. In the settings it does however show the menu option for "Wacom Tablet"

libwacom-list-local-devices
# Device node: /dev/input/event6
[Device]
Name=XP-Pen Star 03
ModelName=
DeviceMatch=usb:5543:0081:UC-Logic TABLET 1060N Pen;usb:5543:0081:UC-Logic TABLET 1060N Pad;
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Reversible=true
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
# Ring=
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
# Device node: /dev/input/event5
[Device]
Name=XP-Pen Star 03
ModelName=
DeviceMatch=usb:5543:0081:UC-Logic TABLET 1060N Pen;usb:5543:0081:UC-Logic TABLET 1060N Pad;
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Reversible=true
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
# Ring=
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I'm thinking if something changed in gnome which broke it.. since the tool lists the devices just fine, they should show up

I will update libwacom et al for Impish, but it'll take a while

Changed in xserver-xorg-input-libinput (Ubuntu):
status: New → Invalid
Changed in xf86-input-wacom (Ubuntu):
status: New → Confirmed
Revision history for this message
Tino (tinoh82) wrote :

Got it. Thanks a lot!

Revision history for this message
Tino (tinoh82) wrote :

Hi, just wanted to check if you might have been able to fix this?

Thanks

Revision history for this message
qwach (qwach) wrote :

I ran into the same issue. It's a misconfiguration in the systemd/udev hardware database (bug: https://github.com/systemd/systemd/issues/17953) that has been fixed upstream (https://github.com/systemd/systemd/commit/2d8840eb6632a43956b73a1042e8b8244623494a) by just removing the entry and deferring to libwacom.

Unfortunately the first systemd release after that (250) is one above even the version in 22.04 (249) and, simple as it is, it seems the fix has not been backported yet, so I guess you'd have to change the file yourself and do it again each time the package is updated, which is my approach right now and does work.

@tjaalton can you do something about it?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Well, I can reassign to see if the maintainer of systemd/udev could backport the patch for this.

affects: xf86-input-wacom (Ubuntu) → systemd (Ubuntu)
Revision history for this message
qwach (qwach) wrote (last edit ):

I made a new report in the proper place (i.e. udev package): https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1968036. It's a really easy backport so I hope it's through soon.

Edit: Didn't see your message beforehand, sorry. Anyway the file is part of the udev package per dpkg-query, so if at all it should be reassigned to that, and the second issue I just created closed.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

udev is built by src:systemd

Revision history for this message
qwach (qwach) wrote :

Ok, got it. Thanks for the really quick response!

Nick Rosbrook (enr0n)
tags: added: rls-jj-incoming
Changed in systemd (Ubuntu):
status: Confirmed → In Progress
tags: removed: rls-jj-incoming
tags: added: fr-2226
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 249.11-0ubuntu3

---------------
systemd (249.11-0ubuntu3) jammy; urgency=medium

  * oomd: calculate 'used' memory with MemAvailable instead of MemFree (LP: #1966381)
    File: debian/patches/lp1966381-oomd-calculate-used-memory-with-MemAvailable-instead-of-M.patch
    https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=15fc4c53d726e1dcae7296a9306cfd453fd1a046
  * hwdb: remove the tablet pad entry for the UC-Logic 1060N (LP: #1926860)
    File: debian/patches/lp1926860-hwdb-remove-the-tablet-pad-entry-for-the-UC-Logic-1060N.patch
    https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=7bf31946a52e55f9f6ea4ecfa30e311685b20997

 -- Nick Rosbrook <email address hidden> Thu, 07 Apr 2022 15:28:15 -0400

Changed in systemd (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Tino (tinoh82) wrote :

Awesome, thanks a lot everyone!!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.