Jump to content

no sound after wake-up from sleep


  • Please log in to reply
21 replies to this topic

#1
BugsB

BugsB

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,513 posts
  • Gender:Male
  • Location:Kauai, Hawai'i
on both, internal speakers and jack-out.

have tried different Azalia, different kernels, different PCI/ ACPI kexts = no go.

does that ring a familiar bell with somebody ??

Conexant HDA with Azalia out, more specs see my sig (if needed)

#2
BugsB

BugsB

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,513 posts
  • Gender:Male
  • Location:Kauai, Hawai'i
wow, so either everybody is experiencing this problem with the Azalia kext, or nobody ..

#3
matteiJ

matteiJ

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts

on both, internal speakers and jack-out.

have tried different Azalia, different kernels, different PCI/ ACPI kexts = no go.

does that ring a familiar bell with somebody ??

Conexant HDA with Azalia out, more specs see my sig (if needed)


it has trouble reloading the kext when it wakes up, mine does the same thing and i'm sure tons of others, i wrote a script that takes care of it, you just need to open apple script editor, drag the app onto the script editor icon in the doc, and edit the kext file to be the one you are using, also where it says username "root" password "root" , those 2 in quotes must be the system administrator username and password because you can't load kexts unless you're logged in as root. if you need help let me know. i just put it in my dock so when i wake my computer i just click on it and my sound is back, kind of annoying i know but then again it's not a real mac, hope it helps, let me know if it worked :)
mattejacob@mac.com
Attached File  SoundFix_osx86.zip   187.13KB   590 downloads

#4
BugsB

BugsB

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,513 posts
  • Gender:Male
  • Location:Kauai, Hawai'i
matteiJ, thanks a lot for the hint and the file - I won't be at my Laptop for a little while, so it will take appr. a week or so before I can post back with a result :)

#5
evanrodge

evanrodge

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts
This is going to sound really dumb, but I have a similar problem, but I used Taruga's installer, so I don't know which kext i'm actually using for audio. Is there terminal command to find that out?

#6
matteiJ

matteiJ

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts

This is going to sound really dumb, but I have a similar problem, but I used Taruga's installer, so I don't know which kext i'm actually using for audio. Is there terminal command to find that out?

if you know what chipset your sound card is you can figure out what kernel it uses just by googling "nameofchipset osx86 kernel"

matteiJ, thanks a lot for the hint and the file - I won't be at my Laptop for a little while, so it will take appr. a week or so before I can post back with a result :)

ok let me know how it goes, i did notice one thing though with the app and that is that i get my sound back but no apple sound effects, it can be remedied by logging out and logging back in, but then again i really don't care about that aspect as long as my main sound is back so i can watch video and listen to music and stuff. i'll do some poking around to see if i can't fix that as well. but then again it may be just fine for you, everyones hackintosh isn't the same. that's just the minor glitch i have with mine. (and it doesn't do it every time, sometimes the sound effects come back just fine.)

#7
Ibaneez

Ibaneez

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
I also have the same problem with an ALC861 (AppleHDA) but reload kext doesn't work. I always have to reboot.
Quite annoying and I don't have any ideas to resolve this...

#8
xghost

xghost

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Germany
Tried it and didn't work. Has noone a solution for this? Its pretty much the only annoying thing left on my Hackintosh.

#9
antst

antst

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 119 posts
I investigated this problem on my Toshiba U300 with ALC268.
I tried to develop kext which will fix issue after wake, without any success so far.

It seems that there is a problem of changing power states in HDA driver.

method getPowerState() for AppleHDAController class instance returns 1 before sleep and 0 after.
Manual enforcing powerstate to 1 doesn't work.
Basically, problem of wake/sleep is reproducible by calling methods changePowerStateTo(0) and then changePowerStateTo(1) , after this sound is disappear.

I believe that this is issue of broken ACPI in toshiba BIOS.

#10
xghost

xghost

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Germany
@antst: You maybe right but some of us have sound after sleep only at very low volume (and only on headphone jack) So you think that this may relate to a different problem than having no sound at all?

#11
antst

antst

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 119 posts

@antst: You maybe right but some of us have sound after sleep only at very low volume (and only on headphone jack) So you think that this may relate to a different problem than having no sound at all?


Laptop model?

#12
xghost

xghost

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Germany
it's an Acer 5220. Like listed in my sig...

#13
ApexDE

ApexDE

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 215 posts
I have the "no-system-sounds-after-sleep" issue as well. I use USB Speakers.

These are my findings:

When i switch the audio output to internal and back to my USB Speakers, the System Sounds start working again :)

But how can this be automated?

Hope this helps anybody, at least i don't need to reboot anymore cause of this.

#14
ApexDE

ApexDE

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 215 posts
OK. I made a applescript which:

- selects line-out for system sounds
- plays "basso" as system-error-sound
- sets MY desired output device for system sounds
- sets "funk" as system-error-sound

For all this to work, GUI Scripting needs to be activated in the "Applescript-Utility". If you run the script in OS X other than German, you need to change the names of windows and tabs in the Script to your foreign names.

for example:

tell tab group 1 of window "Ton"
click radio button "Toneffekte"

=

tell tab group 1 of window "Sound"
click radio button "Soundeffects"

?!

Just a wild guess, as i have no english OS X ;)


	   tell application "System Preferences"
		   activate
		   set current pane to pane "com.apple.preference.sound"
	   end tell
	   tell application "System Events"
		   tell application process "System Preferences"
			   
			   (* switch sound output to line-out *)
			   
			   tell tab group 1 of window "Ton"
				   click radio button "Toneffekte"
				   tell group 1
					   tell pop up button 1
						   click
						   click menu item 5 of menu 1
					   end tell
				   end tell
				   select row 2 of table 1 of scroll area 1
			   end tell
			   
			   (* switch sound output back to desired device *)
			   
			   tell tab group 1 of window "Ton"
				   click radio button "Toneffekte"
				   tell group 1
					   tell pop up button 1
						   click
						   click menu item 7 of menu 1
					   end tell
				   end tell
				   select row 5 of table 1 of scroll area 1
			   end tell
			   
		   end tell
		   tell application "System Preferences" to quit
		   tell me to activate
	   end tell

Attached Files



#15
ckybam69

ckybam69

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts
so i have tried to convert this to english with no luck. can any1 help me? translators done translate the words

edit: got it translated but i can not get the script to run.

#16
Monkey_@@

Monkey_@@

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 123 posts
  • Gender:Male
So, I'm here to join the list of those whose sound is not working after sleep... :(

#17
volsk

volsk

    InsanelyMac Protégé

  • Donators
  • 57 posts
  • Gender:Male
  • Location:Amsterdam, the Netherlands
Same issue here.

ALC286 in an Acer Aspire One A150

#18
ChiefChief

ChiefChief

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hey guys! How's it going? Sound cards don't work? Me neither!

Mine's a Fujitsu T4215 with a SigmaTel STAC9228X5T AC97-compliant card.

I haven't tried the script yet, I'll be working on that in a bit, I'll let y'all know how it goes.

#19
OrangeJuice

OrangeJuice

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts
Add me to the long list, going to see if Voodoo HDA can do anything about it.

#20
MarsVolta

MarsVolta

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
did anyone ever solve this problem?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy