This topic is ONLY for discussion and posting of different fixes to AppleHDA.kext for XPS M1530 and M1330 which have the Sigmatel 9228 Audio Codecs.
Last Updated 6th April 2010
(VoodooHDA.kext for Snow Leopard i386/x86_64 with working Internal Mic)
IMPORTANT:
1. The Instructions and kexts have been made for and tested in an M1530 only. Any testing in M1330 will be welcome. The M1330 kexts have been made from the M1530 kexts but have the correct ConfigData. Please send me your tested M1330 kexts so I can post it here.
2. Please Open Disk utilities and repair permissions after installing the kext.
Snow Leopard VoodooHDA
I will go the VoodooHDA way. Of course, if anyone has figured out the AppleHDA way, feel free to post it. Please specify your hardware. Advantage of VoodooHDA: easily customizable and patchable. Does not get overwritten. Working Internal Mic.
M1530: Look for the attached VoodooHDA.kext below. Details:
1. It will show the Speaker and the front left and middle jack as a complex out and has jack detect / switching for both of the jacks
2. Internal mic and mic jack has auto switching but internal mic has very very low sensitivity(?).
3. I am not sure about the HDMI. (untested)
Update: This is the latest in VoodooHDA (version 0.2.56). Has working Internal Mic too. The PrefPane HAS to be installed. You can find the files here
M1330: Waiting for submission of a working kext.
Important: If you have your device defines as HDEF in DSDT, do not try to load VoodooHDA and AppleHDA together as you will get KP. VoodooHDA does not load from /E/E but can be manually loaded after boot. For auto load put it in /S/L/E or try putting its dependencies in /E/E.
Stable Kexts:
M1530: Try this (by Urthwhyte). AppleHDA.kext.M1530.Allports.zip
Working: Almost everything, autoswitching of all ports, works even after sleep, mute and all volume controls.
Not Working: Internal Mic
M1330: Try this (by gbonilla). AppleHDA.kext.M1330.zip
Working: Autoswitching on one ports, works even after sleep, mute and all volume controls.
Not Working: Internal Mic, autoswitching on both front ports.
Experimental Kexts:
If you are having the following problems you can solve them by using the corresponding kexts. As these are experimental ones, everything might not work properly. This section is more for understanding the solution to a problem, rather than giving you an easy solution to all your problems with Audio.
Problem: Audio Not Working After Reboot.
Solution: This is due to incorrect verbs in the ConfigData entry of the Info.plist in the AppleHDAController.kext which can be found in the Plugins folder of the AppleHDA.kext.
M1530: Use the kext from AppleHDA.kext.STAC9228.M1530.ConfigDataFix.zip
M1330: Use the kext from AppleHDA.kext.STAC9228.M1330.ConfigDataFix.zip (Not working till further notice)
Note: Verbs are very specific to systems. They may be different for you even if you have the same Audio Codec but a different laptop model. I suggest you write your own verbs if the attached kexts don't work
If you want to understand verbs look here : The King's post
If you want to get verbs from Vista look here : MadTux's Guide
ConfigData for M1530:
<00a71c10 00a71d10 00a71e21 00a71f02 00b71cf0 00b71d00 00b71ef0 00b71f40 00c71cf0 00c71d00 00c71ef0 00c71f40 00d71c10 00d71d01 00d71e17 00d71f90 00e71c20 00e71d10 00e71ea1 00e71f02 00f71c30 00f71d10 00f71e01 00f71f02 01071cf0 01071d00 01071ef0 01071f40 01171cf0 01171d00 01171ef0 01171f40 01271cf0 01271d00 01271ef0 01271f40 01371c20 01371d01 01371ea6 01371f90 01471cf0 01471d00 01471ef0 01471f40 02171ca0 02171d10 02171e56 02171f98 02271cf0 02271d00 02271ef0 02271f40>
ConfigData for M1330: (Yehor Lvivski)(EDITED)
<00A71C10 00A71D10 00A71E21 00A71F02 00B71CF0 00B71D00 00B71EF0 00B71F40 00C71CF0 00C71D00 00C71EF0 00C71F40 00D71C10 00D71D01 00D71E17 00D71F90 00E71C30 00E71D10 00E71EA1 00E71F02 00F71C20 00F71D10 00F71E01 00F71F02 01071CF0 01071D00 01071EF0 01071F40 01171CF0 01171D00 01171EF0 01171F40 01271CF0 01271D00 01271EF0 01271F40 01371C40 01371D00 01371EA6 01371F90 01471CF0 01471D00 01471EF0 01471F40 02171CA0 02171D10 02171E56 02171F18 02271CF0 02271D00 02271EF0 02271F40>
Problem: Headphone Autoswitching Does Not Work at all / Does Not Work After Sleep
Solution: The first problem is solved in the M1530 by the kext below: AppleHDA.kext.STAC9228.M1530.ConfigDataFix.zip
The second problem seems to have a solution and will be posted soon. (Chrysaor might have a fix)
Problem: Internal Mic Does not Work
Solution: We are working very hard to resolve this. Chrysaor, gbonilla, wingrunr21, macgirl are the some of the names that come to my mind amongst the people who are working on it. Have patience and we might have a New Year's Gift for you!!
Help Needed: I am posting two kexts:
1. M1530: AppleHDA.kext.STAC9228.M1530.IntMic19.zip
M1330: AppleHDA.kext.STAC9228.M1330.IntMic19.zip
These have the internal mic set to pin 19 (0x13).
The current pin map is : 8 28 19.
Other Possibilities: 7 27 19 or 9 29 19
2. M1530: AppleHDA.kext.STAC9228.M1530.IntMic12.zip
M1330: AppleHDA.kext.STAC9228.M1330.IntMic12.zip
These has the internal mic set to pin 12 (0x0c). This works in an Inspiron 1525 with STAC 9228 (Details)
The current pin map is : 8 28 25 22 12.
Other Possibilities: 7 27 24 21 12 or 9 29 26 23 12
Let me know if any combination works. All you have to do is edit the Internal Mic section in AppleHDA.kext/Contents/Info.plist
Problem: The sound crackles on initialization as if it has a caught a cold
Solution: You are probably using PC_EFI V8 and a vanilla kernel. Not a good combinaltion. Upgrade to PC_EFI V9 (Netkas).
Problem: The sound does not work at all even after installing these kexts.
M1530 only: You do not need the HDAEnabler anymore if you use the Brandon2004/Chrysaor DSDT.aml .
Solution: Check if you have HDAEnabler.kext (Kabyl) installed. If not do so. You will find it attached below.
Check if you have AppleAzaliaAudio.kext in your Extensions folder. If you do, delete it because its stops the AppleHDA from working (thanks Urthwhyte for reminding me)
If you have any other Problems:
1. Check you Sound pane in System Preferences to see if the default output and input are set correctly.
2. Google around and if you don't find anything then post here.
How To:
In terminal type:
sudo cat /proc/asound/card0/codec#0 >> codecdump.txt
Note: The 0 might have to be replaced by 1 or 2
2. How to get Verbs from Vista?
Click on:
START
RUN
and write: regedit (this will start registry explorer)
Search for PinConfig
OR
Find it here with regedit:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\PinConfigOverrideVerbs]
The number in {} and the 000 might be different for you!!
3. How to make a Codec Graph.
In a Linux Machine:
Download: CodecGraph
Install: Graphvix (sudo yum install graphviz)
Run: ./codecgraph from the Codecgraph Directory
In Mac:
See Here
You can also use the mandriva-linux-one-2009-KDE4-int-cdrom-i586 live CD to get the codec dump. Apparantly the Ubuntu live CD has an older version of ALSA
The output of the CodecGraph is a .svg file. You can open it with Safari or convert it to jpg using GIMP
Files you might find useful:
stac9228_M1530.txt is the codec dump
The Codec Graph for M1530:



Sign In
Create Account












