Sleep mode

Hi,

Has Photon possibility to switch to textmode and return
without affection of running Photon aplications ?
(like so called sleep mode in QNX Windows)

Thanks for advice

Andy

andy@microstep-mis.com wrote:

Hi,

Has Photon possibility to switch to textmode and return
without affection of running Photon aplications ?
(like so called sleep mode in QNX Windows)

Thanks for advice

Andy

ping,

really nobody knows ?

if there is no sleep mode, it would be fine
to set up pcterm to “whole screen” mode also.

I imagine that this could be done by slaying your graphic driver and input
drivers. When done with text mode you could then reload the input and
graphics drivers WITHOUT reloading photon.

I don’t know that that would automatically put the screen back into text
mode not automatically give you back use of the keyboard, etc. I also don’t
know that slaying and/or reloading input WONT send any events to photon apps
that they might choose to react to.

If I wanted to try this I would read through the ‘ph’ script to see how it
starts the drivers it starts.

<andy@microstep-mis.com> wrote in message
news:a7v6rr$d4b$2@charon.microstep-mis.sk

andy@microstep-mis.com > wrote:
Hi,

Has Photon possibility to switch to textmode and return
without affection of running Photon aplications ?
(like so called sleep mode in QNX Windows)

Thanks for advice

Andy

ping,

really nobody knows ?

if there is no sleep mode, it would be fine
to set up pcterm to “whole screen” mode also.

“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:

I imagine that this could be done by slaying your graphic driver and input
drivers. When done with text mode you could then reload the input and
graphics drivers WITHOUT reloading photon.

Yup, just run crttrap start and inputtrap start.

I don’t know that that would automatically put the screen back into text
mode not automatically give you back use of the keyboard, etc. I also don’t

It will. When you Ctrl-Alt-Shift-Backspace out of Photon, Photon drops
a SIGHUP on all running apps and drivers. If you use slay -shup, your
drivers won’t even be able to tell that that’s not what’s happening…

know that slaying and/or reloading input WONT send any events to photon apps
that they might choose to react to.

If you slay your graphics driver, your virtual consoles get resized to
one pixel each. This can affect apps that do math based on your screen
size while you have no screen (for instance, to center a popup window on
the current console). But otherwise, you should be OK…


Wojtek Lerch QNX Software Systems Ltd.

Thanks Wojtek. This is useful information. Is it documented anywhere?

“Wojtek Lerch” <wojtek_l@yahoo.ca> wrote in message
news:a7vu6a$do4$1@nntp.qnx.com

“Bill Caroselli (Q-TPS)” <> QTPS@earthlink.net> > wrote:
I imagine that this could be done by slaying your graphic driver and
input
drivers. When done with text mode you could then reload the input and
graphics drivers WITHOUT reloading photon.

Yup, just run crttrap start and inputtrap start.

I don’t know that that would automatically put the screen back into text
mode not automatically give you back use of the keyboard, etc. I also
don’t

It will. When you Ctrl-Alt-Shift-Backspace out of Photon, Photon drops
a SIGHUP on all running apps and drivers. If you use slay -shup, your
drivers won’t even be able to tell that that’s not what’s happening…

know that slaying and/or reloading input WONT send any events to photon
apps
that they might choose to react to.

If you slay your graphics driver, your virtual consoles get resized to
one pixel each. This can affect apps that do math based on your screen
size while you have no screen (for instance, to center a popup window on
the current console). But otherwise, you should be OK…


Wojtek Lerch QNX Software Systems Ltd.

“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:

Thanks Wojtek. This is useful information. Is it documented anywhere?

I don’t know… I’ve never thought of looking for it in the docs… :slight_smile:

\

Wojtek Lerch QNX Software Systems Ltd.