View Single Post
chemist's Avatar
Administrator | Posts: 1,036 | Thanked: 2,019 times | Joined on Sep 2009 @ Germany
#73
Originally Posted by evad View Post
You might try experimenting with following command (ran as user, not root):
As evad said, try to avoid using "killall"! The reason why this works so far and why it screws with hildon-home is that a watchdog is listening and assumes the processes to have crashed, run that script in a few loops and the watchdog will restart the device I guess. For example killing mce (the LED and vibra tool) or there even restarting it via init.d scsripts a few times in a row (think it was within 1-2mins) and you will find your device rebooting!
Most of the time my device gets unresponsive only hildon-home needs a restart so leaving it out makes no sense at all. Even with using dsmetool you can screw up, if for example a statusbar plugin has a daemon watching it in background a dsmetool -k hildon-status-menu can do ugly things -> http://maemo.org/community/maemo-dev...us_bar_plugin/

So to do this properly we/you should have a proper look at restarting the UX+daemons instead of rebooting the whole device or killing tasks under watchdog's ***. (Did not do it myself yet as restarting hildon-home did the job so far or the device was frozen and I needed to pull the battery because I tried something stupid
 

The Following 2 Users Say Thank You to chemist For This Useful Post: