Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

Newest revisions should fix issues with fourth generation cpus, and also dropping existing SLIC when injecting new one, so please upgrade to newest revision. You may need to build it since I don't think there is a package up on source forge yet.

Link to comment
Share on other sites

I built a new Clover UEFI system with following specs:

  • i7-4770k
  • Asus Maximus VI Gene C2
  • Nvidia GTX780

The bios is standard MSR unlocked and I think NVRAM is working too.

Sleep isn't working and I can't use the Eject button on my Apple keyboard (it's in the menubar).

 

I used PJALM's all-in-one patch for the DSDT, combined with Toleda's patches for audio ALC1150 and HDMI audio. The discrete graphics patch does not work, as it enters a new PEGP device and it doesn't exist resulting in an error.

I also use a SSDT for power management (kernelpm not needed) and added a MacPro5,1 Board-ID plist in X86PlatformPlugin, copied from an iMac14,2 Board-ID plist.

 

1. Power management seems to be working, I get a lot of turbo states but this likely seems to be Mavericks kernel power management.

2. How can I test if NVRAM is really working? I don't need EmuVariable64.efi and "nvram -p" shows Clover traces.

 

I'll also add my config.plist, did I forget something to get sleep to work? (without DSDT it does work)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Name</key>
			<string>DSDT.aml</string>
		</dict>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<true/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Timeout</key>
		<integer>5</integer>
		<key>Arguments</key>
		<string></string>
	</dict>
	<key>Devices</key>
	<dict>
		<key>USB</key>
		<dict>
			<key>Inject</key>
			<false/>
			<key>FixOwnership</key>
			<false/>
			<key>AddClockID</key>
			<false/>
		</dict>
	</dict>
	<key>GUI</key>
	<dict>
		<key>Scan</key>
		<dict>
			<key>Tool</key>
			<true/>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<false/>
		</dict>
		<key>Hide</key>
		<array>
			<string>HD(1,GPT,031A7308-A953-448D-AC13-DF16C772C478)</string>
			<string>HD(2,GPT,D35FB078-F5FB-43C3-A6EE-856EF6C96C07)</string>
		</array>
		<key>Custom</key>
		<dict>
			<key>Entries</key>
			<array>
				<dict>
					<key>Volume</key>
					<string>0F3582E4-D5F4-42BA-8FA7-013996A0475C</string>
					<key>Path</key>
					<string>\EFI\BOOT\BOOTX64.efi</string>
					<key>Disabled</key>
					<true/>
					<key>Hidden</key>
					<true/>
				</dict>
				<dict>
					<key>Volume</key>
					<string>DAE6FD8B-3D41-4529-B1FE-006E50933417</string>
					<key>Hidden</key>
					<true/>
					<key>Disabled</key>
					<false/>
					<key>FullTitle</key>
					<string>Recovery</string>
					<key>Type</key>
					<string>OSXRecovery</string>
				</dict>
				<dict>
					<key>Volume</key>
					<string>9748EF3F-6433-45BA-80F7-F6D9FDA3EFE5</string>
					<key>FullTitle</key>
					<string>Mac</string>
					<key>Type</key>
					<string>OSX</string>
				</dict>
				<dict>
					<key>Volume</key>
					<string>896874EF-2639-4D21-9624-BC84A00130CD</string>
					<key>Path</key>
					<string>\EFI\Microsoft\Boot\bootmgfw-orig.efi</string>
					<key>FullTitle</key>
					<string>Windows 8</string>
					<key>Type</key>
					<string>Windows</string>
					<key>InjectKexts</key>
					<false/>
					<key>AddArguments</key>
					<string></string>
				</dict>
			</array>
		</dict>
		<key>Theme</key>
		<string>mlcamp</string>
		<key>DebugLog</key>
		<true/>
		<key>Mouse</key>
		<dict>
			<key>Enabled</key>
			<true/>
			<key>Speed</key>
			<integer>2</integer>
			<key>DoubleClick</key>
			<integer>500</integer>
			<key>Mirror</key>
			<false/>
		</dict>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>Intel</key>
			<true/>
		</dict>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleRTC</key>
		<false/>
		<key>AsusAICPUPM</key>
		<true/>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>IOAHCIBlockStorage</string>
				<key>Find</key>
				<data>QVBQTEUgU1NEAA==</data>
				<key>Replace</key>
				<data>AAAAAAAAAAAAAA==</data>
			</dict>
			<dict>
				<key>Name</key>
				<string>AppleTyMCEDriver</string>
				<key>Find</key>
				<data>cgoATWFjUHJvNCwxAE1hY1BybzUsMQBY</data>
				<key>Replace</key>
				<data>cgoAAAAAAAAAAAAAAAAAAAAAAAAAAABY</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>LogEveryBoot</key>
		<string>Yes</string>
		<key>LogLineCount</key>
		<integer>3000</integer>
		<key>MountEFI</key>
		<false/>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>ProductName</key>
		<string>MacPro5,1</string>
		<key>SerialNumber</key>
		<string>XXX</string>
		<key>SmUUID</key>
		<string>XXX</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>CustomUUID</key>
		<string>XXX</string>
		<key>InjectSystemID</key>
		<false/>
		<key>InjectKexts</key>
		<true/>
		<key>XMPDetection</key>
		<true/>
	</dict>
</dict>
</plist>

Link to comment
Share on other sites

Newest revisions should fix issues with fourth generation cpus, and also dropping existing SLIC when injecting new one, so please upgrade to newest revision. You may need to build it since I don't think there is a package up on source forge yet.

 

I am at 2428 already. So there is a newer revision that may fix the problem and that I need to build on my own?

Sleep isn't working

 

Welcome to the club.

 

2. How can I test if NVRAM is really working? I don't need EmuVariable64.efi and "nvram -p" shows Clover traces.

 

You can test it by setting a bogus variable, like this: (in terminal)

sudo nvram test="test"

Then reboot and print out the NVRAM contents to see if the value survived a restart:

nvram -p

Even if you see clover related stuff in the output, that does not necessarily mean that these vars are actually persistent.

Link to comment
Share on other sites

Ok, dropping of original SLIC if new SLIC is injected is in Clover rev 2427.

@dmazar can you explain to me what happens if we drop the slic in windows folder ? I'm confused 

Link to comment
Share on other sites

It appears there is still problem with kernel power management then since that's what the fourth generation cpus now use in os x. So messing with the other stuff is probably not really doing anything useful. As for the SLIC, you can place SLIC.aml in \EFI\CLOVER\acpi\Windows\ and it will inject it. Previously it only injected the SLIC placed in this folder without checking for or dropping the previous SLIC which it should now do, removing any conflict that occured.


Although I see there appears to be a few more changes for haswell, if you can build 2431, there is no official package though.

  • Like 1
Link to comment
Share on other sites

You'll need to know your VESA modes for your graphics card. If it doesn't support it, you can patch your VBIOS on the fly in config.plist for nvidia cards.

 

I did this for my GTX 560Ti:

 

<key>PatchVBiosBytes</key>
			 <dict>
					 <key>0</key>
					 <dict>
							 <key>Find</key>
							 <data>NC0nKJAroL+cj5a5jh8AAAA=</data>
							 <key>Replace</key>
							 <data>Fg7vn4/9AmM7N8/rQADBJAI=</data>
					 </dict>
					 <key>1</key>
					 <dict>
							 <key>Find</key>
							 <data>KAAZACgYCAgF</data>
							 <key>Replace</key>
							 <data>gAc4BPBCEAcF</data>
					 </dict>
					 <key>2</key>
					 <dict>
							 <key>Find</key>
							 <data>gg8DAQAACAQUAAAIFw==</data>
							 <key>Replace</key>
							 <data>TQEDTQEIASDAA///IA==</data>
					 </dict>
					 <key>3</key>
					 <dict>
							 <key>Find</key>
							 <data>QAa6sAQ=</data>
							 <key>Replace</key>
							 <data>gAe6OAQ=</data>
					 </dict>
			 </dict>
That added 1920x1080 in four matrices of the Video Bios. More info at ProjectOSX forums.

 

If you have an UEFI motherboard, you'll need a driver called CsmVideoDxe-64.efi.

 

Cheers!

 

PS: I forgot, the setting of the resolution is in the refit.conf file.

 

can i use this in chameleon ?

Link to comment
Share on other sites

@dmazar can you explain to me what happens if we drop the slic in windows folder ? I'm confused 

"Drop" in the context of Clover means to replace or remove any existing native SLIC in the BIOS ACPI tables with the one you put in Clover's EFI/Clover/ACPI/Windows folder.

 

If you have an OEM machine with an existing SLIC (in my case DELL M09), then injecting a SLIC with Clover did not replace the existing BIOS SLIC--->end up with 2 SLICs--->conflict with Windows activation system.  This occurred even if you used a "drop" argument for SLIC in Clover's config.plist.

 

NB This does not affect people whose systems don't have an existing native SLIC in BIOS eg custom built machines and Clover injection has usually worked for these before.

 

After the latest patch, it will automatically check and replace any existing SLICs with the one you place in Clover's EFI/Clover/ACPI/Windows (useful if you want to try a new/different SLIC for your machine). 

 

From my Clover debug.log:

 

15:985  0:038  Get Acpi Tables List from RSDT:

16:051  0:066   Found table: FACP  M09     len=116

16:083  0:032   Found table: HPET  M09     len=56

16:116  0:032   Found table: APIC  M09     len=104

16:148  0:032   Found table: MCFG  M09     len=62

16:181  0:032   Found table: SLIC  M09     len=374

16:213  0:032   Found table: OSFR  M09     len=130

16:245  0:032   Found table: BOOT  M09     len=40

 

39:370  0:032  Loading bootmgfw.efi

39:583  0:213  OtherOS: Found Acpi 2.0 RSDP 0xDFA9C000

39:627  0:043  RSDT at DFE7213A

39:659  0:032  XSDT at DFE73A00

39:692  0:032  FADT pointer = DFE7389C

39:743  0:051  found EFI\CLOVER\ACPI\Windows\SLIC.aml

39:793  0:049  Drop tables from Xsdt, SIGN=SLIC TableID= Length=0

39:825  0:032   Xsdt has tables count=8

39:858  0:032   Table: SLIC  M09      374 dropped

39:890  0:032  corrected XSDT length=92

39:922  0:032  Drop tables from Rsdt, count=8

39:955  0:032   Table: SLIC  M09      374 dropped

39:987  0:032  corrected RSDT length=64

40:020  0:032  Table SLIC.aml inserted.

40:052  0:032  SLIC: Rsdt OEMid 'DELL  ', TabId ' M09    ' to OEMid 'DELL  ', TabId 'PE_SC3  '

40:117  0:064  SLIC: Xsdt OEMid 'DELL  ', TabId ' M09    ' to OEMid 'DELL  ', TabId 'PE_SC3  '

40:182  0:065  SetStartupDiskVolume ...

 Volume: 'EFI', LoaderPath: '\EFI\Microsoft\Boot\bootmgfw.efi'

Link to comment
Share on other sites

Unfortunately, my problem remains, and I don't seem to find a person here who is able to actually help me. I have to admit this is slowly become very frustrating. I am not a person who is crying for help with any little problem I encounter, but only if I really don't know what to do, and after having tried so solve everything for myself. And I still think the probs I have are - at least partly - at fault of clover, not mine.

 

Maybe related to my newer CPU and X79 rev, but nobody seems to be really interested in helping me find out. So it seems clover is not supporting 4930K or newer X79 revs at all? Or do I just ask in the wrong forum? Is there any place where you can actually get some help with clover? Maybe a place where I can talk to some devs? Shall I open some tickets?

What's the problem?
You need help?
Link to comment
Share on other sites

What's the problem?

 

Described it about 3-4 times here in this thread alone.

 

Again, in short:

 

1) Sleep does not work properly - depending on the 2 installations I tested, does not reach proper sleep state at all or does panic when waking up

