Apple Wireless Keyboard 2011 (ANSI) Fn key Bug
Hello.
I paired my Apple Wireless Keyboard 2011(ANSI, device id 05AC:0255) with my pc.
Almost everything works well, except for the Fn key.I found that my kernel was compiled without support for hid-apple. I included this module in my kernel, but Fn-button still not working.
I looked at the source code and saw the missing definition of USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI in apple_devices structure (hid-apple.c file).
Now everything works fine.
Patch to solve the problem is attached below
Thanks, Alexey Kaminsky.
PS. Link to the bugzilla thread: https://bugzilla.kernel.org/show_bug.cgi?id=43135
apple-wireless-ansi-2011.patch
drivers/hid/hid-apple.c +0 -0
@@ -458,6 +458,9 @@ { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ISO),
.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN |
APPLE_ISO_KEYBOARD },
+ { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
+ USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI),
+ .driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,USB_DEVICE_ID_APPLE_ALU_WIRELESS_JIS),
.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE,USB_DEVICE_ID_APPLE_WELLSPRING_ANSI),