Ssdt Dsdt

0 views
Skip to first unread message

Denisha Cerniglia

unread,
Jul 27, 2024, 5:10:15 PM7/27/24
to chestmisomo

Last time I looked through an DSDT edited by Mald0n - there were tons of aesthetic properties, devices renamed, and over 300 lines of sound code removed. There isn't a way to make that work with windows, and is definitely not maintainable for a hack in any shape or form in case you update your BIOS (because the DSDT in firmware can change between bios revisions). I would not try to make patches based off of Mald0n's DSDT.

Writing SSDTs and DSDTs are basically the same - SSDTs just tend to be smaller as they are very specific. For example, an ssdt to add a device or for Nvidia Optimus. You can use If(_OSI("Darwin")) in either one.

My recommendation is to start over and not use that DSDT as a base.

I think this might be the easiest way to go since I still have a working r5121 version, I'd just have to update kexts and make a few changes. Is there any good comprehensive guide on upgrading to 5125?

ssdt dsdt


Download Zip >>> https://urllie.com/2zRPW9



Last time I looked through an DSDT edited by Mald0n - there were tons of aesthetic properties, devices renamed, and over 300 lines of sound code removed. There isn't a way to make that work with windows, and is definitely not maintainable for a hack in any shape or form in case you update your BIOS (because the DSDT in firmware can change between bios revisions). I would not try to make patches based off of Mald0n's DSDT.

Writing SSDTs and DSDTs are basically the same - SSDTs just tend to be smaller as they are very specific. For example, an ssdt to add a device or for Nvidia Optimus. You can use If(_OSI("Darwin")) in either one.

My recommendation is to start over and not use that DSDT as a base.

Well I did follow the Dortania Guide completely, everything works except sleep so basically the only thing I should know how he fixed sleep. I really tried everything I could find... When I asked him how he fixed it he said:

just kill _prws and some no used devices. apple have a very custom tables, our tables chipset 300 for example have a 60k lines, same chipset from apple have a 8k lines. we have many trashes in ur tables, trashes for windows

I tried to set all GPRW values '(GWRP (0X0D, Zero))' under GLAN, XHC, XDCI, HDAS in DSDT. Because some were showing up as wake reasons with the command, but that didn't solve the problem and I don't know what he means by kill _prws?

I think this might be the easiest way to go since I still have a working r5121 version, I'd just have to update kexts and make a few changes. Is there any good comprehensive guide on upgrading to 5125?

There is no guide yet but if you grab the sample-config.plist to use to update yours (make a backup first) you should be fine. Just use the sample as a reference on what needs to be added and or changed.
There is also a sort of validator available in the last couple of pages of the clover general discussion thread.

For now I just moved back to Clover r5122, everything including BootCamp is working now. I didn't get r5125 booting so I guess I'll wait a bit for proper documentation or ask for assistance in 'Clover General Discussion'. I've been using this EFI for a while now, so I guess it's cluttered with obsolete stuff. I used Rehabman's config.plist as a base when I initially set this up, I'm not sure what the parameters etc in there even mean anymore.

With SuSE 9.3, I bought a new Sager NP4750 64-bit laptop and found that my DSDT was broken. The results of my getting that fixed are presented in: Howto Fix Your Buggy DSDT @ Howto Fix Your Buggy DSDT. - Page 14 - openSUSE Forums.
Although there is presented dsdt fixes through 10.3, that howto is terribly outdated. However, that howto still contains valuable DSDT code fixes buried throughout the thread.
HOWTO: Fix Common ACPI Problems (DSDT, ECDT, etc.) @ Gentoo Forums :: View topic - HOWTO: Fix Common ACPI Problems (DSDT, ECDT, etc.) is an excellent reference with links to more references. Re: [PATCH 1/3] The basics of DSDT from initramfs (format corrected) provides updated information now relevant to openSUSE 11.0.

Is your DSDT broken?
1st, and most important, is go to your OEM; get the latest BIOS; and install it. It may contain a fixed DSDT for you or at least turn on some missing functions. Also:
+Before you run away from customising your DSDT, you should note that already
+corrected tables are available for a fair amount of computers on this web-page:
+Linux/ACPI - DSDT: Overview . Be careful though, to work correctly a DSDT has to
+match closely the hardware, including the amount of RAM, the frequency of the
+processor and the PCI cards present! from Re: [PATCH 1/3] The basics of DSDT from initramfs (format corrected)

DSDT.aml was our goal in this step; what next?
Well to use it, we have to add it to an initramfs so that the
kernel can read the table at the very beginning of the boot.
That process is a major change with openSUSE 11.0 from what was in the previous howto.

