Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pbbuttons and screen light
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
kemkem
n00b
n00b


Joined: 26 Feb 2003
Posts: 69

PostPosted: Wed Nov 10, 2004 12:44 pm    Post subject: pbbuttons and screen light Reply with quote

Hi,

I've a ibook G4 (the last one)
I'm currently trying to activate screen light shutdown when
lid is closed...

I've ermeged pbbuttonsd, tried some configurations in pbbuttons.conf,
but still nothing... The screen is alway on when lid is closed..

I'm running kernel 2.6.9 with i2c some options (seems to be required)

Can someone show me his conf file ?
thanks a lot
Back to top
View user's profile Send private message
kemkem
n00b
n00b


Joined: 26 Feb 2003
Posts: 69

PostPosted: Wed Nov 10, 2004 6:00 pm    Post subject: Reply with quote

Here's my pbbuttons.conf...

# configdatei for PBButtonsd >= Version 0.5
# for complete list of options please see pbbuttonsd.conf man-page

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


replace_pmud = yes
# [MODULE POWERSAVE]
onAC_policy = performance ; nochange, performance, custom or powersave
onAC_sleep = yes
onAC_coversleep = yes
onAC_Tsleep = yes
onAC_Tdim = yes
onBattery_policy = powersave
onBattery_sleep = yes
onBattery_coversleep = yes
onBattery_Tsleep = 3000 ; time in 1/10s
onBattery_Tdim = 600 ; time in 1/10s
SleepKey = 116
SleepKeyDelay = 0 ; values > 0 may be dangerous, if the power key is used to trigger sleep
SleepKeySleep = no ; yes=sleep, no=blank
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"
EmergencyAction = sleep ; action, if battery is critically low
HeartbeatBeep = no ; 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 ; trafic in Bytes/s
NETLoad_period = 20 ; time in seconds
NETLoad_device = "eth0"

# [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 = 225
LCD_IllumDownKey = 224
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_FadingSpeed = 5 ; 0 = no smooth fading
KBD_AutoAdjust = yes ; only on Aluminum PowerBooks
KBD_IllumUpKey = 0
KBD_IllumDownKey = 0
KBD_IllumOnKey = 0
KBD_Threshold = 28 ; only on Aluminum PowerBooks
dev_FrameBuffer = "/dev/fb0"
UseFBBlank = yes
DimFullyDark = yes

# [MODULE OSSMIXER]
#Volume = 50 ; 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 = 0

# [MODULE PMAC]
dev_PMU = "/dev/pmu"
dev_ADB = "/dev/adb"
TPModeUpKey = 225 + alt
TPModeDownKey = 224 + alt
TPMode = drag
KBDMode = fkeysfirst
Back to top
View user's profile Send private message
kemkem
n00b
n00b


Joined: 26 Feb 2003
Posts: 69

PostPosted: Wed Nov 10, 2004 7:02 pm    Post subject: Reply with quote

I've checked some fb related things..

I've no /dev/fb/XX device. Is that normal ?
I use kernel 2.6.9 with mac fb activated.

Is that the reason why my screen does not go in off mode ?
Is pbbuttonsd use fblevel program?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum