linux-surface icon indicating copy to clipboard operation
linux-surface copied to clipboard

Stylus does not work on Surface Laptop 3

Open Snakehater opened this issue 3 years ago • 4 comments

[Description of the bug]

Stylus does not work and no input is registered on wayland. Touchscreen does work though. iptsd is active and running. The stylus works as intended on windows (dual boot). Microsoft surface pen platinum is used.

Environment

  • Hardware model: Surface Laptop 3 Intel(R) Core(TM) i7-1065G7 CPU
  • Kernel version: Linux pcarch 6.0.8-arch1-3-surface #1 SMP PREEMPT_DYNAMIC Sun, 13 Nov 2022 20:09:09 +0000 x86_64 GNU/Linux
  • Distribution: Arch Linux

Snakehater avatar Nov 21 '22 12:11 Snakehater

https://github.com/linux-surface/linux-surface/wiki/Supported-Devices-and-Features#feature-matrix

according to this, this does not work

but don't give it up, at this moment

SP7 before have this issue and found later that it required alternate version (I mean it is same iptsd just different build version) of iptsd.

so if that version does not work I recommended to ask for help about Reverse Engineering and potential working of pen on SL3(Intel)

see below how to using alternative version of iptsd


you have 2 to do 2 things

1) reinstall driver from (at this moment) github source linux-surface/intel-precise-touch ( recommended do on part "Building (DKMS)")
2) reinstall userspace driver from (at this moment) github linux-surface/iptsd  ; this can be either getting from prebuilt (more recommended) or  manual

after all then reboot

NP-chaonay avatar Nov 21 '22 17:11 NP-chaonay

@NP-chaonay

Thank you, I could not found the intel-precise-touch packet so I could not reinstall it. How do I do that? IPTSD is now reinstalled with pacman.

But I don't get what makes the SL3 different from the others?

Snakehater avatar Nov 23 '22 12:11 Snakehater

ok read carefully I explain below:

  1. to answer: why we have to reinstall userspace driver "iptsd", from github but not linux-surface repo of system pkg manager repo?

it is known issue that SP7 or device that near to equivalent of SP7 have using touch/stylus system that using different data structure so it required userspace driver "iptsd" with that implementation

but at this moment, iptsd from linux-surface in system package manager repo dont have that implementation due to some reason

This is why who own SP7 or device that near to equivalent of SP7 must reinstall iptsd from Github srouce or prebuilt from Github Action.

  1. to answer: then why reinstall kernelspace driver "ipts" too?

new userspace driver is more optimized and more recommended for new kernelspace driver "ipts", which some implementation also not in system package manager repo of linux-surface. due to that same reason too.

NP-chaonay avatar Nov 23 '22 12:11 NP-chaonay

I'm having an issue where the pen works right after restart, but then after a certain amount of time, it stops working. I've tried reinstalling both drivers with no change.

TannerNelson16 avatar Oct 15 '24 15:10 TannerNelson16