Closed rien333 closed 4 years ago
Please see the README about providing useful debugging information.
Weird that it is complaining about not finding sensors while others report it working on the same machine.
From the README:
If that doesn't work, please file an issue, make sure any running iio-sensor-proxy has been stopped:
systemctl stop iio-sensor-proxy.service
and attach the output of:G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy
running as root.Weird that it is complaining about not finding sensors while others report it working on the same machine.
You, or the person compiling the kernel you're using, probably didn't enable the drivers necessary for it.
I'm running arch linux with a stock and stable kernel (4.18.8-arch1-1-ARCH
), but thanks for pointing me in the right direction.
Oddly enough /sys/bus/iio/devices/iio:device0/in_illuminance_raw
seems to work fine, so is it really a matter of something not being enabled in the kernel? Additionally, autolight also seems to work perfectly normal.
We don't use in_illuminance_raw
at all. It's not read in the driver, and it's not a file we use in the udev rules. Maybe a newer kernel has support for the in_illuminance_input
file instead? Or maybe it regressed.
I don't know what iio device it uses, so I can't look for changes in the kernel.
I have quite a new kernel (just plain arch) so idk. Not totally sure what all those files are, but /sys/bus/iio/devices/iio:device0/in_illuminance_input
reports the same value as in_illuminance_raw
. Is the former one the one used by this project?
If both exist, then it should work fine (and iio-sensor-proxy would use in_illuminance_input
)
In contrast to https://github.com/hadess/iio-sensor-proxy/pull/234 running
iio-sensor-proxy
fails silently for me, although the fact that other matebook users have it working apparently (like in the aforementioned PR) leads me to believe that I'm doing something wrong. I'm running iio-sensor-proxy from the AUR git package on an updated Arch Linux.