Contribute
Register

Editting Info.plist to solve keyboard mapping problem

Status
Not open for further replies.
Joined
Jan 6, 2013
Messages
3
Motherboard
hp 4540s
CPU
i5 Ivy-bridge
Graphics
intel 4000
Mac
  1. iMac
Classic Mac
Mobile Phone
  1. Android
Hey guys, i need a hand!
My probook works great, all the work done by the community help those like me to have a great working machine with very little effort, so my thanks to that great team.
An small issue is that there are 2 keys swapped: the one at the right of the 'left shift', and the one at the left of the '1' key, in the alphanumeric keypad. It seems to be a common problem, I tracked it down to several post, that took me to the solution:

http://www.tonymacx86.com/hp-probook/79759-keyboard-layout-italian-layout-fix.html
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/wiki/How-to-Use-Custom-Keyboard-Mapping

So editting Voodoo's Info.plist should solve the problem. The text to insert is

Code:
<key>Custom PS2 Map</key>
<array>
<string>56=29</string>
<string>29=56</string>
<string>;Items must be strings in the form of scanfrom=scanto</string>
<string>;The following 12 items map Fn+fkeys to fkeys</string>
<string>e05f=3b</string>
So I opened my S/L/E/VoodooPS2Controller.kext/Contents/Info.plist, buit it's very different from mine and there is no such entry in the whole file. What is the insertion point of that?

Here is my Info.plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>BuildMachineOSBuild</key>
    <string>13B42</string>
    <key>CFBundleExecutable</key>
    <string>VoodooPS2Controller</string>
    <key>CFBundleGetInfoString</key>
    <string>1.8.11, Copyright Apple Computer, Inc. 2000-2003, David Elliot 2007, RehabMan 2012-2013</string>
    <key>CFBundleIdentifier</key>
    <string>org.rehabman.voodoo.driver.PS2Controller</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>Voodoo PS/2 Controller</string>
    <key>CFBundlePackageType</key>
    <string>KEXT</string>
    <key>CFBundleShortVersionString</key>
    <string>1.8</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.8.11</string>
    <key>DTCompiler</key>
    <string>com.apple.compilers.llvm.clang.1_0</string>
    <key>DTPlatformBuild</key>
    <string>5A3005</string>
    <key>DTPlatformVersion</key>
    <string>GM</string>
    <key>DTSDKBuild</key>
    <string>12F37</string>
    <key>DTSDKName</key>
    <string>macosx10.8</string>
    <key>DTXcode</key>
    <string>0502</string>
    <key>DTXcodeBuild</key>
    <string>5A3005</string>
    <key>IOKitPersonalities</key>
    <dict>
        <key>ACPI PS/2 Nub</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>org.rehabman.voodoo.driver.PS2Controller</string>
            <key>IOClass</key>
            <string>AppleACPIPS2Nub</string>
            <key>IONameMatch</key>
            <array>
                <string>PNP0303</string>
                <string>PNP030B</string>
            </array>
            <key>IOProviderClass</key>
            <string>IOACPIPlatformDevice</string>
            <key>MouseNameMatch</key>
            <array>
                <string>PNP0F03</string>
                <string>PNP0F0B</string>
                <string>PNP0F0E</string>
                <string>PNP0F13</string>
            </array>
        </dict>
        <key>ApplePS2Controller</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>org.rehabman.voodoo.driver.PS2Controller</string>
            <key>IOClass</key>
            <string>ApplePS2Controller</string>
            <key>IONameMatch</key>
            <string>ps2controller</string>
            <key>IOProviderClass</key>
            <string>IOPlatformDevice</string>
            <key>Platform Profile</key>
            <dict>
                <key>Default</key>
                <dict>
                    <key>WakeDelay</key>
                    <integer>10</integer>
                </dict>
                <key>HPQOEM</key>
                <dict>
                    <key>1411</key>
                    <string>ProBook</string>
                    <key>1619</key>
                    <string>ProBook</string>
                    <key>161C</key>
                    <string>ProBook</string>
                    <key>164F</key>
                    <string>ProBook</string>
                    <key>167C</key>
                    <string>ProBook</string>
                    <key>167E</key>
                    <string>ProBook</string>
                    <key>1680</key>
                    <string>ProBook</string>
                    <key>179B</key>
                    <string>ProBook</string>
                    <key>179C</key>
                    <string>ProBook</string>
                    <key>17F0</key>
                    <string>ProBook</string>
                    <key>17F3</key>
                    <string>ProBook</string>
                    <key>17F6</key>
                    <string>ProBook</string>
                    <key>ProBook</key>
                    <dict>
                        <key>WakeDelay</key>
                        <integer>0</integer>
                    </dict>
                </dict>
            </dict>
        </dict>
    </dict>
    <key>OSBundleCompatibleVersion</key>
    <string>1.8.11</string>
    <key>OSBundleLibraries</key>
    <dict>
        <key>com.apple.iokit.IOACPIFamily</key>
        <string>1.0.0d1</string>
        <key>com.apple.kpi.bsd</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.iokit</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.libkern</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.mach</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.unsupported</key>
        <string>8.0.0</string>
    </dict>
    <key>OSBundleRequired</key>
    <string>Console</string>
    <key>Source Code</key>
    <string>https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller</string>
</dict>
</plist>

Best regards,

Carlos
 
Joined
Oct 21, 2012
Messages
3,464
Motherboard
HP Elitebook 8470p
CPU
i5 3320M
Graphics
HD 4000, 1600x900
Mobile Phone
  1. iOS
VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard/Contents/Info.plist
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hey guys, i need a hand!
My probook works great, all the work done by the community help those like me to have a great working machine with very little effort, so my thanks to that great team.
An small issue is that there are 2 keys swapped: the one at the right of the 'left shift', and the one at the left of the '1' key, in the alphanumeric keypad. It seems to be a common problem, I tracked it down to several post, that took me to the solution:

http://www.tonymacx86.com/hp-probook/79759-keyboard-layout-italian-layout-fix.html
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/wiki/How-to-Use-Custom-Keyboard-Mapping

So editting Voodoo's Info.plist should solve the problem. The text to insert is

Code:
<key>Custom PS2 Map</key>
<array>
<string>56=29</string>
<string>29=56</string>
<string>;Items must be strings in the form of scanfrom=scanto</string>
<string>;The following 12 items map Fn+fkeys to fkeys</string>
<string>e05f=3b</string>
So I opened my S/L/E/VoodooPS2Controller.kext/Contents/Info.plist, buit it's very different from mine and there is no such entry in the whole file. What is the insertion point of that?

