Contribute
Register

An iDiot's Guide To Lilu and its Plug-ins

I noticed in this thread "SBUS" being used. In the hunt for getting my name changes down to zero I've been trying out this (attached) AML that's supposed to do it. With the name change I get SATA in IOReg and SBUS is already there.


@NorthAmTransAm,

The ACPI device name "SBUS" is usually reserved for the SMBus (System Management Bus) .. which is a simple two wire communications bus commonly used in PC's for things like sensor and status monitoring.

The SBUS device should be totally separate the SATA devices ... your IOREG looks OK to me.

Cheers
Jay
 
@NorthAmTransAm,

The ACPI device name "SBUS" is usually reserved for the SMBus (System Management Bus) .. which is a simple two wire communications bus used in PC's for things like sensor monitoring and status (like power on).

The SBUS device should be totally separate the SATA devices ... your IOREG looks OK to me.

Cheers
Jay

Thanks Jay. Any chance you could help me learn something that keeps going over my head? Ignore if you're not up to it.

Am I on the right track to accomplishing the name change with this?

Code:
DefinitionBlock ("", "SSDT", 2, "HACK", "SsdtSATA", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.SAT0, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0)
    {
        Scope (SAT0)
        {
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (Zero)
                }
                Else
                {
                    Return (0x0F)
                }
            }
        }

        Device (SATA)
        {
            Name (_HID, "HACK0001")  // _HID: Hardware ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }
        }
    }
}
 
Thanks Jay. Any chance you could help me learn something that keeps going over my head? Ignore if you're not up to it...Am I on the right track to accomplishing the name change with this?


@NorthAmTransAm,

Your code is a little bit OTT just to rename SAT0 to SATA but it will work.
To stream line it further you can merge the two Scope commands into one :-

Code:
 Scope (\_SB.PCI0\SAT0)


And there is no need for the conditional returns in the _STA methods ...
As this code is being injected as a custom SSDT it will only apply to MacOS so no need to check for other OS Types.

I assume you know that Clover can do the rename for you without having to resort to a SSDT and that this is an exercise in ACPI coding ?

Cheers
Jay
 
@NorthAmTransAm,

Your code is a little bit OTT just to rename SAT0 to SATA but it will work.
To stream line it further you can merge the two Scope commands into one :-

Code:
 Scope (\_SB.PCI0\SAT0)


And there is no need for the conditional returns in the _STA methods ...
As this code is being injected as a custom SSDT it will only apply to MacOS so no need to check for other OS Types.

I assume you know that Clover can do the rename for you without having to resort to a SSDT and that this is an exercise in ACPI coding ?

Cheers
Jay

Yeah I've had it done in Clover. I just wanted to learn! Didn't work however.
 
Last edited:
Hi,

I've been though this guide and some others, and I don't seem to be able to get my system to play DRM content.

Perhaps I'm missing something obvious, so I'm posting all the information I have in hope that somebody much wiser than me has a look at it.

I'm posting all the info which I find relevant + EFI folder.

Info from Hackintool

-----------------------------------------------------------------------
System Info
-----------------------------------------------------------------------
Host my-iMac.local
OS macOS Catalina Version 10.15.1 (Build 19B88)
Kernel Darwin 19.0.0 x86_64
RAM 16.00 GB
Model Identifier iMac14,2
CPU Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
Intel Generation Haswell
Platform ID 0x04120004
Board ID Mac-27ADBB7B4CEE8E61
FW Version 140.0.0.0.0
Serial Number <omitted>
Hardware UUID <omitted>
System ID <omitted>
ROM <omitted>
Board Serial Number <omitted>
VDA Decoder Fully Supported
-----------------------------------------------------------------------
Serial Info
-----------------------------------------------------------------------
Country China (Quanta Computer)
Year 2014
Week 05.28.2014-06.03.2014
Line 1495 (copy 16)
Model iMac14,2
Valid Possibly
-----------------------------------------------------------------------
IGPU
-----------------------------------------------------------------------
GPU Name Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
GPU Device ID 0x04128086
-----------------------------------------------------------------------
GFX0
-----------------------------------------------------------------------
GPU Name Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
GPU Device ID 0x67DF1002
Quartz Extreme (QE/CI) Yes
Metal Supported Yes
Metal Device Name AMD Radeon RX 580
Metal Default Device Yes
Metal Low Power No
Metal Headless No
-----------------------------------------------------------------------
iMessage Keys
-----------------------------------------------------------------------
Gq3489ugfi <omitted>
Fyp98tpgj <omitted>
kbjfrfpoJU <omitted>
oycqAZloTNDm <omitted>
abKPld1EcMni <omitted>
-----------------------------------------------------------------------

Patch -> Connectors:
All set to -1/0x00/0/Dummy
"headless" icon is displayed


Also, followed the configuration checklist from WhateverGreen:

$ ./VDADecoderChecker
Hardware acceleration is fully supported

$ ioreg | grep IMEI
| | +-o IMEI@16 <class IOPCIDevice, id 0x100000210, registered, matched, active, busy 0 (10 ms), retain 10>

$ ioreg -l | grep platform-id
| | | | "AAPL,ig-platform-id" = <04001204>

$ cat /System/Library/PrivateFrameworks/AppleGVA.framework/Info.plist
cat: /System/Library/PrivateFrameworks/AppleGVA.framework/Info.plist: No such file or directory

$ cat /System/Library/PrivateFrameworks/AppleGVA.framework/Resources/Info.plist | grep iMac14
<nothing>
Does this mean iMac14,2 is not supported?
I'd rather not change my system definition (I'm using a haswell cpu)



