linux-surface / linux-surface

Linux Kernel for Surface Devices
4.53k stars 202 forks source link

Surface Pro 8 - Pen impossible to use #1414

Open SwagSpaad opened 1 month ago

SwagSpaad commented 1 month ago

hello everyone. As u can see from the title i cant completely use my pen. I know that exists a configuration file for the pen but i dont know how to calibrate it. I just installed the kernel and, as all the drivers are included in the installation, i think after that i should've did nothing more and the pen just should work fine. But, unfortunately, this didnt worked for me and i'm thinking i've missed something. I will let a screenshot to explain better what i mean. When i place my palm on the screen to write (as u do when you write normally on a paper) the background of the paper in xournal++ moves around and has zooms, page moving, and my stylus follows the movement of the screen, while when i dont place the palm on the screen everything works better, but u could understand that this is so weird to write to. So should it be an installation issue or a configuration issue? In case its a configuration issue can someone, who has no problems and use the stylus as on Windows, share his config file or guide me on how i can configure it?

image

Environment

nlogozzo commented 1 month ago

Experiencing the same issue on Surface Pro 7 with openSUSE Tumbleweed , kernel 6.7.4-44-default

nlogozzo commented 1 month ago

I made these changes to my iptsd config and rebooted. Seemed to help:

sudo sed -i 's/# DisableOnPalm = false/DisableOnPalm = true/g' /etc/iptsd.conf
sudo sed -i 's/# DisableOnStylus = false/DisableOnStylus = true/g' /etc/iptsd.conf

Although, I still receive some random crashes when switching between touch and pen input.