Contribute
Register

Mountain Lion: MultiBeast - No Audio/Solutions and Problem Reporting

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,845
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
1606607374445.png

ML: MultiBeast - No Audio

Optimized AppleHDA for Realtek ALC8xx

Solutions and Problem Reporting


Mountain Lion/Optimized AppleHDA/Realtek ALC8xx

Update 9/21/13 - 10.8.5/Boot flag npci=0x3000 disables ML audio.
Remove npci=0x3000 from Extra/org.Chameleon.Boot.plist. Restart.
Credit: TwistedSystem, Problem after updating to 10.8.5 - Page 7


This Audio Guide applies to Mountain Lion (AppleHDA.kext_v2.3.0 or newer) and MultiBeast 5.1.1 or newer. The techniques are applicable to Lion, however, the layout-ids and associated enablers are different.

Formula for Optimized AppleHDA Audio Success in Mountain Lion
1. Supported Realtek audio codec
2. Correct AppleHDA.kext
3. Installed correctly (MultiBeast)
4. Enabled correctly (a or b, not both)
4a. dsdt
4b. kext


More Information
1.
Mountain Lion: Optimized AppleHDA for Realtek ALC8xx
2. ML: How to Add or Edit dsdt/HDEF
3. Mountain Lion HDMI Audio

Downloads
1.
View attachment HDAEnabler1.kext.zip
2. View attachment Optimized_ML_AppleHDA_audio_screenshots.pdf

Formula for Optimized AppleHDA Audio Failure in Mountain Lion
1. Make a codec selection different from the installed codec
2. Install a kext enabler when a dsdt is installed
3. Forget to remove a kext enabler when a dsdt is installed
3. Make a MultiBeast selection without displaying the selection choices
4. Install another codec selection when the first codec selection did not work
6. Use MultiBeast as a tool to determine the working codec


Not Considered an Audio Problem/Works as Designed
1. System Preferences/Sound/Output/"The selected device has no output controls" means what it says.
1a. OS X does not provide digital/aggregate audio controls (No volume, no mute, no balance, etc.)
1b. The connected audio device (TV, receiver, etc.) provides any and all audio controls
2. Any post asking why keyboard audio controls don't work (see 1) will be deleted without notice.

3. Mute is not available on 887_v100302 and 888_v100302

Procedures
I. Audio Installation
1. MultiBeast/With DSDT
2. MultiBeast/Without DSDT
II. Audio/Sound Verification
1, SystemPreferences/Sound/Outputs
2, SystemPreferences/Sound/Inputs

III. Audio Problem Solving
1. Diagnostic Tools
2. Unknown Codec
3. Codec Verification
4. Audio ID Verification
5. Enabler Verification

6. AppleHDA.kext Verification
IV. Problem Reporting/Post Reply to this thread

I. Installation - MultiBeast 5.2.1 or newer

1. MultiBeast with DSDT (Assumes Extra/dsdt.aml is installed)
1a. Backup S/L/E/AppleHDA.kext

1b. MultiBeast - Select/Drivers & Bootloaders/Drivers/Audio/Realtek ALC8xx/With DSDT/ALC8xy
ml_mb_with.png

1c. Continue
1d. Install
1e. Restart

2. MultiBeast Without DSDT
2a. Backup S/L/E/AppleHDA.kext

2b. MultiBeast - Select/Drivers & Bootloaders/Drivers/Audio/Realtek ALC8xx/Without DSDT/ALC8xy
ml_mb_without.png

2c. Continue
2d. Install
2e. Restart
2f. If Without DSDT is selected by mistake, delete S/L/E/HDAEnabler_.kext, repair permissions and cache and restart.

Installation - Download/Backup
1. Backup S/L/E/AppleHDA.kext
2. Verify dsdt/HDEF/layout-id
3. Delete ALC8xxHDA.kext, HDAEnabler8xy.kext and any other audio enablers from S/L/E
a. Copy Downloads/ML_AppleHDA.../AppleHDA.kext to Desktop
b. Without dsdt, copy Downloads/ML_AppleHDA.../HDAEnabler1.kext to Desktop
b. Run KextBeast
4. Restart

II. Audio/Sound Verification

1. System Preferences/Sound/Outputs

1a. If "No Output Devices Found", jump to
III. Audio Problem Solving
1b. Connect speakers to Motherboard/Green Port
1c. Select "Internal Speakers"

ml_opt_pref_output.png

