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

[SP4] Pen Stops Recognising Contact #176

Open
AngelTomkins opened this issue Oct 24, 2024 · 1 comment
Open

[SP4] Pen Stops Recognising Contact #176

AngelTomkins opened this issue Oct 24, 2024 · 1 comment

Comments

@AngelTomkins
Copy link

Surface Pro 4
Arch Linux, package: linux-surface/iptsd 3-1
Kernel linux-surface/linux-surface 6.11.4.arch1-1

Problem:
On system startup everything works well, after some time using the pen in xournal++, the pen input doesn't allow lines and a bunch of dots draw instead of a line. Then later the pen does not appear when hovering over the screen. It appears in the correct position when the pen nib contacts the screen, but nothing draws.
Seemingly the error Tried to read 12 bytes with only 4 bytes available! was only being outputted when I attempted to write with the pen and the dots appeared. After the pen stopped appearing from hovering the errors stopped continuing.

Restarting the service seems to have undefined behavior where, sometimes it fixes it, other times it keeps having the dots instead of lines drawn. When the dots were there, there was more of the error Tried to read 12 bytes with only 4 bytes available!

Oct 01 09:28:14 blueumbrella iptsd[751]: [09:28:14.613] [info] Loading config /usr/share/iptsd/surface-pro-4-a.conf.
Oct 01 09:28:14 blueumbrella iptsd[751]: [09:28:14.613] [info] Loading config /etc/iptsd.conf.
Oct 01 09:28:14 blueumbrella iptsd[751]: [09:28:14.613] [info] Loading config /etc/iptsd.d/90-calibration.conf.
Oct 01 09:28:14 blueumbrella iptsd[751]: [09:28:14.637] [info] Connected to device 1B96:006A
Oct 01 09:28:14 blueumbrella iptsd[751]: [09:28:14.637] [info] Running in Touchscreen mode
Oct 01 10:16:45 blueumbrella iptsd[751]: [10:16:45.270] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:16:47 blueumbrella iptsd[751]: [10:16:47.928] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:16:50 blueumbrella iptsd[751]: [10:16:50.975] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:16:54 blueumbrella iptsd[751]: [10:16:54.822] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:17:18 blueumbrella iptsd[751]: [10:17:18.867] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:17:21 blueumbrella iptsd[751]: [10:17:21.934] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:17:25 blueumbrella iptsd[751]: [10:17:25.717] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:17:31 blueumbrella iptsd[751]: [10:17:31.753] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:17:43 blueumbrella iptsd[751]: [10:17:43.550] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:18:21 blueumbrella iptsd[751]: [10:18:21.056] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:18:24 blueumbrella iptsd[751]: [10:18:24.318] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:18:32 blueumbrella iptsd[751]: [10:18:32.857] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:01 blueumbrella iptsd[751]: [10:19:01.714] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:04 blueumbrella iptsd[751]: [10:19:04.745] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:24 blueumbrella iptsd[751]: [10:19:24.448] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:27 blueumbrella iptsd[751]: [10:19:27.326] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:32 blueumbrella iptsd[751]: [10:19:32.807] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:36 blueumbrella iptsd[751]: [10:19:36.093] [warning] common: Tried to read 12 bytes with only 4 bytes available!
Oct 01 10:19:39 blueumbrella iptsd[751]: [10:19:39.492] [warning] common: Tried to read 12 bytes with only 4 bytes available!```
@devinhenkel
Copy link

I have the same thing, only it's 7 bytes with only 4 available. Can't seem to fix it...

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

2 participants