ayufan-research / gigabyte-m32u-ddcctl

Gigabyte M32U communication protocol over DDC/CI and HID interface
8 stars 0 forks source link

macOS 12.2 support #1

Closed peteha closed 1 year ago

peteha commented 2 years ago

Any chance you could update it to support M1 12.2?

ayufan commented 2 years ago

I dont have it yet. I will once I do.

On Fri, 4 Feb 2022 at 10:45, Peter Hauck @.***> wrote:

Any chance you could update it to support M1 12.2?

— Reply to this email directly, view it on GitHub https://github.com/ayufan-research/gigabyte-m32u-ddcctl/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQJ6LGJEXRDJ77GFLETUZON4HANCNFSM5NRJJ6HQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ayufan commented 2 years ago

@peteha I fixed some compilation errors on 12.3. Maybe it works now?

peteha commented 2 years ago

Still getting errors - thanks for looking into it.


src/DDC.c:35:54: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    kern_return_t err = IOServiceGetMatchingServices(kIOMasterPortDefault, IOServiceMatching(IOFRAMEBUFFER_CONFORMSTO), &iter);
                                                     ^~~~~~~~~~~~~~~~~~~~
                                                     kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
                  ^
src/DDC.c:361:39: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    kr = IOServiceGetMatchingServices(kIOMasterPortDefault,
                                      ^~~~~~~~~~~~~~~~~~~~
                                      kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
ayufan commented 1 year ago

Updated to support M1: https://github.com/ayufan-research/gigabyte-m32u-ddcctl