1b) Does not work when booting chameleon in legacy mode either

1c) But sleep does work with Chameleon, so it must be something with clover, independent of booting viua UEFI or not

 

2) missing (internal) USB ports, maybe (with a high probability) due to the fact that I have a newer X79 revision with changed USB chipset

2a) old way clover DSDT patching did work (using FIX_HPET and FIX_IPIC AFAIK) - but only kind of, the patch clover attempts does not respect my DSDT properly - devs also seem to ignore this (reported that 3 times now)

2b) new way patching does not solve this problem anymore

 

And it also happened that the machine was unable to restart. Only occured 1-2 times so far, so this might be what others report, ie that clover refuses to restart properly sometimes. (Yeah, I love bugs that appear "sometimes".) But my sleep problems on the other hand occur always and are reproducible.

 

You need help?

 

Yes. That's what I am asking for since some weeks now ... would be very glad to actually get some.

Link to comment
Share on other sites

Described it about 3-4 times here in this thread alone.

 

Again, in short:

 

1) Sleep does not work properly - depending on the 2 installations I tested, does not reach proper sleep state at all or does panic when waking up

1b) Does not work when booting chameleon in legacy mode either

1c) But sleep does work with Chameleon, so it must be something with clover, independent of booting viua UEFI or not

 

2) missing (internal) USB ports, maybe (with a high probability) due to the fact that I have a newer X79 revision with changed USB chipset

