this is a linux kernel problem that is kind of tricky to solve. As the way the linux kernel is written devices can be either registered as a hid-sensor or libinput device, but we have a compound device that is both.
If you look at dmesg on boot you will see the ec hid endpoint is registered as a libinput device and then taken over by the hid-sensor-hub driver.
I have a thread with some of the linux hid subsystem maintainers, and the conclusion is the way the Linux Kernel is currently written, we should just write a framework driver to support both.
Right now on linux the hid-sensor-hub removes support for input device nodes, so you can only use the ALS or keyboard hotkeys.
By default the ALS will work but hotkeys do not.
You can enable the hotkey support by blacklisting the hid-sensor-hub driver:
vi /etc/modprobe.d/framework-als-blacklist.conf
Add the following:
blacklist hid-sensor-hub
And then restart.