You are not logged in.
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-tabletwhere I get
Tool: eraser serial 0x80e51447, id 0x219when I should be getting
Tool: pen serial 0x80e51447, id 0x219Also
evtest /dev/input/event6to monitor evdev, where it reports
type 1 (EV_KEY), code 321 (BTN_TOOL_RUBBER), value 0instead of
type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0My question is whether, where and how I should report this issue?
Offline
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.zstOffline
Issue does not occur on 6.10.10
Offline
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
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)
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 ![]()
Offline
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
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.zstNote 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
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
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.zstOffline
6.10.0-1-mainline-11736-gfbc90c042cd1 is good
Offline
Please test:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc2.r138.gfa63c64-1-x86_64.pkg.tar.zstOffline
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
6.11.0-rc2-1-mainline-00138-gfa63c6434b6f is bad
Offline
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.zstOffline
6.10.0-1-mainline-12585-g301927d2d2eb is good
Offline
Please test:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r33.g1082650-1-x86_64.pkg.tar.zstOffline
6.11.0-rc1-1-mainline-00033-g10826505f523 is good
Offline
Please test:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r262.g041b106-1-x86_64.pkg.tar.zstOffline
6.11.0-rc1-1-mainline-00262-g041b1061d892 is bad
Offline
Please test:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r158.g454e237-1-x86_64.pkg.tar.zstOffline
6.11.0-rc1-1-mainline-00158-g454e2370b985 is bad
Offline
Pleas try:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.10.r12636.g025f2b8-1-x86_64.pkg.tar.zstOffline
6.10.0-1-mainline-12636-g025f2b85a5e5 is good
Offline
Please try:
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-v6.11.rc1.r62.ge4fc196-1-x86_64.pkg.tar.zstOffline
6.11.0-rc1-1-mainline-00062-ge4fc196f5ba3 is bad
Offline