Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)

    Reply
    Page 18 of 20 | Prev | 8   16     17   18   19     20   | Next
    noobmonkey | # 171 | 2010-02-25, 07:47 | Report

    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....

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mackan1 | # 172 | 2010-02-25, 09:45 | Report

    lovein the bigger fonts,

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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to mackan1 For This Useful Post:
    noobmonkey

     
    noobmonkey | # 173 | 2010-02-25, 09:47 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mackan1 | # 174 | 2010-02-26, 05:51 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to mackan1 For This Useful Post:
    noobmonkey

     
    noobmonkey | # 175 | 2010-02-26, 08:31 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    noobmonkey | # 176 | 2010-02-26, 16:11 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 177 | 2010-02-26, 16:17 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Rob1n For This Useful Post:
    noobmonkey

     
    noobmonkey | # 178 | 2010-02-26, 16:17 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 179 | 2010-02-26, 16:19 | Report

    Originally Posted by noobmonkey View Post
    ahhhh - works via my app, or works by running it in terminal?
    Works via your app.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Rob1n For This Useful Post:
    noobmonkey

     
    fatalsaint | # 180 | 2010-02-26, 17:06 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to fatalsaint For This Useful Post:
    noobmonkey

     
    Page 18 of 20 | Prev | 8   16     17   18   19     20   | Next
vBulletin® Version 3.8.8
Normal Logout