Jump to content

Mavericks Realtek ALC AppleHDA Audio

AppleHDA Realtek ALC audio sound

  • This topic is locked This topic is locked
469 replies to this topic

#361
themainman2

themainman2

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Hi toleda, I hope you can help me getting audio to work.

 

computer: 10.9.4 / gigabyte ga-x79-up4 rev1.1/ ALC892 / i7-4930k / gtx 770

 

procedure used: clover install

 

I believe I've followed the instructions correctly but no device is detected (works on windows) and when I double click the script (v.2), I get this error:

 

line 167: [: ==: unary operator expected Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem No system files were changed

 

When I search for "HDEF" in the IORegistryExplorer nothing comes up.

 

I don't have a dsdt.aml or ssdt.aml file

I checked "debug" in Clover configurator but there is no debug log.

 

please let me know where is the problem. thank you

Attached Files



#362
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,067 posts
  • Gender:Male

hope you can help me getting audio to work.

No HDEF in your dsdt.  Three choices,  see Realtek ALC AppleHDA Audio Injection:

1. add dsdt/HDEF,

2. add ssdt/no_HDEF

3. edit config.plist/Devices/Audio/Inject/1



#363
themainman2

themainman2

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

No HDEF in your dsdt.  Three choices,  see Realtek ALC AppleHDA Audio Injection:

1. add dsdt/HDEF,

2. add ssdt/no_HDEF

3. edit config.plist/Devices/Audio/Inject/1

 

I did #3 but it did not do anything.



#364
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,067 posts
  • Gender:Male

I did #3 but it did not do anything.

Add config.plist/ACPI/DSDT/Fixes/

AddDTGP_0001

FixHDA_8000

 

Reporting a problem with no attachments is not helpful.



#365
themainman2

themainman2

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Add config.plist/ACPI/DSDT/Fixes/

AddDTGP_0001

FixHDA_8000

 

Reporting a problem with no attachments is not helpful.

 

Sorry, I thought there was a sufficient attachment in my first post. Here is a new one with the debug log as well, before and after following your latest advice.

Attached Files



#366
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,067 posts
  • Gender:Male

I thought there was a sufficient attachment in my first post. 

If you reboot, previous files become useless.  Config.plist shows all dsdt fixes true; not recommended.  Attach native and patched dsdt (first and last): EFI/CLOVER/ACPI/origin/dsdt....



#367
CurlyBird

CurlyBird

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

Hello,

First off. I'm completely fresh to the Hackingtosh scene, albeit with a very long experience with pretty much any other form of computer, apart Apples.

So that means, I'd probably need a little "hand holding" for any of your explanations. My problem is the following:

 

I have installed an OSX Mavericks (10.9.4)  "guest" in a VirtualBox VM on my Windows 8.1 (x64) "host".

I used the Niresh Distro in order to get started and avoid any potential nightmares for trying to boot.

Everything worked out-of-the-box except Audio. The hardware I'm using is:

Hardware:       ASUS N550JK
Motherboard:    Intel HM86 (Lynx Point)
Processor:      Intel Core i7-4710HQ (Haswell 2014)
Audio Adapter:  Intel Lynx Point PCH - High Definition Audio Controller [C2]    Vendor:Device/8086:8C20
Audio Codec:    Realtek High Definition Audio (Realtek ALC668)                  Vendor:Device/10EC:0668

As you can see it is using the ALC668 codec, which is not listed in OP. I have not been able to find any Apple Kext or whatever either, matching that codec. 
However, I did find the codec mentioned in ALSA sources, (as linked from Realtek site) in ..\alsa\alsa-kernel\pci\hda\patch_realtek.c:
 

 * ALC662 is almost identical with ALC880 but has cleaner and more flexible
 * configuration.  Each pin widget can choose any input DACs and a mixer.
 * Each ADC is connected from a mixer of all inputs.  This makes possible
 * 6-channel independent captures.
...
{ .id = 0x10ec0668, .name = "ALC668", .patch = patch_alc662 },

This seem to imply two things:
1. That it is pin compatible with ALC662
2. That it may be codec compatible with ALC880.

Problem-1: I cannot find any of these codecs mentioned in Apple context. Does anyone know? If there is none, what can I do?

 

Now on to the next problem. When using a virtual machine, things get worse and more complicated as the Audio Codec presented to the VM is different from what is physically present in HW. In the latest VirtualBox, when set to use the "Intel HD Audio", the OSX finds a completely different Audio device/codec, namely:

 

On OSX 10.9.4 (Intel HD Audio):

sudo lspci -m -v

Device:   00.05.0
Device:   82801FB (ICH6) High Definition Audio Controller
SVendor:  SigmaTel
SDevice:  Device 7680

sudo lspci -m -n -vvv

Class:    0403
Vendor:   8086
Device:   2668
SVendor:  8384
SDevice:  7680

This we find from PCI ID DB, is another codec called:  "SigmaTel STAC9221 HD Audio Codec"  [8384:7680].

Problem-2: I cannot find anything Apple related to this codec either... Please help!?

Extra Credit Question:
(a.) How does VirtualBox (or any other vitualization platform for that matter) forward and select what codec is used in the VM? (I thought PCI was just passed through?)

(b.) If we find/make and use the "real" driver (in this case ALC668) in the VM guest, will the VM host software be smart enough to forward the "real" HW "signals"?

I think I'm not the only one who have or will have problems with VirtualBox Audio support when using "unsupported" OSX in a VB VM. So resolving my issue, would potentially resolve the same issue for hundreds of other users trying to run OSX in VM on a windows host with new HW.



#368
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,067 posts
  • Gender:Male

As you can see it is using the ALC668 codec, which is not listed in OP.

Off topic.  The ALC668 is not supported in this thread.



#369
Vorshim92

Vorshim92

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts

Hi everyone and thanks for this thread! :D 

I have a problem with the microphone :'(

sometimes while I'm speaking with my friends on skype or teamspeak3 my friends tells me that my voice is like a robot... after a few minutes come back normal or simply I remove for a second my usb microphone and works again...

it's strange

my motherboard: GA-Z77-DS3H, ALC887 Codec. Mavericks 10.9.4 (i have this error also on ML)

thanks



#370
arsradu

arsradu

    InsanelyMac Deity

  • Donators
  • 1,530 posts
  • Gender:Male

Hi everyone and thanks for this thread! :D
I have a problem with the microphone :'(
sometimes while I'm speaking with my friends on skype or teamspeak3 my friends tells me that my voice is like a robot... after a few minutes come back normal or simply I remove for a second my usb microphone and works again...
it's strange
my motherboard: GA-Z77-DS3H, ALC887 Codec. Mavericks 10.9.4 (i have this error also on ML)
thanks

I guess bad internet connection is out of question? Have you tried switching USBs? Or trying the same scenario on another computer (maybe running Windows or something other than MacOS)? Also, have you tried a different microphone instead, for testing? Have you tried another VOIP or another Skype version? In my humble opinion there can be more variables to this issue other than the codec. I'm not saying it can't be, since I don't have enough experience in that area. I'm just saying it might be worth trying a few other scenarios before concluding it's something wrong with the codec or the patching.
Also, providing the information requested on the first page of this thread might help a lot for debugging.

#371
Vorshim92

Vorshim92

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts

I guess bad internet connection is out of question? Have you tried switching USBs? Or trying the same scenario on another computer (maybe running Windows or something other than MacOS)? Also, have you tried a different microphone instead, for testing? Have you tried another VOIP or another Skype version? In my humble opinion there can be more variables to this issue other than the codec. I'm not saying it can't be, since I don't have enough experience in that area. I'm just saying it might be worth trying a few other scenarios before concluding it's something wrong with the codec or the patching.
Also, providing the information requested on the first page of this thread might help a lot for debugging.

It's not a bad internet connection and it's not the microphone itselfs. On windows works perfectly and I had this problem also on mountain lion...

I read that there is also a lot of people who have this problem, which affects the USB microphones so... the problem in my opinion can be the usb driver or the audio driver... :'(



#372
arsradu

arsradu

    InsanelyMac Deity

  • Donators
  • 1,530 posts
  • Gender:Male

It's not a bad internet connection and it's not the microphone itselfs. On windows works perfectly and I had this problem also on mountain lion...
I read that there is also a lot of people who have this problem, which affects the USB microphones so... the problem in my opinion can be the usb driver or the audio driver... :'(

Understood... In case there is no solution for your problem, or simply if you want to try something else that might fix this issue, you could also try using an USB -> 3.5 mm audio adapter and plug the microphone into the analog audio port on your motherboard.

#373
Vorshim92

Vorshim92

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts

ok! i found the solution for my problem and i want to share it :) 

