Jump to content

DSDT fixes for Gigabyte boards


  • Please log in to reply
1909 replies to this topic

#961
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Retired Developers
  • 825 posts
  • Gender:Male

// Too much bla bla bla...

Thanks to all involved and have a nice Christmas Holiday!

All I said was how you comment other work, the manner you do that.
Why you cannot act like others who provide patches?
Just provide the patch, document it so people will know why you did it, and all will be happy, including you when you'll see how many will thank you for the work,
That is IMHO a normal way.

About Chameleon Team, seems you don't know osx86 history, and also have no idea how hard was for the team to born and work together...osx86 is not linux world..

Have a nice Christmas Holiday! :(

#962
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male

Here is PC_EFI 10.5 with the Duvel300's restart fix v2.1 =>


Many thanks.
D.

#963
Common Sense

Common Sense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 226 posts
Can anyone point me in the right direction as to where I can find the shutdown fix? I have downloaded a DSDT for EP45-DS3 with this included but don't know what to move over to my DSDT to fix the problem

Here is PC_EFI 10.5 with the Duvel300's restart fix v2.1 =>

important note:

-FADT.aml is not needed anymore

-add this to your boot.plist file to active the fix:

<key>RestartFix</key>
 <string>Yes</string>



#964
sk1nhead

sk1nhead

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Location:Manila

do you have a bast£rd DVI, VGA, HDMI ??


YES but i'm not having problems on my card though, will help a friend on his 9600GT green (0x0622) with DVI/VGA/HDMI because he's having some issues... OR anyone has an NVCAP on that card?.. we will try if the correct NVCAP will fix them. might as well try/change mine it on my DSDT since i'm using a generic from aquamac.

so is it possible on OSX or Linux? if not anyone can point me in windows then (noobie friendly pls)? i dont have winblows right now but will install if that's what it takes.

@ cparm - sent you a pm re: your GFX dsdt but i'm sure you're busy being a mod so i'll throw my question here instead for others who have an answer. why is your 9800gt GFX has so many entry? and what are the other entries do?

Device (GFX0)                {                    Name (_ADR, Zero)                    Name (_SUN, One)                    Method (_DSM, 4, NotSerialized)                    {                        Store (Package (0x36)                            {                                "AAPL,aux-power-connected",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "AAPL,backlight-control",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "AAPL00,Coherency",                                 Buffer (0x04)                                {                                    0x02, 0x00, 0x00, 0x00                                },                                 "AAPL00,blackscreen-preferences",                                 Buffer (0x04)                                {                                    0x08, 0x00, 0x00, 0x00                                },                                 "AAPL01,blackscreen-preferences",                                 Buffer (0x04)                                {                                    0x08, 0x00, 0x00, 0x00                                },                                 "twinView-driver",                                 Buffer (0x04)                                {                                    0x00, 0x40, 0xBB, 0x1F                                },                                 "@0,display-cfg",                                 Buffer (0x04)                                {                                    0x03, 0x01, 0x00, 0x00                                },                                 "@0,compatible",                                 Buffer (0x0B)                                {                                    "NVDA,NVMac"                                },                                 "@0,device_type",                                 Buffer (0x08)                                {                                    "display"                                },                                 "@0,name",                                 Buffer (0x0F)                                {                                    "NVDA,Display-A"                                },                                 "@1,compatible",                                 Buffer (0x0B)                                {                                    "NVDA,NVMac"                                },                                 "@1,device_type",                                 Buffer (0x08)                                {                                    "display"                                },                                 "@1,display-cfg",                                 Buffer (0x04)                                {                                    0xFF, 0xFF, 0x00, 0x01                                },                                 "@1,name",                                 Buffer (0x0F)                                {                                    "NVDA,Display-B"                                },                                 "AAPL,gart-page",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "AAPL,gray-value",                                 Buffer (0x04)                                {                                    0xC3, 0x8C, 0x64, 0x00                                },                                 "AAPL,interrupts",                                 Buffer (0x08)                                {                                    /* 0000 */    0x10, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00                                },                                 "AAPL,iokit-ndrv",                                 Buffer (0x04)                                {                                    0xA0, 0xA5, 0xF0, 0x76                                },                                 "IOHibernateState",                                 Buffer (0x04)                                {                                    0x00, 0x00, 0x00, 0x00                                },                                 "rm_multiboard_capable",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "NVCAP",                                 Buffer (0x18)                                {                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,                                     /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A,                                     /* 0010 */    0x00, 0x00, 0x00, 0x00                                },                                 "rm_board_number",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "VRAM,totalsize",                                 Buffer (0x04)                                {                                    0x00, 0x00, 0x00, 0x20                                },                                 "device_type",                                 Buffer (0x0D)                                {                                    "NVDA,GeForce"                                },                                 "model",                                 Buffer (0x20)                                {                                    "Zotac GeForce 9800GT ECO 512 MB"                                },                                 "rom-revision",                                 Buffer (0x2C)                                {                                    "Nvidia GeForce 9800 GT OpenGL Engine [DSDT]"                                },                                 "reg",                                 Buffer (0x78)                                {                                    /* 0000 */    0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x01, 0x02,                                     /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,                                     /* 0028 */    0x14, 0x00, 0x01, 0x42, 0x00, 0x00, 0x00, 0x00,                                     /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0038 */    0x00, 0x00, 0x00, 0x10, 0x1C, 0x00, 0x01, 0x02,                                     /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,                                     /* 0050 */    0x24, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,                                     /* 0058 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0060 */    0x80, 0x00, 0x00, 0x00, 0x30, 0x00, 0x01, 0x02,                                     /* 0068 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00                                }                            }, Local0)                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))                        Return (Local0)                    }                }            }


#965
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male

YES but i'm not having problems on my card though, will help a friend on his 9600GT green (0x0622) with DVI/VGA/HDMI because he's having some issues... OR anyone has an NVCAP on that card?.. we will try if the correct NVCAP will fix them. might as well try/change mine it on my DSDT since i'm using a generic from aquamac.

so is it possible on OSX or Linux? if not anyone can point me in windows then (noobie friendly pls)? i dont have winblows right now but will install if that's what it takes.


see here for NVCAP how to
here

NVCAP expalined here
http://nvinject.free...topic.php?t=214

and here's the NVCAP and DSDT patch i used for a 9500Gt to get HDMI, DVI and VGA working:
http://www.insanelym...p...=188822&hl=

D.

#966
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland

Can anyone point me in the right direction as to where I can find the shutdown fix? I have downloaded a DSDT for EP45-DS3 with this included but don't know what to move over to my DSDT to fix the problem


For shutdown you need this:
OperationRegion (PMRS, SystemIO, 0x0430, 0x1)    Field (PMRS, ByteAcc, NoLock, Preserve)    {                ,   4,         SLPE,   1    }

and this in method PTS
If (LEqual (Arg0, 0x05))        {            Store (Zero, SLPE)            Sleep(0x10)        }

/edit
Address 0x430 is PMBASE+30h if someone tries to use this on something other than a Gigabyte board

#967
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male

@ cparm - sent you a pm re: your GFX dsdt but i'm sure you're busy being a mod so i'll throw my question here instead for others who have an answer. why is your 9800gt GFX has so many entry? and what are the other entries do?

Device (GFX0)                {                    Name (_ADR, Zero)                    Name (_SUN, One)                    Method (_DSM, 4, NotSerialized)                    {                        Store (Package (0x36)                            {                                "AAPL,aux-power-connected",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "AAPL,backlight-control",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "AAPL00,Coherency",                                 Buffer (0x04)                                {                                    0x02, 0x00, 0x00, 0x00                                },                                 "AAPL00,blackscreen-preferences",                                 Buffer (0x04)                                {                                    0x08, 0x00, 0x00, 0x00                                },                                 "AAPL01,blackscreen-preferences",                                 Buffer (0x04)                                {                                    0x08, 0x00, 0x00, 0x00                                },                                 "twinView-driver",                                 Buffer (0x04)                                {                                    0x00, 0x40, 0xBB, 0x1F                                },                                 "@0,display-cfg",                                 Buffer (0x04)                                {                                    0x03, 0x01, 0x00, 0x00                                },                                 "@0,compatible",                                 Buffer (0x0B)                                {                                    "NVDA,NVMac"                                },                                 "@0,device_type",                                 Buffer (0x08)                                {                                    "display"                                },                                 "@0,name",                                 Buffer (0x0F)                                {                                    "NVDA,Display-A"                                },                                 "@1,compatible",                                 Buffer (0x0B)                                {                                    "NVDA,NVMac"                                },                                 "@1,device_type",                                 Buffer (0x08)                                {                                    "display"                                },                                 "@1,display-cfg",                                 Buffer (0x04)                                {                                    0xFF, 0xFF, 0x00, 0x01                                },                                 "@1,name",                                 Buffer (0x0F)                                {                                    "NVDA,Display-B"                                },                                 "AAPL,gart-page",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "AAPL,gray-value",                                 Buffer (0x04)                                {                                    0xC3, 0x8C, 0x64, 0x00                                },                                 "AAPL,interrupts",                                 Buffer (0x08)                                {                                    /* 0000 */    0x10, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00                                },                                 "AAPL,iokit-ndrv",                                 Buffer (0x04)                                {                                    0xA0, 0xA5, 0xF0, 0x76                                },                                 "IOHibernateState",                                 Buffer (0x04)                                {                                    0x00, 0x00, 0x00, 0x00                                },                                 "rm_multiboard_capable",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "NVCAP",                                 Buffer (0x18)                                {                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,                                     /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A,                                     /* 0010 */    0x00, 0x00, 0x00, 0x00                                },                                 "rm_board_number",                                 Buffer (0x04)                                {                                    0x01, 0x00, 0x00, 0x00                                },                                 "VRAM,totalsize",                                 Buffer (0x04)                                {                                    0x00, 0x00, 0x00, 0x20                                },                                 "device_type",                                 Buffer (0x0D)                                {                                    "NVDA,GeForce"                                },                                 "model",                                 Buffer (0x20)                                {                                    "Zotac GeForce 9800GT ECO 512 MB"                                },                                 "rom-revision",                                 Buffer (0x2C)                                {                                    "Nvidia GeForce 9800 GT OpenGL Engine [DSDT]"                                },                                 "reg",                                 Buffer (0x78)                                {                                    /* 0000 */    0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x01, 0x02,                                     /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,                                     /* 0028 */    0x14, 0x00, 0x01, 0x42, 0x00, 0x00, 0x00, 0x00,                                     /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0038 */    0x00, 0x00, 0x00, 0x10, 0x1C, 0x00, 0x01, 0x02,                                     /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,                                     /* 0050 */    0x24, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,                                     /* 0058 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0060 */    0x80, 0x00, 0x00, 0x00, 0x30, 0x00, 0x01, 0x02,                                     /* 0068 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,                                     /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00                                }                            }, Local0)                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))                        Return (Local0)                    }                }            }

it was only for testing, i have removed most of them :(

#968
sk1nhead

sk1nhead

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Location:Manila

see here for NVCAP how to
here


invalid link, it seems insanelymac is blocking them.. the letters after http:// is missing..

BTW Thanks, will do some reading..

edit:

got it... Thanks mm67 :(

#969
zoltankr

zoltankr

    zoliky

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male
thanks, the patched PCEFI works great! EP35-DS3L (Restart/Shutdown/Sleep/Aluminum kb wake-up). I hope netkas will integrate the patch..

#970
LocusOfControl

LocusOfControl

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 398 posts
  • Gender:Male
  • Location:SG9tZSBvZiB0aGUgbWVhdCBhbmQgcG90YXRvIHBpZQ==

It appears that ICH7 has the same registers as ICH10 so I have no idea. Might have something to do with the fact you only have one EHCI device instead of two.

Try and ping mm67 he's the author of the Al keyboard patch. For myself everything is working… except auto-sleep of course.

As far as pmset example you can use something like this

sudo pmset -a displaysleep 5 disksleep 5 sleep 15
This would be display sleep after 5 min, disk sleep after 5 min and machine sleep after 10 min. The pmset trick didn't work for me but has in the past.


Hi Kdawg

I was wondering if you ever resolved your BT issue?

I have a similar but opposite problem. Normally both idle and software sleep have worked for me, however, with
the Magic Mouse and and Trust 2400p BT dongle, if I switch on 'wake from BT' then the computer tries to idle sleep,
powers down and wakes straight away.

If I turn the mouse off it will idle sleep no probs.

If I turn off 'wake from BT' it will idle sleep

Occasionally, once or twice a day after a couple of hours it will even idle sleep with 'wfBT' on - no pattern found yet

edit: The mouse sends BT traffic every ~ 0.12 s to the dongle, I'm assuming if the computer can sleep fast enough
between BT packets then it sleeps, if not it wakes. If this is configureable this may be a workaround?

I'm assuming this is either a bug in MM driver or something missing from the USB config in DSDT?

My DSDT reflects the UHCI & EHCI edits at the start of this thread

(I have i7, EX58-UD5 with bios f9m and full size apple usb keyboard which I use to wake the computer if I'm running
sleep mode with 'wfBT' off)

Dec 21 17:57:54 LocusOfControl kernel[0]: AFPSleepWakeHandler: going to sleepDec 21 17:57:55 LocusOfControl kernel[0]: System SleepDec 21 19:00:38 LocusOfControl kernel[0]: Wake reason = UHC5Dec 21 19:00:38 LocusOfControl kernel[0]: System WakeDec 21 19:00:38 LocusOfControl kernel[0]: Previous Sleep Cause: 0Dec 21 19:00:38 LocusOfControl kernel[0]: USB (UHCI):Port 1 on bus 0x3a has remote wakeup from some deviceDec 21 19:00:49 LocusOfControl kernel[0]: EIR is not supported.Dec 21 19:00:49 LocusOfControl kernel[0]: [ffffff801b5d8c00][BNBMouseDevice::startMultitouch][30] ERROR: Invalid attempt to re-start multitouch handler

Ignore the EIR and following error, doesn't cause any problem. Reason is I'm using a BT 2.0 dongle and EIR is only 2.1

Software sleep is obviously unaffected and always works regardless of BT setting

steve

#971
Common Sense

Common Sense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 226 posts
Thanks a lot, works great!

CS

For shutdown you need this:

OperationRegion (PMRS, SystemIO, 0x0430, 0x1)    Field (PMRS, ByteAcc, NoLock, Preserve)    {                ,   4,         SLPE,   1    }

and this in method PTS
If (LEqual (Arg0, 0x05))        {            Store (Zero, SLPE)            Sleep(0x10)        }

/edit
Address 0x430 is PMBASE+30h if someone tries to use this on something other than a Gigabyte board



#972
jamonda

jamonda

    InsanelyMac Protégé

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:Brazil

For shutdown you need this:

OperationRegion (PMRS, SystemIO, 0x0430, 0x1)    Field (PMRS, ByteAcc, NoLock, Preserve)    {                ,   4,         SLPE,   1    }

and this in method PTS
If (LEqual (Arg0, 0x05))        {            Store (Zero, SLPE)            Sleep(0x10)        }

/edit
Address 0x430 is PMBASE+30h if someone tries to use this on something other than a Gigabyte board


I have this in my P35C-DS3R DSDT:

Method (_PTS, 1, NotSerialized)    {        If (LEqual (Arg0, 0x05))        {            Store (0x07, SLPT)            Store (One, SLPE)            Store (One, \_SB.PCI0.LPCB.AG3E)        }        Else        {            \_SB.PCI0.SBUS.DISB ()            \_SB.PCI0.LPCB.SPTS ()            Store (Arg0, ASSB)        }    }

OperationRegion (PM1C, SystemIO, 0x0804, 0x04)    Field (PM1C, ByteAcc, NoLock, Preserve)    {            ,   10,         SLPT,   3,         SLPE,   1    }

Can you please show me what to change? And what about restart? I know you have discovered how to patch DSDT to get it without any other kext. Please show me how. In my EP45-UD3L I`m using this code (yours):

Method (_PTS, 1, NotSerialized)    {        Or (Arg0, 0xF0, Local0) 	    Store (Local0, DBG1)		Store (Zero, \_SB.PCI0.LPCB.AG3E)        If (LEqual (Arg0, 0x05))        {            Store (Zero, SLPE)            Sleep(0x10)        }    }


#973
sw170

sw170

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 212 posts
  • Gender:Male
  • Location:UK

Thanks again Duvel300, this new boot file works great for my system. And the new booter option makes it simpler to use. :)

EDIT: Again, I have added Duvel300's v2.1 Restart Fix with Rekursor's system-id patch and compiled a revised boot file for the best of both.

Thank you Duvel300
and
Thanks blackosx for your compilation - very usefull

#974
keeza

keeza

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 189 posts
  • Gender:Male
  • Location:Sydney Australia
Just to clarify these new developments:

1) The restart=yes flag enables us to remove evoboot.kext or OpenHaltRestart from E/E?
2) The systemID key enables us to remove UUID from smbios.plist and remove platformUUID from E/E?
3) PCIroot=0 or 1 only applies if you are using GraphicsEnabler=yes in com.plist? (not required if using DSDT for graphics?)
4) The above only will work with RC4?

This thread is moving quickly for an old bloke like me.... :(

Now to upgrading my bios to F9... :(

#975
MacUser2525

MacUser2525

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,503 posts
  • Gender:Male
  • Location:Canada

Just to clarify these new developments:

1) The restart=yes flag enables us to remove evoboot.kext or OpenHaltRestart from E/E?


Yes.

2) The systemID key enables us to remove UUID from smbios.plist and remove platformUUID from E/E?


Yes.

3) PCIroot=0 or 1 only applies if you are using GraphicsEnabler=yes in com.plist? (not required if using DSDT for graphics?)


Yes.

4) The above only will work with RC4?


The patched RC4 otherwise the normal one knows nothing about the changes you are talking about here.

This thread is moving quickly for an old bloke like me.... :(

Now to upgrading my bios to F9... :(


Certainly does move quick for sure. One thing though the DSDT were are making here are specific to the version of BIOS used when you extracted the tables if I recall it correctly, you may want to do a comparison with the new BIOS's tables to make sure not a lot changed.

#976
helob

helob

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 218 posts

hi, happy that you had finally solved your problem

but know that you can also set this value with your dsdt file

just add "Name (_UID, One)" for pciroot=1 or Name (_UID, Zero) in the PCI0 device:

Device (PCI0)
		{
			Name (_HID, EisaId ("PNP0A08"))
			Name (_CID, EisaId ("PNP0A03"))
			Name (_ADR, Zero)
			Name (_UID, One) // the pciroot value
			.
			.
			.


cparm,
Thanks for the tip.
However it does not work on my DSDT which is slightly different from your Device (PCI0)

Device (PCI0)
{
Name (_HID, EisaId ("PNP0A03"))
Name (_ADR, Zero)
Name (_UID, One)
Name (_BBN, Zero)
.
.[/code]

Not sure why the difference.
May be this is the reason for Name (_UID, One) not working.

blackosx,
Can you try out the above tip on your DSDT to see whether it work on your system.
Pls share result with us.

Sk!nhead,
You reported that its not working in your case.
What does your DSDT showing under Device (PCI0) ?

TQ all & have a nice day.
Merry X'mas to all InsanelyMac Forum members.

#977
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland

I have this in my P35C-DS3R DSDT:

Method (_PTS, 1, NotSerialized)    {        If (LEqual (Arg0, 0x05))        {            Store (0x07, SLPT)            Store (One, SLPE)            Store (One, \_SB.PCI0.LPCB.AG3E)        }        Else        {            \_SB.PCI0.SBUS.DISB ()            \_SB.PCI0.LPCB.SPTS ()            Store (Arg0, ASSB)        }    }

OperationRegion (PM1C, SystemIO, 0x0804, 0x04)    Field (PM1C, ByteAcc, NoLock, Preserve)    {            ,   10,         SLPT,   3,         SLPE,   1    }

Can you please show me what to change? And what about restart? I know you have discovered how to patch DSDT to get it without any other kext. Please show me how. In my EP45-UD3L I`m using this code (yours):

Method (_PTS, 1, NotSerialized)    {        Or (Arg0, 0xF0, Local0) 	    Store (Local0, DBG1)		Store (Zero, \_SB.PCI0.LPCB.AG3E)        If (LEqual (Arg0, 0x05))        {            Store (Zero, SLPE)            Sleep(0x10)        }    }


If you have a working example then how about just copying that code to your other box.

#978
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts
MasterChief,

I haven't seen anyone else comment on this but for me your Method (MCID) isn't working. When I use the following code the device ID is shown in SystemProfiler "correctly" as in it's modified by my DSDT.

[codebox] Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x34, 0x3a, 0x00, 0x00
}
}, Local0)
MCDP (Arg2, RefOf (Local0))
Return (Local0)
}
[/codebox]

When I use your MCID code (copied your DSDT for UHCx) SystemProfiler reports the actual device id - your code doesn't work. For example -

[codebox] Method (_DSM, 4, NotSerialized) // Device Specific Method (ACPIspec30a.pdf / 9.15.1 / page 321).
{
Return (MCID (Arg2, 0x3A35))
}
[/codebox]

does not cause my USB device ID to match the ICH10 as attempted. I'm using version 1.4 of your code copied out of your DSDT v3.2.

Thanks,
SMF

#979
zoltankr

zoltankr

    zoliky

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male
mm67, where do I add this in DSDT?

[codebox]
OperationRegion (PMRS, SystemIO, 0x0430, 0x1)
Field (PMRS, ByteAcc, NoLock, Preserve)
{
, 4,
SLPE, 1
}
[/codebox]

#980
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,283 posts
  • Gender:Male
  • Location:UK

Thanks blackosx for your compilation - very usefull

Glad you found it useful. :(

blackosx,
Can you try out the above tip on your DSDT to see whether it work on your system.
Pls share result with us.

Hi helob, Changing Name (_UID, One) to Zero in Device (PCI0) works for me, yes.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy