#1113912 iio-sensor-proxy: Attempts to follow nonexistent path in /sys

Package:
iio-sensor-proxy
Source:
iio-sensor-proxy
Description:
IIO sensors to D-Bus proxy
Submitter:
Joe Pfeiffer
Date:
2025-11-28 18:07:01 UTC
Severity:
normal
#1113912#5
Date:
2025-09-04 00:23:32 UTC
From:
To:
Dear Maintainer,

Attempting to start iio-sensor-proxy with
$ systemctl start iio-sensor-proxy

Gives the following lines in /var/log/syslog:

Sep  3 18:11:00 valiant iio-sensor-prox[4546]: Not a switch [/sys/devices/0020:\
1022:0001.0003/HID-SENSOR-200076.1.auto/iio:device1/../capabilities/sw]
Sep  3 18:11:00 valiant iio-sensor-prox[4546]: Invalid bitmask entry for /sys/d\
evices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0f/LNXVIDEO:00/input/input14/e\
vent4
Sep  3 18:11:00 valiant systemd[1]: iio-sensor-proxy.service: Deactivated succe\
ssfully.

Investigating,
% cd /sys/devices/0020:1022:0001.0003/HID-SENSOR-200076.1.auto/iio:device1/../
% ls
Gives as output
driver@		 iio:device1/  power/	   trigger1/
driver_override  modalias      subsystem@  uevent

There is no 'capabilities' directory entry, which appears to be the
reason iio-sensor-proxy is not running is failing to run.

This has worked in the past, I don't know which version (nor which
kernel version!) suffered the regression.

The computer is a Dell Inspiron  14 7435 2-in-1

#1113912#10
Date:
2025-11-13 11:12:41 UTC
From:
To:
Hi

This message is actually not indicating a fault and should be ignored.

What was working exactly? E.g. which sensor(s) if any? Or just that
iio-sensor-proxy ran without the notification above?

I might be able to give you some hints.

BR,
Sicelo A. Mhlongo

#1113912#15
Date:
2025-11-28 17:39:04 UTC
From:
To:
Sicelo writes:

My actual issue is that iio-sensor-proxy is failing to run when I
try to start it using systemctl.  My notes on the missing path in the
initial bug report were just my preliminary efforts to track down why.

I was using the acceleration sensor to auto-rotate my screen; the
important difference is that iio-sensor-proxy ran. I had no reason to
check the logs, so I don't know whether it had the notification.

Any hints would be appreciated!