Closed bedawi closed 4 years ago
iio-sensor-prox[4109]: iio-sensor-proxy is already running, or it cannot own its D-Bus name. Verify installation.
...and no, the service is not already running.
Then it's the other thing.
You didn't install iio-sensor-proxy properly and D-Bus can't find the .service
files associated with it. You probably want to pass --prefix=/usr --sysconfdir=/etc
, or ask the ClearLinux distribution about this.
OK, just for follow up, so that others, who repeat my mistakes, find a solution here:
The command is: ./autogen.sh --prefix=/usr --sysconfdir=/etc
I had to uninstall the old files with sudo make uninstall
and I had to clone a new copy of the repository. Then compiling went through and after a reboot the device worked.
@hadess: maybe you like to update your instructions on https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/blob/master/README.md - thanks for your work!
HI there,
I am trying to install the IIO Sensor Proxy on Clear Linux. I cloned the repo and proceeded like this:
udevadm info --export-db
shows this amongst a lot more:More output:
I guess this could have something to do with Clear Linux. Unfortunately journalctl does not provide a clue whats wrong. Here is the journal's output when restarting the iio-sensor-proxy.service:
I turned on debugging and got this output:
...and no, the service is not already running.
I had also provided a custom a custom 61-sensor-local.hwdb-file in /etc/udev/hwdb.d/ as I describe on my GitHub repo here: https://github.com/bedawi/trekstor-s11b/tree/master/systemd - I do not think this is related to the problem but who knows?!