OS4 DepotLogo by Nickman 
(anonymous IP: 18.119.167.75,2257) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (148)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4398

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 File comments for:  Utility » Shell » poff.lha

Poff

Description: Shell/WB command to turn off the SAM460/X1000
Download: poff.lha
Version: 1.4
Date: 29 Jun 2013
Category: utility/shell
FileID: 8025
RSS Feed url: https://os4depot.net/modules/comments/rssfeed.php?file=utility/shell/poff.lha

[Back to readme page]   [Add Comment]   [Refresh page]

Comment by: Ddni (5.68.189.244)At: 21 Jan 2014, 12:29File version: 1.4
POff and snoopy do not play well together. If you reboot with POff and snoopy is running. I get a please insert Volume Snoopy request and a system lock up which requires a hard reset.
 
 
Comment by: jabirulo (88.8.113.2)At: 26 Jun 2013, 13:33File version: 1.3
RTFM ;-) README says:
-X1000 takes 4 seconds internaly to poweroff; so I substract 4 seconds
to the seconds (WAIT) user defined.

Don't know if it confuses, but alas X1000 takes 4 seconds after poweroff code/command is sent (you can check source)..

What does other X1000 users think about, should I remove such "trick"?

TIA
 
 
Comment by: walkero (94.71.224.132)At: 24 Jun 2013, 18:29File version: 1.3
Just tried the v1.3 on my X1000 and the wait counter lose 4 secs. When I set it up to 10 secs it counted from 6, and when I set it to 20 it started from 16.
 
 
Comment by: jacknife (78.171.29.113)At: 22 Jun 2013, 13:09File version: 1.3
thanks sinan .. turkish catologs files...
 
 
Comment by: Zettmaster (87.146.156.107)At: 21 Jun 2013, 20:58File version: 1.3
work great! thank you!
 
 
Comment by: Mozzerfan (77.168.0.169)At: 21 Jun 2013, 12:35File version: 1.2
Just tried V1.3. Works great !!! No more recoverable alert when using the abort option in the wait-window. Many thanks Jabirulo.
 
 
Comment by: jabirulo (81.38.129.134)At: 21 Jun 2013, 10:28File version: 1.2
V1.3 uploaded!!! Hoppe everything works fine :-) THX ALL
 
 
Comment by: jabirulo (81.39.107.101)At: 19 Jun 2013, 23:54File version: 1.2
@cha05e90: already asked, but unfortunately he said no (doing other stuff, too busy, other idea for such code) :-(
BTW is it possible to have peg2 Open/Smart fw (like SAM460 UBoot) sources?
TIA
 
 
Comment by: jabirulo (81.39.107.101)At: 19 Jun 2013, 23:15File version: 1.2
cooking poff update V1.3 :-)
Anyone that can test in a NON X1000/SAM460 will be nice. Drop my an email.
TIA
 
 
Comment by: samo79 (93.144.79.147)At: 19 Jun 2013, 21:46File version: 1.2
@jabirulo

