You are not logged in.

#1 2021-12-09 18:06:59

MasterMax
Member
Registered: 2011-11-11
Posts: 21

[Solved] Kernel bug with wacom in 5.15.6

My wacom-stylus stops working after a few seconds of usage on kernel 5.15.6; removing and reloading the wacom module fixes the problem for a short period. After downgrading to Kernel 5.15.4, this bug is gone, thus it seems that it appeared in kernel 5.15.5 or 5.15.6. Dmesg shows no events when the stylus stops working, finger touch works all the time.
My device: Lenovo L13 yoga, the stylus:

lsusb
Bus 001 Device 005: ID 056a:51f6 Wacom Co., Ltd Pen and multitouch sensor

Last edited by MasterMax (2022-01-31 13:39:48)

Offline

#2 2021-12-10 06:23:01

MasterMax
Member
Registered: 2011-11-11
Posts: 21

Re: [Solved] Kernel bug with wacom in 5.15.6

I checked the kernel diff, in version 5.15.6 something changed in the wacom module, a confidence flag was introduced:
https://git.kernel.org/pub/scm/linux/ke … .15.5&dt=2
https://git.kernel.org/pub/scm/linux/ke … d2=v5.15.5
https://git.kernel.org/pub/scm/linux/ke … d2=v5.15.5

Offline

#3 2021-12-18 15:59:38

sosyco
Member
Registered: 2020-02-15
Posts: 6

Re: [Solved] Kernel bug with wacom in 5.15.6

Hi,

same problem, same solution with downgrading the kernel.

My device: Lenovo Yoga 380, the stylus:
Bus 001 Device 005: ID 056a:5155 Wacom Co., Ltd Pen and multitouch sensor

Last edited by sosyco (2021-12-18 16:11:37)

Offline

#4 2021-12-19 13:37:23

MasterMax
Member
Registered: 2011-11-11
Posts: 21

Re: [Solved] Kernel bug with wacom in 5.15.6

I stumbled upon https://github.com/linuxwacom/input-wacom/issues/288 and reported the bug also there. I tested downgrading only the wacom module in the current kernel (as requested on github), which does not fix the problem. Thus I think something else in the kernel broke it. This is obviously not a arch specific problem. Can anyone help me report this to the right person?

Offline

#5 2021-12-19 16:03:54

sosyco
Member
Registered: 2020-02-15
Posts: 6

Re: [Solved] Kernel bug with wacom in 5.15.6

Hi,

i generated a bug-report under: https://bugs.archlinux.org/task/73080.

Offline

#6 2021-12-20 22:26:44

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [Solved] Kernel bug with wacom in 5.15.6

Have you tried linux 5.15.5 from the ALA to see if the issue was introduced in 5.15.5 or 5.15.6.
Then can you bisect between those two kernels?  That should identify the causal commit which will identify who to contact upstream.

Offline

#7 2021-12-21 06:43:00

sosyco
Member
Registered: 2020-02-15
Posts: 6

Re: [Solved] Kernel bug with wacom in 5.15.6

Ok,

i checked after

sudo pacman -U /var/cache/pacman/pkg/linux-5.15.5.arch1-1-x86_64.pkg.tar.zst

and reboot
seems to work.

@MasterMax: Can you also check?

Offline

#8 2021-12-21 21:11:32

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [Solved] Kernel bug with wacom in 5.15.6

Please try the kernel below
https://drive.google.com/file/d/1Xe7Ewd … sp=sharing linux-5.15.10.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/188jMIl … sp=sharing linux-headers-5.15.10.arch1-1.1-x86_64.pkg.tar.zst
It uses a different method than https://github.com/linuxwacom/input-wac … -993115786

Offline

#9 2021-12-22 07:48:03

sosyco
Member
Registered: 2020-02-15
Posts: 6

Re: [Solved] Kernel bug with wacom in 5.15.6

hi,

installed your packages on one of my devices...
first view looks good...no loosing of the stylus

how get we this in the regular kernel?

Offline

#10 2021-12-22 13:14:42

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [Solved] Kernel bug with wacom in 5.15.6

Please check 5.15.10.arch1-1 from the repos if you have not already tested that release to confirm it still has the issue.
If so the change I made was to revert d048d3eb3ca7e2f847b78125b12bdb9d86681495 using

git revert -n d048d3eb3ca7e2f847b78125b12bdb9d86681495

Please report those findings to https://github.com/linuxwacom/input-wacom/issues/288

Offline

#11 2021-12-26 08:55:20

MasterMax
Member
Registered: 2011-11-11
Posts: 21

Re: [Solved] Kernel bug with wacom in 5.15.6

loqs wrote:

Please try the kernel below
https://drive.google.com/file/d/1Xe7Ewd … sp=sharing linux-5.15.10.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/188jMIl … sp=sharing linux-headers-5.15.10.arch1-1.1-x86_64.pkg.tar.zst
It uses a different method than https://github.com/linuxwacom/input-wac … -993115786

I testet this kernel and the stylus works perfectly. Thanks for your effort. How do we proceed?

Offline

#12 2021-12-26 23:49:59

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [Solved] Kernel bug with wacom in 5.15.6

MasterMax wrote:

I testet this kernel and the stylus works perfectly. Thanks for your effort. How do we proceed?

Wait for a fix from upstream.  jigpu authored the commit causing the issue and is aware of the issue on the upstream bug report.

Offline

#13 2022-01-13 05:22:51

tattsan
Member
Registered: 2013-08-26
Posts: 48
Website

Re: [Solved] Kernel bug with wacom in 5.15.6

A fix has been proposed:
https://github.com/linuxwacom/input-wac … 1011465509
I've tried this module on linux-5.16.0-zen1-1 , and it works fine so far.

Last edited by tattsan (2022-01-13 05:26:51)

Offline

#14 2022-01-21 15:43:36

tattsan
Member
Registered: 2013-08-26
Posts: 48
Website

Re: [Solved] Kernel bug with wacom in 5.15.6

Offline

#15 2022-01-31 13:39:29

MasterMax
Member
Registered: 2011-11-11
Posts: 21

Re: [Solved] Kernel bug with wacom in 5.15.6

Patched in Kernel 5.16.4 smile

Offline

Board footer

Powered by FluxBB