for everyone who have the problem of microphone super-distorted

 

What seems to fix it is openingAudio MIDI Setup from Applications>Utilities, going to the microphone, and then switching the format from 48000Hz to something else and then changing it back to 48000Hz.



#374
CurlyBird

CurlyBird

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

Off topic.  The ALC668 is not supported in this thread.

 

Well given the name of this thread, I don't see how it can possibly be "OFF Topic".
In addition, it would be more helpful if perhaps you could point to the place it would be "ON Topic"?



#375
arsradu

arsradu

    InsanelyMac Deity

  • Donators
  • 1,530 posts
  • Gender:Male

Well given the name of this thread, I don't see how it can possibly be "OFF Topic".
In addition, it would be more helpful if perhaps you could point to the place it would be "ON Topic"?

Well, it is off-topic for this thread, since that specific codec is not supported here. A little bit of googling revealed this page . See if it helps you. If not, I saw another thread opened on tonymac forum. Unfortunately I can't post the link here. Google it. See if they succeeded anything.
If not, you could also try Hackintosh Vietnam Tool and install VoodooHDA instead.

#376
sntx

sntx

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Hello. Thanks a lot to all community and each user in it. I did it. I installed Clover and Mavericks. I installed sound also, but here is the problem:

 

I have RLT889, Audio ID = 1, I have 6 sound I/O ports on motherboard, I used cloverALC it works great, but in wrong ports.

 