1d. iTunes/Play Music
1e. If no sound, jump to
III. Audio Problem Solving
1f. Verify Sound
1g. Repeat Steps 1b - 1f for following audio output devices - System Preferences/Port (as appropriate)
1h. Headphones/Green - Front Panel
1i. 1st Line Out/Orange - Motherboard (not available with Audio ID 3)
1j. 2nd Line Out/Black - Motherboard
1k. Digital Out/Optical - Motherboard

2. System Preferences/Sound/Inputs
2a. If "No Input Devices Found", jump to
III. Audio Problem Solving
2b. Connect Microphone to Motherboard/Pink Port
2c. Select "Internal microphone"

ml_opt_pref_input.png

2d. Speak into Microphone
2e. If Input Level does not show a signal, jump to
III. Audio Problem Solving
2f. Verify Sound
2g. Repeat Steps 2d - 5f for following audio input devices - System Preferences/Port (as appropriate)
2h. Line In /Pink - Front Panel
2i. Line In/Blue - Motherboard


III. Audio Problem Solving

1. Diagnostic Tools
1a. IORegistryExplorer. See [Guide] How to Make a Copy of IOReg

1b.. MaciASL (dsdt editor) MaciASL - Browse Files at SourceForge.net
1c. Applications/Utilities/Console/All Messages/kernel Sound Assertions
1d. System Information/Hardware/Audio/Intel High Definition Audio
1e. System Information/Hardware/Graphics/Displays
1f. System Preferences/Sound/Outputs
1g. System Preferences/Sound/Inputs

2. Unknown Audio Codec
2a. ML clean install
2b. Make bootable with no audio
2c. Install Downloads/HDAEnabler1.kext
2d. Restart

3. Codec Verification
3a. Run IOReg
3b. Enter/Search Box/HDEF

ml_ioreg_hdef.png


3c. If no HDEF, your codec is not supported with the Optimized AppleHDA
3d, Start with Procedure 2. Unknown Audio Codec

3e. Enter/Search Box/IOHDACodecDevice
3f. Select IOHDACodecDevice@1B,0
3g. Make a screenshot

ml_ioreg_vendor_id.png


3h Note: IOHDACodecVendorID, ex 0x10ec0899
3i Supported Realtek Audio Codec Device_IDs >
3i 10ec0885 > ALC885
3i.10ec0887 > ALC887
3i.10ec0888 > ALC888
3i.10ec0889 > ALC889
3i.10ec0892 > ALC892
3i.10ec0899 > ALC898

3j. If your device_id is not listed, your codec is not supported with the Optimized AppleHDA
3k. Fix, if your device_id is included, Install the Multibeast/ALC8xx associated with your device_id

4. Audio ID Verification
4a. Run IOReg
4b. Enter/Search Box/IHDEF
4c Select HDEF@1B
4d. Cancel Search (Select X in the Search Box)
4e. In right panel, scroll down to layout-id
4f. Make screenshot

ml_ioreg_layout_id.png


4g. Note: layout-id, ex. <01 00 00 00>
4h. <layout-id> Audio ID Table
4h. <0x01, 0x00, 0x00, 0x00> Audio ID: 1
4h. <0x02, 0x00, 0x00, 0x00> Audio ID: 2
4h. <0x03, 0x00, 0x00, 0x00> Audio ID: 3
4h. For more information on ML Audio IDs, see Mountain Lion: Optimized AppleHDA for Realtek ALC8xx

4i. If your layout-id is not listed, your codec is not supported with the Optimized AppleHDA
4j. Fix, edit layout-id to 1, 2 or 3, see audio enabler - kext or - dsdt

5. Enabler Verification - See Kext Enabler/Without DSDT - 5a. or DSDT Enabler/With DSDT - 5h
5a. Kext Enabler/Without DSDT

5b. Verify S/L/E
System/Library/Extensions (S/L/E)
ml_sle.png


5c. Verify Audio Enabler
S/L/E/HDAEnabler1.kext
ml_sle_hdae.png


5d. Supported Kext Enablers
5d. HDAEnabler1.kext
5d. HDAEnabler2.kext

5e. If your HDAEnabler is not listed, your codec is not supported with the Optimized AppleHDA
5f. Fix, delete any other HDAEnablers, see I. Installation - MultiBeast/....Without DSDT

5g. Other enablers that must be removed include:
5g. S/L/E/ALC8xxHDA.kext
5g. S/L/E/ALC8xx.kext
5g. E/E/Any other non native audio kext

5h. DSDT Enabler/With DSDT

5i. Verify dsdt
5j. If no dsdt, see I. Installation - MultiBeast/....Without DSDT
ml_dsdt.png


5k. Open dsdt.aml
5l. Verify dsdt/HDEF/layout-id
ml_dsdt_hdef.png


5m. <layout-id> Audio ID Table
5m. <0x01, 0x00, 0x00, 0x00> Audio ID: 1
5m. <0x02, 0x00, 0x00, 0x00> Audio ID: 2
5m. <0x03, 0x00, 0x00, 0x00> Audio ID: 3

5n. If your layout-id is not listed, your codec is not supported with the Optimized AppleHDA
5o. Fix, edit layout-id to 1, 2 or 3, compile, install, restart.


6. AppleHDA.kext Verification
6a. Verify S/L/E/AppleHDA.kext
S/L/E/AppleHDA.kext
ml_sle_applehda.png


6b. Supported Optimized AppleHDA
6c. AppleHDA.kext_Version 2.3.1 or newer

6d. If your AppleHDA.kext_Version is not listed, AppleHDA.kext is not the Optimized AppleHDA
6e. Fix, see I. Installation - MultiBeast


6f. PinConfigurations Verification
6g. Run IOReg
6h. Enter/Search Box/IHDEF
6i. Select HDEF@1B
6j. Cancel Search (Select X in the Search Box)
6k. In right panel, scroll down to PinConfigurations
6l. Make screenshot

ml_ioreg_hdef_pc.png

Supported PinConfigurations (HDMI/optional - e0 00 56 28)
ml_pinconfigs.png


6d. If your PinConfigurations are not the same, AppleHDA.kext is not the Optimized AppleHDA
6e. Fix, see I. Installation - MultiBeast

IV. Problem Reporting (
Post reply to this thread with:)
1. Description of audio problem, include the following information:
2. Motherboard/processor/OS and version/graphics
3. Procedure/Guide Used/AppleHDA.kext version
4. Extra/dsdt.aml (if installed)
5. copy of IOReg
[Guide] How to Make a Copy of IOReg
6. Console/All Messages/kernel Sound Assertions selected/Save Selection As…..
7. Screenshot of System Information/Hardware/Audio/Intel High Definition Audio (not Devices)
8. Screenshot of System Information/Hardware/Graphics/Displays

Notes

1. If audio codec is not known, see Audio Problem Solving/1. Unknown Audio Codec
 
Last edited by a moderator:
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Hi. Following infomation to also include the PM i send you.


Using DSDT Mode.

Laptop Specs.

CPU: Intel 2670QM
Ram: 8GB DDR3 1333HMZ
Graphics: Nvidia GTX560M
Sound Card: Realtek 892

Issues:

Although Outputs and inputs show regardless of what DSDT mod is used i.e layout 1 2 and 3 no sound comes out.
With VoodooHDA sound does come out but with issues of cracking and popping and thats at 192000 put that down to 4100 and it still has the same issue.

Sound Card works perfect in Ubuntu 10.04 upwards without issues and also windows.

Hopefully the info i have not only PM'd but also where with the Codec dumps are in txt also in hex2dec and svg formats will help solve the issue.

Files:
Linux CODEC DUMP and Patched: https://docs.google.com/file/d/0B0NxqdwSY7sRUHF3am1BVkxGSmM/edit
IOReg and Screenshots: https://docs.google.com/file/d/0B0NxqdwSY7sRRXQwc3Y1SEJBVE0/edit

Hopefully with the information i have managed to get and supply a solution might befound for other boards with the same issue.
 
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Although Outputs and inputs show regardless of what DSDT mod is used i.e layout 1 2 and 3 now sound comes out.
Are you saying you have sound with AppleHDA.kext?
 
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Its a typo its No sound comes out.

Did you look at the graph from my codec dump? was you able to compare it to the one you made?
 
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Did you look at the graph from my codec dump? was you able to compare it to the one you made?
I do not have access to your Google Docs.
 
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Hopefully with the information i have managed to get and supply a solution might befound for other boards with the same issue.
Thank you for putting this analysis together. I am familiar with and have access to the same information for the 892 as well as the 885, 889 and 898.

Lets look at the node 14 (hex), 20 (dec) referred to as Internal Speakers in OS X/System Preferences/Sound/Output.

PinConfigs
1. MSI native (your laptop)
01471C1F 01471D44 01471E21 01471F01

2. MSI verbit modified
01471C10 01471D40 01471E21 01471F01

3. Multibeast 5.1.2/892
21471C10 21471D40 21471E11 21471F01

