Active Topics

 


Reply
Thread Tools
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#21
Some breakthrough... I managed to find the process and kill it, but how do I set the time to kill the process??

 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#22
The sleep command should work for that.. i've seen others use the sleep successfully.

sleep 3600 ; kill <id>
__________________
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:
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#23
Originally Posted by fatalsaint View Post
The sleep command should work for that.. i've seen others use the sleep successfully.

sleep 3600 ; kill <id>
Thanx Buddy, it worked!!
just one more thing, is there a way to "kill" the system and force it to shutdown? Which process should I look for?

 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#24
I thought that's what you had found. I don't know the answer to that. Typically, killing processes isn't the best way to shutdown a device.

It really surprises me that none of these commands work to shutdown the system:

shutdown, init 0, reboot
__________________
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!
 
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#25
shutdown

~ $ shutdown
~sh: shutdown: command not found


the same for bash
init: command not found

sleep 5
works fine

as most of shell commands comes with a box
mayby a box for Maemo 5
comes with different set of shell commands.
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#26
Originally Posted by Darius2006 View Post
shutdown

~ $ shutdown
~sh: shutdown: command not found


the same for bash
init: command not found

sleep 5
works fine

as most of shell commands comes with a box
mayby a box for Maemo 5
comes with different set of shell commands.
Thanx again Dariius, can you identify for me the processes for the internet browser and the internet radio player?

 
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#27
in my case search for
/usr/bin/browser
process with lowest PID
running
ps -a

started internet radio applet
and a number of processes
/usr/bin/osso-media-server
appeared

Try to run ps -a
with web browser off and on
to see a difference.

The same for internet radio player.

You can save ps -a listing to a file
ps -a > yourfilename.txt
than open it in editor or file viewer.

But please run CLI commands, as below
and send screenshots

===
In my case (Nokia 770)
I have installed bash shell 3.2
I can run bash from CLI

~ $ bash
bash-3.2$

bash-3.2$ shutdown 1 -h
( no need for sudo gainroot)

rebooted after 1 min (the above)

============
=======================================

$ sudo gainroot

/home/user # shutdown 1 -h

shutdown 1
shut down and reboot after 1 min

shutdown 1 -hP

shut down and powered off
 
trin20t's Avatar
Posts: 96 | Thanked: 11 times | Joined on Mar 2009 @ Cincy,Ohio
#28
Originally Posted by rmarcus View Post
Thank you Darius, so much, I tried all those commands, but still nothing here, do you think it could be something related to compatibility to Maemo 5?

It is. This works only in Maemo 2 and 3.
__________________
Two Nokia 770's AND LOVIN' IT!

OS 2007HE
 
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#29
Thanks.
So it looks like list of shell commands supported by Maemo 5 BusyBox
is limited.
You can list all of the them from CLI.

BusyBox v1.4.1 (2007-03-12) Built-in shell (ash)
comes with 2007He OS

Please run help from CLI to list shell commands.
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#30
thanx to all of you and my persistency I managed to find out the right command. First install the gainroot access, only then in the xterm you type "sudo gainroot" to gain root access then you type "sleep 60 ; poweroff", 60 being in seconds.
It will as suggested, shut down the whole system.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:06.