Mail sent :-)
 
 
Comment by: Mozzerfan (77.168.0.169)At: 19 Jun 2013, 19:29File version: 1.2
@jabirulo
I think you have misunderstood me.
Poff works (poweroff works and reboot works), but with v1.2 when using the ASK tooltype, the user can cancel the selected action by using the abort option (when it shows the 'wait' window. you call it 'THE LAST CHANCE' reaction window in the doc). That's when I get the recoverable alert (when I select 'abort' in the 'wait' window).
Sorry that I wasn't very clear.
 
 
Comment by: Mozzerfan (77.168.0.169)At: 19 Jun 2013, 19:09File version: 1.2
@jabirulo
I think you have misunderstood me.
Poff works (poweroff works and reboot works), but with v1.2 when using the ASK tooltype, the user can cancel the selected action by using the abort option (when it shows the 'wait' window. you call it 'THE LAST CHANCE' reaction window in the doc). That's when I get the recoverable alert (when I select 'abort' in the 'wait' window).
Sorry that I wasn't very clear.
 
 
Comment by: jabirulo (81.39.107.101)At: 19 Jun 2013, 17:56File version: 1.2
@samo79: I created a version that if no SAM460/X1000 POWEROFF button is not shown.
Wanna test? my email is jabierdlrATgmail.com and will send you poff exec. :-D
 
 
Comment by: jabirulo (81.39.107.101)At: 19 Jun 2013, 17:16File version: 1.2
@Mozzerfan: if you just use it from SHELL/CLI 'poff' and no args does it work? If it works, try again from SHELL/CLI 'poff 3' and if again it works try 'poff 3 SYNC' and tell me results. TIA
 
 
Comment by: jabirulo (81.39.107.101)At: 19 Jun 2013, 17:13File version: 1.2
@samo79: well .readme says SAM460/X1000!!! ;-) and I don't know if you use SYNC and your machine isn't supported howto UN-SYNC volumes. Maybe an extra check if no SAM460/X1000 and just exist with 'Oops'.
 
 
Comment by: Mozzerfan (77.168.0.169)At: 19 Jun 2013, 14:52File version: 0.6
Hi, First of all, thank you for this new version.
I just tried v1.2 on my sam460, and when selecting abort after choosing any option (poweroff, reboot) I get a recoverable alert (error 0100000F) and the system hangs, so I have to use the power button to reset my system.
 
 
Comment by: samo79 (93.144.91.135)At: 19 Jun 2013, 13:50File version: 0.6
Tried version 1.2 on my Sam440 Flex and i think you need to add a better check for this machine, an extra check for the PowerOff option is needed when a platform cannot support this functionality

If i use this option on my machine i got the usual error: "Ops machine non supported" but then even if i skip the error i got a series of DOS requester that block my machine completely --> Insert a disk etc
 
 
Comment by: cha05e90 (194.114.62.72)At: 19 Jun 2013, 11:24File version: 0.6
You might ask Cyborg (Costel Mincea, OS4 developer) for the sources of "pegoff". It would be nice to incorporate all "soft off" capable systems into one CLI tool.
 
 
Comment by: TSK (84.248.40.19)At: 16 Jun 2013, 01:18File version: 0.6
Version 0.6 works on my X1000.

SendApplicationMsg() can be used to send Quit message to all apps, which have registered themselves in application.library at run time, to tell them to quit.
 
 
Comment by: jabirulo (83.36.119.21)At: 10 Jun 2013, 13:58File version: 0.5
sorry, can't add pegoff poweroff, don't have sources. :-(
It didn't poweroff your X1000? The SYNC option is not 1:1 code alike (don't have such sources).
Will check ASAP what IApplication->SendApplicationMsg does.
For netshudown, you just can create a script with:
NETSHUTDOWN
WHATEVERYOULIKE
POFF
 
 
Comment by: TSK (84.248.40.19)At: 09 Jun 2013, 14:29File version: 0.5
Well, it didn't work on my X1000. That SYNC feature was quite slow and slower than the same feature in Reboot command.

Is it possible you could add PegOff into it as well ?

Could you add: IApplication->SendApplicationMsg(0,0,0,APPLIBMT_Quit) to your program. And maybe even ability to run Netshutdown command as well. Or ability to run a script before powering off (to shutdown Apache for example and so on).
 
 
Comment by: jabirulo (83.38.183.8)At: 09 Jun 2013, 13:30File version: 0.5
Sorry don't know if such feature (poweroff via soft) is available on A1-XE. Will try to check it.
 
 
Comment by: Spektro (84.248.117.99)At: 09 Jun 2013, 13:24File version: 0.5
Poff cannot be made to work on AmigaOne?
 
 
Comment by: Joeled (83.253.19.244)At: 09 Jun 2013, 13:16File version: 0.5
Working nice on Sam460. Thanks.
 
 
Comment by: jabirulo (83.38.183.8)At: 09 Jun 2013, 12:06File version: 0.5
Yes!! THX for testing :-D
 
 
Comment by: zzd10h (62.39.242.249)At: 09 Jun 2013, 10:49File version: 0.5
Works well on X1000 !
 
 
Comment by: imagodespira (88.73.218.154)At: 09 Jun 2013, 10:22File version: 0.5
Many thanks! I added it now in my Workbenchmenu (via AddMenu -> Arexx). Works great.
 
 

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