Jump to content

DSDT editor and patcher


oldnapalm
 Share

999 posts in this topic

Recommended Posts

Hi Oldnapalm

 

I tried to apply your modified patches for HPET in DSDT & ran your utility to check the power management.

 

See the attached word document.

 

It looks to me PM is not active but I would like you to confirm this.

 

Now when I select "sleep" from apple menue, PC reboots.

 

Patches applied;

 

DTGP->GMA950Desktop->Shutdown_ASUS->RTC->LCP->HPET>IRQ

 

Also I have the below in c.a.B.plist file in /L/P/S

 

Thanks to check & let me know what I should check next & whether we have any other options?

 

I did not try the HPET kext as it does the same things as DSDT.

 

If I remove the HPETForce in c.a.B.plist, I get the KPI.

 

I also tried the new VoodooPS2 driver from Andy (http://www.insanelymac.com/forum/index.php?showtopic=240639). Because, I want to move the mouse from USB to PS/2 port. I read many issues in forum for USB issues for sleep. I post a question in there to get the mouse up in PS/2.

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Boot Graphics</key>

<string>Yes</string>

<key>Default Partition</key>

<string>hd(0,1)</string>

<key>ForceHPET</key>

<string>Yes</string>

<key>GenerateCStates</key>

<string>Yes</string>

<key>GeneratePStates</key>

<string>Yes</string>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string>arch=i386</string>

<key>Legacy Logo</key>

<string>Yes</string>

<key>Quiet Boot</key>

<string>No</string>

<key>Theme</key>

<string>Default</string>

<key>Timeout</key>

<string>8</string>

<key>arch</key>

<string>i386</string>

</dict>

</plist>

 

 

Mathew

Capture_without_irq_patch.zip

Link to comment
Share on other sites

Power management seems to be working, no idea why sleep reboots the PC though. Is there an option to set suspend mode in BIOS?

 

About PS2 mouse, try removing the trackpad kext from VoodooPS2Controller/Contents/PlugIns, then rebuild the mkext.

Link to comment
Share on other sites

Hi Oldnapalm,

 

Thanks for letting me now that Power manag. is working now. Happy to hear that.

 

EDIT: Some progress. I used a pure PS/2 mouse (without a USB-to-PS/2 converter with a USB mouse) on PS/2 house port & the PS/2 mouse worked with the below VoodooPS2Controller setup.

 

The Good news is when I select Apple menue -> sleep, PC goes to sleep (no reboots any more) & see only power light blinks, CPU fan stopped, screen off etc. but I did not have a way to wake it up. I am not sure PS/2 KB or mouse can be used to wake up. Also I pressed the power button gently, but it restarts. Further when it is in sleep (looks like deep sleep), I plugged a USB flash key, the PC restarts instantly. It seems some issues with USB even though USB works well for mouse & for others - usb flash keys etc. Do you have any idea of fixing this USB? I read many issues & fixes related to USB.

 

In my BIOS, I have S1 (POS), S3 & Auto (selecting between 2 depending on jumper - see my earlier post) for suspend mode. I set it to be "Auto". With the current MB jumper & BIOS with "Auto", it is set to S3 mode.

 

Do you know what (S1 or S3) is needed for OSX? Sorry for asking this question.

 

I tried removing the trackpad kext in plugin folder, leaving ps2keyboard & ps2mouse, as below & rebuild the mkest but still I did not get the mouse on PS/2.

 

For your information, sometime ago, Lepard works with Sleep/Wake up properly with SleepEnabler (came with iATKOS v7) but KB & mouse was on PS/2. That is why I am trying to move the mouse & KB to PS/2.

 

Also with sleepenabler 10.6.7, it reboots when it goes to sleep. For me, there is a common factor for both native power management & SleepEnabler - sleep reboots. That is why I am trying to move the USB mouse to PS/2.

 

I asked Andy (who wrote the modified VoodooPS2Controller) again now how to get the mouse on PS/2.

 

Hopefully, this sleep/wake up will be fixed soon now that native power management seems working.

 

Please let me know if you have any more ideas on this.

 

192-168-1-101:PlugIns mathew$ ls -l

total 0

drwxr-xr-x@ 3 root wheel 102 3 May 12:17 VoodooPS2Keyboard.kext

drwxr-xr-x@ 3 root wheel 102 3 May 12:17 VoodooPS2Mouse.kext

192-168-1-101:PlugIns mathew$ pwd

/Extra/Extensions/VoodooPS2Controller.kext/Contents/PlugIns

192-168-1-101:PlugIns mathew$

 

Mathew

Link to comment
Share on other sites

If the sleep problem is related to USB you can try adding this patch to your USB devices

				Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x06)
				{
					"AAPL,current-available",
					0x05DC,
					"AAPL,current-extra",
					0x04B0,
					"AAPL,current-in-sleep",
					0x09C4
				}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

