Jump to content

macq

macq

Member Since 29 Jan 2008
Offline Last Active Dec 08 2017 01:07 PM
-----

Posts I've Made

In Topic: macOS 10.13.2 Update is out

07 December 2017 - 03:18 PM

Could someone post the vanilla Applehda.kext from 10.13.2 please!!

 

thanks

In Topic: [Pre-Release] MacOS High Sierra 10.13.2

07 November 2017 - 11:35 AM

could some one please post the vanilla  AppleHDA.kext from 10.13.2 Beta 2 (17C67b).

 

Thanks

In Topic: [Pre-Release] MacOS High Sierra 10.13.2

01 November 2017 - 11:17 AM

on 10.13.1 (17B48) , still not getting 10.13.2 beta,

 

Here I am getting 10.13.1 dev beta over it . Why so?

In Topic: Cannot Get Brightness to Work with AppleBacklightInjector

23 October 2017 - 05:21 PM

@mnfesq

 

Sorry to report that this changes nothing, yeah the slider is already there but does nothing.

Also with the use of kext in L/E,  I can change levels of brightness with slider, so full control, but with every reboot it gets set to maximum brightness.

My acpibaclight.kext was working till 10.11.6, but with Sierra I lost control of brightness, the slider was always there.

May be something to do with introduction of night light feature.

Thanks for the effort though, If you can try something else please do.

 

Regards

In Topic: Cannot Get Brightness to Work with AppleBacklightInjector

23 October 2017 - 11:23 AM

I think it has to do with the settings for your PNLF device.  Please post your PNLF device in your DSDT and I can see if there is a way to have it set to your desired level every time on reboot.

Thanks. mnfesq,

 

here's my PNLF

BCL and BCM methods are also there,

Also attached is the whole dsdt ,please take look if the data from PNLF is incomplete.

 

Hope you can fix it. 

Thanks

Device (PNLF)
        {
            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 (ITOS, 1, NotSerialized)
        {
            Store (Buffer (0x06)
                {
                    "     "
                }, Local0)
            Store (Buffer (0x11)
                {
                    "0123456789ABCDEF"
                }, Local7)
            Store (0x05, Local1)
            Store (Zero, Local2)
            While (Local1)
            {
                Decrement (Local1)
                And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4)
                GBFE (Local7, Local4, RefOf (Local5))
                PBFE (Local0, Local2, Local5)
                Increment (Local2)
            }

            Store (Zero, Index (Local0, Local2))
            Return (Local0)
        }
    }

****************************************************************************************************************


AND THE BCM, BCL METHODS ARE LIKE SO.


