Thread
:
[Annouce] HealthCheck - Hardware/System checker for the N900
View Single Post
Mentalist Traceur
2010-10-25 , 01:08
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#
693
I figured it out, after what is now a couple days of digging through criptic DBus documentation and wiki.maemo.org (and a bunch of random plug-n-play trial-and-error on the command line):
dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_device_orientation
In retrospect, the python snippet that I initially found on the wiki and you posted here contains most of that in it. But there's no way I would have gotten it without seeing a bunch of other dbus-send code snippets and reading through dbus documentation.
Last edited by Mentalist Traceur; 2010-10-25 at
06:54
. Reason: Forgot "dest=" inbetween -- and com.nokia.mce
Quote & Reply
|
The Following User Says Thank You to Mentalist Traceur For This Useful Post:
noobmonkey
Mentalist Traceur
View Public Profile
Send a private message to Mentalist Traceur
Find all posts by Mentalist Traceur