Link to comment
Share on other sites

Hi Oldnapalm,

 

Thank you for the quick reply.

 

Thanks again for your continued support to get this up & we have come very closer to end to see the completion.

 

I tried but it is the same. I am not sure whether I applied patch properly.

 

I have attached the 2 files in ZIPped with names;

 

dsdt-DTGP-GMA950Desktop-Shutdown_ASUS-RTC-LCP-HPET.aml <--- Before USB patch

dsdt-DTGP-GMA950Desktop-Shutdown_ASUS-RTC-LCP-HPET-USB_patch.aml <--- After USB patch

 

Is it possible for you to check whether I have applied the patch properly?

 

By the way, this is how I applied the patch & do you think it is correct?

 

Patches applied;

Note: I do not need to have the IRQ patch. In fact, I tried with IRQ & without IRQ patch & there is no difference;

 

DTGP->GMA950Desktop->Shutdown_ASUS->RTC->LCP->HPET

 

 

 

Device (USB1)

{

Name (_ADR, 0x001D0000)

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x03, 0x04))

}

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x06)

{

"AAPL,current-available",

0x05DC,

"AAPL,current-extra",

0x04B0,

"AAPL,current-in-sleep",

0x09C4

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

Device (USB2)

{

Name (_ADR, 0x001D0001)

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x04, 0x04))

}

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x06)

{

"AAPL,current-available",

0x05DC,

"AAPL,current-extra",

0x04B0,

"AAPL,current-in-sleep",

0x09C4

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

Device (USB3)

{

Name (_ADR, 0x001D0002)

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0C, 0x04))

}

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x06)

{

"AAPL,current-available",

0x05DC,

"AAPL,current-extra",

0x04B0,

"AAPL,current-in-sleep",

0x09C4

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

Device (USB4)

{

Name (_ADR, 0x001D0003)

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0E, 0x04))

}

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x06)

{

"AAPL,current-available",

0x05DC,

"AAPL,current-extra",

0x04B0,

"AAPL,current-in-sleep",

0x09C4

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

Device (EUSB)

{

Name (_ADR, 0x001D0007)

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0D, 0x04))

}

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x06)

