Doesn't support sensor name "illuminance0"
Created by: hitech95
I'm doing something wrong for sure. No idea why it fails to find the sensor.
I can probe it by sysfs without any problem.
Any idea on how to debug this?
I'm also having problems building from source (it says GTK not found but its installed) For this reason I'm using the 2.4 package provided by the Ubuntu repository.
nicolo@nicolo-Peppy:/sys/bus/iio/devices/iio:device0$ G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy
** (process:3219): DEBUG: 16:14:15.765: iio-sensor-proxy is already running, or it cannot own its D-Bus name. Verify installation.
nicolo@nicolo-Peppy:/sys/bus/iio/devices/iio:device0$ sudo !!
sudo G_MESSAGES_DEBUG=all /usr/sbin/iio-sensor-proxy
** (process:3225): DEBUG: 16:14:25.161: Could not find any supported sensors
nicolo@nicolo-Peppy:/sys/bus/iio/devices/iio:device0$ cat in_illuminance0_input
10
nicolo@nicolo-Peppy:/sys/bus/iio/devices/iio:device0$ cat in_illuminance0_input
332
nicolo@nicolo-Peppy:/sys/bus/iio/devices/iio:device0$ udevadm info --export-db | grep iio
P: /devices/pci0000:00/INT33C3:00/i2c-1/1-0044/iio:device0
N: iio:device0
E: DEVNAME=/dev/iio:device0
E: DEVPATH=/devices/pci0000:00/INT33C3:00/i2c-1/1-0044/iio:device0
E: DEVTYPE=iio_device
E: SUBSYSTEM=iio
nicolo@nicolo-Peppy:/sys/bus/iio/devices/iio:device0$ gdbus introspect --system --dest net.hadess.SensorProxy --object-path /net/hadess/SensorProxy
Errore: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name net.hadess.SensorProxy was not provided by any .service files
I also have tried with the kernel 5.0.0, same result.