XP-Pen Star G640 (28bd:0914) incorrectly detected as Eraser on Wayland

Bug #2138133 reported by Mykyta
6
This bug affects 1 person
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-6.17.0-8-generic 6.17.0-8.8
ProcVersionSignature: Ubuntu 6.17.0-8.8-generic 6.17.2
Uname: Linux 6.17.0-8-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 9 22:32:09 2026
HibernationDevice: RESUME=/dev/nvme0n1p4
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=/boot/vmlinuz-6.17.0-8-generic root=UUID=32e81498-5fd5-4d39-8809-6de2cd420660 ro quiet splash i915.force_probe=* i915.modeset=1 resume=/dev/nvme0n1p4 mem_sleep_default=deep crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 firmware-sof N/A
 linux-firmware 20250901.git993ff19b-0ubuntu1.5
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.asset.tag: Not Available
dmi.board.name: 20W1S22T26
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.45
dmi.modalias: dmi:bvnLENOVO:bvrN34ET64W(1.64):bd10/30/2024:br1.64:efr1.45:svnLENOVO:pn20W1S22T26:pvrThinkPadT14Gen2i:rvnLENOVO:rn20W1S22T26:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20W1_BU_Think_FM_ThinkPadT14Gen2i:
dmi.product.family: ThinkPad T14 Gen 2i
dmi.product.name: 20W1S22T26
dmi.product.sku: LENOVO_MT_20W1_BU_Think_FM_ThinkPad T14 Gen 2i
dmi.product.version: ThinkPad T14 Gen 2i
dmi.sys.vendor: LENOVO

Revision history for this message
Mykyta (zhyvchik) wrote :
tags: added: kernel-daily-bug
Revision history for this message
Ian Whitfield (ijwhitfield) wrote :

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

Changed in linux (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Ian Whitfield (ijwhitfield)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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