Hi,
Thank you for that information.
Please try the following possible workaround:
After the Mac wakes up from sleep, instead of power cycling the device, open a terminal window and type the following:
sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
These commands will unload the Mac USB Mass Storage Driver and reload it. It does not affect other USB devices (Mouse/keyboard/webcam etc.).
Within seconds from typing the second command the external drive should be automatically mounted.
If this works for you, we could work to implement it programmatically so every time the Mac wakes up from sleep it automatically executes those 2 commands.
Regards,
Lampros
No luck…
this is what I got;
Watts-Mac-mini:~ brad$ sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type “man sudo” for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
(kernel) Kext com.apple.iokit.IOUSBMassStorageClass not found for unload request.
Failed to unload com.apple.iokit.IOUSBMassStorageClass - (libkern/kext) not found.
Watts-Mac-mini:~ brad$
That might very well be the problem.
The command you tried sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext
unloads the Mass Storage Driver - provided it’s already been loaded. Normally this will be done automatically by the system the moment you plug in a USB Mass Storage Device. In our tests we found that this driver persists after sleep.
However, the output you got indicates that the driver isn’t loaded.
Can you please try the second command instead and see if that makes your drive show up after sleep?
sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
Again many thanks for your patience through this!
didn’t work. got another error
Mac-mini:~ brad$ sudo kextLoad /System/Library/Extensions/IOUSQMassStorageClass.kext
/System/Library/Extensions/IOUSQMassStorageClass.kext failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).
Can’t open CFBundle for /System/Library/Extensions/IOUSQMassStorageClass.kext.
Mac-mini:~ brad$
Looks like a typo:
sudo kextLoad /System/Library/Extensions/IO **USQ** MassStorageClass.kext
should be:
sudo kextload /System/Library/Extensions/IO **USB** MassStorageClass.kext
no error, but drive didn’t wake. what does this mean to you?
atts-Mac-mini:~ brad$
Watts-Mac-mini:~ brad$ sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
Password:
Watts-Mac-mini:~ brad$ sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext
Watts-Mac-mini:~ brad$
Watts-Mac-mini:~ brad$ comment good answer!
We’re continuing to investigate what may be causing the USB 3.0 Docking Station not to wake up. At this point, it’s not certain that we will find a timely solution, but in the meanwhile may we suggest to go ahead with the firmware upgrade?
We do understand this is taking too long and we’d like to thank you for being so patient. If this however is too much, and you’d wish to return the product let us know and we’ll take care of it.
Just a quick check: Is the Docking Station connected to the Mac through a hub? If it is can you try to connect it directly to the Mac and see if the problem persists?
If you are using a hub - is it bus powered or does it have an external power adapter?
Thanks!
Didn’t we determine that my firmware is current?
Are you thinking a reinstall might work?
It’s connected directly.
I will try the firmware upgrade as soon as I can get access to a windows machine.
I also plan on giving apple a call as soon as I can. Maybe they have some suggestions.
If neither of these options work, I’ll consider the refund.
Thanks
Firmware was upgraded succesfully. The problem still persists.
Do you have any other ideas?
Sorry for the late reply. We’re reaching the end of the things we can do.
During the last days we researched this problem more and it seems that we can only reproduce this behavior when we eject the hard drive prior to sleeping.
This seems to affect all the external hard drives we tested (even a USB-powered one) and doesn’t seem to be unique to our docking station - possibly a Mac issue.
However thumb drives don’t seem to be affected by this.
Are you ejecting the hard drive prior to sleeping?
Thanks!
Not ejecting. My issue is that I don’t want to eject. I want the dock drive to remain mounted but sleep when the computer is idle, but wake when a backup is called for.
What is interesting to me is that it is apparently working correctly for you. Making me wonder if either the dock or computer are somehow defective. Both are new out of the box, and I’ve installed very little new software onto the mac.
I guess you have no other ideas for me then?
I am now manually powering the dock on occasionally to run backups, and then unmounting and powering off so that it doesn’t burn the drive up running non-stop.
I had hoped that time machine would be more automated, but I have been doing this for years with an external enclosed HDD for a PC, and it works ok I guess…
Unfortunately we do not know why we are not seeing the same behaviors on our system as on yours.
Perhaps we could employ the backupd-helper command to write a script that:
a)mounts the drive (Example: mountDisk /dev/disk1 )
b)backups (Example: /System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper is going to make Time Machine to “Back Up Now” )
c)unmounts the drive - causing it to stop spinning (Example: eject /dev/disk1)
However the above won’t solve the problem of the drive not waking up when the Mac comes back from Sleep.
The only commands that could affect that were unloading and reloading the IOUSBMassStorageClass.kext with the commands previously shown.
Could you think of any reason or differences between our system and yours?
I am having a similar issue when using the U3 Drive connected to the USB port on an Apple Airport Extreme Base Station. The drive shows up nicely when powering on the drive. Then after a few minutes the drive sleeps and the baseStation seems unable to wake the drive. The drive icon is also no longer available from the desktop.
Let me know if I should start a new thread.
Hi Jesse,
Thanks for posting, we’ll work on your issue via your thread here:
http://support.plugable.com/plugable/…
Regards,
Jerome.
Plugable Technologies.