Contribute
Register

[Beta release] NativeDisplayBrightness 0.0.5 testing [updated]

Status
Not open for further replies.
I couldn't find any error in the .plist. Here's the screenshot with FnFunctionUsageMap and ProductID:

FnFunctionUsageMap.png
 
The patch does not work. Your keyboard use a different kext, but the same Bundle Identifier, so it should work.
Update clover or edit the usage map manually.
 
Last edited:
Update clover or edit the usage map manually.

My Clover is up-to-date. How and what exactly do I need to edit manually?
 
My Clover is up-to-date. How and what exactly do I need to edit manually?
Here a short explanation:

In the FnFunctionUsageMap string
0x0007003a = F1
0x0007003b = F2
0x0007003c = F3
.......

Apple Usage ID, which does nothing for us and needs to be replaced.
0xff010021 = brightness down
0xff010020 = brightness up

We have to replace
0x0007003a, 0xff010021,0x0007003b, 0xff010020

with
0x0007003a, 0x0007003a,0x0007003b, 0x0007003b

This is what the clover patch should do, find and replace those strings. Not sure why it does not work, but I'll take closer look.
Have you checked the clover boot.log?
 
I tried replacing the strings directly in /System/Library/Extensions/AppleHIDKeyboard.kext/Contents/Info.plist, which also didn't have any effect.

The boot.log doesn't show any error, is there anything specific I should look for?
 
I tried replacing the strings directly in /System/Library/Extensions/AppleHIDKeyboard.kext/Contents/Info.plist, which also didn't have any effect.

The boot.log doesn't show any error, is there anything specific I should look for?
Your product-id is not in the HIDKeyboard plist, but in the TopCase plist. The string we see in the ioreg comes from the AppleHIDKeyboard plist. Which means that the clover plist patch should work.
The boot.log should show you something like:
Code:
com.apple.driver.AppleHIDKeyboard (by Wern) :: PlistPatch :: [OS: 10.13.4 | MatchOS: All | MatchBuild: All] ==> allowed
 
Yes, this this is showing up in my boot.log:

Code:
14:118  0:000   - [02]: com.apple.driver.AppleHIDKeyboard (by Wern) :: PlistPatch :: [OS: 10.13.4 | MatchOS: All | MatchBuild: All] ==> allowed
14:118  0:000   - [03]: com.apple.driver.AppleHIDKeyboard (by Wern) :: PlistPatch :: [OS: 10.13.4 | MatchOS: All | MatchBuild: All] ==> allowed
 
I tried replacing the strings directly in /System/Library/Extensions/AppleHIDKeyboard.kext/Contents/Info.plist, which also didn't have any effect.
Have you replaced all values? It is not clear for which product-id the values for your keyboard are used.
 
Yes, I have changed it for all entries. I'll retry once more just to make sure.
 
Yes, I have changed it for all entries. I'll retry once more just to make sure.
After the changes you should see the difference in your IOReg.
The values for F1 and F2 should be the same: 00x0007003a,0x0007003a,0x0007003b,0x0007003b
 
Status
Not open for further replies.
Back
Top