| Summary: | HP EliteBook brightness keys don't work anymore starting with gentoo-sources-5 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | hkBst <mhkbst> |
| Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | minor | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
dmesg of kernel 5.15.0 (non-working brightness keys)
dmesg of kernel 4.19.214 (working brightness keys) |
||
|
Description
hkBst
2021-10-07 12:55:12 UTC
I looked at recent changes in drivers/input/keyboards/atkbd.c and suspected https://github.com/torvalds/linux/commit/9d17ad2369dcc9beda0785cf5960222dbdd6c9df for a bit, but disabling it does not help, and it does not seem to be in 5.4.150. (In reply to hkBst from comment #0) > In gentoo-sources-5.4.15 I meant 5.4.150... I looked briefly at drivers/acpi/acpica/psparse.c and its recent changes, but I could not find anything relevant... I tried 5.4.11, but no change from 5.4.9. These are old kernels. Can you try 5.15.0 and see if it's been fixed? Do you have a dmesg from the working kernel and nonworking to compare? (In reply to hkBst from comment #4) > I tried 5.4.11, but no change from 5.4.9. Sorry, I seem to have a knack for butchering these version numbers. I meant 5.14.11 and 5.14.9 here. So latest available when I reported earlier. Anyway, I'll report back on 5.15.0 soon. (In reply to hkBst from comment #6) > (In reply to hkBst from comment #4) > > I tried 5.4.11, but no change from 5.4.9. > > Sorry, I seem to have a knack for butchering these version numbers. I meant > 5.14.11 and 5.14.9 here. So latest available when I reported earlier. > > Anyway, I'll report back on 5.15.0 soon. ah ok actually, if you could do a bisect from the last working kernel to the first non-working kernel that might helpo Created attachment 749058 [details]
dmesg of kernel 5.15.0 (non-working brightness keys)
Booted kernel 5.15.0, but brightness keys are not working.
Created attachment 749502 [details]
dmesg of kernel 4.19.214 (working brightness keys)
Booted kernel 4.19.214, the latest version with working brightness keys.
Can you do a git bisect between a the last working kernel and the first non-working kernel Today, I upgraded to 5.15.118-gentoo and brightness keys are still not working. I gave bisecting the kernel a try, but the built kernels just seem to hang instead of booting. I followed these steps from the wiki: # git clone --shallow-exclude v4.19 --branch v5.15.118 git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-stable # rm linux && ln -s linux-stable linux # cd linux # git checkout v5.15.118 # cp ../gentoo-config ./.config # make olddefconfig # make -j4 && make install # grub-mkconfig -o /boot/grub/grub.cfg and reboot choose new kernel from grub menu hangs at printed message from grub about loading kernel Some help would be appreciated... (In reply to hkBst from comment #11) > Today, I upgraded to 5.15.118-gentoo and brightness keys are still not > working. I gave bisecting the kernel a try, but the built kernels just seem > to hang instead of booting. > > I followed these steps from the wiki: > # git clone --shallow-exclude v4.19 --branch v5.15.118 > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-stable > # rm linux && ln -s linux-stable linux > # cd linux > # git checkout v5.15.118 > # cp ../gentoo-config ./.config > # make olddefconfig > # make -j4 && make install > # grub-mkconfig -o /boot/grub/grub.cfg > and reboot > choose new kernel from grub menu > hangs at printed message from grub about loading kernel > > Some help would be appreciated... Follow these directions http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/ Sorry if I was unclear. I think I have understood the mechanics of bisecting, but the vanilla kernels that I've built from the same config as I am using for gentoo-sources do not seem to want to boot. The only difference would seem to be the gentoo-patches. Is there anything from gentoo-patches that would explain that? Is this about brightness or booting? It is about booting. |