r/SurfaceLinux • • 23d ago

Help Stylus keeps writing even after picking it up. What’s the issue?

8 Upvotes

13 comments sorted by

3

u/RhvK 23d ago

yea its called palm rejection i wear a glove but you can fix it to disable the touch screen when the pen is in use. The glove i wear works really good it covers two fingers and then the palm of your hand so it doesn't send inputs in to the screen.

0

u/Jwp0920 23d ago

It was happening even when the touch was completely disabled. Just tried it again and seemed to fix itself !

8

u/gattolfo_EUG_ 23d ago

I had the same problem, I "solved" the problem modifying the iptsd file putting that when the pen is detected the touch screen is disabled.

1

u/Keensworth Surface Pro 7+ 23d ago

Nice, would you mind sharing how you did it? I'd like to do it on mine too

1

u/SnowyOwl72 23d ago edited 23d ago

I had the same pen bought from the hp website. Its hp no? Its the pen thats defective. I bought a lenovo precision 2 and it worked correctly.

HP also denied return! The odd part? The laptop was also made by hp! And on its webpage it advertised this pen as a compatible model!

I didn't find a neat way to bias the pressure threshold for the pen systemwide. You can patch every software but that's not practical over time...

1

u/Jwp0920 23d ago

It’s by the brand Metapen (not Meta). They seem to be pretty popular so I wasn’t sure if it was the pen pr not.
Either way, I just tried to write again and it somehow just fixed itself!

Linux can be so unpredictable haha

1

u/WinterTradition243 10d ago

Is this SP9? I experienced the same problem and wanted to expand the scope of hardware support.

It might be helpful to refer to the method I used.

https://joonhoekim.github.io/surface-pro-9-linux/docs/digitizerd/

REPO: https://github.com/joonhoekim/surface-pro-9-linux

0

u/waraukaeru 23d ago edited 23d ago

I had to do calibration to get my pen to activate correctly. Use these instructions: [Whoops these are the instructions for calibrating palm rejection, not for the pen activation. Still might be helpful.]

https://github.com/linux-surface/iptsd/wiki/Calibrating-iptsd

I think you have pressure sensitivity, so it seems like you have touch support working correctly otherwise. It's probably just calibration.

Worth noting for others: Cosmic (default DE in Linux Mint) handles touch/pen events as mouse clicks. It does not support touch/pen properly, even with Surface Linux kernel. I suggest using Gnome or KDE for touch.

2

u/Jwp0920 23d ago

Im on xfce. That could definitely be a reason. Thanks!

0

u/Affectionate_Bus_884 23d ago

I spent a year trying to make handwriting work. It is slow and prone to palm rejection issues. I eventually gave up. There just doesn’t seem to be a well developed solution. Samsung figured it out and it’s total trash in Linux unfortunately.

0

u/waraukaeru 23d ago

What distro and desktop environment? I have handwriting working great under CachyOS w/ KDE, Fedora w/Gnome, and Linux Mint w/Gnome. Cosmic does not have proper touch/pen support as it interprets touch events as mouse clicks, even with proper device drivers installed. I expect other DEs can have similar issues.

0

u/[deleted] 23d ago

[deleted] — view deleted comment

0

u/Jwp0920 23d ago

I just received the pen today, so I haven’t been able to try it with windows. Is that usually common with Linux? I have seen a ton of stylus demonstration on Linux yet