- Joined
- Nov 24, 2010
- Messages
- 34
- Motherboard
- ThinkPad T440s-OpenCore
- CPU
- i5-4300U
- Graphics
- HD 4400, 1920x1080
- Mac
- Mobile Phone
I apologize if this has been addressed, but I've been searching for an answer and so far there doesn't seem to be one, so when I discovered a work-around for the issue, I wanted to share and give back a little...
I just completed a CustoMac Mini 2011 build, everything was working excellently except when the computer went to sleep and woke, the external USB drive would report that it hadn't been ejected properly.
Searched the forum and discovered others having a similar problem and, not wanting to have to manually eject every time, began trying to find a solution.
No solution yet, but here's what I did as a work-around until the gurus here have the DSDT taking care of this issue.
Open "Automator", create an application. In your "library," double click "Get specified finder items." Choose your drive(s).
Next, go back to the "Library" and double click "eject disk."
Go back to "library" one last time, and double click "run applescript." Replace what is there with this:
Name "Sleep" and save to your desktop.
Now, when you double click this icon, your machine ejects the drives you selected in step 1 and puts the machine to sleep. Upon wake, the drives are mounted and there's no error!
It's not much, and requires manually selecting "Sleep" each time, but works.
Hope this helps someone!
I just completed a CustoMac Mini 2011 build, everything was working excellently except when the computer went to sleep and woke, the external USB drive would report that it hadn't been ejected properly.
Searched the forum and discovered others having a similar problem and, not wanting to have to manually eject every time, began trying to find a solution.
No solution yet, but here's what I did as a work-around until the gurus here have the DSDT taking care of this issue.
Open "Automator", create an application. In your "library," double click "Get specified finder items." Choose your drive(s).
Next, go back to the "Library" and double click "eject disk."
Go back to "library" one last time, and double click "run applescript." Replace what is there with this:
Code:
on run {input, parameters}
tell the application "Finder" to sleep
return input
end run
Name "Sleep" and save to your desktop.
Now, when you double click this icon, your machine ejects the drives you selected in step 1 and puts the machine to sleep. Upon wake, the drives are mounted and there's no error!
It's not much, and requires manually selecting "Sleep" each time, but works.
Hope this helps someone!