[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pbbuttons - issues with lidclose->display off options (backlight remains off)



Hello,

I am not sure if the reason behind this problem is pbbuttonsd,
although I am fairly sure, I want to have a confirmation (this happens
from time to time on my laptop).

I have configured pbuttonsd to just turn off the display when on AC
and the lid is closed. I found that, sometimes, when opening the lid
again, the backlight will not be turned back on (I can see the locking
screen of KDE); if I try o swith to a text console, the backlight is
turned back on for a split second, I can see the display properly,
then is back to off. Switching back and forth between the X console
and a text console does not fix the issue, but the
light-on-for-a-split-second thing is present.
Also I have found that I can work arund the issue if I put the laptop
to sleep and wake it up. (But even this work around doesn't always
work for me since I am experincing lock-ups before sleep - nobody has
an idea why).

Does anybody else has this issues? Can someone confirm this? How can I fix it?

Help would be appreciated.

----8<--------------------
$ LANG=C apt-cache policy pbbuttonsd
pbbuttonsd:
 Installed: 0.7.5-2
 Candidate: 0.7.5-2
 Version table:
*** 0.7.5-2 0
       900 http://ftp.ro.debian.org unstable/main Packages
       900 http://snapshot.debian.net unstable/main Packages
       100 /var/lib/dpkg/status
----8<--------------------
$ uname -a
Linux merci 2.6.18-rc5-merci #1 Wed Sep 13 23:44:36 EEST 2006 ppc GNU/Linux

compiled from Linus' git version as it was on 2006-09-02
00:35:01.000000000 +0300
----8<--------------------
$ cat /etc/pbbuttonsd.conf
# Configuration file for pbbuttonsd >= version 0.5
# for options see man pbbuttonsd.conf

[SYSTEM]
#userallowed           = ""             ; user who is allowed to use IPC
autorescan            = yes             ; automatic rescan of event devices
CmdTimeout            = 8               ; timeout in seconds for
launched scripts, etc.

[MODULE PMAC]
dev_PMU               = "/dev/pmu"
dev_ADB               = "/dev/adb"
TPModeUpKey           = 225 + alt
TPModeDownKey         = 224 + alt
TPMode                = drag            ; 'notap', 'tap', 'drag' or 'lock'
KBDMode               = fkeysfirst      ; 'disabled', 'fkeyslast' or
'fkeysfirst'
Batlog                = log             ; 'none', 'cycle' or 'log'
NoTapTyping           = yes             ; switch trackpad to
'notap-mode' while typing

[MODULE POWERSAVE]
onAC_Policy           = performance     ; 'nochange', 'powersave',
'custom' or 'performance'
onAC_TimerAction      = none            ; 'none', 'suspend-to-ram',
'suspend-to-disk', 'blankscreen' or 'shutdown'
#onAC_CoverAction      = suspend-to-ram ; see TimerAction for possible values
onAC_CoverAction      = blankscreen     ; see TimerAction for possible values
onAC_KeyAction        = suspend-to-ram  ; Action (see TimerAction) for
the sleepkey
onAC_SuspendTime      = 36000
onAC_DimTime          = 0
onBattery_Policy      = powersave       ; 'nochange', 'powersave',
'custom' or 'performance'
onBattery_TimerAction = suspend-to-ram  ; 'none', 'suspend-to-ram',
'suspend-to-disk', 'blankscreen' or 'shutdown'
onBattery_CoverAction = suspend-to-ram  ; see TimerAction for possible values
onBattery_KeyAction   = suspend-to-ram  ; Action (see TimerAction) for
the sleepkey
onBattery_SuspendTime = 3000
#onBattery_DimTime     = 1200
onBattery_DimTime     = 0
SleepKey              = 116
SleepKeyDelay         = 0               ; values > 0 may be dangerous,
if the power key is used to trigger sleep
BWL_first             = 22              ; first battery warnlevel,
time in minutes
BWL_second            = 10              ; second battery warnlevel,
time in minutes
BWL_last              = 5               ; last battery warnlevel, time
in minutes
Script_PMCS           = "/etc/power/pmcs-pbbuttonsd %s %s %s"
EmergencyAction       = sleep           ; action, if battery is critically low
HeartbeatBeep         = yes             ; beep, if nothing else showed
that the computer lives
CPULoad_sleeplock     = yes
CPULoad_min           = 5               ; value in percent
CPULoad_period        = 20              ; time in seconds
NETLoad_sleeplock     = yes
NETLoad_min           = 4096            ; traffic in Bytes/s
NETLoad_period        = 20              ; time in seconds
NETLoad_device        = "eth0 tun0"
IBAM_DataDir          = "/var/lib/ibam"

[MODULE DISPLAY]
LCD_Brightness        = 15              ; initial LCD brightness level
LCD_FadingSpeed       = 5               ; 0 = no smooth fading
LCD_AutoAdjust        = yes             ; only on Aluminum PowerBooks
LCD_IllumUpKey        = 225
LCD_IllumDownKey      = 224
LCD_Threshold         = 94              ; ambient light threshold in
percent for backlight autoadj.
LCD_AutoAdjMin_Bat    = 2               ; autoadjustment range parameters
LCD_AutoAdjMax_Bat    = 7
LCD_AutoAdjMin_AC     = 1
LCD_AutoAdjMax_AC     = 15
KBD_Brightness        = 0               ; initial keyboard illumination level
KBD_OnBrightness      = 5               ; initial level if KBD on/off
key is pressed
KBD_FadingSpeed       = 5               ; 0 = no smooth fading
KBD_AutoAdjust        = yes             ; only on Aluminum PowerBooks
KBD_IllumUpKey        = 230
KBD_IllumDownKey      = 229
KBD_IllumOnKey        = 228
KBD_Threshold         = 28              ; ambient light threshold in
percent for keyboard light autoadj.
dev_FrameBuffer       = "/dev/fb0"
UseFBBlank            = yes
DimFullyDark          = no
CRT_MirrorKey         = 65 + ctrl

[MODULE CDROM]
dev_CDROM             = "/dev/cdrom"
EjectCDKey            = 161
EjectCDKeyDelay       = 0

[MODULE MIXER]
SoundSystem           = auto            ; 'none', 'auto', 'OSS' or 'ALSA'
OSS_Device            = ""
OSS_Channels          = "volume, speaker"
Volume                = 60              ; initial volume level
Speakers_muted        = no              ; mute after startup?
VolumeUpKey           = 115
VolumeDownKey         = 114
MuteKey               = 113
MixerInitDelay        = yes
ALSA_Card             = "default"
ALSA_Elements         = "Master, 'PC Speaker'"
----8<--------------------

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein



Reply to: