XP-Pen Star G640 (28bd:0914) incorrectly detected as Eraser on Wayland
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Triaged
|
Medium
|
Ian Whitfield | ||
Bug Description
Hello,
I am reporting a hardware misidentification issue with the XP-Pen Star G640 (reported by the system as "Hanvon ugee 6 inch PenTablet Pen"). On Ubuntu running Wayland, the device is permanently stuck in eraser mode.
Evidence:
Hardware ID: 28bd:0914
Detection Issue: As shown in the attached libinput debug-tablet output, the system identifies the tool as Tool: eraser serial 0, id 0 even when using the standard pen tip.
Missing Capabilities: libinput list-devices shows Capabilities: tablet but lacks the necessary stylus sub-attributes for pressure and correct tool mapping.
Environment:
OS: Ubuntu
Session: Wayland
Driver: hid-uclogic (kernel) / libinput (compositor)
Because I am on Wayland, standard X11 tools like xsetwacom are unavailable to remap this behavior. I am requesting a proper hardware quirk or libwacom update to correctly identify this stylus.
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: linux-image-
ProcVersionSign
Uname: Linux 6.17.0-8-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 9 22:32:09 2026
HibernationDevice: RESUME=
InstallationDate: Installed on 2025-10-04 (97 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 (20250415.3)
MachineType: LENOVO 20W1S22T26
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
firmware-sof N/A
linux-firmware 20250901.
SourcePackage: linux
UpgradeStatus: Upgraded to questing on 2025-11-15 (55 days ago)
dmi.bios.date: 10/30/2024
dmi.bios.release: 1.64
dmi.bios.vendor: LENOVO
dmi.bios.version: N34ET64W (1.64 )
dmi.board.
dmi.board.name: 20W1S22T26
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T14 Gen 2i
dmi.product.name: 20W1S22T26
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
| tags: | added: kernel-daily-bug |

Hi, thanks for opening a bug report!
It's likely that this issue is present upstream as well, I don't see any existing fixups for this device in the mainline tree. You could verify that by trying one of our mainline kernel builds, the latest is https:/ /kernel. ubuntu. com/mainline/ v6.19-rc5/ and instructions are available at https:/ /wiki.ubuntu. com/Kernel/ MainlineBuilds
If the stylus isn't properly configured on mainline either, you may want to directly report the issue to the hid-uclogic driver maintainers, since we don't maintain this driver and wouldn't have the appropriate hardware to debug and test a fix.
For the sake of just getting the device up and running, though, have you already tried installing the first party drivers from XP-Pen? I see they have .deb packages here: https:/ /www.xp- pen.com/ download/ star-g640. html