My system uses ApplePS2SmartTouchPad.kext for it's touchpad and keyboard, and for the most part I'm really happy with it. However, there's one default that I don't like - FinerFnBrightnessControl/FinerFnVolumeControl. By default this is set to true, meaning instead of the hotkeys adjusting with 16 steps, they adjust with 64 steps.
Manually editing the Info.plist works, however I'd like to hotpatch it in clover so future updates work without issue/so my kexts are clean.
<key>Comment</key> <string>FinerFNxControl false</string> <key>Disabled</key> <true/> <key>Find</key> <data> b2w8L2tleT4KCQkJCTx0cnVlLz4= </data> <key>InfoPlistPatch</key> <true/> <key>Name</key> <string>org.emlydinesh.driver.ApplePS2Keyboard</string> <key>Replace</key> <data> b2w8L2tleT4KCQkJPGZhbHNlLz4= </data>
This is what I have so far - It should replace "ol</key> <true/>" with "ol</key> <false/>". The length of the string is correct, I stole a byte from the tab formatting. I then encoded the replaced hex into base64 and got the above result.
I'm not exactly sure why this doesn't work. I've had success writing other normal kext patches, but with this being an info.plist patch I figure there's something I'm doing wrong.
Any help? Thanks!
[link] [comments]
Post a Comment