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

Reply
 
LinkBack Thread Tools Display Modes
  (#1) Old
Junior Member
 
Posts: 13
Join Date: Sep 2009
Default Two methods to get sound after sleep on a 10v - 09-11-2009, 04:59 AM

Updated 10/12/09
NetbookInstaller 0.8.3 RC 3 fixes this issue. Upgrade today...(also fixes a lot of things with the trackpad)


Here are two methods that I found to work to get sound working after sleep on my Dell Mini 10v
Updated 9/19/09

Method 1:
Install sleepwatcher....here
Make sure you install both files of sleepwatcher. One is the main file and the other is a startup loader to ensure you have it every time you boot.

Go to your terminal and type
Code:
sudo nano /etc/rc.sleep
remove the contents of the file ctrl+k will delete line by line...just hold it down
copy and paste this
Code:
#!/bin/sh
/sbin/kextunload /System/Library/Extensions/AppleHDA.kext/
Ctrl+x to quit.
Push Y to save

Now edit this file. In terminal type:
Code:
sudo nano /etc/rc.wakeup
remove the contents of the file ctrl+k will delete line by line...just hold it down
copy and paste this
Code:
!/bin/sh
#
osascript <<EOF
tell application "System Preferences"
        set the current pane to pane id "com.apple.preference.sound"
end tell

if application "System Preferences" is running then
        tell application "System Preferences" to quit
end if
EOF

/sbin/kextload /System/Library/Extensions/AppleHDA.kext/
Ctrl+x to quit.
Push Y to save

You are done.
It takes about 15 seconds for audio to come back after sleep.
Everything works including the audio volume buttons and mic.

This is a new workaround I discovered. It basically opens up the volume prefpane which notices that there is no audio device and then the script reloads it. This two step process seems to get everything working. The only side effect is if you have the system preferences open when you go to sleep this script will close it. (Not a big deal at all)

Method 2: (I dont recomend Voodoo anymore)

Download VoodooHDA audio kext Here
Install VoodooHDA as well as the other files for it (settings panel, etc)
Rename AppleHDA.kext to AppleHDA.kext.bak in /System/Library/Extensions
Reboot
Enjoy sound after sleeping...

Last edited by forlack; 10-12-2009 at 04:49 PM.
Reply With Quote
  (#2) Old
Member
 
Posts: 43
Join Date: Sep 2009
Default 09-11-2009, 05:11 AM

what about if you already install the workaround in reymedia guide? Step 7. can you still use your method or would you need to undo the workaround?
Reply With Quote
  (#3) Old
Member
 
Posts: 43
Join Date: Sep 2009
Default 09-11-2009, 05:12 AM

and also does the keyboard vol up/down/mute work with your method?
Reply With Quote
  (#4) Old
Junior Member
 
Posts: 13
Join Date: Sep 2009
Default 09-11-2009, 05:57 AM

Method 2 that I included is basically a simplified version of reymedia's guide. You would have to uninstall the utility or delete the script if you wanted to use the Voodoo kext.

With Voodoo the buttons do work to adjust audio before and after sleeping. Good luck!
Reply With Quote
  (#5) Old
Member
 
Posts: 43
Join Date: Sep 2009
Default 09-11-2009, 06:10 AM

Quote:
Originally Posted by forlack View Post
Method 2 that I included is basically a simplified version of reymedia's guide. You would have to uninstall the utility or delete the script if you wanted to use the Voodoo kext.

With Voodoo the buttons do work to adjust audio before and after sleeping. Good luck!
thats what i want!! can you help me to uninstall the utility and delete the scripts?


im so close to getting this fix...i feel it. thanks in advance.
Reply With Quote
  (#6) Old
Member
 
Posts: 43
Join Date: Sep 2009
Default 09-11-2009, 06:44 AM

im new to the voodoo thing. so someone explain how to install it and use it. i downloaded the 2 files. one file i run and it loaded up terminal and the other program i ran it put voodoo in the setting pane. i get an error everytime i go into settings. someone help
Reply With Quote
  (#7) Old
Junior Member
 
Posts: 13
Join Date: Sep 2009
Default 09-11-2009, 06:56 AM

Well, I might have spoken too soon. VoodooHDA does work after sleeping, but it seems to be distorted But here is the weird part. I removed VoodooHDA and renamed AppleHDA back to what it was. Rebooted and now audio is working without distortion after I sleep! I dont know how loading the Voodoo kext and then removing it would somehow get AppleHDA to work with sleeping...anyone???
Reply With Quote
  (#8) Old
Junior Member
 
Posts: 13
Join Date: Sep 2009
Default 09-11-2009, 07:06 AM

Quote:
Originally Posted by vodafone19 View Post
im new to the voodoo thing. so someone explain how to install it and use it. i downloaded the 2 files. one file i run and it loaded up terminal and the other program i ran it put voodoo in the setting pane. i get an error everytime i go into settings. someone help
Voda if you are feeling a little aventerous you can see if what I did (by accident) enabled sound for you after sleep. Basically what you do is download Kext Helper. Run that program and drag VoodooHDA.kext into it. (this will install it) run this command in the terminal to disable AppleHDA.kext

sudo mv /System/Library/Extensions/AppleHDA.kext/ /System/Library/Extensions/AppleHDA.kext.bak/

Reboot. You should have audio now after sleep, but it might be distorted...verify this?

Do the reverse...

sudo mv /System/Library/Extensions/AppleHDA.kext.bak/ /System/Library/Extensions/AppleHDA.kext/

sudo open /System/Library/Extensions/
find VoodooHDA.kext and move it to trash

It might freeze when you remove voodoo without unloading it, but just restart after this...and see if your audio works after sleep.
Reply With Quote
  (#9) Old
Member
 
Posts: 43
Join Date: Sep 2009
Default 09-11-2009, 07:10 AM

i did it and it works. i get audio after sleep. but now i lost my mic. can you confirm that your mic is still working? i'm going to try to undo what i just did and try over.
Reply With Quote
  (#10) Old
Junior Member
 
Posts: 13
Join Date: Sep 2009
Default 09-11-2009, 07:15 AM

Quote:
Originally Posted by vodafone19 View Post
i did it and it works. i get audio after sleep. but now i lost my mic. can you confirm that your mic is still working? i'm going to try to undo what i just did and try over.
Did you do my above post? If you are just using VoodooHDA see if the audio is distorted after sleeping? With my weird workaround I have audio and mic after sleep...I am going to do a quick repair of permission and reboot to see if I still have it...Im sorry voda if this is turning out to be some crazy goose chase, but.... ya lol
Reply With Quote
Reply

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


LinkBacks (?)
LinkBack to this Thread: http://www.mydellmini.com/forum/general-mac-os-x-discussion/12700-two-methods-get-sound-after-sleep-10v.html
Posted By For Type Date
Post Installation Steps on My Snow Leopard Dell Mini 10v Hackintosh | Hackintosh Laptop This thread Refback 09-29-2009 02:24 PM

UMPC Topsites

Copyright © 2008-2010 MyDellMini.com.
Hosted on a CatN PHP vCluster.