Closed aroig closed 9 years ago
** (process:25992): DEBUG: iio-sensor-proxy is already running
Any clue of what is going on?
Do you still need help, or you think you can figure it out? :)
** (process:25992): DEBUG: iio-sensor-proxy is already running
It is definitely not running. I did read the logs I posted! The systemd service triggered from udev also just exits.
This message is printed from name_lost_handler
, but not at the time g_bus_own_name
is called, since the bulk of the debug messages I posted happen after dbus is setup.
From a quick look at the code, my guess was that any_sensors_left (data))
returned FALSE for some reason, and dbus called the handler before releasing the bus name. I could have spent more time debugging this, but I preferred to ask first!
It is definitely not running. I did read the logs I posted! The systemd service triggered from udev also just exits.
Did you install the dbus service file in the correct location?
Ah! that was it! I used ./configure --prefix=/usr
, and make install
had put the file in /usr/etc
.
Thanks a lot!
I'm testing
iio-sensor-proxy
on a Thinkpad Yoga. I get the following output, and then it just exits.It looks like the sensors are recognized, but
any_sensors_left (data)
returnsFALSE
inmain()
. Any clue of what is going on?Oh, by the way, I run this with kernel 4.0.7 on arch linux.
Thanks!