Jump to content

please help me fix Brightness Control Nvidia Graphics Only Laptop

rehabman

  • Please log in to reply
62 replies to this topic

#61
onejay09

onejay09

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts

i would like to thank you too @foskvs, your help is much appreciated!

 

though i gave up and settled for the alternative asusacpibacklight for now.

Scope (_SB)
{
    Device (PNLF)
    {
        Name (_ADR, 0x00)  // _ADR: Address
        Name (_HID, EisaId ("APP0002"))  // _HID: Hardware ID
        Name (_CID, "backlight")  // _CID: Compatible ID
        Name (_UID, 0x0A)  // _UID: Unique ID
        Name (_STA, 0x0B)  // _STA: Status
        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                    0x03                                           
                })
            }

            Return (Package (0x04)
            {
                "refnum", 
                0x00, 
                "type", 
                0x4d434353
            })
        }
    }
}

what is special about this pnlf what does 0x4d434353 do?

 

i would like to know more about the nvidia setup on real macs and maybe you could share acpi Files and an ioreg from the real mac please?



#62
foskvs

foskvs

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,430 posts
  • Gender:Male
  • Location:Italy

what is special about this pnlf what does 0x4d434353 do?

I'm not completely sure (i have to check it on my hack), but it loads AGDCBacklightControl.kext

 

i would like to know more about the nvidia setup on real macs and maybe you could share acpi Files and an ioreg from the real mac please?

 

Here you can find Darwin Dumps (Acpi, ioregs, ...) from most of the Macs -> https://applelife.ru...ix-macov.39174/

You can find other dumps on Github.

 

Basically, there are 3 kinds of Nvidia Macs:

1) iMac: IGPU enabled without displays and dGPU (GFX0) set as onboard-1 (example: iMac14,2)

2) MacBookPro with DG: IGPU enabled with one port (internal display, connector-type 02000000) and onboard-1. dGPU (GFX0) onboard-2 and connector type for internal display set as 02040000 and ports for external displays (example: MacBookPro11,3)

3) MacBookPro with dual Nvidia: IGPU (low-performance Nvidia) with two displays and GFX0 (high-performance Nvidia) with two displays (example: MacBookPro5,3)

 

All three use AppleBacklight.kext and IMHO we should focus on iMacs as they are more similar to non-Apple laptops (and, of course, desktops).



#63
DuongTHVN

DuongTHVN

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
  • Gender:Male
  • Location:VietNam

will test on my Clevo and report soon 







Also tagged with one or more of these keywords: rehabman


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy