Bug 500693

Summary: Pressure Range is not available when tablet has not been used before opening the kcm
Product: [Applications] systemsettings Reporter: duha.bugs
Component: kcm_tabletAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, josh, nate
Priority: NOR    
Version First Reported In: 6.3.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Tablet_config

Description duha.bugs 2025-02-24 20:57:13 UTC
Created attachment 178840 [details]
Tablet_config

SUMMARY
Pressure Range is not available but Pen Pressure works.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.3.1 & Master 
Qt Version: 6.8.2
libinput --version 1.27.1


ADDITIONAL INFORMATION
Possible reason: libinput_tablet_tool_config_pressure_range_is_available
Lefthand mode is enabled and working but libinput reports: Left-handed:      disabled (Just in case this matters)


**sudo libinput list-devices**
event14 - Wacom Bamboo Connect Pad: libinput bug: missing tablet capabilities: pen resolution. Ignoring this device.

Device:           Wacom Bamboo Connect Pen
Kernel:           /dev/input/event4
Group:            4
Seat:             seat0, default
Size:             147x92mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   none
Rotation:         n/a


** udevadm info /sys/class/input/event4 **
P: /devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:0e:00.0/usb1/1-5/1-5:1.0/>
M: event4
R: 4
J: c13:68
U: input
D: c 13:68
N: input/event4
L: 0
S: input/by-path/pci-0000:0e:00.0-usb-0:5:1.0-event-mouse
S: input/by-id/usb-Wacom_Co._Ltd._CTL-470-event-mouse
S: input/by-path/pci-0000:0e:00.0-usbv2-0:5:1.0-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:08.0/0000:08:00.0/0000:09:0c.0/0000:0e:00.0/usb1/1-5/>
E: SUBSYSTEM=input
E: DEVNAME=/dev/input/event4
E: MAJOR=13
E: MINOR=68
E: USEC_INITIALIZED=3945421
E: ID_INPUT=1
E: ID_INPUT_TABLET=1
E: ID_INPUT_WIDTH_MM=147
E: ID_INPUT_HEIGHT_MM=92
E: ID_BUS=usb
E: ID_MODEL=CTL-470
E: ID_MODEL_ENC=CTL-470
E: ID_MODEL_ID=00dd
E: ID_SERIAL=Wacom_Co._Ltd._CTL-470
E: ID_VENDOR=Wacom_Co._Ltd.
E: ID_VENDOR_ENC=Wacom\x20Co.\x2cLtd.
E: ID_VENDOR_ID=056a
E: ID_REVISION=0102
E: ID_TYPE=hid
E: ID_USB_MODEL=CTL-470
E: ID_USB_MODEL_ENC=CTL-470
E: ID_USB_MODEL_ID=00dd
E: ID_USB_SERIAL=Wacom_Co._Ltd._CTL-470
E: ID_USB_VENDOR=Wacom_Co._Ltd.
E: ID_USB_VENDOR_ENC=Wacom\x20Co.\x2cLtd.
E: ID_USB_VENDOR_ID=056a
E: ID_USB_REVISION=0102
E: ID_USB_TYPE=hid
E: ID_USB_INTERFACES=:030102:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usbhid
E: ID_PATH_WITH_USB_REVISION=pci-0000:0e:00.0-usbv2-0:5:1.0
E: ID_PATH=pci-0000:0e:00.0-usb-0:5:1.0
E: ID_PATH_TAG=pci-0000_0e_00_0-usb-0_5_1_0
E: LIBINPUT_DEVICE_GROUP=3/56a/dd:usb-0000:0e:00.0-5
E: DEVLINKS=/dev/input/by-path/pci-0000:0e:00.0-usb-0:5:1.0-event-mouse /dev/input/by-id/usb-Wacom_Co._Ltd._CTL-470-ev>
Comment 1 Joshua Goins 2025-02-24 21:25:50 UTC
Another thing to check is seeing if KWin reports it as supported - so we rule out a UI failure. If you open QDBusViewer, go under org.kde.KWin -> org -> kde -> KWin -> InputDevice -> event4 -> org.kde.KWin.InputDevice. Then double click the "supportsPressureRange" property and see what it says. You should also check the other properties like name to see if it's the correct device too.
Comment 2 duha.bugs 2025-02-28 17:26:57 UTC
It does returns false until I used the tablet once, then it returns true.