Stylus pen PN350M not working when tried to Calibrate

Hello! I have an issue where I messed around with settings.

I wanted to change the assigned buttons in my stylus, but that didn’t work so I changed back.

Tried testing stylus as well to see how it behaved.

Then I pressed ‘Calibrate’ and I wanted to see if I could fix weird delay the pen has when moving around near touchscreen. But it didn’t even work to click any of the ‘crosshairs’ and I pressed cancel.

Not even I applied the settings and I started to notice that my stylus now only clicks upper left of the screen when I press on screen anywhere, doesn’t move.

Here’s the image what I tried to change.

What I did beforehand:

  1. tried reinstall the linux kernel.
  2. in the system settings I chose defaults.
  3. changed Mapped Area (made it smaller to the center of the screen and now clicks only the corner of the screen of the new mapped area)
  4. Restarted pc several times.

Anything else need to add tell me. Maybe is there a way to reset config in the terminal? If yes maybe I can recreate this and add it as a bug.

Thanks!

Small update, when restarting and being in login screen pen works.
after login it is stuck again.

Solved it…

first:

$ vim .config/kcminputrc

and then removed all lines that start with word ‘stylus’ this block for me:

[Libinput][1267][9863][ELAN2097:00 04F3:2687 Stylus]
CalibrationMatrix=nan,nan,nan,0,nan,nan,nan,0,nan,nan,nan,0,nan,nan,nan,1
LeftHanded=false
Orientation=0
OutputArea=0.6426443666495371,0.5097558773906425,0.3209427993319634,0.32279206815634054
3 Likes

I just had the same problem:
libinput debug-events showed everything like normal, but KDE and any program didn’t recognize it.
I didn’t mess with the settings beforehand, but i didn’t use that stylus for a couple months and used another one, with a wacom tablet instead. Oh, and i’m on arch, if that might help to find the cause.
I guess something somehow messed with that config file you mentioned, because your fix worked for me aswell.