Bug #1970

usb quirk for apple usb keyboard

Added by masterblaster over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Hi all,

after blaming myself for misunderstanding usb quirk usage, i would like to resubmit Fn key detection (first patch). No correct keymapping (with Fn key pressed) is done, but at least a keycode is generated and can easily be remapped in ukbd.c

For interested readers (remapping Fn to Insert, because it's the physical placement of Fn key where standard keyboard have 'Insert' key) it's enough to set ukbd_trtab[1]=102; in ukbd.c (hardcoding is obviously not the correct way as violates hid boot protocol keymapping)

In the meanwhile i noticed that UPROTO_BOOT_KEYBOARD defined in ukbd.c was already defined in usb.h as UIPROTO_BOOT_KEYBOARD, so it's probably not needed anymore (second patch)

Thank you all for the quick replies and explainations :)

0001-Apple-usb-keybord-doesn-t-generate-an-interrupt-for-.patch Magnifier (1.09 KB) masterblaster, 01/25/2011 11:04 PM

0002-UPROTO_BOOT_KEYBOARD-is-already-defined-in-usb.h-as-.patch Magnifier (1.03 KB) masterblaster, 01/25/2011 11:04 PM


#1 Updated by josepht over 5 years ago

Committed as 21d2699b7b9761340739f904bdeea9198acff6be and


Also available in: Atom PDF