# configfile for pbbuttonsd >= version 0.5
# for options see man pbbuttonsd.conf

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

# [MODULE POWERSAVE]
onAC_policy         = performance	; 'nochange', 'powersave', 'custom' or 'performance'
#onAC_sleep          = no	; yes=sleep, no=blank after sleep timeout
onAC_sleep          = yes
onAC_coversleep     = yes
onAC_Tsleep         = 0		; time in 1/10s
onAC_Tdim           = 0		; time in 1/10s
onBattery_policy    = powersave	; 'nochange', 'powersave', 'custom' or 'performance'
onBattery_sleep     = yes
onBattery_coversleep= yes
onBattery_Tsleep    = 0		; time in 1/10s
onBattery_Tdim      = 0		; time in 1/10s
SleepKey            = 116
SleepKeyDelay       = 0		; values > 0 may be dangerous, if the power key is used to trigger sleep
SleepKeySleep       = yes	; yes=sleep, no=blank screen
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-pmud %s %s"
EmergencyAction     = signal	; action, if battery is critically low
HeartbeatBeep       = no	; beep, if nothing else showed that the computer lives
CPULoad_sleeplock   = no
CPULoad_min         = 20	; value in percent
CPULoad_period      = 20	; time in seconds
NETLoad_sleeplock   = no
NETLoad_min         = 4096	; trafic in Bytes/s
NETLoad_period      = 20	; time in seconds
NETLoad_device      = "eth0"

# [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_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

# [MODULE OSSMIXER]
Volume              = 62	; initial volume level
Speakers_muted      = no	; mute after startup?
VolumeUpKey         = 115
VolumeDownKey       = 114
MuteKey             = 113
dev_Mixer           = "/dev/mixer"
MixerInitDelay      = no
MixerChannels       = "volume, speaker"

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

# [MODULE PMAC]
dev_PMU             = "/dev/pmu"
dev_ADB             = "/dev/adb"
TPModeUpKey         = 225 + alt
TPModeDownKey       = 224 + alt
TPMode              = notap	; 'notap', 'tap', 'drag' or 'lock'
KBDMode             = fkeyslast	; 'fkeyslast' or 'fkeysfirst'
