Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Driver stops working on suspend during pen activity #9

Closed
quo opened this issue Jun 1, 2022 · 4 comments
Closed

Driver stops working on suspend during pen activity #9

quo opened this issue Jun 1, 2022 · 4 comments

Comments

@quo
Copy link
Owner

quo commented Jun 1, 2022

#5 (comment)

When IPTSD in used and pen is near screen, hibernate and resume make driver got hang.

Also linux-surface/linux-surface#752 (comment)

I've also seen that sometimes the driver stops working if multitouch is toggled while pen is active.

Possible workaround is to trigger a reset with:
echo x | sudo tee /sys/kernel/debug/ithc/cmd
Or reload the driver with:
sudo modprobe -r ithc; sudo modprobe ithc (iptsd must be stopped first)

@quo quo mentioned this issue Jun 1, 2022
@NP-chaonay
Copy link

NP-chaonay commented Jun 2, 2022

(Sorry I think this comment I should move and further telling into new issues instead)

Trying on SLS surface kernel Ubuntu 22.04 LTS both X11/Wayland

For short only last workaround worked
here dmesg_tail.log

PS: this is about driver hang after resuming from hibernation
PS2: "When IPTSD in used and pen is near screen, hibernate and resume make driver got hang." not only that condition, even pen is not active or iptsd is not running, it also happens see the regularly updated comment here

@Pairman
Copy link

Pairman commented Jun 5, 2022

sudo modprobe -r ithc; sudo modprobe ithc

Idk why but this workaround seems weird when using the pen and finger alternatively. Before doing the commands the trail will just stop or jump to thenew touch point once.

image

The small dashes or dots are normal trails my pen drew

@NP-chaonay
Copy link

NP-chaonay commented Sep 6, 2022

I've also seen that sometimes the driver stops working if multitouch is toggled while pen is active.

let me test that (using non-latest quo/iptsd) and reported in this inplace

@quo
Copy link
Owner Author

quo commented Nov 22, 2022

Is this still a problem with latest ithc and iptsd? I can't reproduce it myself anymore at the moment.

@quo quo closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants