Tuesday, September 8, 2009

Slim Aluminum Apple Keyboard Fix



I use the new Apple Slim usb keyboard with my linux because is the best keyboard and feels amazing when im typing!!!!:) but i used to have a problem with Fn button and F1-F12, ex. i always have to press fn+F2 to rename a file, but no more:) with this fix Fn button is always pressed and works like any other keyboard, here is the fix:

with modprobe.d:

create a file /etc/modprobe.d/hid_apple.conf
add these lines:

# Set default mode for Fn keys on Apple keyboard.
# see also/instead: /etc/sysfs.conf
# valid values 1 or 2. effect is hardware dependant.
# intrepid or earlier:
options hid pb_fnmode=2
# jaunty:
options hid_apple fnmode=2

then update initramfs:


update-initramfs -k `uname -r` -u

Or

sysfs way:

edit /etc/sysfs.conf


add these lines:

# Fix default Fn key behavior on Apple keyboards.
# see also/instead: /etc/modprobe.d/hid_apple.conf
# valid values 1 or 2. effect is hardware dependant.
# this version is for Intrepid or earlier
module/hid/parameters/pb_fnmode = 2
# this version is for Jaunty
module/hid_apple/parameters/fnmode = 2

2 comments:

escort tenerife said...

Thanks so much for the post, quite helpful piece of writing.

Emery D said...

Thanks ffor a great read