Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

arch=i386

Okay...

I did try the bootflags : -arch=i386 -GraphicsEnabler=Yes

The problem is still unsolved . No display connector in System Information :( . Also if you want to know , in my Snow Leopard ( which is dual booting with Lion ) , I can't find my way changing screen resolution , nor qe/ci anything on Snow Leopard . Is my VGA really that desperate ?

Link to comment
Share on other sites

Okay...

I did try the bootflags : -arch=i386 -GraphicsEnabler=Yes

The problem is still unsolved . No display connector in System Information :( . Also if you want to know , in my Snow Leopard ( which is dual booting with Lion ) , I can't find my way changing screen resolution , nor qe/ci anything on Snow Leopard . Is my VGA really that desperate ?

 

The right way to add these flags is the next:

 

<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel Flags</key>
<string>arch=i386</string>

 

Could you send me more informations about your 8500gt?

Link to comment
Share on other sites

The right way to add these flags is the next:

 

<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel Flags</key>
<string>arch=i386</string>

 

Could you send me more informations about your 8500gt?

Ok , here you go . Back then when I first installed Lion , I couldn't change my resolution . The weird thing is , after I installed [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] 3.8 on my Lion drive , I could get the resolution change to work . That's how I could change resolution . But after that , 'til now , I somehow couldn't run Front Row or any graphic softwares .

My graphic card is nVidia 8500 GT ( from Gigabyte ) . I got a DSDT.aml patched by the great Maldon . I dont know what kexts i'm using to get the resolution change working .

Here goes my VGA confiq :

Untitled-10.jpg

I also tried adding EFI string by using OSX86 tools to get the HEX code and added it manually .

Untitled1.jpg

Tell me if you need anything else . I'm desperate T_T

Link to comment
Share on other sites

...

use lizard by sonotone

http://www.insanelymac.com/forum/index.php...st&id=99524

lizard.png

select 32bit comp...mode too

 

Thank you! Everything seems to work 100% now :D

:lol:

 

Removed kext, issue unchanged I believe, still nee to replug keyboard, my wacom tablet is fine though, I don't get it.

;)

I have no idea

Link to comment
Share on other sites

yslog |grep -i "Wake"

Aug 6 09:51:30 Z68 kernel[0] : Wake reason: ?

 

Should normally see EHC1 right?

10.6.8 and Lion

much things have changed

Use the search

some discussions in the forum

grep Wake /var/log/kernel.log

Link to comment
Share on other sites

Actually :

 

http://osxdaily.com/2010/07/17/why-mac-wakes-from-sleep/

 

Now you’re going to want to look at the code next to the “Wake reason=” text. So what do these wake reason codes mean?

 

OHC: stands for Open Host Controller, is usually USB or Firewire. If you see OHC1 or OHC2 it is almost certainly an external USB keyboard or mouse that has woken up the machine.

EHC: standing for Enhanced Host Controller, is another USB interface, but can also be wireless devices and bluetooth since they are also on the USB bus of a Mac.

USB: a USB device woke the machine up

LID0: this is literally the lid of your MacBook or MacBook Pro, when you open the lid the machine wakes up from sleep.

PWRB: PWRB stands for Power Button, which is the physical power button on your Mac

RTC: Real Time Clock Alarm, is generally from wake-on-demand services like when you schedule sleep and wake on a Mac via the Energy Saver control panel. It can also be from launchd setting, user applications, backups, and other scheduled events.

 

 

hmmmm

 

EDIT: I see that my dsdt currently doesn't have something like :

 

Patching the "device-id" of the UHCI Devices

 

                    Store (Package (0x02)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x35, 0x3A, 0x00, 0x00
                           }
                       }, Local0)

but rather this :

                   Store (Package (0x0B)
                       {
                           "AAPL,current-available", 
                           0x0834, 
                           "AAPL,current-extra", 
                           0x0A8C, 
                           "AAPL,current-extra-in-sleep", 
                           0x0A8C, 
                           "AAPL,max-port-current-in-sleep", 
                           0x0834, 
                           "AAPL,device-internal", 
                           0x02, 
                           Buffer (One)
                           {
                               0x00
                           }
                       }, Local0)

 

 

Just asking questions ;)

Link to comment
Share on other sites

post-557433-1312655458.png \Õ/

look at DSDT

EHCI(USB2)

UHCI(USB1)

 

 

This is what I have

 

