F21 Final RC1 - Xfce screensave not turning off backlight
Robert Moskowitz
rgm at htt-consult.com
Wed Dec 3 20:18:15 UTC 2014
On 12/02/2014 09:28 PM, Mukundan Ragavan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 12/02/2014 04:28 PM, Robert Moskowitz wrote:
>> On 12/01/2014 09:31 PM, Mukundan Ragavan wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
>>>
>> Just tested screen blanking using the Final RC2 Live workstation
>> that boots Gnome. It is set (on battery) to blank the screen at 5
>> minutes. It did just that. The screen is off. Turn off the light
>> in my office and the screen is dark, unlike the Xfce install which
>> still has the backlight on.
>>
>> I will be installing the RC2 Xfce via the netinst CD tonight or
>> tomorrow...
>>
>> I noticed in the booting a message from the kernel:
>>
>> Dec 02 17:04:12 localhost kernel: thinkpad_acpi: Unsupported
>> brightness interface, please contact
>> ibm-acpi-devel at lists.sourceforge.net Dec 02 17:04:12 localhost
>> kernel: thinkpad_acpi: This ThinkPad has standard ACPI backlight
>> brightness control, supported by the ACPI video driver Dec 02
>> 17:04:12 localhost kernel: thinkpad_acpi: Disabling thinkpad-acpi
>> brightness events by default... Dec 02 17:08:21 localhost
>> gnome-session[1593]: Gjs-Message: JS LOG: The property brightness
>> doesn't seem to be a normal object property of [0x303c920 StWidget]
>> or a registered special property Dec 02 17:13:00 localhost
>> pkexec[2413]: liveuser: Executing command [USER=root] [TTY=unknown]
>> [CWD=/home/liveuser] [COMMAND=/usr/libexec/gsd-backlight-helper
>> --set-brightness 4] Dec 02 17:19:04 localhost pkexec[2427]:
>> liveuser: Executing command [USER=root] [TTY=unknown]
>> [CWD=/home/liveuser] [COMMAND=/usr/libexec/gsd-backlight-helper
>> --set-brightness 15] Dec 02 17:19:12 localhost gnome-session[1593]:
>> Gjs-Message: JS LOG: The property brightness doesn't seem to be a
>> normal object property of [0x4929520 StWidget] or a registered
>> special property
>>
>> Gnome does seem to know how to turn off the screen. So I decided
>> to go back to the Xfce and check the journalctl from yesterday's
>> testing:
>>
>> Dec 01 23:02:24 lx120e.htt-consult.com kernel: [Firmware Bug]:
>> ACPI: No _BQC method, cannot determine initial brightness Dec 01
>> 23:02:25 lx120e.htt-consult.com kernel: thinkpad_acpi: Unsupported
>> brightness interface, please contact
>> ibm-acpi-devel at lists.sourceforge.net Dec 01 23:02:25
>> lx120e.htt-consult.com kernel: thinkpad_acpi: This ThinkPad has
>> standard ACPI backlight brightness control, supported by the ACPI
>> video driver Dec 01 23:02:25 lx120e.htt-consult.com kernel:
>> thinkpad_acpi: Disabling thinkpad-acpi brightness events by
>> default... Dec 01 23:03:00 lx120e.htt-consult.com kernel: [Firmware
>> Bug]: ACPI: No _BQC method, cannot determine initial brightness Dec
>> 01 23:03:01 lx120e.htt-consult.com kernel: thinkpad_acpi:
>> Unsupported brightness interface, please contact
>> ibm-acpi-devel at lists.sourceforge.net Dec 01 23:03:01
>> lx120e.htt-consult.com kernel: thinkpad_acpi: This ThinkPad has
>> standard ACPI backlight brightness control, supported by the ACPI
>> video driver Dec 01 23:03:01 lx120e.htt-consult.com kernel:
>> thinkpad_acpi: Disabling thinkpad-acpi brightness events by
>> default... Dec 01 23:03:53 lx120e.htt-consult.com kernel: [Firmware
>> Bug]: ACPI: No _BQC method, cannot determine initial brightness Dec
>> 01 23:03:54 lx120e.htt-consult.com kernel: thinkpad_acpi:
>> Unsupported brightness interface, please contact
>> ibm-acpi-devel at lists.sourceforge.net Dec 01 23:03:54
>> lx120e.htt-consult.com kernel: thinkpad_acpi: This ThinkPad has
>> standard ACPI backlight brightness control, supported by the ACPI
>> video driver Dec 01 23:03:54 lx120e.htt-consult.com kernel:
>> thinkpad_acpi: Disabling thinkpad-acpi brightness events by
>> default... Dec 01 23:04:09 lx120e.htt-consult.com pkexec[1277]:
>> rgm: Executing command [USER=root] [TTY=unknown] [CWD=/]
>> [COMMAND=/usr/sbin/xfpm-power-backlight-helper
>> --set-brightness-switch 0] Dec 01 23:23:50 lx120e.htt-consult.com
>> pkexec[1553]: rgm: Executing command [USER=root] [TTY=unknown]
>> [CWD=/] [COMMAND=/usr/sbin/xfpm-power-backlight-helper
>> --set-brightness 15]
>>
>> Perhaps this will help.
>>
>>
> Thank you.
>
> Can you also try one more thing -
>
> kill xfce4-power-maanger using xfce4-power-manager -q
>
> Then, restart it using
>
> xfce4-power-manager --debug
>
> and see what it says.
>
> If I have no clue, I will at least open an upstream bug.
Here you are...
# xfce4-power-manager --debug
TRACE[xfpm-main.c:192] xfpm_start(): Starting the power manager
(xfce4-power-manager:1847): GLib-WARNING **:
(gerror.c:381):g_error_new_valist: runtime check failed: (domain != 0)
(xfce4-power-manager:1847): xfce4-power-manager-WARNING **: Unable to
connect to session manager : Failed to connect to the session manager:
SESSION_MANAGER environment variable not defined
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for general-notification
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for lock-screen-suspend-hibernate
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for critical-power-level
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for show-brightness-popup
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for handle-brightness-keys
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for show-tray-icon
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for critical-power-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for power-button-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for hibernate-button-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for sleep-button-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for lid-action-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for lid-action-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for brightness-level-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for brightness-level-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for brightness-slider-min-level
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for dpms-enabled
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for dpms-on-ac-sleep
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for dpms-on-ac-off
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for dpms-on-battery-sleep
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for dpms-on-battery-off
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for dpms-sleep-mode
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for inactivity-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for inactivity-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for inactivity-sleep-mode-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for brightness-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for brightness-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for network-manager-sleep
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for logind-handle-power-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration
for logind-handle-lid-switch
TRACE[xfpm-dpms.c:75] xfpm_dpms_set_timeouts(): Settings dpms:
standby=600 suspend=0 off=900
TRACE[xfpm-polkit.c:314] xfpm_polkit_init_data(): Using unix session
polkit subject
TRACE[xfpm-polkit.c:406] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:406] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:406] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:406] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:875] xfpm_power_get_power_devices(): Power device
detected at : /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[xfpm-power.c:833] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:875] xfpm_power_get_power_devices(): Power device
detected at : /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-power.c:833] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:843] xfpm_power_add_device(): Battery device type
'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 124 :
((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:1847): xfce4-power-manager-WARNING **: could not
map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 213 :
((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 150 :
((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 233 :
((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 232 :
((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 244 :
((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 238 :
((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 237 :
((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 1
TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon
xfpm-primary-060-charging
TRACE[xfpm-polkit.c:406] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:406] xfpm_polkit_check_auth_intern():
Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1366] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1366] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-manager.c:553] xfpm_manager_inhibit_sleep_systemd():
Inhibiting systemd sleep:
handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
** (xfce4-power-manager:1847): WARNING **: No outputs have backlight
property
xfce4-power-manager-Message: Set kernel brightness switch to 0
TRACE[xfpm-backlight.c:259]
xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout
changed 9
TRACE[xfpm-backlight.c:280]
xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on
battery timeout changed 120
(xfce4-power-manager:1847): xfce4-power-manager-WARNING **: Failed to
get keyboard max brightness level : Method "GetMaxBrightness" with
signature "" on interface "org.freedesktop.UPower.KbdBacklight" doesn't
exist
.....
TRACE[xfpm-manager.c:403] xfpm_manager_alarm_timeout_cb(): Alarm
inactivity timeout id 2
TRACE[xfpm-backlight.c:132] xfpm_backlight_dim_brightness(): Current
brightness level before dimming : 15, new 3
......
TRACE[xfpm-backlight.c:213] xfpm_backlight_reset_cb(): Alarm reset,
setting level to 15
More information about the test
mailing list