2a) old way clover DSDT patching did work (using FIX_HPET and FIX_IPIC AFAIK) - but only kind of, the patch clover attempts does not respect my DSDT properly - devs also seem to ignore this (reported that 3 times now)

2b) new way patching does not solve this problem anymore

 

And it also happened that the machine was unable to restart. Only occured 1-2 times so far, so this might be what others report, ie that clover refuses to restart properly sometimes. (Yeah, I love bugs that appear "sometimes".) But my sleep problems on the other hand occur always and are reproducible.

 

 

Yes. That's what I am asking for since some weeks now ... would be very glad to actually get some.

1º - I need your DSDT to fix Sleep;
2º - I need your SSDT to fix Sleep, SpeedStep;
3º - Your Config.plist for injection Clover correctly;
4º - I need a IOREG that your machine to check the control ACPI if it is correct.
Post everything to análizes and return the result set!
Your machine is compatible with the latest release 10.9.2 Beta Apple in the month of Desembro!
Link to comment
Share on other sites

I installed OS X on my main rig again and want to use clover in uefi mode. But the mainboard reports no bootable System found. I then put clover on a USB stick in legacy mode. This way it boots. My system is in my sig

Because you don't have a firmware boot entry and probably don't have clover gui copied to \EFI\BOOT\BOOTX64.efi

 

:rolleyes: hei dev...why when enter in my gui and put on icon restart...dont work?

What do you mean? It doesn't restart? It does nothing? It shuts down instead?

Link to comment
Share on other sites

What do you mean? It doesn't restart? It does nothing? It shuts down instead?

 

Listen Apianti...

When I'm in the GUI and add the option clover to bios and then I go on the restart icon, the pc does not restart and I have to reset ...only this ..unterstand..It does nothing
Link to comment
Share on other sites

Bruxo, thank you for offering your help! Unfortunately I do not have access to 10.9.2 and I begin to wonder if this update will be actually necessary for solving my problems. For example as I see it it won't be possible to add speedstep for the 4930K without this update, so maybe it would be better to wait for complete LGA2011 support, as the sleep problems might be tied to that. Also ioReg output might be different then.

 

As for the USB problem, I think that this is a separate issue though.

 

What environment do you need for the dumps? "Unpatched" clover installation? But even that does alter some things as it seems. I can also offer a dump via Linux, or a complete DarwinDumper output.

Link to comment
Share on other sites

Bruxo, thank you for offering your help! Unfortunately I do not have access to 10.9.2 and I begin to wonder if this update will be actually necessary for solving my problems. For example as I see it it won't be possible to add speedstep for the 4930K without this update, so maybe it would be better to wait for complete LGA2011 support, as the sleep problems might be tied to that. Also ioReg output might be different then.

 

