Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G3 iBook PPC kernel 2.6 pbbuttonsd WACKED
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
darklich14
n00b
n00b


Joined: 28 Feb 2003
Posts: 57
Location: Georgia Institute of Technology

PostPosted: Fri May 28, 2004 5:45 am    Post subject: G3 iBook PPC kernel 2.6 pbbuttonsd WACKED Reply with quote

I've been having extremely anomalous behavior from pbbuttonsd and I'm pretty clueless as to why. As liryon suggested in another post, I installed the next to newest version of pbbuttonsd (from 0.5.2 to 0.5.10). I was all excited since new versions usually fix problems -- but this new version didn't fix anything -- in fact, I don't think it's even parsing the configuration file in /etc/pbbuttonsd.conf. Here's my config:


Code:

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

# [MODULE POWERSAVE]
onAC_sleep    = no
onAC_dim      = no
onAC_blank    = no
onAC_Tsleep   = 0
onAC_Tdim     = 6000
onAC_Thdoff   = 0
onBattery_sleep   = yes
onBattery_dim   = yes
onBattery_blank   = yes
onBattery_Tsleep  = 3000  ; time in 1/10s
onBattery_Tdim    = 600   ; time in 1/10s
onBattery_Thdoff  = 12     ; time in multiple of 5 second intervals
SleepKey    = 116
SleepKeyDelay   = no     ; yes = dangerous, if the power key is used to trigger sleep
BWL_First   = 21     ; 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_BatCritical  = "/sbin/shutdown -h now"
#Script_ProfChanged = ""
Script_HDSetup    = "/sbin/hdparm -p -S %d /dev/hda"
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]
#Brightness   = 12      ; initial brightness level
BrightnessupKey   = 225
BrightnessdownKey = 224
dev_framebuffer   = "/dev/fb0"
UseFBBlank    = yes

# [MODULE OSSMIXER]
dev_mixer   = "/dev/mixer"
volume      = 50       ; initial volume level
speakers_muted    = no       ; mute after startup?
volumeupkey   = 115
volumedownkey   = 114
mutekey     = 113
mixerinitdelay    = no

# [MODULE CDROM]
dev_cdrom   = "/dev/cdrom"
ejectcdkey    = 69
ejectcddelay    = no

# [MODULE PMAC]
dev_pmu     = "/dev/pmu"
dev_adb     = "/dev/adb"
tpmodeupkey   = 225 + alt
tpmodedownkey   = 224 + alt
tpmode      = notap
kbdmode     = fkeysfirst
replace_pmud    = yes



I have wonderful things happen such as suspend while on AC and the lid closes. The display goes blank after about 20 -- no, make that 5 -- seconds (it does come back if you type though). I'm running ppc-development-sources-2.6.5_rc2-r1. I'm quite frustrated with power management, as pbbuttonsd just doesn't seem to do a single thing I tell it to. Maybe I'm doing something incorrectly, but if that's the case, I'd sure like to know what is it. Thanks!
_________________
-Lyo
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Sun May 30, 2004 6:18 pm    Post subject: Reply with quote

I do not have the same problem as you, but since kernel 2.6.4, my iBook crashes when I try to resume from sleep. So you might try 2.6.3.
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
Pylon
Retired Dev
Retired Dev


Joined: 17 Jan 2003
Posts: 279
Location: Cologne

PostPosted: Fri Jun 04, 2004 12:13 am    Post subject: Reply with quote

Kernel 2.6.6 fixed those problems on my iBook. Furthermore there would be a new pbbuttonsd-version in portage within the next hours which will fix some "stupid behaviour" (like display dimming etc.).
_________________
hacking is not a crime
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