Jump to content

SSDT for Fresco Logic FL1100


xAyiDe
 Share

3 posts in this topic

Recommended Posts

I am trying to figure out how to get the "extra operating current" working for the FL1100 which is natively supported more or less but not perfect. The SMBIOS is macpro7,1

I do not get the kUSB* to propagate down the XHC-device. It stays on the main device and I think one needs it to go down one mor elevel to make it utilised by the driver.

Anyone can help with adressen the subdivide of XHC in the SSDT that I supplied? Maybe one should also rename the ports but haven't come that far yet. Need this to be operating with the extra current of 1600ma

 

 

 Scope (\_SB.PCI0.NPE2)
    {
        Device (XHC)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If ((Arg2 == Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                             // .
                    })
                }

                Return (Package (0x23)
                {
                    "kUSBSleepPowerSupply", 
                    0x13EC, 
                    "kUSBSleepPortCurrentLimit", 
                    0x0834, 
                    "kUSBWakePowerSupply", 
                    0x13EC, 
                    "kUSBWakePortCurrentLimit", 
                    0x0834, 
                    "kUSBSleepSupported", 
                    "True", 
                    "USBBusNumber", 
                    0x10, 
                    "AAPL,slot-name", 
                    Buffer (0x09)
                    {
                        "Built In"
                    }, 

                    "built-in", 
                    Buffer (One)
                    {
                         0x00                                             // .
                    }, 

                    "AAPL,current-available", 
                    0x0834, 
                    "AAPL,current-extra", 
                    0x1A8C, 
                    "AAPL,current-in-sleep", 
                    0x1A8C, 
                    "AAPL,max-port-current-in-sleep", 
                    0x0834, 
                    "AAPL,device-internal", 
                    One, 
                    "AAPL,clock-id", 
                    Buffer (One)
                    {
                         0x10                                             // .
                    }, 

                    "AAPL,xhci-clock-id", 
                    0x10, 
                    "AAPL,root-hub-depth", 
                    0x1A, 
                    "AAPL,XHC-clock-id", 
                    0x10, 
                    Buffer (One)
                    {
                         0x00                                             // .
                    }
                })
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }
        }
    }

 

Screenshot 2021-02-13 at 09.29.35.png

Screenshot 2021-02-13 at 09.29.22.png

Screenshot 2021-02-13 at 09.29.14.png

Link to comment
Share on other sites

  • 1 month later...
 Share

×
×
  • Create New...