Quote:
Originally Posted by Shaggy
We're assuming that the screen is directly related to whether or not it's in standby mode, which may not be true. Can it go into standby without blanking the screen, or can it blank the screen and not be in standby correctly? Both are theoretically possible.
|
\sysd-3.0+3.0+svnr5463\sysd\src\system.c
Code:
static void prepare_standby()
{
LOGPRINTF("entry");
if ( (device_state == STATE_DEVICE_STOPPING) || /* preparing power off */
(power_state == STATE_POWER_STANDBY) || /* preparing standby */
(power_state == STATE_POWER_IDLE) || /* preparing idle */
((usb_state == STATE_USB_UNMOUNTED) && (g_usb_device_source != 0)) ) /* polling for USB charger/host */
{
LOGPRINTF("Don't enter standby now! (device_state [%d] power_state [%d] usb_state [%d][%d])",
device_state, power_state, usb_state, g_usb_device_source);
return;
}
power_state = STATE_POWER_STANDBY;
// display updates are suppressed from here
LOGPRINTF("Prepare standby");
// standby preparations by sysd
display_blank();
ipc_send_prepare_standby();
conn_stop();
g_timeout_add(PREPARE_STANDBY_TIMEOUT_MS, on_check_standby, NULL);
}
It looks like it blanks the screen first (display_blank) before sending a standby signal to the system (ipc_send_prepare_standby) and finally stopping any connections (conn_stop). So certainly there is still things to do after the display blanks.
I wonder if just blanking out the display_blank line will achieve the "always on" look that some people want.
Further digging shows that the wacom can either be disabled or left alone to automatically go into low power mode, where it reads the digitizer at 8pps (points per second) instead of 133pps.
I'm no coder but this is what I think I see.