Gentoo Archives: gentoo-user

From: Emmanuel Vasilakis <mrzammler@××.st>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Asus laptop & brightness keys
Date: Sat, 15 May 2021 15:38:17
Message-Id: 886163f1-c862-553a-d023-e6b18b9b52d3@mm.st
In Reply to: Re: [gentoo-user] Asus laptop & brightness keys by Michael
1 On 15/05/2021 14:12, Michael wrote:
2 > On Saturday, 15 May 2021 11:46:46 BST Emmanuel Vasilakis wrote:
3 >> Hi!
4 >>
5 >> I got a new Asus Zenbook laptop, with a ryzen 4500U processor. Most
6 >> things run great, except those brightness keys!
7 >>
8 >> Nothing is reported when pressing them, either with showkeys or
9 >> acpi_listen, so I can't bind them to a shortcut. Brightness by changing
10 >> the value in /sys/class/backlight/amdgpu_b10/brightness works fine.
11 >>
12 >> I have asus_wmi and asus_nb_wmi modules loaded, so things like
13 >> multitouch pad and keyboard backlight work fine.
14 >>
15 >> I'm running a 5.10.27 gentoo sources kernel. Most people on the net say
16 >> that using the 'acpi_osi= ' parameter fixes it, but in my case it just
17 >> hangs at kernel boot. Did try e.g. acpi_osi=Linux, but nothing changed.
18 >>
19 >> At the same time, using a live Manjaro usb both brightness keys work
20 >> fine, and they are usable under Gnome.
21 >>
22 >> I'm sure I'm missing something in my kernel configuration.... Any ideas?
23 >>
24 >> Thanks!
25 >
26 > Assuming the Manjaro Live-USB is running the same version of kernel/modules
27 > and firmware, then it is worth checking /proc/config.gz for the running
28 > kernel's configuration and comparing it with your gentoo configuration.
29 >
30 > Also while you're there you could check with lsmod what modules were loaded by
31 > the Manjaro kernel to see if you're missing something.
32 >
33
34 Ah, I had gone through that! Looked at almost line by line the two
35 dmesg, lsmod, configs etc. Of course Manjaro's config is .... big!
36
37 Turns out there was something in ACPI page of kernel config that did the
38 trick (not sure what exactly to be honest - might be Video).
39
40 Thanks though!