Method (_BCL, 0, NotSerialized)  // _BCL: Brightness Control Levels
                    {
                        If (IGDS)
                        {
                            Return (BCLT)
                        }
                        Else
                        {
                            Return (BCLT)
                        }
                    }

                    Method (_BCM, 1, NotSerialized)  // _BCM: Brightness Control Method
                    {
                        If (ECON)
                        {
                            SBCM (Arg0)
                        }
                    }

                    Method (_BQC, 0, NotSerialized)  // _BQC: Brightness Query Current
                    {
                        If (ECON)
                        {
                            Return (GBQC ())
                        }
                        Else
                        {
                            Return (GBQC ())
                        }
                    }

                    Method (GBQC, 0, NotSerialized)
                    {
                        Store (Zero, Local0)
                        Store (^^^LPCB.EC0.BRTL, Local1)
                        While (LLess (Local0, 0x0B))
                        {
                            If (IGDS)
                            {
                                If (LEqual (LCDD, 0x22ECAF06))
                                {
                                    Store (DerefOf (Index (BCL8, Local0)), Local2)
                                }
                                ElseIf (LEqual (LCDD, 0x1680AF0D))
                                {
                                    Store (DerefOf (Index (BCL9, Local0)), Local2)
                                }
                                ElseIf (LEqual (LCDD, 0x021BE430))
                                {
                                    Store (DerefOf (Index (BCLB, Local0)), Local2)
                                }
                                ElseIf (LEqual (LCDD, 0x026AE430))
                                {
                                    Store (DerefOf (Index (BCLC, Local0)), Local2)
                                }
                                ElseIf (LEqual (LCDD, 0x3651A34C))
                                {
                                    Store (DerefOf (Index (BCLD, Local0)), Local2)
                                }
                                Else
                                {
                                    Store (DerefOf (Index (BCLD, Local0)), Local2)
                                }
                            }
                            ElseIf (LEqual (LCDD, 0x22ECAF06))
                            {
                                Store (DerefOf (Index (BCL1, Local0)), Local2)
                            }
                            ElseIf (LEqual (LCDD, 0x1680AF0D))
                            {
                                Store (DerefOf (Index (BCL2, Local0)), Local2)
                            }
                            ElseIf (LEqual (LCDD, 0x021BE430))
                            {
                                Store (DerefOf (Index (BCL3, Local0)), Local2)
                            }
                            ElseIf (LEqual (LCDD, 0x109EAF06))
                            {
                                Store (DerefOf (Index (BCL4, Local0)), Local2)
                            }
                            ElseIf (LEqual (LCDD, 0x0226E430))
                            {
                                Store (DerefOf (Index (BCL5, Local0)), Local2)
                            }
                            ElseIf (LEqual (LCDD, 0x1711AF0D))
                            {
                                Store (DerefOf (Index (BCL6, Local0)), Local2)
                            }
                            ElseIf (LEqual (LCDD, 0x3651A34C))
                            {
                                Store (DerefOf (Index (BCLA, Local0)), ^^^LPCB.EC0.BRTL)
                            }
                            ElseIf (LEqual (LCDD, 0x026AE430))
                            {
                                Store (DerefOf (Index (BCLE, Local0)), ^^^LPCB.EC0.BRTL)
                            }
                            Else
                            {
                                Store (DerefOf (Index (BCL7, Local0)), Local2)
                            }

                            If (LEqual (Local1, Local2))
                            {
                                Add (Local0, 0x02, Local2)
                                If (IGDS)
                                {
                                    Store (DerefOf (Index (BCLT, Local2)), Local3)
                                }
                                Else
                                {
                                    Store (DerefOf (Index (BCLT, Local2)), Local3)
                                }

                                Store (0x0B, Local0)
                            }

                            Increment (Local0)
                        }

                        Return (Local3)
                    }

                    Method (SBCM, 1, NotSerialized)
                    {
                        Store (Zero, Local0)
                        While (LLess (Local0, 0x0B))
                        {
                            Add (Local0, 0x02, Local1)
                            If (IGDS)
                            {
                                Store (DerefOf (Index (BCLT, Local1)), Local2)
                            }
                            Else
                            {
                                Store (DerefOf (Index (BCLT, Local1)), Local2)
                            }

                            If (LEqual (Arg0, Local2))
                            {
                                If (IGDS)
                                {
                                    If (LEqual (LCDD, 0x22ECAF06))
                                    {
                                        Store (DerefOf (Index (BCL8, Local0)), DPBL)
                                    }
                                    ElseIf (LEqual (LCDD, 0x1680AF0D))
                                    {
                                        Store (DerefOf (Index (BCL9, Local0)), DPBL)
                                    }
                                    ElseIf (LEqual (LCDD, 0x021BE430))
                                    {
                                        Store (DerefOf (Index (BCLB, Local0)), DPBL)
                                    }
                                    ElseIf (LEqual (LCDD, 0x026AE430))
                                    {
                                        Store (DerefOf (Index (BCLC, Local0)), DPBL)
                                    }
                                    ElseIf (LEqual (LCDD, 0x3651A34C))
                                    {
                                        Store (DerefOf (Index (BCLD, Local0)), DPBL)
                                    }
                                    Else
                                    {
                                        Store (DerefOf (Index (BCLD, Local0)), DPBL)
                                    }

                                    Store (DPBL, ^^^LPCB.EC0.BRTL)
                                    AINT (One, DPBL)
                                }
                                ElseIf (LEqual (LCDD, 0x22ECAF06))
                                {
                                    Store (DerefOf (Index (BCL1, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x1680AF0D))
                                {
                                    Store (DerefOf (Index (BCL2, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x021BE430))
                                {
                                    Store (DerefOf (Index (BCL3, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x109EAF06))
                                {
                                    Store (DerefOf (Index (BCL4, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x0226E430))
                                {
                                    Store (DerefOf (Index (BCL5, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x1711AF0D))
                                {
                                    Store (DerefOf (Index (BCL6, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x3651A34C))
                                {
                                    Store (DerefOf (Index (BCLA, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                ElseIf (LEqual (LCDD, 0x026AE430))
                                {
                                    Store (DerefOf (Index (BCLE, Local0)), ^^^LPCB.EC0.BRTL)
                                }
                                Else
                                {
                                    Store (DerefOf (Index (BCL7, Local0)), ^^^LPCB.EC0.BRTL)
                                }

                                Store (0x0B, Local0)
                            }

                            Increment (Local0)
                        }
                    }
                }






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