Jump to content

toleda

Members
  • Posts

    16
  • Joined

  • Last visited

Reputation

0 Neutral
  1. After successful compile, using DSDT Editor/IASL/Save AML as ../Extra/dsdt.aml Enter Save/Replace. Doesn't replace the existing dsdt.aml and DSDT Editor quits. Saving to the Desktop works fine. What is the problem with replacing dsdt.aml in Extra?
  2. Didn't mean to trouble you twice on this. Works perfectly. Thanks again.
  3. Get the following warnings: 11048 Warning Not all control paths return a value (_HID) 11048 Warning Reserved method must return a value (Integer/String required for _HID) Using this patch: into_all all code_regex (If\s\(TCMF)\s*\) replace_matched begin If (TCMF) \n { \n Return (Zero) \n } \n end The result is: How do I get the return in the right place and avoid the extra set of brackets? Method (_HID, 0, NotSerialized) { If (TCMF) { Return (Zero) } {} Else { Return (0x0201D824) } } DSDT: Original Device (_SB.PCI0.LPCB.TPM) { Method (_HID, 0, NotSerialized) { If (TCMF) {} Else { Return (0x310CD041) } } Fixed Device (_SB.PCI0.LPCB.TPM) { Method (_HID, 0, NotSerialized) { If (TCMF) {} Else { Return (0x310CD041) } Return (Zero) } test.aml.zip
  4. Thought I tried that. You solution worked. Thanks again.
  5. Asus P8H67-I Deluxe/patched, rename GFX0 to IGPU. the following patch misses one line: 7529 Scope (\_SB.PCI0.GFX0) The patch: into device label GFX0 set_label begin IGPU end; into scope label _SB.PCI0.GFX0 set_label begin _SB.PCI0.IGPU end; into_all all code_regex GFX0 replaceall_matched begin IGPU end How do I get DSDT Editor to get the last instance of GFX0? test.aml.zip
  6. That worked. Thanks.
  7. Asus P8H67-I Deluxe/patched, trying to inject platform-id into GFX0 at add_00020000. DSDT Editor does not find device. Solution? into method label _DSM parent_adr 0x00020000 remove_entry; into device name_adr 0x00020000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x06)\n {\n "AAPL,snb-platform-id", \n Buffer (0x04) \n { \n 0x10, 0x00, 0x03, 0x00 \n } \n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n end test.aml.zip
  8. The complete patch is in the "patch code" box (2nd code box above).
  9. Pilot error, thanks. Another problem: No success with a patch for these warnings: 11048 Warning Not all control paths return a value (_HID) 11048 Warning Reserved method must return a value (Integer/String required for _HID) original dsdt Method (_HID, 0, NotSerialized) { If (TCMF) {} Else { Return (0x0201D824) } } patch code into_all all code_regex (If\s\(TCMF)\s*\) replace_matched begin If (TCMF) \n { \n Return (Zero) \n } \n end after // into_all all code_regex (If\s\(TCMF)\s*\) replace_matched Method (_HID, 0, NotSerialized) { If (TCMF) { Return (Zero) } {} Else { Return (0x0201D824) } } Unfortunately, the {} remains preventing a successful compile. Manually removing the {} fixes compile. dsdt with problem attached. Thanks again for the incredible support. test1.zip
  10. HD4000 framebuffer experiments. If Method (_DSM.... exist in GFX0 (parent_adr 0x00200000), DSDT Editor adds the new Method (_DSM.... after the existing entry resulting in a compile error: 8273 Error Name already exists in scope (_DSM) Current patch into method label _DSM parent_adr 0x00200000 remove_entry; into device name_adr 0x00020000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "AAPL,ig-platform-id", \n Buffer (0x04) \n { \n 0x0A, 0x00, 0x66, 0x01 \n }, \n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n end Attached is dsdt with the compile error; first patch 0A, second patch 0B. test.dsl.zip
  11. I use the AppleIntelE1000e.kext from http://www.insanelymac.com/forum/index.php?showtopic=205771. No dsdt edits required. The dsdt is attached above.
  12. Please confirm these patches are applicable to Lion Ivy bridge Systems: 1. HPET_new.txt 2. IRQs.txt 3. RTC.txt Also, MUTE.txt does not work on this dsdt. LPC_SANDYBRIDGE.txt and SMBUS.txt work. P8Z77-I Deluxe dsdt attached. test.aml.zip
  13. It showed up with DSDT Editor v0.8. Works perfectly. Thanks
  14. Applied the patches to fix the errors and warnings on an extract. Successfully compile with no errors or warnings and save the .aml. Open the .aml file with DSDT Editor, compile and get this warning: 2138 Warning ResourceTag larger than Field (Tag: 64 bits, Field: 32 bits) on this line: 2138 CreateDWordField (BUF0, \_SB.PCI0._Y0F._LEN, MSLN) Why does the warning appear when the dsdt is opened after a successful compile? I'm sure this issue is trivial, however, Is there a fix for this warning? dsdt attached. test.aml.zip
  15. Thanks, works perfectly.
×
×
  • Create New...