Body:

Synopsis: Screen-brightness and volume Fn keys produce no events on an ASUS 
Zenbook 14 UX3405MA. The ASUS hotkey ACPI device ATK3001 attaches as "not 
configured".

Category: kernel

Environment:
System: OpenBSD 7.9
Machine: ASUS Zenbook 14 UX3405MA (Intel Meteor Lake)
hw.product: ASUS Zenbook 14 UX3405MA_UX3405MA
hw.vendor: ASUSTeK COMPUTER INC.

Description:

On this laptop the brightness down and up keys and the volume down, up and mute 
keys produce no key events at all under X. I verified this with xev, with 
Fn-lock both on and off. The keys emit nothing, no keysym and no keycode.

By contrast, the plain function keys that have no ASUS media action, meaning 
F4, F7, F8, F9, F10, F11 and F12, all report normal keysyms in xev. Only the 
keys tied to ASUS hotkey actions are silent, which points at the ASUS hotkey 
path rather than at wskbd.

The dmesg shows three ASUS and WMI ACPI devices that are present but not 
claimed by any driver:

"ATK3001" at acpi0 not configured
"ASUS2018" at acpi0 not configured
"PNP0C14" at acpi0 not configured (this one appears several times)

It looks like acpiasus only matches the older ASUS hotkey IDs such as ATK0100 
and ATK0101, and does not attach to ATK3001. acpiwmi does not attach to the 
PNP0C14 WMI mapper devices on this machine. The result is that no driver is 
delivering the brightness and volume hotkey notifications to the kernel.

Backlight control itself works fine through wsconsctl display.brightness, and 
audio works through sndioctl, so the hardware is fully controllable. The only 
thing missing is the hotkey delivery.

I would like to ask whether there is any planned or in-progress support for 
ATK3001 or the newer ASUS WMI hotkey interface, or whether there is a way to 
attach these devices so the keys generate events. I am happy to test patches 
and to provide any additional ACPI dumps, such as acpidump or the DSDT, on 
request.

How to repeat:

1. Boot OpenBSD 7.9 on an ASUS Zenbook 14 UX3405MA.
2. Start X and run xev piped to grep keysym.
3. Press the brightness and volume Fn keys. No events appear.
4. Press F4 and F7 through F12. Normal keysyms appear.

Reply via email to