Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Voume, brightness and eject keys
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
gwright
n00b
n00b


Joined: 28 May 2002
Posts: 21
Location: London, UK

PostPosted: Wed Apr 30, 2003 5:26 pm    Post subject: Voume, brightness and eject keys Reply with quote

Recently I finally got round to reinstalling Gentoo Linux :D Anyway, at first the brightness keys etc behaved as normal - ie - they'd change the brightness if I hit them, but now I have to hold the key combination fn+f(x) so that it can change the brightness/volume/whatever.

Is this a direct cause of either xfree-drm, pmud or pbbuttonsd? These are the only updates I've made...

Also, I used to get > 570fps in glxgears on XFree86 4.2.0 with drm stuff from the drm CVS repos; now I only get ~370fps. Any ideas why it's gotten slower? (using xfree86 4.3.0 and the xfree-drm package).

Thanks,

George
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Thu May 01, 2003 3:54 pm    Post subject: Reply with quote

there's an option in the pbbuttonsd.conf file, 'f keys first' or something like that. sounds like you want the opposite setting of how it's set now.
Back to top
View user's profile Send private message
die_vms_die
Apprentice
Apprentice


Joined: 16 Nov 2002
Posts: 189
Location: MS

PostPosted: Sat May 03, 2003 4:42 am    Post subject: yes that's it Reply with quote

In /etc/pbbuttons.conf change
Code:
kbdmode                 = fkeysfirst

to
Code:
kbdmode                 = fkeyslast


Then either reboot or /etc/init.d/pbbuttons restart.
Second option kills gtkpbbuttons though.

I wouldn't mind the function keys being the default in Linux, but this setting remains after a reboot into OS X. I don't use those key in OS X as function keys.

Does someone know a way to set it fkeysfirst on boot, but switch it to fkeyslast on shutdown. Just a crazy thought.
Back to top
View user's profile Send private message
gfinlayson
n00b
n00b


Joined: 23 Jul 2003
Posts: 9
Location: In my own little world

PostPosted: Thu Jul 24, 2003 2:53 pm    Post subject: Reply with quote

I can't seem to get my eject button to work

this is what I have in my /etc/pbbuttonsd.conf file

Code:

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

#userallowed            = paranoid

# [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           = 0     ; values > 0 may be 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         = 78
BrightnessdownKey       = 74
dev_framebuffer         = "/dev/fb0"
UseFBBlank              = yes

# [MODULE OSSMIXER]
dev_mixer               = "/dev/mixer"
mixerchannels           = "volume, speaker"
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              = 108
ejectcdkeydelay         = 0

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



am I missing something??
Back to top
View user's profile Send private message
Stratus Fear
n00b
n00b


Joined: 09 Jun 2003
Posts: 19

PostPosted: Fri Jul 25, 2003 7:12 am    Post subject: Reply with quote

Set ejectcdkey = 161
Back to top
View user's profile Send private message
gfinlayson
n00b
n00b


Joined: 23 Jul 2003
Posts: 9
Location: In my own little world

PostPosted: Fri Jul 25, 2003 12:38 pm    Post subject: Reply with quote

I tried that and it didn't work...I'm running a Tower and my eject button maps to 108 with showkey. I have no 161
Back to top
View user's profile Send private message
Stratus Fear
n00b
n00b


Joined: 09 Jun 2003
Posts: 19

PostPosted: Fri Jul 25, 2003 3:25 pm    Post subject: Reply with quote

gfinlayson wrote:
I tried that and it didn't work...I'm running a Tower and my eject button maps to 108 with showkey. I have no 161


On my iBook, it maps to 108 as well with showkey and 161 is nowhere on the board but 161 works. Might be a diff number for the tower...
Back to top
View user's profile Send private message
gfinlayson
n00b
n00b


Joined: 23 Jul 2003
Posts: 9
Location: In my own little world

PostPosted: Fri Jul 25, 2003 3:28 pm    Post subject: Reply with quote

well that's just crappy...
how am I supposed to get my fill of music ripped (Insert RIAA lawsuit here) hehe
Back to top
View user's profile Send private message
Stratus Fear
n00b
n00b


Joined: 09 Jun 2003
Posts: 19

PostPosted: Fri Jul 25, 2003 4:47 pm    Post subject: Reply with quote

You can always type eject at a console, it's a pain in the butt but it works.
Back to top
View user's profile Send private message
gfinlayson
n00b
n00b


Joined: 23 Jul 2003
Posts: 9
Location: In my own little world

PostPosted: Fri Jul 25, 2003 6:22 pm    Post subject: Reply with quote

thanks...that'll do great for now
Back to top
View user's profile Send private message
// k
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2004
Posts: 122
Location: Germany | UK | India

PostPosted: Mon Dec 27, 2004 9:56 am    Post subject: Reply with quote

well, It's a late answer, but changing
/dev/cdrom
to
/dev/cdroms/cdrom0
helped on my iBook.
_________________
// k
MySpace. | Website.
Back to top
View user's profile Send private message
fourhead
l33t
l33t


Joined: 03 Sep 2003
Posts: 875
Location: Cologne, Germany

PostPosted: Tue Mar 15, 2005 7:07 pm    Post subject: Reply with quote

Just found this thread. I also have an iBook G4 and I'm trying to make the eject key work. With showkey I get 88 for the eject key and 161 for Fn+Eject, I tried both in pbbuttonsd.conf, also /dev/cdrom and /dev/cdroms/cdrom0 but neither of them work. This is really odd. Any solution?

Tom
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