pbbuttonsd config

# [SYSTEM]
#userallowed           = "paranoid"     ; user who is allowed to use IPC
autorescan            = yes             ; automatic rescan of event devices
CmdTimeout            = 4

# [MODULE POWERSAVE]
onAC_policy           = performance     ; nochange, performance, custom or powersave
onAC_TimerAction      = blankscreen     ; none, suspend-to-ram, suspend-to-disk, blankscreen
onAC_CoverAction      = blankscreen
onAC_KeyAction        = suspend-to-disk ; SleepKey
onAC_SuspendTime      = 0               ; time in 1/10 seconds
onAC_DimTime          = 6000            ; time in 1/10 seconds

onBattery_policy      = powersave
onBattery_TimerAction = blankscreen     ; none, suspend-to-ram, suspend-to-disk, blankscreen
onBattery_CoverAction = blankscreen
onBattery_KeyAction   = suspend-to-disk ; SleepKey
onBattery_SuspendTime = 3000            ; time in 1/10 seconds
onBattery_DimTime     = 600             ; time in 1/10 seconds

SleepKey              = pmupowerbutton
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              = 3               ; last battery warnlevel, time in minutes
Script_PMCS           = "/etc/power/pmcs-pbbuttonsd %s %s %s"
#Script_PMCS           = "/tmp/p %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           = 20              ; 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        = "ether"

# [MODULE DISPLAY]
#LCD_Brightness        = 8              ; initial LCD brightness level
LCD_FadingSpeed       = 5               ; 0 = no smooth fading
LCD_AutoAdjust        = yes             ; only on Aluminum PowerBooks
LCD_IllumUpKey        = 60 + ctrl
LCD_IllumDownKey      = 59 + ctrl
LCD_Threshold         = 94
LCD_AutoAdjMin_Bat    = 2               ; autoadjust parameter
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        = 68 + ctrl
KBD_IllumDownKey      = 67 + ctrl
KBD_IllumOnKey        = 66 + ctrl
KBD_Threshold         = 28              ; only on Aluminum PowerBooks
dev_FrameBuffer       = "/dev/fb0"
UseFBBlank            = no
DimFullyDark          = yes
CRT_MirrorKey         = 65 + ctrl

# [MODULE MIXER]
SoundSystem           = alsa            ; none, auto, OSS or ALSA
Volume                = 50              ; initial volume level
Speakers_muted        = no              ; mute after startup?
VolumeUpKey           = 63 + ctrl
VolumeDownKey         = 62 + ctrl
MuteKey               = 61 + ctrl
#OSS_Mixer             = "/dev/mixer"   ; settings for OSS
#OSS_Channels          = "volume, speaker"
ALSA_Card             = "default"       ; settings for ALSA
ALSA_Elements         = "Master, 'PC Speaker'"
MixerInitDelay        = no

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

# [MODULE PMAC]
dev_PMU               = "/dev/pmu"
dev_ADB               = "/dev/adb"
TPModeUpKey           = 225 + alt
TPModeDownKey         = 224 + alt
TPMode                = drag
KBDMode               = fkeysfirst
Batlog                = none
NoTapTyping           = yes