As for the USB problem, I think that this is a separate issue though.

 

What environment do you need for the dumps? "Unpatched" clover installation? But even that does alter some things as it seems. I can also offer a dump via Linux, or a complete DarwinDumper output.

IOREG is to debug your ACPI if it is correct!!
Understand that no native ACPI, Avera not sleep or SpeedStep!!
I just make sure everything is correct, or needs corrections;
Attach DSDT, SSDT and IOREG!
Link to comment
Share on other sites

@magnifico, newest revision 2435 should fix your restart issue, I think....

@frankiee, it most likely is a combination of unsupported hardware and incorrect ACPI patches/modifications. Bruxo seems to be able to help.

Project to build, but my processor Sandy and is not Ivy or Haswell!

My project:

Make sure there will AGPM this project!

post-814746-0-65614300-1388512682_thumb.png

Link to comment
Share on other sites

Frankiee download this file!
He then generate SSDT post the result here for analysis.
His IOREG demonstrate activation ACPI wrong for your processor:
Your IOREG demonstration ACPI_SMC_PlatformPlugin
The Right to be X86PlatformPlugin
This is due to the use of Mac Pro5,1 and he did not use Ivy processor
Ivy be used in Mac Pro6,1

 

ssdtPRGen.zip

post-814746-0-67676200-1388514364_thumb.png

post-814746-0-99986900-1388514375_thumb.png

Link to comment
Share on other sites

This is due to the use of Mac Pro5,1 and he did not use Ivy processor
Ivy be used in Mac Pro6,1

 

 

As I said I am not on 10.9.2 yet. This _might_ be the source of my problems, at least parts of them. So maybe it's best to wait for 10.9.2 to be released. Did you see anything interesting in terms of USB?

 

And I have latest BIOS 4701

 

But here is the output of ssdtPRGen.sh anyway:

/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20100331
 *
 * Disassembly of iASLo3ts1Y.aml, Tue Dec 31 21:36:37 2013
 *
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x0000091F (2335)
 *     Revision         0x01
 *     Checksum         0x8D
 *     OEM ID           "APPLE "
 *     OEM Table ID     "CpuPm"
 *     OEM Revision     0x00007500 (29952)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20130117 (538116375)
 */
