Greetings,
I opened a topic on the problem I had with my new tablet/PC device around two weeks ago (check here). I thought I had a solution prematurely.
When iio-sensor-proxy is compiled locally on the machine, the accelerometer can be detected only at the first reboot. The machine is unable to detect the device after the second boot and so on. When the compiled iio-sensor-proxy could detect the accelerometer, the accelerometer appears as a separate device, iio:device1, apart from the light sensor, iio:device0.
After the official Fedora package is upgraded to version 3.8, I removed the compiled version and installed the package instead. As of now, iio-sensor-proxy is still unable to detect my computer’s accelerometer, and thus autorotation cannot work properly.
Here is the first lines of the output of monitor-sensor;
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== No accelerometer
=== Has ambient light sensor (value: 312.000000, unit: lux)
=== No proximity sensor
=== No compass
Light changed: 309.100000 (lux)
Light changed: 314.000000 (lux)
Light changed: 312.500000 (lux)
Light changed: 321.700000 (lux)
And here is the output for the command systemctl status iio-sensor-proxy.service.
● iio-sensor-proxy.service - IIO Sensor Proxy service
Loaded: loaded (/usr/lib/systemd/system/iio-sensor-proxy.service; static)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Tue 2025-08-19 11:32:07 EDT; 10min ago
Invocation: 80ec99b352df4d0b8a9daab7cc6ade01
Main PID: 1388 (iio-sensor-prox)
Tasks: 4 (limit: 17456)
Memory: 1.6M (peak: 3.2M)
CPU: 445ms
CGroup: /system.slice/iio-sensor-proxy.service
└─1388 /usr/libexec/iio-sensor-proxy
Aug 19 11:32:07 yogifedora systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service...
Aug 19 11:32:07 yogifedora systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service.
Aug 19 11:32:08 yogifedora iio-sensor-prox[1388]: Buffer '/dev/iio:device0' did not have data within 0.5s
Aug 19 11:32:08 yogifedora iio-sensor-prox[1388]: Not a switch [/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb1/1-1/1-1:1.4/0003:04F2:B83C.0002/HID-SENSOR-200041.5.auto/iio:device0/../capabilities/sw]
Aug 19 11:32:08 yogifedora iio-sensor-prox[1388]: Invalid bitmask entry for /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:16/LNXVIDEO:00/input/input9/event4
Finally, this is the output of gdbus introspect --system --dest net.hadess.SensorProxy --object-path /net/hadess/SensorProxy
node /net/hadess/SensorProxy {
interface org.freedesktop.DBus.Properties {
methods:
Get(in s interface_name,
in s property_name,
out v value);
GetAll(in s interface_name,
out a{sv} properties);
Set(in s interface_name,
in s property_name,
in v value);
signals:
PropertiesChanged(s interface_name,
a{sv} changed_properties,
as invalidated_properties);
properties:
};
interface org.freedesktop.DBus.Introspectable {
methods:
Introspect(out s xml_data);
signals:
properties:
};
interface org.freedesktop.DBus.Peer {
methods:
Ping();
GetMachineId(out s machine_uuid);
signals:
properties:
};
interface net.hadess.SensorProxy {
methods:
ClaimAccelerometer();
ReleaseAccelerometer();
ClaimLight();
ReleaseLight();
ClaimProximity();
ReleaseProximity();
signals:
properties:
readonly b HasAccelerometer = false;
readonly s AccelerometerOrientation = 'undefined';
readonly s AccelerometerTilt = 'undefined';
readonly b HasAmbientLight = true;
readonly s LightLevelUnit = 'lux';
readonly d LightLevel = 325.30000000000001;
readonly b HasProximity = false;
readonly b ProximityNear = false;
};
node Compass {
};
};
I would appreciate if somebody with a better knowledge on the driver or debugging helps me with this issue.