There are three differences:
1. 014/214: Experiments have shown editing this does not make sound in MSI/OS X.
2. E11/E21: E11 is a speaker-1/8" stereo jack and E21 is a headphone. Note: MSI desktops use E01, line out. Experiments have shown editing this does not make sound in MSI/OS X.
3. D40/D44: D40 is green with jack detect and D44 is green unknown (peculiar to MSI).

The problem, in my opinion, is the value of 4 for jack detection required by MSI instead of the industry standard value of 0. In OS X, audio loads successfully and looks like it is working. Unfortunately, OS X is not getting the pin detection signal to make sound. A value of 4 is invalid for AppleHDA.kext resulting in no audio in OS X. There is no experiment to test this hypothesis.

Open to any new ideas, new analysis, new experiments, etc.

Credit: THe KiNG [HOW TO] Patch AppleHDA - Knowledge Base - Project OS X Forums

All that said, an experiment not tried to my knowledge, is D41.

Suggest edit
AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents>info.plist
Open Info.plist/IOKitPersonalities/HDAHardwareConfigResource/HDAConfigDefault/Open Item 10/
Verify CodecID: 283904146 (892) & LayoutID: 1
Find: 21471c10 21471d40 21471e11 21471f01
Replace: 21471c10 21471d41 21471e11 21471f01

Save, Install, Restart, Verify Internal Speakers for sound.



 
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Hi Toleda

I have a problem with sound input, there is no internal mic in Preferences/sound so I can't use my Mic.

My build: motherboard GA-Z77-DS3H v1.1 with ALC887 3jacks on board green/pink/blue, CPU:Xeon E1230 V2, Mountain Lion 10.8.2. ATI HD6850

I followed your latest guide for ML AppleHDA here :http://www.tonymacx86.com/audio/76202-mountain-lion-optimized-applehda-realtek-alc8xx.html, installed AppleHDA with MultiBeast 5.1.2, put DSDT edited by myself into Extra

Please find my attached DSDT/IOReg/Screenshots/console, thank u!
 

Attachments

  • Screen Shot 2012-10-20 at ??4.51.53.png
    Screen Shot 2012-10-20 at ??4.51.53.png
    78.4 KB · Views: 870
  • Screen Shot 2012-10-20 at ??4.51.59.png
    Screen Shot 2012-10-20 at ??4.51.59.png
    85.2 KB · Views: 815
  • Screen Shot 2012-10-20 at ??4.52.19.png
    Screen Shot 2012-10-20 at ??4.52.19.png
    186.2 KB · Views: 1,060
  • ray-iMac.ioreg.zip
    461.9 KB · Views: 359
  • dsdt.aml.zip
    9.5 KB · Views: 379
  • ray imac console.log.zip
    84.3 KB · Views: 355
  • Screen Shot 2012-10-20 at ??5.04.42.png
    Screen Shot 2012-10-20 at ??5.04.42.png
    175.8 KB · Views: 1,077
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

Thanks for your reply, so it does confirm your original thought. Will try the mods in five minutes and then test for you. If i get sound from internal speakers after the mod then we are one step closer.


Edit:

No Sound from speakers will test headphones in a minute but here is a ioreg update and screens.

https://docs.google.com/file/d/0B0NxqdwSY7sRdXgtNWZKVEdMMTQ/edit

Would a Verb dump from windows help further???

Windows Verb Dump:

001:

Code:
<F01C1701 D17111 0 1E17011  7111 011 27011 F4 12 0401C 019 D071  0A31E27 9 F97112 1F1C4701 D47114 0 1E47014  7114 021 57011 F0 15 0F01C 011 D171  0111E57 1 F47115 F01C6701 D17116 0 1E67011  7116 011 77011 F4 17 0141C 010 D271  0011E77 011F771>

012:

Code:
<101C5700 D07105 0 1E57000  7105 056 67008 F1 06 0101C 000 D071  0561E67 8 F17106 101C7700 D07107 0 1E77000  7107 056 188>

These have been converted via the diabolik converter.
 
Mountain Lion: MultiBeat - No Audio/Solutions and Problem Reporting

I have a problem with sound input, there is no internal mic in Preferences/sound so I can't use my Mic.
Too bad you didn't simply plug your mic into the front pink port. You invested a lot of time preparing this post and I spent time to respond. There is no problem with your system. System Preferences/Sound/Input/Line In Audio ID: 2 is the front pink port. This is well documented.
 
Status
Not open for further replies.
Back
Top