DefinitionBlock ("iASLo3ts1Y.aml", "SSDT", 1, "APPLE ", "CpuPm", 0x00007500)
{
    External (\_SB_.C00B, DeviceObj)
    External (\_SB_.C00A, DeviceObj)
    External (\_SB_.C009, DeviceObj)
    External (\_SB_.C008, DeviceObj)
    External (\_SB_.C007, DeviceObj)
    External (\_SB_.C006, DeviceObj)
    External (\_SB_.C005, DeviceObj)
    External (\_SB_.C004, DeviceObj)
    External (\_SB_.C003, DeviceObj)
    External (\_SB_.C002, DeviceObj)
    External (\_SB_.C001, DeviceObj)
    External (\_SB_.C000, DeviceObj)

    Scope (\_SB.C000)
    {
        Method (_INI, 0, NotSerialized)
        {
            Store ("ssdtPRGen version: 7.5 / Mac OS X 10.9 (13A603)", Debug)
            Store ("baseFrequency    : 800", Debug)
            Store ("frequency        : 3400", Debug)
            Store ("busFrequency     : 100", Debug)
            Store ("logicalCPUs      : 12", Debug)
            Store ("tdp              : 130", Debug)
            Store ("packageLength    : 32", Debug)
            Store ("turboStates      : 5", Debug)
            Store ("maxTurboFrequency: 3900", Debug)
            Store ("machdep.xcpm.mode: 0", Debug)
        }

        Name (APLF, Zero)
        Name (APSN, 0x05)
        Name (APSS, Package (0x20)
        {
            Package (0x06)
            {
                0x0F3C, 
                0x0001FBD0, 
                0x0A, 
                0x0A, 
                0x2700, 
                0x2700
            }, 

            Package (0x06)
            {
                0x0ED8, 
                0x0001FBD0, 
                0x0A, 
                0x0A, 
                0x2600, 
                0x2600
            }, 

            Package (0x06)
            {
                0x0E74, 
                0x0001FBD0, 
                0x0A, 
                0x0A, 
                0x2500, 
                0x2500
            }, 

            Package (0x06)
            {
                0x0E10, 
                0x0001FBD0, 
                0x0A, 
                0x0A, 
                0x2400, 
                0x2400
            }, 

            Package (0x06)
            {
                0x0DAC, 
                0x0001FBD0, 
                0x0A, 
                0x0A, 
                0x2300, 
                0x2300
            }, 

            Package (0x06)
            {
                0x0D48, 
                0x0001FBD0, 
                0x0A, 
                0x0A, 
                0x2200, 
                0x2200
            }, 

            Package (0x06)
            {
                0x0CE4, 
                0x0001E74A, 
                0x0A, 
                0x0A, 
                0x2100, 
                0x2100
            }, 

            Package (0x06)
            {
                0x0C80, 
                0x0001D323, 
                0x0A, 
                0x0A, 
                0x2000, 
                0x2000
            }, 

            Package (0x06)
            {
                0x0C1C, 
                0x0001BF5A, 
                0x0A, 
                0x0A, 
                0x1F00, 
                0x1F00
            }, 

            Package (0x06)
            {
                0x0BB8, 
                0x0001ABEE, 
                0x0A, 
                0x0A, 
                0x1E00, 
                0x1E00
            }, 

            Package (0x06)
            {
                0x0B54, 
                0x000198DF, 
                0x0A, 
                0x0A, 
                0x1D00, 
                0x1D00
            }, 

            Package (0x06)
            {
                0x0AF0, 
                0x0001862B, 
                0x0A, 
                0x0A, 
                0x1C00, 
                0x1C00
            }, 

            Package (0x06)
            {
                0x0A8C, 
                0x000173D2, 
                0x0A, 
                0x0A, 
                0x1B00, 
                0x1B00
            }, 

            Package (0x06)
            {
                0x0A28, 
                0x000161D3, 
                0x0A, 
                0x0A, 
                0x1A00, 
                0x1A00
            }, 

            Package (0x06)
            {
                0x09C4, 
                0x0001502D, 
                0x0A, 
                0x0A, 
                0x1900, 
                0x1900
            }, 

            Package (0x06)
            {
                0x0960, 
                0x00013EE0, 
                0x0A, 
                0x0A, 
                0x1800, 
                0x1800
            }, 

            Package (0x06)
            {
                0x08FC, 
                0x00012DEB, 
                0x0A, 
                0x0A, 
                0x1700, 
                0x1700
            }, 

            Package (0x06)
            {
                0x0898, 
                0x00011D4D, 
                0x0A, 
                0x0A, 
                0x1600, 
                0x1600
            }, 

            Package (0x06)
            {
                0x0834, 
                0x00010D06, 
                0x0A, 
                0x0A, 
                0x1500, 
                0x1500
            }, 

            Package (0x06)
            {
                0x07D0, 
                0xFD14, 
                0x0A, 
                0x0A, 
                0x1400, 
                0x1400
            }, 

            Package (0x06)
            {
                0x076C, 
                0xED77, 
                0x0A, 
                0x0A, 
                0x1300, 
                0x1300
            }, 

            Package (0x06)
            {
                0x0708, 
                0xDE2E, 
                0x0A, 
                0x0A, 
                0x1200, 
                0x1200
            }, 

            Package (0x06)
            {
                0x06A4, 
                0xCF39, 
                0x0A, 
                0x0A, 
                0x1100, 
                0x1100
            }, 

            Package (0x06)
            {
                0x0640, 
                0xC096, 
                0x0A, 
                0x0A, 
                0x1000, 
                0x1000
            }, 

            Package (0x06)
            {
                0x05DC, 
                0xB246, 
                0x0A, 
                0x0A, 
                0x0F00, 
                0x0F00
            }, 

            Package (0x06)
            {
                0x0578, 
                0xA446, 
                0x0A, 
                0x0A, 
                0x0E00, 
                0x0E00
            }, 

            Package (0x06)
            {
                0x0514, 
                0x9697, 
                0x0A, 
                0x0A, 
                0x0D00, 
                0x0D00
            }, 

            Package (0x06)
            {
                0x04B0, 
                0x8938, 
                0x0A, 
                0x0A, 
                0x0C00, 
                0x0C00
            }, 

            Package (0x06)
            {
                0x044C, 
                0x7C28, 
                0x0A, 
                0x0A, 
                0x0B00, 
                0x0B00
            }, 

            Package (0x06)
            {
                0x03E8, 
                0x6F66, 
                0x0A, 
                0x0A, 
                0x0A00, 
                0x0A00
            }, 

            Package (0x06)
            {
                0x0384, 
                0x62F1, 
                0x0A, 
                0x0A, 
                0x0900, 
                0x0900
            }, 

            Package (0x06)
            {
                0x0320, 
                0x56CA, 
                0x0A, 
                0x0A, 
                0x0800, 
                0x0800
            }
        })
        Method (ACST, 0, NotSerialized)
        {
            Store ("Method C000.ACST Called", Debug)
            Store ("C000 C-States    : 13", Debug)
            Return (Package (0x05)
            {
                One, 
                0x03, 
                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW, 
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000000, // Address
                            0x01,               // Access Size
                            )
                    }, 

                    One, 
                    Zero, 
                    0x03E8
                }, 

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW, 
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000010, // Address
                            0x03,               // Access Size
                            )
                    }, 

                    0x03, 
                    0xCD, 
                    0x01F4
                }, 

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW, 
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000020, // Address
                            0x03,               // Access Size
                            )
                    }, 

                    0x06, 
                    0xF5, 
                    0x015E
                }
            })
        }

        Method (_DSM, 4, NotSerialized)
        {
            Store ("Method C000._DSM Called", Debug)
            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                    0x03
                })
            }

            Return (Package (0x02)
            {
                "plugin-type", 
                One
            })
        }
    }

    Scope (\_SB.C001)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C001.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Store ("Method C001.ACST Called", Debug)
            Store ("C001 C-States    : 7", Debug)
            Return (Package (0x05)
            {
                One, 
                0x03, 
                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW, 
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000000, // Address
                            0x01,               // Access Size
                            )
                    }, 

                    One, 
                    0x03E8, 
                    0x03E8
                }, 

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW, 
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000010, // Address
                            0x03,               // Access Size
                            )
                    }, 

                    0x02, 
                    0x94, 
                    0x01F4
                }, 

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW, 
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000030, // Address
                            0x03,               // Access Size
                            )
                    }, 

                    0x03, 
                    0xC6, 
                    0xC8
                }
            })
        }
    }

    Scope (\_SB.C002)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C002.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C003)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C003.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C004)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C004.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C005)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C005.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C006)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C006.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C007)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C007.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C008)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C008.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C009)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C009.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C00A)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C00A.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }

    Scope (\_SB.C00B)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method C00B.APSS Called", Debug)
            Return (\_SB.C000.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Return (\_SB.C001.ACST ())
        }
    }
}


Link to comment
Share on other sites

×
×
  • Create New...