Here is my Info.plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>BuildMachineOSBuild</key>
    <string>13B42</string>
    <key>CFBundleExecutable</key>
    <string>VoodooPS2Controller</string>
    <key>CFBundleGetInfoString</key>
    <string>1.8.11, Copyright Apple Computer, Inc. 2000-2003, David Elliot 2007, RehabMan 2012-2013</string>
    <key>CFBundleIdentifier</key>
    <string>org.rehabman.voodoo.driver.PS2Controller</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>Voodoo PS/2 Controller</string>
    <key>CFBundlePackageType</key>
    <string>KEXT</string>
    <key>CFBundleShortVersionString</key>
    <string>1.8</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.8.11</string>
    <key>DTCompiler</key>
    <string>com.apple.compilers.llvm.clang.1_0</string>
    <key>DTPlatformBuild</key>
    <string>5A3005</string>
    <key>DTPlatformVersion</key>
    <string>GM</string>
    <key>DTSDKBuild</key>
    <string>12F37</string>
    <key>DTSDKName</key>
    <string>macosx10.8</string>
    <key>DTXcode</key>
    <string>0502</string>
    <key>DTXcodeBuild</key>
    <string>5A3005</string>
    <key>IOKitPersonalities</key>
    <dict>
        <key>ACPI PS/2 Nub</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>org.rehabman.voodoo.driver.PS2Controller</string>
            <key>IOClass</key>
            <string>AppleACPIPS2Nub</string>
            <key>IONameMatch</key>
            <array>
                <string>PNP0303</string>
                <string>PNP030B</string>
            </array>
            <key>IOProviderClass</key>
            <string>IOACPIPlatformDevice</string>
            <key>MouseNameMatch</key>
            <array>
                <string>PNP0F03</string>
                <string>PNP0F0B</string>
                <string>PNP0F0E</string>
                <string>PNP0F13</string>
            </array>
        </dict>
        <key>ApplePS2Controller</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>org.rehabman.voodoo.driver.PS2Controller</string>
            <key>IOClass</key>
            <string>ApplePS2Controller</string>
            <key>IONameMatch</key>
            <string>ps2controller</string>
            <key>IOProviderClass</key>
            <string>IOPlatformDevice</string>
            <key>Platform Profile</key>
            <dict>
                <key>Default</key>
                <dict>
                    <key>WakeDelay</key>
                    <integer>10</integer>
                </dict>
                <key>HPQOEM</key>
                <dict>
                    <key>1411</key>
                    <string>ProBook</string>
                    <key>1619</key>
                    <string>ProBook</string>
                    <key>161C</key>
                    <string>ProBook</string>
                    <key>164F</key>
                    <string>ProBook</string>
                    <key>167C</key>
                    <string>ProBook</string>
                    <key>167E</key>
                    <string>ProBook</string>
                    <key>1680</key>
                    <string>ProBook</string>
                    <key>179B</key>
                    <string>ProBook</string>
                    <key>179C</key>
                    <string>ProBook</string>
                    <key>17F0</key>
                    <string>ProBook</string>
                    <key>17F3</key>
                    <string>ProBook</string>
                    <key>17F6</key>
                    <string>ProBook</string>
                    <key>ProBook</key>
                    <dict>
                        <key>WakeDelay</key>
                        <integer>0</integer>
                    </dict>
                </dict>
            </dict>
        </dict>
    </dict>
    <key>OSBundleCompatibleVersion</key>
    <string>1.8.11</string>
    <key>OSBundleLibraries</key>
    <dict>
        <key>com.apple.iokit.IOACPIFamily</key>
        <string>1.0.0d1</string>
        <key>com.apple.kpi.bsd</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.iokit</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.libkern</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.mach</key>
        <string>8.0.0</string>
        <key>com.apple.kpi.unsupported</key>
        <string>8.0.0</string>
    </dict>
    <key>OSBundleRequired</key>
    <string>Console</string>
    <key>Source Code</key>
    <string>https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller</string>
</dict>
</plist>

Best regards,

Carlos

It is best to use a fixed keyboard layout file instead of patching the Info.plist.
 
Joined
Sep 2, 2012
Messages
267
Motherboard
4530s
CPU
i3
Graphics
Intel 3000 512MB
Mac
Classic Mac
Mobile Phone
  1. Android
i also got a question, on the german keyboard the "<" and "^" are switched.
how can i switch them back?
i cant get it work on ukulele
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
i also got a question, on the german keyboard the "<" and "^" are switched.
how can i switch them back?
i cant get it work on ukulele

Ukelele should be able to fix that...
 
Joined
Sep 2, 2012
Messages
267
Motherboard
4530s
CPU
i3
Graphics
Intel 3000 512MB
Mac
Classic Mac
Mobile Phone
  1. Android
it isnt because it doesnt show the buttons that i need :D

i can press all buttons and it blinks the right button green up
but if i hit the "<>" button which is right from my left shift key nothing shows up
 
Joined
Jul 28, 2011
Messages
338
Motherboard
GA-H67MA-UD2H-B3
CPU
i5-2400
Graphics
HD 5750
Mac
  1. MacBook
Mobile Phone
  1. Android
it isnt because it doesnt show the buttons that i need :D

i can press all buttons and it blinks the right button green up
but if i hit the "<>" button which is right from my left shift key nothing shows up
Let OS X system preferences detect your keyboard again.
 
Joined
Sep 2, 2012
Messages
267
Motherboard
4530s
CPU
i3
Graphics
Intel 3000 512MB
Mac
Classic Mac
Mobile Phone
  1. Android
Already done several times with 10.8 10.9 and a Fresh install, it doenst work
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Sep 2, 2012
Messages
267
Motherboard
4530s
CPU
i3
Graphics
Intel 3000 512MB
Mac
Classic Mac
Mobile Phone
  1. Android
again, i tried ukulele but it doesnt show enough buttons, and i dont know how to add one, i only can add a dead key
 
Status
Not open for further replies.
Top