Device (EHC1)
           {
               Name (_ADR, 0x001D0000)
               Device (RHUB)
               {
                   Name (_ADR, Zero)
                   Device (PRT1)
                   {
                       Name (_ADR, One)
                       Name (_UPC, Package (0x04)
                       {
                           0xFF, 
                           Zero, 
                           Zero, 
                           Zero
                       })
                       Name (_PLD, Package (0x10)
                       {
                           0x81, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero, 
                           0x30, 
                           0x1C, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero, 
                           Zero
                       })
                   }
               }

               Method (_S3D, 0, NotSerialized)
               {
                   If (LEqual (OSFL, 0x02))
                   {
                       Return (0x02)
                   }

                   Return (0x03)
               }

               Name (_PRW, Package (0x02)
               {
                   0x0D, 
                   0x03
               })
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0B)
                       {
                           "AAPL,current-available", 
                           0x0834, 
                           "AAPL,current-extra", 
                           0x0A8C, 
                           "AAPL,current-extra-in-sleep", 
                           0x0A8C, 
                           "AAPL,max-port-current-in-sleep", 
                           0x0834, 
                           "AAPL,device-internal", 
                           0x02, 
                           Buffer (One)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

Link to comment
Share on other sites

Method _DSM

 

Here's the dsdt, not sure what you mean I'm afraid :D

 

I think I'm slowly learning though!

 

Here's the dsdt, not sure what you mean I'm afraid :D

 

I think I'm slowly learning though!

 

 

Ok, so I looked into it, found a hack in DSDSE : USB native driver hack

 

USB native driver hack:

 

Locate your usb devices and add this code to each one, changing the values from device id with the one supplied under the code:

 

 

   Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0f)
                       {
                           "device-id",
                           Buffer (0x04)
                           {
                               0x34, 0x3A, 0x00, 0x00  //the values below
                           },
                           "AAPL,clock-id",   // property needed for sleep support
                           Buffer (One)
                           {
                               0x0a  
                           },

                               "built-in",
                               Buffer ()
                               {
                                       0x00
                               },

                             "device_type",   //not sure it is useful
                             Buffer (0x05)
                             {
                                 "EHCI"
                             },


                           "AAPL,current-available",
                           0x04B0,
                           "AAPL,current-extra",
                           0x02BC,
                           "AAPL,current-in-sleep",  // to solve a problem with sleep when stick is inserted
                           0x03E8,

                           Buffer (0x01)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

DeviceIDs
Intel
USB1 - 0x2830
USB2 - 0x2831
USB3 - 0x2832
USB4 - 0x2834
USB5 - 0x2835
EHC1 - 0x2836
EHC2 - 0x283a
nForce
USB1 - 0x0aa5
USB2 - 0x0aa7
EHC1 - 0x0aa6
EHC2 - 0x0aa9


So I put the following id for ehc1:

                           "device-id", 
                           Buffer (0x04)
                           {
                               0x36, 0x28, 0x00, 0x00
                           }, 

 

good?

dsdt_maldon.txt

Link to comment
Share on other sites

you do not need to inject IDs

USB(your MOBO) is fully compatible

 

this patch(DSDTSE) is not for Sandy Bridge

use correct patch for each chipset

 

look at the ioreg iMac12,x

Link to comment
Share on other sites

use lizard by sonotone

http://www.insanelymac.com/forum/index.php...st&id=99524

lizard.png

select 32bit comp...mode too

 

 

:)

 

 

:)

I have no idea

 

Thanks Maldon for the reply ...

I've done exactly the same as you instructed . I'm using Chameleon RC5 r1083 with the Lizard's configuration as you told me . My PCIRoot value is 0 . What does it mean then ? Nothing in the system information/graphic seems to change after the modification . Which makes me kinda confused and brings me back to the question ... how do I know if my QE/CI is enabled ?

 

Thanks Maldon for the reply ...

I've done exactly the same as you instructed . I'm using Chameleon RC5 r1083 with the Lizard's configuration as you told me . My PCIRoot value is 0 . What does it mean then ? Nothing in the system information/graphic seems to change after the modification . Which makes me kinda confused and brings me back to the question ... how do I know if my QE/CI is enabled ?

 

Okay , now that I've found an application called GLViewer 4.0 on AppStore . It reads :

unledcgi.jpg

It said my OpenGL is fullysupported . I believe now I have QE/CI ?

If so , thanks a lot for your support Maldon !

Link to comment
Share on other sites

LOL , right now i regret installing Lion 'cuz there are softwares that aren't compatible with Lion , only Snow Leopard ... Also various beautiful themes only available on Snow Leopard :unsure:( . I suppose you're using Snow Leopard , right Maldon ?

Link to comment
Share on other sites

OK , now that you said . I'll seriously consider installing Snow Leopard . If any errors come up , I'll ask for you help then :"> . Hope you will be willing to

Ah , another thing Maldon . The DSDT u patched for me , does it also work on Snow Leopard ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...