General Mac OS X Discussion General Apple and Mac OS X Discussion

Reply
 
LinkBack Thread Tools Display Modes
  (#1) Old
Member
 
Posts: 36
Join Date: Oct 2008
Default STEC SSD SLEEP Working - 12-27-2008, 02:31 PM

km9 over at InsanelyMac found a way to get Sleep/Resume working for Dell Drives (STEC).

This is his post:
http://forum.insanelymac.com/index.p...124363&st=780#

Quote:
Sleep with STEC drives

Posting here since mydellmini.com seems to be down.

Attached file contains a patched version of PATA driver that would (hopefully) not cause a hang when resuming from sleep on STEC drives (the default drives used by DELL). By replacing the default AppleIntelPIIXATA.kext with the version attached, resuming from STEC drives should become possible (it worked on my 32G drive, at least). Source code of the patch is also included.

Technically it is simple, it resets the SSD on resume. The idea came from somebody on mydellmini forum who reported success when he / she re-inserted his/her SSD while resuming from sleep.

If you are interested in building the kext yourself, download source code of IOPCIFamily and xnu along with AppleIntelPIIXATA, and add their paths (IOPCIFamily-VERSION, xnu-VERSION/(bsd|EXTERNAL_HEADERS|osfmk|iokit) to the include path.

PS. since other drivers might have issues with sleep as well, I recommend unconnecting all USD devices, SD cards before taking your mini 9 to sleep state.
Also, he answers to Jeffberg saying

Quote:
IMHO the most user-friendly way is as follows, to install the modified version of AppleIntelPIIXATA.kext,

1) Mount DellMiniBoot123v6.iso
2) copy INSTALLER.DMG to your HDD
3) mount INSTALLER.DMG you just copied
4) copy the modified AppleIntelPIIXATA.kext into the Extensions folder of INSTALLER.DMG (click yes on overwrite alert)
5) run MiniScript in the INSTALLER.DMG

If you have other kexts different from the ones bundled with DellMiniBoot123v6.iso, copy all of them into the Extensions folder in step 4, and they will be updated as well.
Hail to the king, Hail to km9
Attached Files
File Type: zip mini9_stec_v1.zip (34.9 KB, 222 views)
Reply With Quote
  (#2) Old
Member
 
Posts: 82
Join Date: Dec 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 02:38 PM

This needs to be stickied.

And...

HELL YES!!!! YOU GUYS ROCK!!!!
Reply With Quote
  (#3) Old
Junior Member
 
Posts: 20
Join Date: Nov 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 03:13 PM

Hmm, I don't think it's worked for me. I have a standard 16gb dell drive. Dropped the kext into the extensions folder and re-ran the miniscript [using new install - is that right?] but when I sleep the drive and try to turn back on [pressing power button] the screen just stays off?
Reply With Quote
  (#4) Old
Member
 
Posts: 82
Join Date: Dec 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 03:21 PM

Agreed^ that method did not work for me.

i am going to try it manually. Be back.
Reply With Quote
  (#5) Old
Member
 
Posts: 82
Join Date: Dec 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 03:34 PM

I installed to the EFI manually through terminal.

Sleep is not initiated when closing the lid.
Choosing sleep from the menu works, but it will NOT wake up with an SD card in.
With the SD card out b4 sleeping it WILL wake up with no sound.

I am thinking that maybe I did not install it correctly.


Look at this note from insanelymac:


fixed my own problem. The custom kext goes into the plugins folder of IOATAFamily.kext.
I copied the Apple IOATAFamily.kext into the EFI partition and then copied the customer AppleIntelPIIATA.kext into the plugins folder of the copied ATAFamily.kext. Ran ./update.sh and then restarted. Still have vanilla OS X that boots on normal macs with normal ATA family kexts but on the dell it has sleep. Awesome!



If I understood all of that, maybe it would help me!
Reply With Quote
  (#6) Old
Guru
 
Posts: 1,744
Join Date: Sep 2008
Location: Olalla, WA
Send a message via AIM to UnaClocker Send a message via Yahoo to UnaClocker
Default Re: STEC SSD SLEEP Working - 12-27-2008, 06:04 PM

Give it a day or two, Type11 will merge this into his next release. JeffBerg confirmed that this does work with the 16gb STEC, so it'll work with all of the STEC drives as well.
Sleep on lid close is broken in Type11 v6, we finally nailed down why (one of the forum members here actually, I don't recall his name), so it'll be integrated into the next release as well.


Tired of wondering if your Mini9 is doing ANYTHING? - Add a HDD Activity LED
Reply With Quote
  (#7) Old
Member
 
Posts: 38
Join Date: Nov 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 06:12 PM

Quote:
IMHO the most user-friendly way is as follows, to install the modified version of AppleIntelPIIXATA.kext,

1) Mount DellMiniBoot123v6.iso
2) copy INSTALLER.DMG to your HDD
3) mount INSTALLER.DMG you just copied
4) copy the modified AppleIntelPIIXATA.kext into the Extensions folder of INSTALLER.DMG (click yes on overwrite alert)
5) run MiniScript in the INSTALLER.DMG

If you have other kexts different from the ones bundled with DellMiniBoot123v6.iso, copy all of them into the Extensions folder in step 4, and they will be updated as well.
I can confirm that with this method sleep works on the 32gb STEC SSD. Woo Hoo!
Reply With Quote
  (#8) Old
Member
 
Posts: 36
Join Date: Oct 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 06:15 PM

So with STEC sleep solved and with the SD driver (full speed with sleepability in a few days) we have a fully working Mini.
Reply With Quote
  (#9) Old
Guru
 
Posts: 1,744
Join Date: Sep 2008
Location: Olalla, WA
Send a message via AIM to UnaClocker Send a message via Yahoo to UnaClocker
Default Re: STEC SSD SLEEP Working - 12-27-2008, 06:20 PM

Not quite.. Once everyone is able to sleep, everyone is going to notice that sound does not work when you wake the machine. So that's one last glitch on our to-do list..


Tired of wondering if your Mini9 is doing ANYTHING? - Add a HDD Activity LED
Reply With Quote
  (#10) Old
Member
 
Posts: 82
Join Date: Dec 2008
Default Re: STEC SSD SLEEP Working - 12-27-2008, 06:37 PM

Quote:
Originally Posted by locoocol
So with STEC sleep solved and with the SD driver (full speed with sleepability in a few days) we have a fully working Mini.

so someone has solved the SD card going to sleep waking up issue?

This is getting awesome.

One question: Can someone confirm that sleep works form closing the lid? Mine does not.
Reply With Quote
Reply

« up and running | best full backup (boot image) solution? »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Copyright © 2008-2011 MyDellMini.com.