Jump to content

DSDT fixes for Gigabyte boards


iSoprano
 Share

1,909 posts in this topic

Recommended Posts

MC - I'm sure you mean well but please think on how you word these things.

 

I've said it before - my efforts here are minimal but a lot of people have put a lot of work in, that is very much appreciated by all. Obviously your work included! - "Protect is ongoing." yes! :)

 

D

I surely didn't want to offend anyone, and I apologize to everyone who read bad into it. However, read on, please.

 

I seem to have opened some eyes here, because not only did I read the post from kdawg but also received a request for help. Fear not because someone is going to setup a github account for another Chameleon fork yes. This might not be properly worded... because to me Chameleon itself is a fork of the work done by companies like: Apple, Intel, VMWare and of course David Elliott. Not to mention the work done by people at the Carnegie-Mellon University and the folks we "know" from their contributions here.

 

Now about the team part, because that's exactly what is missing here. A team. The result is that people like Rekursor and Duvel300 are doing what they did. Here. And nowhere else. Heck even Netkas. And thus when there was such a team, then we wouldn't have seen what we all here have seen. And I'm not even talking about Chameleon forks.

 

Does that mean that I am ungrateful? That I want to play a pissing contest? Hell no! But I sure won't keep quiet when I see something this ugly.

 

Who am I to judge other peoples work? Because I am part of a team. And not just any team, but one of the biggest and well known Open Source teams around the globe. Mozilla. And before that I started to work on OS X (hacks) it was Ubuntu. Most people just have no idea who I am, but I don't care. And I will keep 'complaining' when I see something that simply isn't right.

 

And I am sure that Duvel300 scratched the back of his head when he was reading dsdt_patcher.c (which BTW should be renamed, just to add another 'insult') and that was also why his first patch lacked ACPI 2.0 support and as a result it didn't work on my Asus board. In part because he doesn't have ACPI 2.0 support in his GigaByte BIOS, but also because of the code duplication. Not to mention his code style, which is different to the rest of it.

 

But I don't blame him for it. And I did not blame him for not including acpi.h when I 'complained' about the errors. Hell no! But some people here might read it that way. Which is of course not my problem. Really.

 

And I am glad that someone like Duvel300 has no problem with self criticism. And as a result we all have a better patch (see v2.0 and v2.1). He sure isn't shy about his 'errors' – there's nothing wrong about making silly mistakes, but this wasn't even an error anyway – and neither am I. I would even vote for his work, to make it the patch of the year.

 

Am I blaming Duvel300 for anything with this post, or any of my previous writing? Not at all. But I wouldn't be surprised when someone reads bad into it – again – when I merely used his case, as an example, to show you what is missing. A team.

 

Note: Collaboration might work for most of you, but it doesn't qualify as a team.

 

Thanks to all involved and have a nice Christmas Holiday!

Link to comment
Share on other sites

Hi helob

 

None of the code which deals with the video has been changed.

Does the GraphicsEnabler boot option work for you when using Chameleon RC4's original boot file?

If so, just swapping in Duvel300's revised boot file should still work.

 

@helob & snackole

Have you tried adding the PCiroot boot option to your com.apple.Boot.plist?

 

<key>PciRoot</key>

<string>1</string>

 

as by default Chameleon uses PciRoot 0.

 

blackosx,

Tks for the prompt advise.

Your suggestion is right on target.

Has been using PC EFI 10.5 which default to PciRoot=1 whereas RC4 default to PciRoot=0

Changing PciRoot boot option to 1 solved my problem.

Tks again for your help nd have a nice day

 

Hi snackole,

Any luck so far?

What is your latest finding?

I experience the same problem. Switching to RC4 broke GraphicsEnabler on my Mobo GA-P35-DS3 with nVidia 8600GT.

Have a nice day.

 

Prroblem solved with PciRoot=1 in com.apple.boot.plist.

Hope you have similar success with your GraphicsEnabler problem.

Have a nice day

Link to comment
Share on other sites

Being a user and not a developer I absolutely love Chameleon for what it has done for the whole OSX86 scene. And lately, I have also witnessed the hard work and speed at which new developments have arrived from MasterChief's & mm67's DSDT work, and as MasterChief just mentioned, the latest work by Rekursor and Duvel300. What's more is all this is done with the kind donation of everyone's spare time.

 

Fear not because someone is going to setup a github account for another Chameleon fork yes.

If this new idea can proceed with the same speed, skills and knowledge as of late and help propel us forward then I am excited, especially if this can be inclusive of netkas and the voodooprojects team then all the better.

 

I look forward to hearing more about this. :mellow:

 

 

blackosx,

Tks for the prompt advise.

Your suggestion is right on target.

Has been using PC EFI 10.5 which default to PciRoot=1 whereas RC4 default to PciRoot=0

Changing PciRoot boot option to 1 solved my problem.

Tks again for your help nd have a nice day

Glad you hear your have it working :)

Link to comment
Share on other sites

I surely didn't want to offend anyone, and I apologize to everyone who read bad into it.

Note: Collaboration might work for most of you, but it doesn't qualify as a team.

 

Thanks to all involved and have a nice Christmas Holiday!

 

Thank you,

Criticize and and accepting criticization is a good manner of civilized people. We're all friends among friends here.

 

Cheers

Link to comment
Share on other sites

Prroblem solved with PciRoot=1 in com.apple.boot.plist.

Hope you have similar success with your GraphicsEnabler problem.

Have a nice day

 

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
		.
		.
		.

Link to comment
Share on other sites

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
		 .
		 .
		 .

 

on my dsdt it's set at _UID One and still GraphicEnabler=Yes is not working, it'll only work when i add pciroot=1 at my boot.plist.. weird.

 

@all

 

Question? is it possible to know my GTS 250 NVCAP in OSX or Linux? if so how? TIA.

Link to comment
Share on other sites

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
		.
		.
		.

 

Changing UID to Zero may not be a good idea, I have seen a couple of cases where that change made it impossible to use an Atheros based PCI WLAN board with Gigabyte EP45 motherboards.

Link to comment
Share on other sites

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>

 

 

 

COOL

 

Thank you

Link to comment
Share on other sites

on my dsdt it's set at _UID One and still GraphicEnabler=Yes is not working, it'll only work when i add pciroot=1 at my boot.plist.. weird.

 

@all

 

_UID set as one >> PciRoot=1 for RC4 >> -pci1 for PC EFI

_UID set as Zero >> PciRoot=0 for RC4 (default value) >> -pci0 for PC EFI (again default value)

 

Question? is it possible to know my GTS 250 NVCAP in OSX or Linux? if so how? TIA.

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

Link to comment
Share on other sites

// 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! :(

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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)
                   }
               }
           }

Link to comment
Share on other sites

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.fr/forums/viewtopic.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.insanelymac.com/forum/index.php...=188822&hl=

 

D.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

@ 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 :(

Link to comment
Share on other sites

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 sleep
Dec 21 17:57:55 LocusOfControl kernel[0]: System Sleep
Dec 21 19:00:38 LocusOfControl kernel[0]: Wake reason = UHC5
Dec 21 19:00:38 LocusOfControl kernel[0]: System Wake
Dec 21 19:00:38 LocusOfControl kernel[0]: Previous Sleep Cause: 0
Dec 21 19:00:38 LocusOfControl kernel[0]: USB (UHCI):Port 1 on bus 0x3a has remote wakeup from some device
Dec 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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)
       }
   }

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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... :(

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...