OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: guscpu on March 18, 2008, 04:03:38 pm
-
Have done a shutdown after exiting the GUI as follows
shutdown -h 1
Z shuts down but when i press the power button to reboot nothing happens. The only way it seems to restart is to pull the battery, why does this happen.
If i want to shutdown the Z to conserve power what should i be doing so i can reboot it without having to pull the power each time?
Cheers
Gus
-
Have you tried
shutdown -h now
? That's how I normally shut down from the CLI.
-
Why anyone needs shutdown at all ?
I do suspend always - never ever had any problems.
-
Have you tried
shutdown -h now
? That's how I normally shut down from the CLI.
same problem, I'm afraid.
-
I remember from way back in the days the C7xx came out that there was a number of threads on this topic. I can't seem to find them now, but it had something to do with the way the power button is wired. The Z is not designed to be shutdown, but suspended.
The power button doesn't actually power on the device, and when shutdown the unit can't receive the signal from the button. Removing the battery puts the unit back in a state where it can receive the power button signal.
The take home message that I got from the discussion was - don't use shutdown unless you are willing to pull the battery to restart.
Cheers
Stu
-
I remember from way back in the days the C7xx came out that there was a number of threads on this topic. I can't seem to find them now, but it had something to do with the way the power button is wired. The Z is not designed to be shutdown, but suspended.
The power button doesn't actually power on the device, and when shutdown the unit can't receive the signal from the button. Removing the battery puts the unit back in a state where it can receive the power button signal.
The take home message that I got from the discussion was - don't use shutdown unless you are willing to pull the battery to restart.
Cheers
Stu
Thanks Stu that seems to bear out from what I've seen
Gus
-
I remember from way back in the days the C7xx came out that there was a number of threads on this topic. I can't seem to find them now, but it had something to do with the way the power button is wired. The Z is not designed to be shutdown, but suspended.
The power button doesn't actually power on the device, and when shutdown the unit can't receive the signal from the button. Removing the battery puts the unit back in a state where it can receive the power button signal.
The take home message that I got from the discussion was - don't use shutdown unless you are willing to pull the battery to restart.
Cheers
Stu
In that case is there any way of putting the Z into suspend mode from the Command Line Interface?
-
I remember from way back in the days the C7xx came out that there was a number of threads on this topic. I can't seem to find them now, but it had something to do with the way the power button is wired. The Z is not designed to be shutdown, but suspended.
The power button doesn't actually power on the device, and when shutdown the unit can't receive the signal from the button. Removing the battery puts the unit back in a state where it can receive the power button signal.
The take home message that I got from the discussion was - don't use shutdown unless you are willing to pull the battery to restart.
Cheers
Stu
In that case is there any way of putting the Z into suspend mode from the Command Line Interface?
apm --suspend
-
I remember from way back in the days the C7xx came out that there was a number of threads on this topic. I can't seem to find them now, but it had something to do with the way the power button is wired. The Z is not designed to be shutdown, but suspended.
The power button doesn't actually power on the device, and when shutdown the unit can't receive the signal from the button. Removing the battery puts the unit back in a state where it can receive the power button signal.
The take home message that I got from the discussion was - don't use shutdown unless you are willing to pull the battery to restart.
Cheers
Stu
In that case is there any way of putting the Z into suspend mode from the Command Line Interface?
apm --suspend
tried suspend already....
bash: suspend: cannot suspend a login shell
-
I see by your signature, you are running pdaxii13.
Have you tried "Suspend" on the menu?
My C3200 suspends immediately after clicking it.
-
I see by your signature, you are running pdaxii13.
Have you tried "Suspend" on the menu?
My C3200 suspends immediately after clicking it.
From the GUI suspend works, but am wondering is there an equivalent for the CLI.
Thanks
-
I was looking for something else, and found the script that is tied to the "Suspend" icon on the start menu.
It's located here
/usr/apps/suspend
In Rox filer, you need to navagate to /usr/apps/ then right-click on Suspend and select "Look inside"
This will open the "Suspend" folder (is it actually a folder? Rox makes it appear to be).
Inside this folder is the script called "AppRun". This is what actually "suspends" your Zaurus.
I opened it in a text editor, and below is the script.
I just pasted the second line into a terminal, hit enter, and my Zaurus suspended immediately.#!/bin/sh
exec xset dpms force off "$@"
-
I was looking for something else, and found the script that is tied to the "Suspend" icon on the start menu.
It's located here
/usr/apps/suspend
In Rox filer, you need to navagate to /usr/apps/ then right-click on Suspend and select "Look inside"
This will open the "Suspend" folder (is it actually a folder? Rox makes it appear to be).
Inside this folder is the script called "AppRun". This is what actually "suspends" your Zaurus.
I opened it in a text editor, and below is the script.
I just pasted the second line into a terminal, hit enter, and my Zaurus suspended immediately.#!/bin/sh
exec xset dpms force off "$@"
Wow will give that a try, nice work I think