#1032179 fill my Librem5 logs with “Failed to read input level” messages

Package:
iio-sensor-proxy
Source:
iio-sensor-proxy
Description:
IIO sensors to D-Bus proxy
Submitter:
Daniel Dehennin
Date:
2023-03-01 10:42:03 UTC
Severity:
normal
#1032179#5
Date:
2023-03-01 07:43:29 UTC
From:
To:
Dear Maintainer,

I installed the latest Mobian image on my Librem5 phone and my logs are full of messages:

mars 01 08:29:40 mobian iio-sensor-prox[634]: Failed to read input level at /sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-0060/iio:device0/in_illuminance_raw: Failed to read from file “/sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-0060/iio:device0/in_illuminance_raw”: Invalid argument

root@mobian:/home/mobian# ls -lh '/sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-0060/iio:device0/in_illuminance_raw'
-rw-r--r-- 1 root root 4.0K Feb 28 18:29 /sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-0060/iio:device0/in_illuminance_raw

root@mobian:/home/mobian# cat '/sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-0060/iio:device0/in_illuminance_raw'
cat: '/sys/devices/platform/soc@0/30800000.bus/30a30000.i2c/i2c-1/1-0060/iio:device0/in_illuminance_raw': Invalid argument

#1032179#10
Date:
2023-03-01 10:04:10 UTC
From:
To:
Hello.

After some discussion on the Mobian matrix room, I started my Librem5
wit hall kill switch on and there is no more failing messages.

Regards.