You are not logged in.

#1 2024-06-03 18:20:59

marmistrz
Member
Registered: 2016-01-05
Posts: 129

[solved] Wacom pen stopped working: libinput events not always emitted

Hi,

I recently started having problems with my stylus. My hardware is Dell Latitude 7440 2-in-1, I'm using a Dell Premium Active Pen. The issue started occurring within the last week.

I tried to debug the issue using `libinput debug-events`.
When I move the stylus close to the touchscreen, I don't get the TABLET_TOOL_PROXIMITY events. Once I start drawing, no events are emitted and nothing is being drawn. Once I remove the stylus from the screen, the final part of the stroke is drawn at once and I obtain the following events:

-event11  TABLET_TOOL_PROXIMITY   +0.000s               184.32*/51.75*  tilt: 0.00*/0.00*       pressure: 0.57* pen      (0, id 0) proximity-in         axes:pt btn:SS2
 event11  TABLET_TOOL_TIP         +0.000s               184.32/51.75    tilt: 0.00/0.00 pressure: 0.57 down
 event11  TABLET_TOOL_AXIS        +0.000s               184.50*/52.03*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               184.94*/52.65*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               185.62*/53.53*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               186.53*/54.64*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               187.63*/55.71*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               188.79*/56.56*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               190.07*/57.22*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               191.63*/57.64*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               193.28*/57.75*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               195.13*/57.61*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               197.30*/57.21*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               199.53*/56.65*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               201.92*/56.02*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               204.49*/55.36*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               206.95*/54.79*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               209.39*/54.31*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               211.80*/53.91*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               213.93*/53.59*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_AXIS        +0.000s               215.86*/53.27*  tilt: 0.00/0.00 pressure: 0.57
 event11  TABLET_TOOL_TIP         +0.000s               218.40*/52.80*  tilt: 0.00/0.00 pressure: 0.00* up
 event11  TABLET_TOOL_PROXIMITY   +0.000s               218.40/52.80    tilt: 0.00/0.00 pressure: 0.00  pen      (0, id 0) proximity-out 

The issue happens on both linux-lts and linux; I tried running on X11 and there nothing seems to be drawn. I'm running KDE Plasma.

Do you have any ideas how to debug this and what could be the root cause?

Last edited by marmistrz (2024-06-03 18:33:30)

Offline

#2 2024-06-03 18:22:26

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,525
Website

Re: [solved] Wacom pen stopped working: libinput events not always emitted

Did you already try to downgrade the linux package? Maybe the same bad commits were backported to the linux and linux-lts packages..

Offline

#3 2024-06-03 18:33:18

marmistrz
Member
Registered: 2016-01-05
Posts: 129

Re: [solved] Wacom pen stopped working: libinput events not always emitted

The root cause was really silly: the battery needed replacing. The stylus only lights up a white diode to signal this.

Offline

#4 2024-06-03 18:33:50

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,525
Website

Re: [solved] Wacom pen stopped working: libinput events not always emitted

Haha well thats another fix, glad we got it solved tho big_smile

Offline

Board footer

Powered by FluxBB