Comment 13 for bug 207127

Revision history for this message
Alex Karpenko (alexkarpenko) wrote :

Attached is a patch to fix the fn keys on all new Macbook Pros (v4,1). The naming scheme follows the one defined by Apple in:
/System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/Contents/Info.plist

The keyboard name is WellspringII, and the Device ID is 0x0230, 0x0231, 0x0232 for ANSI, ISO, JIS respectively (as defined in Info.plist, and confirmed for ANSI and ISO by me and Scott).
Some debugging has been done using dynamically loaded quirks here:
http://ubuntuforums.org/showthread.php?p=4984452&posted=1#post4984452

This patch simply adds the findings to hid-quirks.c, so that the keyboard is recognized automatically in the future.