I’m trying to get ambient light sensor readings on my Framework 13" 12th gen. Arch wiki says it should work out of the box with iio-sensor-proxy
, so I enabled hardware.sensor.iio.enable
in my configuration. monitor-sensor
doesn’t seem to work though, when I run it it gets stuck here:
$ monitor-sensor --light
Waiting for iio-sensor-proxy to appear
If I try to start iio-sensor-proxy.service
in another terminal while monitor-sensor
is running:
sudo systemctl start iio-sensor-proxy
monitor-sensor
prints this and exits:
$ monitor-sensor --light
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
** (monitor-sensor:223017): WARNING **: 19:16:23.572: Failed to claim light sensor: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.228 was not provided by any .service files
I’m on Hyprland, I’ve only seen people use iio-sensor-proxy
on Gnome in the forums. Am I doing something wrong?