nanogui: VTSWITCH vs. Timers vs. Sleep Mode


Previous by date: 30 Nov 2006 23:55:33 +0000 Re: screenshots, Greg Haerr
Next by date: 30 Nov 2006 23:55:33 +0000 Re: GsHandleClient request too large, Greg Haerr
Previous in thread: 30 Nov 2006 23:55:33 +0000 VTSWITCH vs. Timers vs. Sleep Mode, Gil Glass
Next in thread: 30 Nov 2006 23:55:33 +0000 Re: VTSWITCH vs. Timers vs. Sleep Mode, Gil Glass

Subject: Re: [nanogui] VTSWITCH vs. Timers vs. Sleep Mode
From: "Greg Haerr" ####@####.####
Date: 30 Nov 2006 23:55:33 +0000
Message-Id: <013f01c714da$fe1c1db0$6401a8c0@winXP>

> HOWEVER, I've come to realize that the reason I had VTSWITCH set to 'Y'
is because if it is not, then I cannot place my hardware into sleep mode
using the power manager, i.e. writing "mem" to /sys/power/state.  I
don't understand how VTSWITCH and the power state are connected but if I
have VTSWITCH set to 'N', then the unit just hangs up and does not enter
the sleep state.

 Hmmm.  You should study the vtswitch.c code carefully, I can
think of a couple possibilities: perhaps without vtswitch, the system
never assigns a text console and it can't determine when the system
should sleep?  Also try commenting out a few lines of the vtswitch
code while enabled, (like the signal() calls, then ioctl()s).  This
will give a better understanding of what is required for your
power manager.

Regards,

Greg


Previous by date: 30 Nov 2006 23:55:33 +0000 Re: screenshots, Greg Haerr
Next by date: 30 Nov 2006 23:55:33 +0000 Re: GsHandleClient request too large, Greg Haerr
Previous in thread: 30 Nov 2006 23:55:33 +0000 VTSWITCH vs. Timers vs. Sleep Mode, Gil Glass
Next in thread: 30 Nov 2006 23:55:33 +0000 Re: VTSWITCH vs. Timers vs. Sleep Mode, Gil Glass


Powered by ezmlm-browse 0.20.