I have this output devices in preferences:  Headphones (! Front Panel), Line Out 1(Blue port), Line Out 2(Orange port), Digital Out(SPDIF). 

But there are no Internal speakers and green port is not working for output!

 

I tested all ports and all of them working except GREEN.

 

I`m using dual boot with Windows, sound output is on green there and i don't want to go down under table every time i change OS. How to add internal speakers or how to make software sound transport from blue\orange port to green port? Mybe there are some mixing settings or patches? 

 

Also i found some HDA kext patches in config.plist, maybe they were installed with cloverALC, but maybe they were preconfigured i don't know what are they replacing. Here are they:

<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>t1-10.9/AppleHDA/Realtek ALC889</string>
				<key>Find</key>
				<data>
				ixnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				iQjsEA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-10.9/AppleHDA/Resources/xml&gt;zml</string>
				<key>Find</key>
				<data>
				eG1sLnps
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				em1sLnps
				</data>
			</dict>
			<dict>

Hope you can help me. Thank you for any reply. 



#377
toleda

toleda

    InsanelyMac Deity

  • Gurus
  • 2,067 posts
  • Gender:Male

there are no Internal speakers and green port is not working for output!

Front panel problem; headphone detect is set with or without headphone plugged in. To confirm, unplug front panel from motherboard. Internal speakers will appear upon restart and motherboard green will work (headphone mutes internal speakers).



#378
sntx

sntx

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Front panel problem; headphone detect is set with or without headphone plugged in. To confirm, unplug front panel from motherboard. Internal speakers will appear upon restart and motherboard green will work (headphone mutes internal speakers).

Great! It works! Thanks a lot, toleda! Now i got fully working hacintosh  :)



#379
sntx

sntx

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

{censored} happens... Just found sleep issue. After sleep there are no I\O devices in Sys. Pref. and no sound. Metods and guides described above, system configs - in signature.

 

Here are my files:

 

IOReg

debug.log

config.plist

AppleHDA.kext.zip

 

Thank you.



#380
stinga11

stinga11

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
  • Gender:Male
  • Location:Puerto Rico
  • Interests:Music teacher in public schools

 

v1.6 - 6/4/2014 - 9 Series Realtek ALC onboard audio on Mavericks

 

AppleHDA.kext currently does not support 9 Series Intel High Definition Audio.  Patching the 8 series device_id enables 9 series Realtek ALC onboard audio on Mavericks,
 
Hex Edit: AppleHDA.kext/Contents/Plugins/AppleHDAController.kext/Contents/MacOS/AppleHDAController binary
 
find:
20 8C
replace (4X):
A0 8C

 

Here are some possible solutions for the x99 motherboard but have not tried it. Maybe you can get someone for testing.

  1. Find: 20 8C
  2. Replace (4x): 20 8D

OR

 

  1. Find: 20 8C
  2. Replace (4x): 21 8D

EDIT: On another hackintosh forum that don't mentioned here. someonex86 had the same idea as me and one of the users of that forum confirmed that the first patch it worked.







Also tagged with one or more of these keywords: AppleHDA, Realtek, ALC, audio, sound


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy