AminetAminet
Search:
84479 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/pegoff.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:CLI command to power down a Pegasos 2
Author:Costel Mincea
Uploader:cyborg stackswap net (Costel Mincea)
Type:util/cli
Version:1.0
Requires:Pegasos II w/ OS4.1+
Architecture:ppc-amigaos >= 4.1.0
Kurz:CLI Kommando zum Abschalten des Pegasos
Date:2009-08-04
Download:http://aminet.net/util/cli/pegoff.lha - View contents
Readme:http://aminet.net/util/cli/pegoff.readme
Downloads:585

### Deutsche Version weiter unten ###

Now and then I was seeing some otherwise happy Pegasos II/OS4 users asking
for another way to power down their Pegasos than holding down the power button
for a few seconds... so I spent unbelievable 5 minutes to write this little
nifty CLI tool which allows those users to power down their Peg without
pushing the button.. actually, writing this readme took me longer by far than
writing the tool ;)


INSTALLATION

Simply copy the tool to C: or whereever you want.


USAGE

Just call it! No parameters, no GUI, no other mambojambo ;)


KNOWN PROBLEMS

Pressing the power button on a Pegasos II causes a SMI which should be handled
by a handler which in turn should power off the machine.

Unfortunately the SmartFirmware implementation of the Pegasos II seems to have
(yet another) bug which turns the "power-off" command into a "system-reboot"
command after the SMI occurred. This is why OS4 uses the "hold-the-button-for-
some-secs" method instead.

This means for 'pegoff' if you call it *after* pressing the power button
(shortly) your Pegasos II will do a cold reboot instead of power off!

That's nothing I could do anything about it, so please don't send 'bugreports'
about that issue. Thank you!

(BTW: MorphOS has the very same problem with it's power-off Ambient menu item
and will also only do a reboot after the power button was pressed even though
you choose 'power down' in the requester.)


### Deutsche Version ###

Immer mal wieder sah ich ansonsten glückliche Pegasos II/OS4 Benutzer nach
einem anderen Weg ihren Pegasos aus zu schalten als den Gehäuseschalter für
einige Sekunden zu drücken... also investierte ich unglaubliche 5 Minuten, um
dieses kleine aber feine CLI Kommando zu schreiben, das diesen Benutzern
erlaubt deren Peg ohne Knopfdrücken aus zu schalten.. tatsächlich brauchte ich
viel länger dieses Readme zu schreiben als das Kommando selbst ;)


INSTALLATION

Einfach das Kommando nach C: kopieren oder wohin Du auch immer willst.


BENUTZUNG

Ruf es einfach auf! Keine Parameter, keine Oberfläche, kein anderes Heckmeck ;)


BEKANNTE PROBLEME

Das Drücken des Gehäuseschalters an einem Pegasos II verursacht einen SMI, der
von einem Handler abgefangen werden sollte, welcher wiederum die Maschine
ausschalten sollte.

Leider scheint die SmartFirmware Implementierung des Pegasos II (einen weiteren)
Fehler zu haben welcher das "Ausschalten" Kommando in ein "Neustart" Kommando
verwandelt nachdem der SMI auftauchte. Darum benutzt OS4 die "halte-den-Knopf-
für-ein-paar-Sekunden" Methode.

Dies bedeutet für 'pegoff', daß Dein Pegasos II einen Systemneustart anstelle
des Abschaltens machen wird, wenn es aufgerufen wird *nachdem* der Gehäuse-
schalter (kurz) gedrückt wurde.

Dagegen kann ich Nichts machen, also bitte keine 'Fehlerberichte' wegen diesem
Verhaltens schicken. Danke!

(Übrigens: MorphOS hat genau das gleiche Problem mit seinem 'Verlassen' Ambient
Menüeintrag und wird auch nur einen Neustart machen nachdem der
Gehäuseschalter
gedrückt wurde, obwohl man 'Abschalten' im Requester wählte.)



Contents of util/cli/pegoff.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  594    1196  49.7% -lh5- 7f4e Aug  4 15:43 pegoff
[generic]                 1705    3390  50.3% -lh5- 0cb5 Aug  4 17:11 pegoff.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    2299    4586  50.1%            Aug  4 15:59

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>