chrismanch wrote:I do appreciate your efforts and time.
I am not sure how to do that. I did some googling which suggested I could list and remove snaps, but iio-sensor-proxy isn't a snap?
$ sudo snap list | grep iio-sensor-proxy gives no output.
While googling I found -
This
https://elementaryos.stackexchange.com/ ... -hp-840-g1suggested I do this
sudo systemctl mask iio-sensor-proxy.service to mask any output from iio-sensor-proxy, but the screen still inverts during boot.
Also
monitor-sensor just says "Waiting for iio-sensor-proxy to appear"
I am sorry, I am an idiot. I did not RTFQ.
The post above that shows your output shows an .so or Shared Object file.
That sensor is also used for the Light/Dark theme, that brightens or darkens your theme automatically according to the Time of Day; Which is an extension and feature included in Zorin 15 Core Desktop.
If you could, please run in terminal:
- Code:
locate iio-sensor-proxy.rules
On my machine, it shows as in /lib/udev/rules.d/80-iio-sensor-proxy.rules
It probably is the same for you. You can open that in terminal with "sudo nano" or by opening your file manager with elevated privileges using pkexec
But either way, you need to root access that file in order to edit it.
You will see the following:
- Code:
SUBSYSTEM=="hwmon", TEST=="light", ENV{IIO_SENSOR_PROXY_TYPE}="hwmon-als"
SUBSYSTEM=="iio", TEST=="in_accel_x_raw", TEST=="in_accel_y_raw", TEST=="in_accel_z_raw", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_accel_x_en", TEST=="scan_elements/in_accel_y_en", TEST=="scan_elements/in_accel_z_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_rot_from_north_magnetic_tilt_comp_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-compass"
SUBSYSTEM=="iio", TEST=="in_illuminance_input", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-als"
SUBSYSTEM=="iio", TEST=="scan_elements/in_intensity_both_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-als"
SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", ENV{IIO_SENSOR_PROXY_TYPE}="input-accel"
comment that out with a hashtag so it look s like:
- Code:
SUBSYSTEM=="hwmon", TEST=="light", ENV{IIO_SENSOR_PROXY_TYPE}="hwmon-als"
SUBSYSTEM=="iio", TEST=="in_accel_x_raw", TEST=="in_accel_y_raw", TEST=="in_accel_z_raw", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_accel_x_en", TEST=="scan_elements/in_accel_y_en", TEST=="scan_elements/in_accel_z_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_rot_from_north_magnetic_tilt_comp_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-compass"
SUBSYSTEM=="iio", TEST=="in_illuminance_input", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-als"
SUBSYSTEM=="iio", TEST=="scan_elements/in_intensity_both_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-als"
#SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", ENV{IIO_SENSOR_PROXY_TYPE}="input-accel"
And please let us know the result....