Closed mvaello closed 9 years ago
It's looks like that this patch does not solve the problem, at least for me. The only thing I found was this after recompiling and restarting the service.
P: /devices/virtual/hwmon/hwmon0
E: DEVPATH=/devices/virtual/hwmon/hwmon0
E: SUBSYSTEM=hwmon
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:
E: USEC_INITIALIZED=319640
And after run iio-sensor-prxy with DEBUG flag it returns the same massages.
What's the output of:
systemctl status iio-sensor-proxy.service
On your system?
FWIW, it works on the Mac I tested it on. You'll need to run monitor-sensor
to see changes in the readings, and I ran ./autogen.sh --prefix=/usr --sysconfdir=/etc
before compiling and installing.
Ok, the last tip was the key, now the service is active :+1 and the monitor-sensors returns values. Thanks. I was trying to reload again and again the service but was impossible to get it active (running).
Testing with my 'old' MacBook. Theoretically it detects devices right, but does not appear the "IIO Accelerometer Proxy" udev after run it $ udevadm info --export-db.
The debug output: