Contribute
Register

Giacomoleopardo Silent MacMini 6,2 | Step by step guide

Status
Not open for further replies.
please post what works and not..
does sleep works?
 
I Gia ;-),

so have tested the system a few days and it runs quite well.

But i have made a mistake. I have installed ML Server and sleep stopped working. I uninstalled the server but it doesn't help. Here is what pmset shows.

Code:
rynr:~ rynr$ pmset -g assertions
19.04.13 07:01:26 MESZ   
Assertion status system-wide:
   PreventUserIdleDisplaySleep    1
   CPUBoundAssertion              0
   PreventSystemSleep             0
   PreventUserIdleSystemSleep     0
   ExternalMedia                  1
   DisableLowPowerBatteryWarnings 0
   UserIsActive                   1
   ApplePushServiceTask           0
   BackgroundTask                 1

Listed by owning process:
  pid 269(ScreensharingAg): [0x0000000500000182] 00:00:24 NoDisplaySleepAssertion named: "screen sharing wake display" 
  pid 269(ScreensharingAg): [0x0000000a00000181] 00:00:02 UserIsActive named: "screen sharing wake display" 
	Timeout will fire in: 57.6 Action=TimeoutActionRelease
  pid 20(powerd): [0x000000090000012c] 00:09:58 ExternalMedia named: "com.apple.powermanagement.externalmediamounted" 
  pid 229(screensharingd): [0x0000000500000135] 00:09:29 NoDisplaySleepAssertion named: "Nameless (via IOPMAssertionCreate)" 
  pid 390(helpd): [0x0000000c0000015d] 00:08:14 BackgroundTask named: "com.apple.helpd.sdmbuilding" 

Kernel Assertions:

I can send the system manually to sleep without any problems.

Another thing is, i have an Rockatraid 2320 card in my system. It is running also quite well. But the connected drives are shown as external. Is there a DSDT edit to fix this.

At least nice video. Keep going

Have a nice day
 
Hi Crystal,
Actually I condn't know what causes this. You could try the MaciASL patch for dsdt PJALM General -> ESB2 SATA, if it doesn't work, you could always test on a fresh install partition and test it over there. I'm not an expert, so it is just a guess!
For
Code:
PreventUserIdleDisplaySleep    1
maybe you'll find some interesting info here, then for
Code:
BackgroundTask                 1
type in terminal
Code:
launchctl unload -w /System/Library/LaunchAgents/com.apple.helpd.plist

Please post results!
 
UPDATE #2

With the new Multibeast 5.3.0, a new kext replaced dsdt patching for Intel usb 3.0 and ASMedia usb 3.0 controllers.
Here is my test with an external HDD USB 3.0 and flash drive 2.0.

PART 1 - DSDT Multiplex patch + ASMedia kexts (CalDigitFastIO.kext and CalDigitUSBxHCI.kext) downloaded here (USB30_kext_02.zip)

- HDD connected to Intel usb 3, recognized as Super Speed Bus up to 5 Gb/sec and stays connected after wake from sleep
- HDD connected to ASMedia usb 3, recognized as Super Speed Bus up to 480 Mb/sec and auto remounted after wake from sleep
- HDD connected to usb 2 recognized as High Speed Bus up to 480 Mb/sec and stays connected after wake from sleep
- Flash drive recognized properly everywhere, but in ASMedia usb 3 auto remounted after wake from sleep


PART 2 - No DSDT Multiplex patch, no ASMedia kexts, just GenericUSBXHCI.kext

- HDD connected to Intel usb 3, recognized as Super Speed Bus up to 5 Gb/sec and stays connected after wake from sleep
- HDD connected to ASMedia usb 3, recognized as Super Speed Bus up to 5 Gb/sec and auto remounted after wake from sleep
- HDD connected to usb 2 recognized as High Speed Bus up to 480 Mb/sec and stays connected after wake from sleep
- Flash drive recognized properly everywhere, but in ASMedia usb 3 auto remounted after wake from sleep
- "-gux_nosleep" kernel flag caused unmount remount in Intel usb3 without solving remount in ASMedia ports
- "-gux_nomsi" kernel flag doesn't affect Intel ports after wake from sleep, but doesn't solve unmount on ASMedia ports.

Conclusion
Regarding ASMedia USB 3.0 Controller, GenericUSBXHCI.kext works better than CalDigitFastIO.kext + CalDigitUSBxHCI.kext
Regarding Intel Z77 USB 3.0 Controller, GenericUSBXHCI.kext does the same job as Mieze's DSDT patches (PJALM Usb Multiplex patch)

EDIT #1: Using DSDT with Multiplex patch doesn't affect GenericUSBXHCI.kext job. Not necessary, I know, but for the sake of curiosity...

EDIT #2: Tested on Gigabyte Z77N-ITX WiFi + Intel i7 3770K and on Zotac Z77-ITX WiFi + Intel i7 3770T
Since these motherboards have only Intel Controller I couln't say these results are for all mobos.
On Zotac everything went well: tested both methods Multiplex patch and just GenericUSBXHCI.kext. Also wake from sleep doesn't affect hdd or flash drive connection. So I decided to keep DSDT editing, I prefer not to add extra kexts, but it's definetly the same result
On Gigabyte I had some issues. Basically every device is properly recognized, but with both methods they're disconnected after wake from sleep. This happens in every usb port: 2.0 and 3.0 as well. Furthermore GenericUSBXHCI.kext method seems to compromise my apple usb keyboard hub until I unplug the device connected and remounted after sleep (hdd or flash drive). That doesn't happen when applying Multiplex patch. So in this case Multiplex patch has my +1. I can't really say why it happens, maybe something in Gigabyte Uefi Bios has to be set in another way, or maybe some other dsdt string to be changed...really don't know.
Any ideas?
 
UPDATE #2...
Conclusion
Regarding ASMedia USB 3.0 Controller, GenericUSBXHCI.kext works better than CalDigitFastIO.kext + CalDigitUSBxHCI.kext
Regarding Intel Z77 USB 3.0 Controller, GenericUSBXHCI.kext does the same job as Mieze's DSDT patches (PJALM Usb Multiplex patch)

EDIT: Using DSDT with Multiplex patch doesn't affect GenericUSBXHCI.kext job. Not necessary, I know, but for the sake of curiosity...
+1 giacomoleopardo. Good test. :thumbup:

The GenericUSBXHCI.kext allowed me to use my USB 2 thumb drive on all my front & rear panel USB 2&3 ports on my Thunderball system. I don't have a USB 3 device to test, yet, but from what I've heard other's are getting similar results which is why the CalDigit & LaCie USB 3 kexts were replaced by RehabMan's version of GenericUSBXHCI.kext.
 
Hi Gio,

my problem that the machine doesn't go to sleep is solved. I just disconnected my the hack from power and after that sleep is working again.

If i want to use the GenericUSBXHCI.kext i have to remove the CalDigitFastIO.kext and CalDigitUSBxHCI.kext, right?

Have a nice day
 
+1 giacomoleopardo. Good test. :thumbup:

The GenericUSBXHCI.kext allowed me to use my USB 2 thumb drive on all my front & rear panel USB 2&3 ports on my Thunderball system. I don't have a USB 3 device to test, yet, but from what I've heard other's are getting similar results which is why the CalDigit & LaCie USB 3 kexts were replaced by RehabMan's version of GenericUSBXHCI.kext.
Thank you Stork. What about sleep? I've just updated my tests and it seems that on Gigabyte GA-Z77N-ITX WiFi after wake from sleep every device appears to be disconnected and reconnected with the usual error of disconnection.
Even usb 2.0 flash drive in usb 2.0 port. Do you have this issue?

Hi Gio,
my problem that the machine doesn't go to sleep is solved. I just disconnected my the hack from power and after that sleep is working again.
If i want to use the GenericUSBXHCI.kext i have to remove the CalDigitFastIO.kext and CalDigitUSBxHCI.kext, right?
Have a nice day
Hi Crystal, I'm glad you solved! Yes, you have to remove CalDigitFastIO.kext and CalDigitUSBxHCI.kext. A clean and safe way to do that would be
  • remove them
  • repair permission
  • rebuild cache
  • reboot
  • run multibeast with "USB 3.0 - Universal" flag
  • repair permission
  • rebuild cache
  • reboot
Cheers!
g.
 
Thank you Stork. What about sleep? I've just updated my tests and it seems that on Gigabyte GA-Z77N-ITX WiFi after wake from sleep every device appears to be disconnected and reconnected with the usual error of disconnection.
Even usb 2.0 flash drive in usb 2.0 port. Do you have this issue?..
My systems are connected to a KVM switch, which doesn't let my systems sleep because of (I guess) the USB connection send some sorta data between the BT & Logitech Unifying (receivers/transmitters) on the switch's USB hub. If I get a chance I'll put it in a stand alone mode to test the USB ports after sleep/wake-up.
 
My systems are connected to a KVM switch, which doesn't let my systems sleep because of (I guess) the USB connection send some sorta data between the BT & Logitech Unifying (receivers/transmitters) on the switch's USB hub. If I get a chance I'll put it in a stand alone mode to test the USB ports after sleep/wake-up.

Two days ago i bought a secondhand ATEN Masterview CS 1782 (really cheap) :)
I can strongly recommend it.

It has the feature that it every 5 second scans the connected comps.(you don't notice)
And then it has DVI connectors and 7.1 surround.

(I had the problem with my old switch that if i was on Windows on one of my comps and switched to my ML hack my mouse and keyboard wasn't recognized)

And sleep works without any problem

images.jpeg
 
Status
Not open for further replies.
Back
Top