{

"AAPL,current-available",

0x05DC,

"AAPL,current-extra",

0x04B0,

"AAPL,current-in-sleep",

0x09C4

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

 

Thanks again.

 

Mathew

DSDT.zip

Link to comment
Share on other sites

The USB patches are correctly applied, then it has no effect in your system.

 

The IRQs patch isn't really necessary in your DSDT, your devices RTC, PIC and TMR don't have IRQs originally, and the new HPET device is included with IRQs, so the patch does nothing.

 

I will update this post if I find something that may help.

Link to comment
Share on other sites

Hi Oldnapalm/MaLd0n,

 

Thank you for both of your replies.

 

You guys are great & prompt on this support.

 

 

MaLd0n,

 

I just quickly tried this attached dsdt but I got KP on VoodooHDA. Any idea why?

 

When I get back home again, I will take a photo of this KP & attached it here. I will also try removing VoodooHDA temporarily to see that sleep/wake up works.

 

In this modified dsdt, I noticed you renamed USB to UHC & added part of the patch under EHCI. Am I corect?

 

I will update this soon.

 

 

Mathew

Link to comment
Share on other sites

I just quickly tried this attached dsdt but I got KP on VoodooHDA. Any idea why?

 

HDEF in DSDT

use AppleHdaDisabler in S/L/E

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

 

OR

 

remove HDEF

 

 

When I get back home again, I will take a photo of this KP & attached it here. I will also try removing VoodooHDA temporarily to see that sleep/wake up works.

 

In this modified dsdt, I noticed you renamed USB to UHC & added part of the patch under EHCI. Am I corect?

Yep

 

and others

 

Op. Reg. in LPC(SBRG)

_PTS

SMBUS

etc

Link to comment
Share on other sites

Hi MaLd0n

 

Thanks for the prompt reply.

 

Good to see that we have an answer here so progressing...

 

HDEF was not there in DSDT in my original dsdt file. Did you have to add it when you did the patch for the new dsdt.aml?

 

I prefer not to use the AppleHDADisabler kext but to do it in DSDT.

 

When you say delete HDEF in DSDT, is it correct to remove only the below lines in your new dsdt.aml?

 

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x08)
                       {
                           "codec-id", 
                           Buffer (0x04)
                           {
                               0x9B, 0x82, 0x43, 0x10
                           }, 
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x0C, 0x00, 0x00, 0x00
                           }, 
                           "device-type", 
                           Buffer (0x17)
                           {
                               "Analog Devices AD1988B"
                           }, 
                           "PinConfigurations", 
                           Buffer (0x24)
                           {
                               /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                               /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                               /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA0, 0x90, 
                               /* 0018 */    0x80, 0xF1, 0x45, 0x01, 0x90, 0xF1, 0xC5, 0x01, 
                               /* 0020 */    0x70, 0x60, 0x01, 0x01
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

Regards,

 

 

Mathew

Link to comment
Share on other sites

Hi MaLd0n

 

Thanks for the prompt reply.

 

Good to see that we have an answer here so progressing...

 

HDEF was not there in DSDT in my original dsdt file. Did you have to add it when you did the patch for the new dsdt.aml?

 

I prefer not to use the AppleHDADisabler kext but to do it in DSDT.

 

When you say delete HDEF in DSDT, is it correct to remove only the below lines in your new dsdt.aml?

 

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x08)
                       {
                           "codec-id", 
                           Buffer (0x04)
                           {
                               0x9B, 0x82, 0x43, 0x10
                           }, 
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x0C, 0x00, 0x00, 0x00
                           }, 
                           "device-type", 
                           Buffer (0x17)
                           {
                               "Analog Devices AD1988B"
                           }, 
                           "PinConfigurations", 
                           Buffer (0x24)
                           {
                               /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                               /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                               /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA0, 0x90, 
                               /* 0018 */    0x80, 0xF1, 0x45, 0x01, 0x90, 0xF1, 0xC5, 0x01, 
                               /* 0020 */    0x70, 0x60, 0x01, 0x01
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

Regards,

 

 

Mathew

 

Yep

dsdt.01.zip

Link to comment
Share on other sites

Hi MaLd0n

 

Thanks for the reply.

 

I use your updated dsdt.aml (without the HDEF) when I go home today & update this with the sleep/wake up progress.

 

I believe with this, we are done.

 

Mathew

Link to comment
Share on other sites

Hi MaLd0n

 

I just tested your new dsdt.aml. One improvement but wake up did not work yet. Let me list down the observations;

 

 

- KP is gone now

 

- With PS/2 KB & mouse, PC goes to sleep (Apple menue -> sleep), power light blinks, no CPU fan etc. The improvement with the new dsdt.aml is that now when I insert a USB device (mouse, flash key etc), PC do not reboot. Before your patch, it reboots so it seems with your new patch, all USB ports goes to sleep properly. I do not have a way to wake up with PS/2 KB or mouse. If I gently press the power button (when in sleep mode), PC reboots.

 

- With PS/2 KB & USB mouse (on USB port), I can not get the PC to sleep. When I select Apple menue -> sleep, PC reboots.

 

Moving forward, if I have a way to wake up the PC, I can even use only a PS/2 KB & PS/2 mouse as it works so far with sleep & latest dsdt patch puts USB to sleep.

 

Any more ideas/changes to last dsdt.aml to get the USB to wake up?

 

Hope we can get this last thing - wake up right soon with you guys.

 

Mathew

Link to comment
Share on other sites

Hi Oldnapalm/MaLd0n,

 

I did few more tests today with Linux Ubuntu Desktop.

 

When I click "suspend", PC goes to sleep & power button blinks but I could ONLY wake it up with "pressing the power button". I could not wake up the PC with KB or PS/2 mouse or USB mouse.

 

By pressing the power button, I could wake up from Ubuntu Linux Desktop. I have given the log of (messages file) from the time it went to sleep & till full wake up.

 

With MAC OS, when I press the power button, PC restarts as if it starts from the power up. With Ubuntu Linux, it starts from the place it went to sleep/suspend.

 

Can I know whether we have any DSDT patching to see whether power button to wake up the PC, instaed of restart in MAC OS?

 

Sorry for asking this again & I know you will be able to spot something with this test.

Thanks again for all the support given so far.

 

May  8 22:29:29 Ubuntu kernel: [  386.361830] PM: Syncing filesystems ... done.
May  8 22:30:05 Ubuntu kernel: [  386.524595] Freezing user space processes ... (elapsed 0.01 seconds) done.
May  8 22:30:05 Ubuntu kernel: [  386.540040] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
May  8 22:30:05 Ubuntu kernel: [  386.556065] Suspending console(s) (use no_console_suspend to debug)
May  8 22:30:05 Ubuntu kernel: [  386.556485] sd 2:0:0:0: [sda] Synchronizing SCSI cache
May  8 22:30:05 Ubuntu kernel: [  386.556667] sd 2:0:0:0: [sda] Stopping disk
May  8 22:30:05 Ubuntu kernel: [  386.561657] serial 00:0a: disabled
May  8 22:30:05 Ubuntu kernel: [  386.561820] ata_piix 0000:00:1f.1: PCI INT A disabled
May  8 22:30:05 Ubuntu kernel: [  386.561878] uhci_hcd 0000:00:1d.3: PCI INT D disabled
May  8 22:30:05 Ubuntu kernel: [  386.561885] ata_piix 0000:00:1f.2: PCI INT B disabled
May  8 22:30:05 Ubuntu kernel: [  386.561890] uhci_hcd 0000:00:1d.2: PCI INT C disabled
May  8 22:30:05 Ubuntu kernel: [  386.561904] uhci_hcd 0000:00:1d.1: PCI INT B disabled
May  8 22:30:05 Ubuntu kernel: [  386.562088] i915 0000:00:02.0: PCI INT A disabled
May  8 22:30:05 Ubuntu kernel: [  386.572089] uhci_hcd 0000:00:1d.0: PCI INT A disabled
May  8 22:30:05 Ubuntu kernel: [  386.588062] ehci_hcd 0000:00:1d.7: PCI INT A disabled
May  8 22:30:05 Ubuntu kernel: [  386.664108] HDA Intel 0000:00:1b.0: PCI INT A disabled
May  8 22:30:05 Ubuntu kernel: [  386.680030] PM: suspend of drv:HDA Intel dev:0000:00:1b.0 complete after 118.110 msecs
May  8 22:30:05 Ubuntu kernel: [  386.680044] PM: suspend of drv: dev:pci0000:00 complete after 117.938 msecs
May  8 22:30:05 Ubuntu kernel: [  386.680054] PM: suspend of devices complete after 123.708 msecs
May  8 22:30:05 Ubuntu kernel: [  386.680057] PM: suspend devices took 0.124 seconds
May  8 22:30:05 Ubuntu kernel: [  386.680198] pcieport 0000:00:1c.0: wake-up capability enabled by ACPI
May  8 22:30:05 Ubuntu kernel: [  386.712183] PM: late suspend of devices complete after 32.122 msecs
May  8 22:30:05 Ubuntu kernel: [  386.712731] ACPI: Preparing to enter system sleep state S3
May  8 22:30:05 Ubuntu kernel: [  386.713126] PM: Saving platform NVS memory
May  8 22:30:05 Ubuntu kernel: [  386.720360] Disabling non-boot CPUs ...
May  8 22:30:05 Ubuntu kernel: [  386.828028] CPU 1 is now offline
May  8 22:30:05 Ubuntu kernel: [  386.828031] SMP alternatives: switching to UP code
May  8 22:30:05 Ubuntu kernel: [  386.834387] PM: Restoring platform NVS memory
May  8 22:30:05 Ubuntu kernel: [  386.834387] Enabling non-boot CPUs ...
May  8 22:30:05 Ubuntu kernel: [  386.834387] SMP alternatives: switching to SMP code
May  8 22:30:05 Ubuntu kernel: [  386.840521] Booting Node 0 Processor 1 APIC 0x1
May  8 22:30:05 Ubuntu kernel: [  386.834102] Initializing CPU#1
May  8 22:30:05 Ubuntu kernel: [  386.964468] CPU1 is up
May  8 22:30:05 Ubuntu kernel: [  386.965136] ACPI: Waking up from system sleep state S3
May  8 22:30:05 Ubuntu kernel: [  386.966073] PM: early resume of devices complete after 0.555 msecs
May  8 22:30:05 Ubuntu kernel: [  386.966423] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
May  8 22:30:05 Ubuntu kernel: [  386.969328] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
May  8 22:30:05 Ubuntu kernel: [  386.969363] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
May  8 22:30:05 Ubuntu kernel: [  386.969387] usb usb2: root hub lost power or was reset
May  8 22:30:05 Ubuntu kernel: [  386.969406] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
May  8 22:30:05 Ubuntu kernel: [  386.969428] usb usb3: root hub lost power or was reset
May  8 22:30:05 Ubuntu kernel: [  386.969444] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
May  8 22:30:05 Ubuntu kernel: [  386.969467] usb usb4: root hub lost power or was reset
May  8 22:30:05 Ubuntu kernel: [  386.969482] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
May  8 22:30:05 Ubuntu kernel: [  386.969505] usb usb5: root hub lost power or was reset
May  8 22:30:05 Ubuntu kernel: [  386.969521] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20
May  8 22:30:05 Ubuntu kernel: [  386.969572] ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
May  8 22:30:05 Ubuntu kernel: [  386.969592] ata_piix 0000:00:1f.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
May  8 22:30:05 Ubuntu kernel: [  386.969618] pcieport 0000:00:1c.0: wake-up capability disabled by ACPI
May  8 22:30:05 Ubuntu kernel: [  386.973523] sd 2:0:0:0: [sda] Starting disk
May  8 22:30:05 Ubuntu kernel: [  386.981058] serial 00:0a: activated
May  8 22:30:05 Ubuntu kernel: [  387.056559] firewire_core: skipped bus generations, destroying all nodes
May  8 22:30:05 Ubuntu kernel: [  387.069180] PM: resume of drv:i915 dev:0000:00:02.0 complete after 102.914 msecs
May  8 22:30:05 Ubuntu kernel: [  387.112611] PM: resume of drv:usb dev:usb3 complete after 141.447 msecs
May  8 22:30:05 Ubuntu kernel: [  387.112618] PM: resume of drv:usb dev:usb4 complete after 141.444 msecs
May  8 22:30:05 Ubuntu kernel: [  387.112630] PM: resume of drv:hub dev:3-0:1.0 complete after 141.462 msecs
May  8 22:30:05 Ubuntu kernel: [  387.112634] PM: resume of drv:hub dev:4-0:1.0 complete after 141.359 msecs
May  8 22:30:05 Ubuntu kernel: [  387.116534] PM: resume of drv:usb dev:usb1 complete after 145.422 msecs
May  8 22:30:05 Ubuntu kernel: [  387.116540] PM: resume of drv:hub dev:1-0:1.0 complete after 145.424 msecs
May  8 22:30:05 Ubuntu kernel: [  387.116550] PM: resume of drv:usb dev:usb5 complete after 143.038 msecs
May  8 22:30:05 Ubuntu kernel: [  387.116556] PM: resume of drv:hub dev:5-0:1.0 complete after 143.040 msecs
May  8 22:30:05 Ubuntu kernel: [  387.116562] PM: resume of drv: dev:ep_81 complete after 135.403 msecs
May  8 22:30:05 Ubuntu kernel: [  387.150964] ata1.01: ACPI cmd ef/03:42:00:00:00:b0 (SET FEATURES) filtered out
May  8 22:30:05 Ubuntu kernel: [  387.150967] ata1.01: ACPI cmd ef/03:0c:00:00:00:b0 (SET FEATURES) filtered out
May  8 22:30:05 Ubuntu kernel: [  387.164783] ata1.01: configured for UDMA/33
May  8 22:30:05 Ubuntu kernel: [  387.165024] PM: resume of drv:usb dev:1-6 complete after 191.476 msecs
May  8 22:30:05 Ubuntu kernel: [  387.165033] PM: resume of drv:usb-storage dev:1-6:1.0 complete after 191.482 msecs
May  8 22:30:05 Ubuntu kernel: [  387.165042] PM: resume of drv:scsi dev:host4 complete after 191.490 msecs
May  8 22:30:05 Ubuntu kernel: [  387.165051] PM: resume of drv:scsi_host dev:host4 complete after 191.484 msecs
May  8 22:30:05 Ubuntu kernel: [  387.165055] PM: resume of drv:scsi dev:target4:0:0 complete after 191.436 msecs
May  8 22:30:05 Ubuntu kernel: [  387.165066] PM: resume of drv:sd dev:4:0:0:0 complete after 189.041 msecs
May  8 22:30:05 Ubuntu kernel: [  387.165089] PM: resume of drv:scsi_device dev:4:0:0:0 complete after 189.051 msecs
May  8 22:30:05 Ubuntu kernel: [  387.216531] PM: resume of drv:usb dev:usb2 complete after 245.412 msecs
May  8 22:30:05 Ubuntu kernel: [  387.216541] PM: resume of drv:hub dev:2-0:1.0 complete after 245.417 msecs
May  8 22:30:05 Ubuntu kernel: [  387.360861] PM: resume of drv:HDA Intel dev:0000:00:1b.0 complete after 391.544 msecs
May  8 22:30:05 Ubuntu kernel: [  387.476531] usb 2-2: reset low speed USB device using uhci_hcd and address 2
May  8 22:30:05 Ubuntu kernel: [  387.560056] firewire_core: rediscovered device fw0
May  8 22:30:05 Ubuntu kernel: [  387.792016] PM: resume of drv:usb dev:2-2 complete after 818.422 msecs
May  8 22:30:05 Ubuntu kernel: [  387.792024] PM: resume of drv:usbhid dev:2-2:1.0 complete after 818.417 msecs
May  8 22:30:05 Ubuntu kernel: [  390.731311] ata3.00: configured for UDMA/133
May  8 22:30:05 Ubuntu kernel: [  390.779227] PM: resume of drv:sd dev:2:0:0:0 complete after 3805.701 msecs
May  8 22:30:05 Ubuntu kernel: [  390.779237] PM: resume of drv:scsi_disk dev:2:0:0:0 complete after 3559.849 msecs
May  8 22:30:05 Ubuntu kernel: [  390.779244] PM: resume of drv:scsi_device dev:2:0:0:0 complete after 3805.697 msecs
May  8 22:30:05 Ubuntu kernel: [  390.779302] PM: resume of devices complete after 3813.203 msecs
May  8 22:30:05 Ubuntu kernel: [  390.779476] PM: resume devices took 3.812 seconds
May  8 22:30:05 Ubuntu kernel: [  390.779494] Restarting tasks ... done.
May  8 22:30:05 Ubuntu kernel: [  390.849847] r8169 0000:02:00.0: eth0: link up
May  8 22:30:05 Ubuntu kernel: [  390.849854] r8169 0000:02:00.0: eth0: link up
May  8 22:30:27 Ubuntu kernel: [  407.568489] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro,commit=0
mathew@Ubuntu:/var/log$ 

 

Mathew

Link to comment
Share on other sites

Hi MaLd0n

 

Thanks for the reply.

 

It was already ticked with computer sleep 20min & Display sleep 10min.

I un-ticked rebooted & ticked again.

 

Still it is the same for wake up - no way to wake it up.

 

But I noticed one more thing that by pressing the power button (ticked to "Allow power button to put the computer to sleep"), PC goes to sleep but power button can not wake it up.

 

All these tests were done with PS/2 KB & mouse.

 

Thanks to let me know if you have any more ideas & I am searching google for an answer.

 

 

Mathew

Link to comment
Share on other sites

Thanks to let me know if you have any more ideas & I am searching google for an answer.

 

:huh:

 

I Have no idea

sorry

 

if you find a solution

let me know 01a.png

Link to comment
Share on other sites

Hi Oldnapalm/MaLd0n,

 

Thank you for all your help so far.

 

Yes, when I get the solution for the wake up, I will update this forum/post.

 

If you get any more ideas later on, please do let me know here.

 

With this forum help & both of your help, I could get the GMA950, many DSDT patches, Apple Native Power management working. More interestingly, I learned many things on how OSX works etc.

 

This is a great forum.

 

Regards,

 

Mathew

Link to comment
Share on other sites

Hi Oldnapalm/MaLd0n,

 

I just found the below link.

 

I currently using the Chameleon V2 RC5 r748 suggested by Oldnapalm.

I am not sure whether this r748 is a special one for GigaByte boards.

 

As for my wake up issue, do you think I should try a newer version of Chameleon bootloader revision?

Is there any that you may know works better with ASUS boards?

 

I am just thinking whether you have any idea on this.

 

http://code.google.com/p/hackintosh-osx86-....0-RC5-r748.pkg

 

Thank you for your reply.

 

Mathew

Link to comment
Share on other sites

Hi Oldnapalm,

 

Thanks for the reply.

I will leave it as it is because it does not effect my wake up problem.

 

It is more like I will have to leave the sleep/wake up thing & disable it in energy saver.

 

Thanks to you all other things are working well in my OSX install.

 

Just one last request, if you can answer.

 

I may soon buy a new motherboard. CPU, RAM, HD, Graphic card and can you recommend a link with a list of known working setup or any of your recommended setup that Retail OSX works well with a simple DSDT patch?

 

Regards,

 

 

Mathew

Link to comment
Share on other sites

The patch seems correctly applied.

 

Use the parameters "Wait=yes arch=i386 -v" at boot and check if dsdt.aml is being loaded. If it is, the problem is probably the GMA950 kexts included in the DVD you used. Try using original kexts, install the current combo update.

 

 

I'm having the same issue mathewfer had with the graphics. I followed what he did, and got the gray screen. I'm on the most recent version of Chameleon right now. I'm also using the auto patcher to fix a bios issue which works.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...