superduper / BrightnessMenulet

BrightnessMenulet is an Mac OS X app that allows you to control display brightness via DDC/CI protocol
433 stars 91 forks source link

LG 27UD69 is working fine (CR+BR) #88

Open marckrenn opened 6 years ago

marckrenn commented 6 years ago

In combination with a MBP 2017.

As the LG craps out over a contrast of 72 anyway, I've naïvly offseted its contrast by changing the following LOC:

https://github.com/marckrenn/BrightnessMenulet/blob/27UD69W/BrightnessMenulet/LMUController.m#L80

Now, when

the brightness of the LG now matches the one of the MBP. Hooray!

Same should also apply to other LGs with the same panel as well:

You can download my build here: https://www.dropbox.com/sh/pwufowvqv83g98e/AACGus7Mn9_jlZKWQ7sOY0CDa?dl=0

zhovner commented 6 years ago

I have LG 24UD58 and your build does not works. As I see it can't get the current value of BR and CR.
I have the same issue https://github.com/kfix/ddcctl but I can set the absolute value with ddcctl.
For example ddcctl -d 1 -b 50 -c 50 successfully set brightness and contrast to 50. The issue is that I can't get current values.

Here is the log of running your build in cli:

2018-01-19 02:13:30.517 Brightness Menulet[43027:4543151] DDCControls: Refreshing Screens

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:27395 Serial:

2018-01-19 02:13:30.526 Brightness Menulet[43027:4543147] AppDelegate DEFAULTS = {
    LMUUpdateInterval = "1.454914";
    "autoAttribute_LG Ultra HD" = BR;
}
2018-01-19 02:13:30.544 Brightness Menulet[43027:4543151] DDCControls: Found LG Ultra HD - 458643819

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:29211 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:35931 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:35947 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:45639 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:46635 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:85803 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:85547 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:85291 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:46891 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:47147 Serial:

E: No data after 10 tries!
2018-01-19 02:13:31.085 Brightness Menulet[43027:4543151] readDisplay:458643819 controlValue: failed need to retry...

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:85035 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:84779 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:84523 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:84267 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:84011 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:83755 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:47403 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:47659 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:83499 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:83243 Serial:

E: No data after 10 tries!
2018-01-19 02:13:31.649 Brightness Menulet[43027:4543151] readDisplay:458643819 controlValue: failed need to retry...

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:10251 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:83295 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:48447 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:48211 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:81967 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:48683 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:48939 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:81707 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:81451 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:81195 Serial:

E: No data after 10 tries!
2018-01-19 02:14:01.377 Brightness Menulet[43027:4543414] readDisplay:458643819 controlValue: failed need to retry...

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:80939 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:49199 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:80683 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:80699 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:83251 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:79647 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:79959 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:50475 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:50731 Serial:

D: IOI2CTransactionTypes: 0x13 (19)
D: IOI2CNoTransactionType                   supported
D: IOI2CSimpleTransactionType               supported
E: IOI2CDDCciReplyTransactionType           unsupported
E: IOI2CCombinedTransactionType             unsupported
D: IOI2CDisplayPortNativeTransactionType    supported

Framebuffer: AppleIntelFramebuffer
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@3/display0/AppleDisplay
VN:7789 PN:23304 SN:498539 UN:3 IN:79403 Serial:

E: No data after 10 tries!
2018-01-19 02:14:01.909 Brightness Menulet[43027:4543414] readDisplay:458643819 controlValue: failed need to retry...
marckrenn commented 6 years ago

Hey @zhovner,

try this fork here, Florian added a proper calibration GUI.

I'm currently not at home, so I can't tell the exact values I'm using, but I think I'm using MIN: -10 and MAX: 80 to match my MBP 2017.

Hope that helped 😃

Have a great weekend,

Marc