Re: [PATCH 1/3] The basics of DSDT from initramfs (format corrected) presents the process and script that we will be using. It is but one of a series of a mailing-list shown at the bottom of the page. Credit goes to those developers shown there. Thank you all Devs.

ACPI: Checking initramfs for custom DSDT
ACPI: Found DSDT in DSDT.aml.
ACPI: Override [DSDT-AWRDACPI], this is unsafe: tainting kernel
ACPI: Table DSDT replaced by host OS
ACPI: DSDT 00000000, 5CEF (r1 NVIDIA AWRDACPI 1000 INTL 20080213)
ACPI: DSDT override uses original SSDTs unless "acpi_no_auto_ssdt"Parsing all Control Methods:
Table [DSDT](id 0001) - 1114 Objects with 104 Devices 325 Methods 43 Regions
Parsing all Control Methods:
Table [SSDT](id 0002) - 8 Objects with 0 Devices 0 Methods 0 Regions
tbxface-0598 [00] tb_load_namespace : ACPI Tables successfully acquired
evxfevnt-0091 [00] enable : Transition to ACPI mode successful

HP extensively makes use of ACPI thermal zones.
It seems they hit a bug in Vista which probably caused their
machines to be shut down through a critical temperature event.
They now workaround that Vista bug by returning zero for _CRT
(which is the critical temperature in Kelvin * 10).
So they return -273 degree Celsius which leads to a critical
temperature shutdown as soon as the ACPI thermal driver is loaded.

1, The reference the shown above, LKML: Thomas Renninger: ACPI OSI disaster on latest HP laptops - critical temperature shutdowns, indicates that current running kernel has been patched to account for this kernel parameter.

Now if we read completely through the thread @ LKML: Thomas Renninger: ACPI OSI disaster on latest HP laptops - critical temperature shutdowns; we can determine that we can probably safely delete the _HOT and _CRT dsdt.dsl sections above.

Method (_HOT, 0, Serialized) Warning 1088 - Not all control paths return a value ^ (_HOT)
Method (_HOT, 0, Serialized) Warning 1081 - Reserved method must return a value ^ (_HOT)
Method (_CRT, 0, Serialized) Warning 1088 - Not all control paths return a value ^ (_CRT)
Method (_CRT, 0, Serialized)Warning 1081 - Reserved method must return a value ^ (_CRT)

The DSDT (Differentiated System Description Table) is the main table in the ACPI part of a computer's BIOS.
The Advanced Configuration and Power Interface (ACPI) defines a large number of tables that provide the interface between an ACPI-compliant operating system and system firmware. These allow description of system hardware in a platform-independent manner in ACPI Machine Language (AML).

The problem is that OS X has an incomplete ACPI implementation which supports only a subset of DSDT. Modifying the DSDT allows the user to better support their hardware. For example, fixing Time Machine and the UUID 35 error is possible after modifying the DSDT.

To patch your DSDT, you must either use a new table file that someone else has provided, or extract and modify your own. Then tell your bootloader to use the new DSDT file instead of the BIOS. On a few motherboards it is also possible to replace the BIOS with an updated BIOS with a patched DSDT.

AIDA64 is a system information, diagnostics, and auditing program that runs on Microsoft Windows operating systems. It displays detailed information on the components of a computer. Information can be saved to file in formats such as HTML, CSV, or XML. Download and install AIDA64 from official website www.aida64.com

Use open DSDT Editor For Mac acpi_dsdt.aml, press F5 to compile, click Fix Errors, can't have Errors, Warning and Remarks can be temporarily ignored. No Error, save as DSDT.aml, use the same method to create SSDT.

Okay I understand -- I am very happy that this dsdt mod does indeed expose the internal audio but am struggling to get the thunderbolt bridges exposed - perhaps removing them in device manager and rebooting will force windows to re-allocate correctly - if not I am still happy but audio working as I don't really use thunderbolt when in Windows

iASL Warning: There were 214 external control methods found during
disassembly, but only 199 were resolved (15 unresolved). Additional
ACPI tables may be required to properly disassemble the code. This
resulting disassembler output file may not compile because the
disassembler did not know how many arguments to assign to the
unresolved methods. Note: SSDTs can be dynamically loaded at
runtime and may or may not be available via the host OS.

to all the recent posts with issues: update your gear in your profile so everyone can follow your setup... and create new threads with your specific issues. Write down what you tried and when you learned that it is not working according to plan. put a little effort into your scenario on this forum and give us half a chance to help you out.

64591212e2
Reply all
Reply to author
Forward
0 new messages