OS4 DepotLogo by Alessandro Bacchia 
(anonymous IP: 13.58.247.31,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1005)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4366

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Shell » pegoff.lha

Pegoff

Description: CLI command to power down your Pegasos II
Download: pegoff.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2kb
Version: 1.0
Date: 12 Sep 2009
Author: Costel Mincea
Submitter: Costel Mincea
Category: utility/shell
License: Freeware
Distribute: yes
Min OS Version: 4.1
FileID: 5052
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 423  (Current version)
422  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Original version on Aminet. Reuploaded here on os4depot as some people seem to
not check AmiNet.


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



Copyright © 2004-2024 by Björn Hagström All Rights Reserved