The Following 4 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-26
, 17:16
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#182
|
![]() |
2010-02-26
, 17:18
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#183
|
![]() |
2010-02-26
, 17:22
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#184
|
getting a dbus.error.UnknownMethod "req_reboot" with signature "" on interface "com.nokia.mce.request" doesn't exist.
run-standalone.sh dbus-send --system --type=method_call --dest="com.nokia.dsme" --print-reply "/com/nokia/dsme/request" com.nokia.dsme.request.req_reboot
The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-26
, 17:25
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#185
|
Apologies. It got moved to DSME. Try:
Code:run-standalone.sh dbus-send --system --type=method_call --dest="com.nokia.dsme" --print-reply "/com/nokia/dsme/request" com.nokia.dsme.request.req_reboot
![]() |
2010-02-26
, 17:27
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#186
|
![]() |
2010-02-26
, 17:35
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#187
|
#!/bin/sh # Nokia N900 Maemo 5 Script to free up space on rootfs # ignoring errors when creating dirs that may already exist # Moving themes to /home/opt mkdir -p /home/opt/usr/share/themes 2> /dev/null cp -r /usr/share/themes/* /home/opt/usr/share/themes rm -r /usr/share/themes ln -s /home/opt/usr/share/themes /usr/share/themes # Moving ?? icons to /home/opt mkdir -p /home/opt/usr/share/icons 2> /dev/null cp -r /usr/share/icons/* /home/opt/usr/share/icons rm -r /usr/share/icons ln -s /home/opt/usr/share/icons /usr/share/icons # Moving video on start-up to /home/opt mkdir -p /home/opt/usr/share/hildon-welcome 2> /dev/null cp -r /usr/share/hildon-welcome/* /home/opt/usr/share/hildon-welcome rm -r /usr/share/hildon-welcome ln -s /home/opt/usr/share/hildon-welcome /usr/share/hildon-welcome # ?? mkdir -p /home/opt/usr/share/pixmaps 2> /dev/null cp -r /usr/share/pixmaps/* /home/opt/usr/share/pixmaps rm -r /usr/share/pixmaps ln -s /home/opt/usr/share/pixmaps /usr/share/pixmaps # Moving 'apt cache' to /home/opt - Valid until Bug 5746 is fixed. mkdir -p /home/opt/var/cache/apt 2> /dev/null cp -r /var/cache/apt/* /home/opt/var/cache/apt rm -r /var/cache/apt ln -s /home/opt/var/cache/apt /var/cache/apt
The Following User Says Thank You to noobmonkey For This Useful Post: | ||
![]() |
2010-02-26
, 18:24
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#188
|
Apologies. It got moved to DSME. Try:
Code:run-standalone.sh dbus-send --system --type=method_call --dest="com.nokia.dsme" --print-reply "/com/nokia/dsme/request" com.nokia.dsme.request.req_reboot
The Following 2 Users Say Thank You to fatalsaint For This Useful Post: | ||
![]() |
2010-02-26
, 19:23
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#189
|
run-standalone.sh dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_orientation_ind
![]() |
2010-02-26
, 19:34
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#190
|
![]() |
Tags |
code, health check, n900, python |
|
http://maemo.org/api_refs/5.0/5.0-fi...-names_8h.html explains some more of the method calls available to you.
Last edited by qwerty12; 2010-02-26 at 17:24.