usb quirk for apple usb keyboard

Magliano Andrea masterblaster at tiscali.it
Tue Jan 25 15:02:42 PST 2011


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 :)
Attachment:
0001-Apple-usb-keybord-doesn-t-generate-an-interrupt-for-.patch
Description: Binary data
Attachment:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00002.bin
Type: application/octet-stream
Size: 1055 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20110125/061b7550/attachment-0028.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00001.bin
Type: application/octet-stream
Size: 1119 bytes
Desc: "0002-UPROTO_BOOT_KEYBOARD-is-already-defined-in-usb.h-as-.patch"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20110125/061b7550/attachment-0029.bin>


More information about the Submit mailing list