- Joined
- Apr 28, 2012
- Messages
- 34
- Motherboard
- Mac os x 10.8.2
- CPU
- Core i7 720QM
- Graphics
- ATI Mobility Radeon HD 5850
- Mac
- Classic Mac
- Mobile Phone
You my God! Your solution works for me.Your 'e037' is probably the one you're interested in as it is mapped to trackpad on/off. You want to map it first to an unused scan code, so that it no longer passes through that code. You've picked on of the more difficult keys to map because the scan code is handled internally before being converted to an ADB code, such that mapping it direct to an ADB code won't work. But let's say you wanted to map it to F13.
So first pick a scan code that is not used... on the github repo, you can use ApplePS2ToADBMap.h as a clue. Looks like there's a lot of them... let's just pick 'e07f'... so in your Custom PS2 Map you want to have an entry:
e037=e07f
Now when a key generates 'e037', it will be mapped to 'e07f', so now you need an entry that will generate Apple's idea of F13 from the 'e07f' scan code. Again the ApplePS2ToADBMap.h comes in handy, because if you search it for 'F13', you discover that the ADB code for F13 is '69'. So now you need an entry in Custom ADB Map:
e07f=69
Now your key generates F13 (or should) and you can assign it however you like in Keyboard Prefs.
I just added to plist this rarity
Code:
key>Custom ADB Map</key>
<array>
<string>;Items must be strings in the form of scanfrom=adbto</string>
<string>e07f=69</string>
</array>
<key>Custom PS2 Map</key>
<array>
<string>;Items must be strings in the form of scanfrom=scanto</string>
<string>e037=e07f</string>
</array>
I think it has greater connected with motherboard rather than keyboard.
As it is, I have the wifi-key, but indicator of key doesn't working. But bluetooth-key works perfectly.
Code:
Feb 12 10:26:11 admins-imac kernel[0]: ApplePS2Keyboard: PS/2 scancode 0xe0
Feb 12 10:26:11 admins-imac kernel[0]: ApplePS2Keyboard: PS/2 scancode 0x56
Feb 12 10:26:11 admins-imac kernel[0]: ApplePS2Keyboard: Unknown ADB key for PS2 scancode: 0x56
Feb 12 10:26:12 admins-imac kernel[0]: ApplePS2Keyboard: PS/2 scancode 0xe0
Feb 12 10:26:12 admins-imac kernel[0]: ApplePS2Keyboard: PS/2 scancode 0xd6
Feb 12 10:26:12 admins-imac kernel[0]: ApplePS2Keyboard: Unknown ADB key for PS2 scancode: 0xd6
I beg you to see this, please. http://www.tonymacx86.com/hp-proboo...fix-boot-without-batteries-15.html#post549849
Huge thanks for your help.