Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pbbuttonsd issues
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
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Feb 21, 2005 3:42 pm    Post subject: pbbuttonsd issues Reply with quote

Hello,

I've been struggling with pbbutonsd on my iBook G4 for a few hours and I can't seem to make it work. I've searched through the forums and found this post from elektrohirn wich more or less describes my problems, but with no solutions. Since electrohim's post is in a "solved" thread, i decided to open up this one.

Here goes:

1. The backlight control keys only work then pbbuttonsd is not active;
2. After 60 seconds of inactivity, the backlight turns off. Unfortunately, it only comes back if I move the mouse. Using the keyboards keeps it turned off, which is not very practical;
3. The backlight turns off after 60 seconds even when i'm connected to AC. My configuration says it should only do it when running on battery power;
4. Eject CD doesn't work. I've also emerged "eject" (maybe it depended on it), but the results are still the same;
5. The volume keys do not work, also. When I press the mute or volume down keys, the character "~" appears on the console.

So... is it a user problem or a pbbuttonsd problem? Am I the only one with these issues?

My pbbutonsd.conf:
Code:
# Configuration file 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

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

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

SleepKey              = 116
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"
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   ; traffic 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_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        = 230
KBD_IllumDownKey      = 229
KBD_IllumOnKey        = 228
KBD_Threshold         = 28   ; only on Aluminum PowerBooks
dev_FrameBuffer       = "/dev/fb0"
UseFBBlank            = yes
DimFullyDark          = no
CRT_MirrorKey         = 65 + ctrl

# [MODULE MIXER]
SoundSystem           = ALSA  ; OSS or ALSA
#Volume                = 50   ; initial volume level
Speakers_muted        = no   ; mute after startup?
VolumeUpKey           = 115
VolumeDownKey         = 114
MuteKey               = 113
dev_Mixer             = "/dev/mixer" ; for OSS
MixerCard             = "default"    ; for ALSA
MixerInitDelay        = no
MixerChannels         = "volume, speaker"        ; settings for OSS
MixerChannels         = "Master, 'PC Speaker'"  ; settings for ALSA

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

# [MODULE PMAC]
dev_PMU               = "/dev/pmu"
dev_ADB               = "/dev/adb"
TPModeUpKey           = 225 + alt
TPModeDownKey         = 224 + alt
TPMode                = notap ; notap or drag or ...
KBDMode               = fkeysfirst
Batlog                = none
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Fri Feb 25, 2005 7:55 am    Post subject: Reply with quote

Am I the only one using pbbuttonsd?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Feb 25, 2005 8:45 am    Post subject: Reply with quote

Most certainly not, I'm running it for one. :) Anyway, I have to ask the obvious question first: When you're pressing the keys, are you pressing just the eject button? With the configuration you've posted you'll need to press fn+F12 to eject something. It's opposite of OSX. As for the other problems, I'm not sure what's going on. Make sure the daemon is running and check your config against other user's.

Good luck!
Back to top
View user's profile Send private message
jerry arns
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 95
Location: France

PostPosted: Sat Feb 26, 2005 9:41 am    Post subject: Reply with quote

Hello,

about the screen going black after 60 seconds : check your xorg.conf. This may be a xorg config, not a pbbuttonsd config.
_________________
Left handed, right minded.
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Tue Mar 29, 2005 1:00 am    Post subject: Reply with quote

I finally found out what was wrong: CONFIG_INPUT_EVDEV was not enabled on my kernel config. Now everything works perfectly.
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