Jump to content

redman

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by redman

  1. I now understand. I'll try this tomorrow. Thanks! This should be the last problem. I am trying to turn Method (_RMV, 0, NotSerialized) { If (_OSI ("Windows 2009")) { Return (Zero) } Else { Return (One) } } that last One into a zero. The device this is in is called SMHC which is inside PCI0. Why does this not work? into method label _RMV device label SMHC remove_entry; into device label SMHC insert begin Method (_RMV, 0, NotSerialized)\n {\n If (_OSI ("Windows 2009"))\n {\n Return (Zero)\n }\n Else\n {\n Return (Zero)\n }\n }\n end
  2. What exactly does the SB. do?
  3. Yeah I figured how to add, just not how to specify where, I didn't know if it mattered. Thanks for all the help, sorry for being a bit n00bish about it, I know its frustrating. But I'm slowly getting the hang of this. Continuing with the renaming, I want to rename the AC device listed2 posts above this. Using this: into device label AC set_label begin ADP1 end; into_all all code_regex AC replaceall_matched begin ADP1 end Makes my DSDT compile with errors all over. But I don't know how to get the device address. I saw somewhere when messing with GFX0 how to do it, so I can rename that, but how could I edit the above code so it works?
  4. I think I figured it out. Thanks though, I may be back. New one: How do I specify where to place something? or does it matter? I want to take this Device (AC) { Name (_HID, "ACPI0003") Name (_PCL, Package (0x01) { _SB }) Method (_PSR, 0, NotSerialized) { Store (^^PCI0.LPCB.EC0.GACS (), Local0) Store (Local0, PWRS) Store (^^PCI0.LPCB.EC0.GPID (), Local1) If (XOr (Local0, ACST)) { \_GPE.HNLP (Zero) ^^PCI0.ACEL.AJAL () \_GPE.VPUP (Local0, Local1) ^^PCI0.LPCB.EC0.SMCP (Local0) } If (LOr (LAnd (Local0, LNot (ACST)), LAnd (Local1, LNot (SMAR)))) { ^^WMID.WGWE (0x03, Zero) } Store (Local0, ACST) Store (Local1, SMAR) Return (Local0) } } And add this to it. Does it matter where it goes? In the dsdt I am basing this off of, it comes right after the HID section. Name (_PRW, Package (0x02) { 0x18, 0x03 }) Also, how would I change a device name from something, say GFX0 to IGPU or AC to ADP1? I want to edit a patch that MaLd0n gave us so everyone can use it to do this automatically.
  5. I have actually been reading a lot of the patches. I now understand how to go about adding, but how would I remove the _DSM section from GFX0 which is contained inside PCI0? I need to make a few changes to that and I can't seem to figure that out. The way removing sections is handled confuses me. Would this be it, with changes to match my DSDT? into method label _DSM parent_adr 0x001B0000 remove_entry; into device name_adr 0x001B0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x08)\n {\n "codec-id", \n Buffer (0x04)\n {\n 0x88, 0x08, 0xEC, 0x10\n }, \n "layout-id", \n Buffer (0x04)\n {\n 0x78, 0x03, 0x00, 0x00\n }, \n "device-type", \n Buffer (0x0F)\n {\n "Realtek ALC888"\n }, \n "PinConfigurations", \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end
  6. Is there a place where I can read up on how to write my own patch? I want to edit ours to perfect the HDEF which involves basic adding and removing of some parts of the DSDT. I'm not sure how to get it to remove certain sections.
  7. I had submitted my laptop in that thread for an update, and I got a DSDT, so now I have a guide, and only like half of us can use DSDT's. Would it be possible for me to get the patch made? EDIT: Never mind, I got it, thanks MaLd0n!
×
×
  • Create New...