Reply
Thread Tools
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#171
Originally Posted by mackan1 View Post
i see there has been 2 new updates sins ur last post. anything new?

yup Bigger fonts and attempting to show Firmware version in an understandable way (So PR 1.1 etc....
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 134 | Thanked: 42 times | Joined on Feb 2010
#172
lovein the bigger fonts,

is the front cam alwasy dark and back to front? or is it just my one
 

The Following User Says Thank You to mackan1 For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#173
Originally Posted by mackan1 View Post
lovein the bigger fonts,

is the front cam alwasy dark and back to front? or is it just my one
Allways dark - works ok outside i find

Back to front? - it acts as a mirror image i think.
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 134 | Thanked: 42 times | Joined on Feb 2010
#174
Hey. nice update but system reboot does not work. i think also a bigger button would also be nicer to tuch. when more tools come in to the system that is
 

The Following User Says Thank You to mackan1 For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#175
hiMackan, sorry doing the updates in the other post - getting a bit confusing having it in two!

Was just a quick test, works on mine, but i'll figure out why not on others

No idea what i'm putton on that page yet, so not concentrating on layout until i know what i need to lay out.
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#176
Hey everyone, coding question....

Looking at calling some commands that need root on the device....
running this command on my phone via my python app works... but doesn't seem to work elsewhere....

Code:
sudo /sbin/reboot
Should i
a) not be calling commands like this.... (Would kinda scupper my plans!!)
b) be doing it a different way
c) something else... lol
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#177
Originally Posted by noobmonkey View Post
Hey everyone, coding question....

Looking at calling some commands that need root on the device....
running this command on my phone via my python app works... but doesn't seem to work elsewhere....

Code:
sudo /sbin/reboot
Should i
a) not be calling commands like this.... (Would kinda scupper my plans!!)
b) be doing it a different way
c) something else... lol
It works here as well - it may depend on rootsh having been installed.
 

The Following User Says Thank You to Rob1n For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#178
Originally Posted by Rob1n View Post
It works here as well - it may depend on rootsh having been installed.
ahhhh - works via my app, or works by running it in terminal?
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#179
Originally Posted by noobmonkey View Post
ahhhh - works via my app, or works by running it in terminal?
Works via your app.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#180
I think that will depend if you guys have modified your sudoers file for something else previously.

Normally I don't think running sudo "command" on the N900 will work even with rootsh..

Rootsh allows you to run "sudo gainroot" to get root, then the command. Sudo <commands> still ask for a password (in my understanding.)

So what you would want normally I think would be something like:

Code:
echo /sbin/reboot | sudo gainroot
and depend your app on rootsh.. although I don't think depending on rootsh is a good idea.

There must be some kind of API in dbus or somewhere to tell the device to reboot properly instead of running shell commands.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Reply

Tags
code, health check, n900, python


 
Forum Jump


All times are GMT. The time now is 18:44.