Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

azrin

macrumors newbie
Original poster
Sep 30, 2010
1
0
Hi,

I bought a keyboard for my mac mini and it all works apart from the backlight. Now I tested in my PC and the backlight is functional, it isn't broken. I think the problem is that the scroll lock key is the on/off key for the back lighting.

I'm new to mac's but I tried to map the key -- it didn't work lol.

I tried this.

Code:
geoff-wilsons-mac-mini:~ geoff$ xmodmap -pm
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x40),  Shift_R (0x44)
lock        Caps_Lock (0x41)
control     Control_L (0x43),  Control_R (0x46)
mod1        Mode_switch (0x42),  Mode_switch (0x45)
mod2        Meta_L (0x3f),  Meta_R (0x47)
mod3      
mod4      
mod5      

geoff-wilsons-mac-mini:~ geoff$ xmodmap -e 'add mod3 = Scroll_Lock'
geoff-wilsons-mac-mini:~ geoff$ xmodmap -pm
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x40),  Shift_R (0x44)
lock        Caps_Lock (0x41)
control     Control_L (0x43),  Control_R (0x46)
mod1        Mode_switch (0x42),  Mode_switch (0x45)
mod2        Meta_L (0x3f),  Meta_R (0x47)
mod3      
mod4      
mod5

Does anybody know how I can get OSX to recognise the key?

Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.