View Single Post
mced's Avatar
Posts: 115 | Thanked: 185 times | Joined on Apr 2011 @ Spain
#1
I'm looking for ways to read temperature sensors in my Jolla, but it's harder than I initially guessed. An old update log says this:

DSME wakes from suspend to read HW temperatur and battery status
So it's something related to "dsme". If I mess around that, I can find this:

Code:
$ dsmetemperature -h
Displaying elapsed time and estimated surface temperature every 5 seconds
Error org.freedesktop.DBus.Error.UnknownMethod: Method "estimate_surface_temperature" with signature "" on interface "com.nokia.thermalmanager" doesn't exist
Oops. That looked good, but doesn't work. Let's find some other dsme-anything things:

Code:
$ dsmetool -h
...
-d --start-dbus                 Start DSME's D-Bus services
Code:
$ ps aux | grep -i dsme

root       628  0.0  0.2   2076  1868 ?        S<Ls 08:48   0:00 /usr/sbin/dsme -p /usr/lib/dsme/libstartup.so --systemd
root       643  0.0  0.2  15492  1856 ?        S<l  08:48   0:00 /usr/sbin/dsme-server -p /usr/lib/dsme/libstartup.so --systemd
Humm... "dbus" and "systemd"... then I try this one (after installing qdbus):

Code:
/usr/lib/qt5/bin/qdbus org.freedesktop.systemd1
... and it shows a loooooot of stuff. Should I search into that gibberish or is there a simpler way?