You are not logged in.

#1 2024-10-06 16:23:45

DanielJ
Member
Registered: 2022-01-06
Posts: 17

wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

I own a Yoga 7 2-in-1 14AHP9 and the 6.11.1/6.11.2 linux kernel breaks pen input. Now the pen is always recognized as the "eraser". Problem does not occur with the lts kernel.

To test I was using

libinput debug-tablet

where I get

Tool: eraser serial 0x80e51447, id 0x219

when I should be getting

Tool: pen serial 0x80e51447, id 0x219

Also

evtest /dev/input/event6

to monitor evdev, where it reports

type 1 (EV_KEY), code 321 (BTN_TOOL_RUBBER), value 0

instead of

type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0

My question is whether, where and how I should report this issue?

Offline

#2 2024-10-06 17:51:32

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Did you already try if downgrading the kernel resolves your issue?

sudo pacman -U https://archive.archlinux.org/packages/l/linux/linux-6.10.10.arch1-1-x86_64.pkg.tar.zst

Offline

#3 2024-10-06 22:00:16

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Issue does not occur on 6.10.10

Offline

#4 2024-10-06 22:31:55

ls
Member
Registered: 2024-04-22
Posts: 4

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

This bug also affects my Yoga 7. It happens only when using the pen that came with my device, not with a different pen model from my colleague's ThinkPad. Downgrading the kernel to 6.10 solves the issue.

Offline

#5 2024-10-06 23:03:50

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

This could be a kernel regression, which should be bisected and reported to the upstream kernel developers

Are you confident to do the bisection on your own or do you need some help?
If you want we could also provide you with pre-built kernel images for you to test (which greatly speeds up the test time) smile 

Good info to get you started is:
- https://docs.kernel.org/admin-guide/rep … sions.html
- https://wiki.archlinux.org/title/Kernel … egressions

In order for the issue to be properly bisectable it would need to be reproducible, but from what you're saying this is already the case smile

Offline

#6 2024-10-06 23:18:56

ls
Member
Registered: 2024-04-22
Posts: 4

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

If you can provide prebuilt kernel binaries, I can send you some log outputs or test some things.

I never debugged kernel issues, but I will try to take a look at it this week.

~~By the way, the first link in your post is 403.~~ (edit: not anymore)

Last edited by ls (2024-10-06 23:20:00)

Offline

#7 2024-10-06 23:39:44

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

So to start out the bisection here is the first kernel image with 6.11 marked as bad and 6.10 as the last good release for the bisection:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.10.r8045.gb3ce7a3-1-x86_64.pkg.tar.zst

Note that this installs a new kernel "linux-mainline" so you'll have to teach your bootloader on how to start that initially (grub-mkconfig -o ..., or by writing a new systemd-boot loader entry). You can then verify that you have actually booted the right kernel by running "uname -r".

Please report back whether this has the issue or not.

Last edited by gromit (2024-10-06 23:40:03)

Offline

#8 2024-10-07 15:53:51

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Thank you very much for the pre-built kernel image! Trying to build it myself would have been to challenging right now, but definitely a goal for the future.

On my end 6.10.0-1-mainline-08045-gb3ce7a30847a is good (issue is not occurring)

Offline

#9 2024-10-07 16:21:07

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please try the following kernel image:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.10.r11736.gfbc90c0-1-x86_64.pkg.tar.zst

Offline

#10 2024-10-07 16:25:28

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.10.0-1-mainline-11736-gfbc90c042cd1 is good

Offline

#11 2024-10-07 16:38:18

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please test:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc2.r138.gfa63c64-1-x86_64.pkg.tar.zst

Offline

#12 2024-10-07 16:44:03

ls
Member
Registered: 2024-04-22
Posts: 4

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Linux e 6.11.0-rc2-1-mainline-00138-gfa63c6434b6f #1 SMP PREEMPT_DYNAMIC Mon, 07 Oct 2024 16:27:30 +0000 x86_64 GNU/Linux

is buggy for me

Offline

#13 2024-10-07 16:45:30

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.11.0-rc2-1-mainline-00138-gfa63c6434b6f is bad

Offline

#14 2024-10-07 16:56:04

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please test the following:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.10.r12585.g301927d-1-x86_64.pkg.tar.zst

Offline

#15 2024-10-07 17:01:47

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.10.0-1-mainline-12585-g301927d2d2eb is good

Offline

#16 2024-10-07 17:27:19

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please test:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r33.g1082650-1-x86_64.pkg.tar.zst

Offline

#17 2024-10-07 17:30:36

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.11.0-rc1-1-mainline-00033-g10826505f523 is good

Offline

#18 2024-10-07 17:43:46

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please test:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r262.g041b106-1-x86_64.pkg.tar.zst

Offline

#19 2024-10-07 17:47:28

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.11.0-rc1-1-mainline-00262-g041b1061d892 is bad

Offline

#20 2024-10-07 18:00:44

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please test:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r158.g454e237-1-x86_64.pkg.tar.zst

Offline

#21 2024-10-07 18:05:26

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.11.0-rc1-1-mainline-00158-g454e2370b985 is bad

Offline

#22 2024-10-07 18:21:17

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Pleas try:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.10.r12636.g025f2b8-1-x86_64.pkg.tar.zst

Offline

#23 2024-10-07 18:26:16

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.10.0-1-mainline-12636-g025f2b85a5e5 is good

Offline

#24 2024-10-07 18:42:50

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 781
Website

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

Please try:

sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r62.ge4fc196-1-x86_64.pkg.tar.zst

Offline

#25 2024-10-07 18:47:00

DanielJ
Member
Registered: 2022-01-06
Posts: 17

Re: wacom pen always detected as eraser with 6.11.1/6.11.2 kernel

6.11.0-rc1-1-mainline-00062-ge4fc196f5ba3 is bad

Offline

Board footer

Powered by FluxBB