Comment 26 for bug 201887

Revision history for this message
Tommy Vestermark (tov) wrote : Re: Slim USB Apple Keyboard not working correctly..

Mario,
I tried to set /sys/module/hid/parameters/pb_fnmode to 2 by writing the following line:
sudo echo 2 >/sys/module/hid/parameters/pb_fnmode
but i get a "permission denied" error. Is there a better way to change this setting?

Furthermore if changing this setting is needed for making the Apple keyboard work, shouldn't this be the default setting? I would hate Hardy to be released with this sort of quirk.

I did some more testing with the old kernel (2.6.24-11.17) and the keyboard just worked as I would expect. The Num-lock key worked as for a normal keyboard, all the F* keys worked and the "<" key was not swapped with the "½" key. The only key not working was the "fn" key, but that is a minor loss. All the multimedia functions on the F* keys could just be set by using the "Keyboard Shortcut" applet. So in my perspective the change introduced is a serious regression. For the record lsusb reports the following ID for my keyboard: "ID 05ac:0221 Apple Computer, Inc. ".

Eric,
I just copied your hid.ko (the i386 version) to /lib/modules/2.6.24-12-generic/kernel/drivers/hid/hid.ko and rebooted. There seems to be no change or improvement. Can I somehow verify, that the correct module is loaded?