Page 1 of 1

How to turn off my computer completly

Posted: Thu 26 Feb 2009, 01:18
by napi
First, sorry for my bad English but I don't have another.

In the Spanish forum don't have an asked for this problem.
I'm an user of puppy 3 since one year (more or less) . I don't had great problems with it, but recently, I have changed my old computer (11 years old) for another very much new (8 years old). In this "new computer", I have installed Mcpup foxy (based in puppy 4.1).

All work perfectly but, when I want turn off the computer: the operating system shutdown correctly Even though the computer don't turn off. That isn't a great problem but itÅ› annoying.

in advance thank you so much.
Regards for the English forum from Spain.

Posted: Thu 26 Feb 2009, 01:35
by Bruce B
No se mucho de macpup

Sin embargo, pienso que la uniqa manera en su situacion es apagar el boton. Por que unos computadores no se obedecen el commando de apagar automaticamente.

Disculpe mi pobre Espanol.

Thank's

Posted: Thu 26 Feb 2009, 01:58
by napi
Thank's for ask me Bruce :D .
If there aren't another solution then I will continue make that. :roll:

Posted: Thu 26 Feb 2009, 03:14
by Bruce B
mira, otra manera, no se va a trabajar, pero se peude experimentar

/sbin/poweroff

Code: Select all

#!/bin/sh

/etc/rc.d/rc.shutdown (como es)

exec /bin/busybox poweroff
para usar fuerza

Code: Select all

[/] busybox poweroff --help
BusyBox v1.8.2 (2007-11-30 09:20:42 GMT-8) multi-call binary

Usage: poweroff [-d delay] [-n] [-f]

Halt and shut off power

Options:
        -d      Delay interval for halting
        -n      No call to sync()
        -f      Force power off (don't go through init)

[/] 
experimentar con -f y quizas tambien -d

ejemplo

/sbin/poweroff (cambiado)

Code: Select all

#!/bin/sh

/etc/rc.d/rc.shutdown

exec /bin/busybox poweroff -f
con el -f es usar fuerza

Posted: Thu 26 Feb 2009, 11:56
by napi
Thank's Bruce.
I'll try it. If I will obtain something comentat it.
See you soon :D

Posted: Thu 26 Feb 2009, 17:13
by mikeb
acpi may not be enabled as there is / was a cut off date for enabling it..
the boot option
puppy acpi=force
can be used to check.

If acpi is a problem apm can be used
modprobe apm
to test that

hope that helps

mike

Posted: Fri 27 Feb 2009, 03:44
by silverojo
Can we have the full explanation of this in English? Thanks!

Posted: Fri 27 Feb 2009, 09:34
by Bruce B
silverojo,

Napi changed computers, with the newer one poweroff didn't work.

I told him it doesn't always and use the switch.

Then I suggested maybe tell the busybox poweroff command to force it off using the -f switch.

Bruce