My loaded Kexts (all in/L/E except for FakeSMC):

$ kextstat | grep -v com.apple
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
17 4 0xffffff7f80db5000 0x12000 0x12000 org.netkas.driver.FakeSMC (1800) FC7031CC-C949-35D1-AC1A-CA8DB349793E <12 8 6 5 3 1>
18 1 0xffffff7f8108f000 0x23000 0x23000 as.vit9696.Lilu (1.3.9) 6E2022BA-255E-38F8-975E-46DCD3B040F9 <8 6 5 3 2 1>
19 0 0xffffff7f810b2000 0x68000 0x68000 as.vit9696.WhateverGreen (1.3.4) 7C26D5B8-7AFD-346E-B6D7-681D03EF6432 <18 13 8 6 5 3 2 1>
67 0 0xffffff7f81145000 0x14000 0x14000 com.insanelymac.IntelMausiEthernet (2.5.0d0) 36976671-FFEB-3653-9B8B-1B76AD91D2D2 <21 13 6 5 3 1>
102 0 0xffffff7f80fd7000 0x8000 0x8000 org.hwsensors.driver.ACPISensors (1800) FA4DF6C0-0D3A-3CE2-8569-0AB2C84053E7 <17 12 8 6 5 3>
111 0 0xffffff7f8115f000 0xe000 0xe000 org.hwsensors.driver.LPCSensors (1800) EF5BB9DC-C33F-3EED-9F96-42A7F22D806F <17 13 12 8 6 5 3>
122 0 0xffffff7f80fe4000 0x4000 0x4000 com.intel.driver.EnergyDriver (2.0) A139E25A-85BE-378C-94A1-07E2293B6796 <8 6 5 3>
124 0 0xffffff7f80dcb000 0x5000 0x5000 org.hwsensors.driver.CPUSensors (1800) ED90DA0F-5876-3DB5-82EC-CEEA470A7479 <17 8 6 5 3>
127 0 0xffffff7f80dd2000 0x12000 0x12000 org.hwsensors.driver.GPUSensors (1800) C6BE6BDA-2398-3318-BCF0-F519AD4DB140 <17 13 12 8 6 5 3>
134 0 0xffffff7f81242000 0x6000 0x6000 com.valvesoftware.SteamInput (3083.39.62) DED4413E-CD8E-3E56-B0AB-7B3B20ECE4BF <54 6 5 3>
145 0 0xffffff7f81233000 0x9000 0x9000 com.steelseries.ssenext.driver (0.92) FF0B4398-9774-3FAB-9044-F0D7650C3727 <54 6 5 3>
153 0 0xffffff7f84bf7000 0x1c000 0x1c000 com.intel.kext.intelhaxm (6.2.0) FAD2A80C-AB2D-351F-9314-04E1DEB2F004 <8 6 5 3 1>
154 0 0xffffff7f84c13000 0x5000 0x5000 org.pqrs.driver.Karabiner.VirtualHIDDevice.v061000 (6.10.0) 4D004D1A-ED2F-3780-AD53-A10F286EC759 <54 6 5 3 1>
 

Attachments

  • EFI.zip
    30.7 MB · Views: 91
I'm wondering if anyone can help with this, I have a system where I would like to use my integrated GPU and my discrete GPU for powering dual monitors.

Currently my integrated GPU has been configured as headless.

I have an Intel UHD 630, and the rest of my specs can be seen in my profile. Currently my Radeon VII works fine, and hot-plugging any displays to my UHD 630 will cause a system hang.

I am using SMBIOS iMac19,1, and I have WhateverGreen installed. I did read somewhere that WeG will automatically initialise the IGP as headless if it sees a discrete card.

My question is, what do I do next?
 
I'm wondering if anyone can help with this, I have a system where I would like to use my integrated GPU and my discrete GPU for powering dual monitors.

Currently my integrated GPU has been configured as headless.

I have an Intel UHD 630, and the rest of my specs can be seen in my profile. Currently my Radeon VII works fine, and hot-plugging any displays to my UHD 630 will cause a system hang.

I am using SMBIOS iMac19,1, and I have WhateverGreen installed. I did read somewhere that WeG will automatically initialise the IGP as headless if it sees a discrete card.

My question is, what do I do next?

IGPU headless = no monitor connected (the "head" being monitor(s))

If you want to connect more monitors, they should be plugged in to your Radeon VII.
 
IGPU headless = no monitor connected (the "head" being monitor(s))

If you want to connect more monitors, they should be plugged in to your Radeon VII.

I have a specific reason for wanting to plug this display device into the IGP - the VII does not support >4 monitors on macOS, this includes when chaining DisplayPort outputs through my U2515H.
 
I have a specific reason for wanting to plug this display device into the IGP - the VII does not support >4 monitors on macOS, this includes when chaining DisplayPort outputs through my U2515H.

If you need to use IGPU for monitor(s), you will have de-configure it to NOT operate heedlessly.

I don't know how macOS will behave if you do this. I don't know what's the best system definition to use for this.
 
If you need to use IGPU for monitor(s), you will have de-configure it to NOT operate heedlessly.

I don't know how macOS will behave if you do this. I don't know what's the best system definition to use for this.
I just need to know the correct bootflags in case there is WhateverGreen interference, and the correct ig-platform-id to enable the GPU correctly. Would you happen to know this information?

I had an RX 580 and the HD 4600 working in this way on my previous build which worked fine with multiple monitors, so macOS can handle it.
 
Back
Top