Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get pbbuttonsd + brightness keys to work.
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
mpeg4v3
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 139

PostPosted: Mon Apr 26, 2004 7:34 am    Post subject: Can't get pbbuttonsd + brightness keys to work. Reply with quote

I just recently setup a rather successful install of Gentoo on my 12" Powerbook G4 867mhz with 640mb of RAM.
I've reached the point where it was time to get my special function keys working. I emerge'd pbbuttonsd and all of the keys work correctly (even the eject after having to use showkey to figure out the correct key), EXCEPT for the brightness keys. I can't for the life of me get those two working. I've tried using showkey to see what FN+F1 & FN+F2 show as, but putting the resulting values in don't work. I've also looked at every guide I can for installing on this 12", but all of them have the default keys listed for Brightness and say they are having no problems. Does anyone have any suggestions for what I might do?

Here's my pbbuttonsd.conf:
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      = 3000
onAC_Tdim      = 600
onAC_Thdoff      = 0
onBattery_sleep      = yes
onBattery_dim      = yes
onBattery_blank      = no
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      = 33
ejectcddelay      = no

# [MODULE PMAC]
dev_pmu         = "/dev/pmu"
dev_adb         = "/dev/adb"
tpmodeupkey      = 225 + alt
tpmodedownkey      = 224 + alt
tpmode         = drag
kbdmode         = fkeysfirst
replace_pmud      = yes
Back to top
View user's profile Send private message
EdSchouten
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2003
Posts: 79

PostPosted: Mon Apr 26, 2004 7:41 am    Post subject: Reply with quote

I had the same problem with 2.6.4-pegasos0 on my Powerbook 12". After that I decided to switch to Mac OS again, so I can't help you :(

You could try switching back to 2.4.26.
Back to top
View user's profile Send private message
mpeg4v3
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 139

PostPosted: Mon Apr 26, 2004 7:46 am    Post subject: Reply with quote

Well, (un)surprisingly enough, that's the same kernel I'm using.
I guess that's the likely culprit then. Maybe I'll just have to wait until a new PPC-Development-Sources is posted, or take the time to learn to download and compile my own sources since I'm still a complete newb.
Back to top
View user's profile Send private message
mpeg4v3
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 139

PostPosted: Mon Apr 26, 2004 9:41 am    Post subject: Reply with quote

Well, getting the latest benh source from http://ppckernel.org/ (2.6.5rc3) didn't seem to work at all, after configuring and compiling it, it proceeded to freeze at mounting /proc. I also tried the pre-built benh-2.6.5rc3 and it freezed mounting /proc as well, which is odd since a few days ago I was booting off the pre-built one and it worked fine. Ah well, maybe I'll just wait until PPC-Development-Sources is up to 2.6.5 and see if that fixes the brightness issues.
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Mon Apr 26, 2004 4:16 pm    Post subject: Reply with quote

I've seen this issue as well, the 2.6 kernels also want to mount the sys fs as well, and I'm not sure if that's where the problem lies.

you might try making the dir to mount it to (and don't forget to add it to your /etc/fstab file)
Back to top
View user's profile Send private message
mpeg4v3
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 139

PostPosted: Tue Apr 27, 2004 6:15 am    Post subject: Reply with quote

I tried mounting /sys at startup; it still froze after /proc. Using my previous PPC-Development-Sources (2.6.4-pegasos0) kernel, /sys gets mounted automatically, without any need for an entry in /etc/fstab. Even with it in fstab this time, it still doesn't get past that.
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