How can I get Qnx to shut down my hardware?

Qnx seems to take control over the machine’s reboot and on/off button. When
I shut down the system it goes as far as displaying a photon message window:


  • All applications have been -
  •            terminated.             -
    
  •                                          -
    
  •    It is now safe for you      -
    
  • to turn off your computer. -

Thank you very much, I say, but in order to do this, I have to crawl down on
my knees behind a myriad of power cables and pull the plug :slight_smile:
Now I run both RedHat Linux 8.0 and Win2000 Advanced Server on this
hardware, and they both simply shutdown the machine.

What’s up?

Conrad Weyns

weyns@online.no sed in <b1im7l$duh$1@inn.qnx.com>:

Thank you very much, I say, but in order to do this, I have to crawl down on
my knees behind a myriad of power cables and pull the plug > :slight_smile:
Now I run both RedHat Linux 8.0 and Win2000 Advanced Server on this
hardware, and they both simply shutdown the machine.

Even RH 8 and Win2k won’t power-down for non-APM/ACPI machines.

Currently QNX doesn’t use APM/ACPI, which not all platforms have.
(x86 isn’t all of the world)

Now there’s no out-of-the-box foolproof solution,
the suggestion below depends on how you would invest effort(or money)

  • Tell “your sales rep” to custom engineer a powerdown feature
  • Engineer yourself a shutdown with powerdown feature
    (articles in qdn.public.qnxrtp.x86 may help)
  • Reboot into RH, Win2k, whatever and powerdown from there
  • Newer GRUB bootloader has “halt” which powerdowns
  • Branch a remote power button from the motherboard
    (most MBs will powerdown by pressing power sw for 4 secs)
  • Insert a remote power switch in the physical power line

    kabe

I don’t think QNX take control of your machine’s on/off button. I suppose
this is a
X86 PC, which usually setting the power button mode (hard reset/soft reset
…) in
it’s BIOS.

In stead of pulling the plug, press the on/off button, don’t release for 3-5
seconds,
see if that turns off your machine…

-xtang
Conrad Weyns <weyns@online.no> wrote in message
news:b1im7l$duh$1@inn.qnx.com

Qnx seems to take control over the machine’s reboot and on/off button.
When
I shut down the system it goes as far as displaying a photon message
window:


  • All applications have been -
  •            terminated.             -
    
  •                                          -
    
  •    It is now safe for you      -
    
  • to turn off your computer. -

Thank you very much, I say, but in order to do this, I have to crawl down
on
my knees behind a myriad of power cables and pull the plug > :slight_smile:
Now I run both RedHat Linux 8.0 and Win2000 Advanced Server on this
hardware, and they both simply shutdown the machine.

What’s up?

Conrad Weyns

<kabe@sra-tohoku.co.jp> skrev i melding news:b1jhb4$bjt$1@inn.qnx.com

weyns@online.no > sed in <b1im7l$duh$> 1@inn.qnx.com> >:

Thank you very much, I say, but in order to do this, I have to crawl
down on
my knees behind a myriad of power cables and pull the plug > :slight_smile:
Now I run both RedHat Linux 8.0 and Win2000 Advanced Server on this
hardware, and they both simply shutdown the machine.

Even RH 8 and Win2k won’t power-down for non-APM/ACPI machines.

Currently QNX doesn’t use APM/ACPI, which not all platforms have.
(x86 isn’t all of the world)

Ok, so since both HD 8 and Win2k can simply turn off the very same hardware
(without any change to the bios other than drive boot sequence) but Qnx
can’t and isn’t doing anything actively to prevent this, my bios setting
must be wrong somewhere and RH and W2k outsmarted this…

I’ll have another look. I am a total bios idiot as you probably figured out
allready :slight_smile:


Now there’s no out-of-the-box foolproof solution,
the suggestion below depends on how you would invest effort(or money)

  • Tell “your sales rep” to custom engineer a powerdown feature
  • Engineer yourself a shutdown with powerdown feature
    (articles in qdn.public.qnxrtp.x86 may help)
  • Reboot into RH, Win2k, whatever and powerdown from there
  • Newer GRUB bootloader has “halt” which powerdowns
  • Branch a remote power button from the motherboard
    (most MBs will powerdown by pressing power sw for 4 secs)

Thanks, this one did it! The things I don’t know…

Cheers,
Conrad

  • Insert a remote power switch in the physical power line

    kabe

weyns@online.no sed in <b1nqg7$6ck$1@inn.qnx.com>:

Ok, so since both HD 8 and Win2k can simply turn off the very same hardware
(without any change to the bios other than drive boot sequence) but Qnx
can’t and isn’t doing anything actively to prevent this, my bios setting
must be wrong somewhere and RH and W2k outsmarted this…

I’ll have another look. I am a total bios idiot as you probably figured out
allready > :slight_smile:
Before somebody else concludes something,

Your BIOS setting is correct.

  • Because you machine DO have APM/ACPI (APM Set Power State (07H) state=Off)

  • and RH/Win2k does use this function,

  • the machine can autonomously power-down.

  • QNX knows NOTHING about APM, so

  • it cannot power-down (in a stock QSSL-supplied configuration)

You can whipup a custom program to knock on APM
even from QNX, to power-down (I’ve been doing this)

kabe

<kabe@sra-tohoku.co.jp> skrev i melding news:b1nt6a$7sd$1@inn.qnx.com

weyns@online.no > sed in <b1nqg7$6ck$> 1@inn.qnx.com> >:

Ok, so since both HD 8 and Win2k can simply turn off the very same
hardware
(without any change to the bios other than drive boot sequence) but Qnx
can’t and isn’t doing anything actively to prevent this, my bios
setting
must be wrong somewhere and RH and W2k outsmarted this…

I’ll have another look. I am a total bios idiot as you probably figured
out
allready > :slight_smile:
Before somebody else concludes something,

Your BIOS setting is correct.

  • Because you machine DO have APM/ACPI (APM Set Power State (07H)
    state=Off)

  • and RH/Win2k does use this function,

  • the machine can autonomously power-down.

  • QNX knows NOTHING about APM, so

  • it cannot power-down (in a stock QSSL-supplied configuration)

Thanks Kabe! It’s all begining to make sense now.

You can whipup a custom program to knock on APM
even from QNX, to power-down (I’ve been doing this)

It’s ultimately “a goal” of mine, to learn to develop for Qnx - once I get
over some of the basic obstacles that is…
(Am I glad this forum is called “newbie” :slight_smile:

Conrad.


kabe

Conrad Weyns <weyns@online.no> wrote:

Currently QNX doesn’t use APM/ACPI, which not all platforms have.
(x86 isn’t all of the world)

Ok, so since both HD 8 and Win2k can simply turn off the very same hardware
(without any change to the bios other than drive boot sequence) but Qnx
can’t and isn’t doing anything actively to prevent this, my bios setting
must be wrong somewhere and RH and W2k outsmarted this…

I’ll have another look. I am a total bios idiot as you probably figured out
allready > :slight_smile:

It isn’t just you. Most people don’t know how to properly configure
their BIOS. The problem is that the BIOS documentation tells you how
to turn things on and off, but nothing tells you why you would want
to turn something on or off.

\

Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net