Help - Search - Members - Calendar
Full Version: Modded ALC662 & Sigmatel 9223 with codec verbs
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Sound
Pages: 1, 2
OcciJano
Hi, just want to share my Modded ALC662 & Sigmatel 9223 with codec verbs.

Realtek ALC662Click to view attachment also try links: Post#6 LineOut-Headphone active in LineOut & MicBack-MicFront active in 2nd Mic, post#12 LineOut, Headphone, MicBack active and sepated, cleaner than the one in post#6 thanks to tmongkol.
Click to view attachment Click to view attachment Click to view attachment




Sigmatel 9223 Click to view attachment
Click to view attachment Click to view attachment Click to view attachment


Don't forget to Remove (Backup) your ALCInject.kext & HDAEnabler before installing, otherwise it won't work.
AppleHDA.kext posted here contains HDAEnabled edited to use ID 662 or ID 9223.
If System Profiler shows Audio ID: 662 or ID 9223 then it's ok.
Try to install the "With Verbs" version, if it doesn't work, try the "Without Verbs" version.

Thanks to: Taruga, THeKiNG, and MadTux for all your hard work and guides.

OcciJano
Gianluca81
Hi OcciJano!
Sorry... I escaped for a while!
Anyway... I tried the others drivers (in the other topic) and they didn't work... are these different????

At the moment I need to install the "original" kext (AppleHDA.kext) before turning off or restarting and I need to install the Dr. Hurts' kexts (AppleHDA.kext and HDAEnabler.kext) after the reboot...

Let me try... I will make you know wink.gif

Thanks for the message!

Gianluca

OcciJano
Hi Gianluca81:

Yes, it's a more recent AppleHDA.kext. It contains two versions, the one without the codec verbs strings is almost identical to Taruga's 1.2 patcher, the one with codec strings, is made following the guides that THe King and MadTux are publishing. I tried those guides with the actual version of AppleHDA.kext, but, the Mic output isn't working plus some errors, so I decided no to publish by now the newer versions. Instead the older version works fine with codec verbs, with mic and no errors.

The case of ALC662 kext, 662 is very limited in the output and input ports, some may encounter that the versions I'm including won't work with their particular motherboard, I hope to be giving a better one in a near future, as many, many people in this and other forums are getting better results. As you can read I'm just implementing their findings for myself and sharing with you.

Well, you only need to remove ALCInject.kext & HDAEnabler from your Extensions folder, and try both versions of AppleHDAkext, one at a time, to see which one is better for you. Both versions include a HDAEnabler inside.

Only try the 662 if you have a 662.

Sorry for my bad English.
Keeper75
TYVM OcciJano!

Your ALC662 kext works perfectly on a P5GC-MX motherboard !

Though, there's one small issue which i can't get to work - Front audio - is there a way to enable it ?


Regards,


Keeper
Gianluca81
Hi Man!
Nothing to do... sad.gif
The only working kext seems to be the Dr. Hurts' one.
I tried yours but there's no Out or In in System Preferences/Sound even if System Profiler recognize the device.

At the moment if I want to make it works I have to...
  1. start the computer with the "original" AppleHDA.kext to make System Profiler doesn't see any audio device
  2. install Dr. Hurts' AppleHDA.kext and HDAEnabler.kext
so I can see: 1 analogic out, 1 digital out, 1 mic in and 1 line in.

Then, if I want to make it works at the next reboot, I have to delete the AppleHDA.kext and HDAEnabler.kext installed before, re-install the "original" AppleHDA.kext, restart the computer and re-follow the previous steps!

Can you explain what does it mean?!

Thank you!

Gianluca
OcciJano
Keeper75: I'm on that right now, I hope to have a better ALC662 soon.

Gianluca81: Well, every ALC662 kext (mine & others) have problems with some mobos, I'm trying to figure out how to get a more general one.

Edit: 29/10/2008 No success with 10.5.5 version, will keep trying.

Keeper75: try this for 662 audio front Click to view attachment
Keeper75
OcciJano,

I can now hear through the front panel, but only if i select the "Line-Out" on System Preferences. If i select the new "Headphones" option, i cannot hear anything - neither on the front panel, nor on my back speakers.

Another thing that i've noticed is that, by selecting the "Line-Out option", the audio is being routed to my back speakers and also to the front panel simultaneously...and the volume slidebar is controlling both outputs simultaneously too.


I hope that this feedback helps you out.


Regards!

Keeper
OcciJano
QUOTE(Keeper75 @ Oct 29 2008, 10:20 AM) *
OcciJano,

I can now hear through the front panel, but only if i select the "Line-Out" on System Preferences. If i select the new "Headphones" option, i cannot hear anything - neither on the front panel, nor on my back speakers.

Another thing that i've noticed is that, by selecting the "Line-Out option", the audio is being routed to my back speakers and also to the front panel simultaneously...and the volume slidebar is controlling both outputs simultaneously too.
I hope that this feedback helps you out.
Regards!

Keeper


Thanks for your feedback, I have not a front panel in my ALC662 system, but I have it in the Sigmatel 9223 one. Well I need to try there, the front output in the 9223 sounds strange, I need to research a lot to solve it.
Dr. Hurt
QUOTE(OcciJano @ Oct 28 2008, 11:02 PM) *
Keeper75: I'm on that right now, I hope to have a better ALC662 soon.

Gianluca81: Well, every ALC662 kext (mine & others) have problems with some mobos, I'm trying to figure out how to get a more general one.

Edit: 29/10/2008 No success with 10.5.5 version, will keep trying.

Keeper75: try this for 662 audio front Click to view attachment


OMG!!!
I can't beleive it. I finally got audio out of the front panel with your kext!! I've trying to do that for months. Thank you very much. You're a genius.

I did however notice that audio out of the font panel needs line-out selected in the system prefernces, but who cares?! Also, front panel mic is now working.
OcciJano
QUOTE(Dr. Hurt @ Oct 29 2008, 02:11 PM) *
OMG!!!
I can't beleive it. I finally got audio out of the front panel with your kext!! I've trying to do that for months. Thank you very much. You're a genius.

I did however notice that audio out of the font panel needs line-out selected in the system prefernces, but who cares?! Also, front panel mic is now working.


Glad to hear that front mic is working, I have no way to try it in my 662 mobo, thank you for your feedback.
tmongkol
To OcciJano

Thank you for your work. I tested 662-audio-front AppleHDA.kext. I had heard sound from speakers and headphone at the same time. When I looked at Info.plist, both Line Out (nodeid 20) and Headphones (nodeid 27) had the same of audio output (nodeid 2) and audio mixer (nodeid 12). I tried to solve the problem. Finally I got nodeid 27, nodeid 4, and nodeid 14 for Headphones so that I can listen my songs from speakers or headphone. Also, I removed nodeid 25 (Mic at Ext Front), so I could use a mic (Mic at Ext Rear) correctly.

OcciJano
QUOTE(tmongkol @ Oct 30 2008, 08:25 AM) *
To OcciJano

Thank you for your work. I tested 662-audio-front AppleHDA.kext. I had heard sound from speakers and headphone at the same time. When I looked at Info.plist, both Line Out (nodeid 20) and Headphones (nodeid 27) had the same of audio output (nodeid 2) and audio mixer (nodeid 12). I tried to solve the problem. Finally I got nodeid 27, nodeid 4, and nodeid 14 for Headphones so that I can listen my songs from speakers or headphone. Also, I removed nodeid 25 (Mic at Ext Front), so I could use a mic (Mic at Ext Rear) correctly.


Thank you very much smile.gif .
I will fix that the weekend, meanwhile, would you like to share your mod to everybody? Posted here.
If you use headphones (front), line-in (back) switches off? (mine don't)

Edit 1: I will move my 662mobo to the other case with front panel (need to test autonsense with mic-front & headphones), so we can share results.
Edit 2: Here's the version with tmongkol corrections Click to view attachment
Please, ALC662 users, post your results with this version
Here are my results:
Line (green back) Out working .
Line In (blue back) working.
Mic (pink back) working.
Headphones (green front) working.
Mic (pink front) removed in this version.
Speakers not working (pink/blue both at back but haven't found a way to enable them.
Digital Out (Orange)? (can't test it, I don't have it)

Thank you
Dr. Hurt
Green speaker jack at the back is working when I select line out in system prefernces. (Correct)
Pink mic jack at the back is working when I select internal microphone in system preferences. (Should be line in because my system does not even have internal speakers or mic))
Blue jack at the back not working.
I don't have digital so I didn't test it.
Green jack at the front panel is working when I select Headphone in system preferneces. (Correct - fixed))
Pink mic jack at the front panel is not working at all.

Also auto detection of plugged devices is not working, but I actually like that because it's usually buggy even on windows. Also now sound does NOT play through the front and back speakers at the same time - which is good.

Thank you.
IronFly
i tried on my system2 (Intel D945GCLF2) and i got verbs but not sound or mic; maybe i'm doing something wrong.

this is my dump from ubuntu.

Click to view attachment
haroldc
QUOTE(IronFly @ Oct 31 2008, 05:02 PM) *
i tried on my system2 (Intel D945GCLF2) and i got verbs but not sound or mic; maybe i'm doing something wrong.

this is my dump from ubuntu.

Click to view attachment


same mobo, same problem smile.gif
OcciJano
haroldc & IronFly, will see your codec dump.

Dr. Hurt, blue jack is Line-in, the reason I removed Mic Front (pink) is that some programs like Sound Studio confuses the mic port, I hope to have a solution.

I hope, really, really hope to solve the most of the ALC662. Cross fingers.

Thank you all for your feedback smile.gif .

Edit Nov/2/2008

Haven't found a solution yet, I'll keep trying.
Pietruszka
Same results as Dr. Hurt said

front mic doesn't work...

GREAT JOB!!!...

motherboard:
gigabyte g31m-s2l alc662


Dr. Hurt
Thank you very much OcciJano. You have made me and a lot of other users very happy. Keep up the good work.

Dr. Hurt
Pietruszka
One more thing...

I need to boot with -f to have working sound...

if not i got message System/Library/Extensions/AppleHDA.kext/Contents/Plugins/HDAEnabler.kext not properly installed...

can you tell me what is wrong.....did chmod chown with AppleHDA.kext.....repaired permissions....

thanks for any help...


OcciJano
QUOTE(IronFly @ Oct 31 2008, 10:02 AM) *
i tried on my system2 (Intel D945GCLF2) and i got verbs but not sound or mic; maybe i'm doing something wrong.

this is my dump from ubuntu.

Click to view attachment


IronFly try this, it contains almost the same thing, but, using your codec verbs edited Click to view attachment
konistehrad
Hey guys: awesome work! Using the kext in #12, I can confirm the front headphone jack works as expected, as do the output jacks in the back. No mic front, no auto-detect, as expected. Attached is a copy of my 662 dump, in case it'll help at all. Thanks again!
jWin
QUOTE(OcciJano @ Nov 3 2008, 10:37 PM) *
IronFly try this, it contains almost the same thing, but, using your codec verbs edited Click to view attachment



I own the same board, tried the codec posted for Ironfly, shows everything but I hear nothing, same goes for every other version in this thread.
Gianluca81
Nothing to do in my AsRock AliveNF7G-FullHD R3.0 sad.gif
Glad to see happiness everywhere... but me?! sad.gif
OcciJano
QUOTE(Gianluca81 @ Nov 4 2008, 03:19 AM) *
Nothing to do in my AsRock AliveNF7G-FullHD R3.0 sad.gif
Glad to see happiness everywhere... but me?! sad.gif


Did you removed HDAEnabler.kext, ALCInject.kext? Please check that. If you removed, then I really don't know by now how to fix it.
If System Profiler shows Audio ID: 662 then installation is ok. In that case I hope you have audio. Let me know.
OcciJano
Hi Gianluca:

If you got IronFly.zip Post#20 working then ignore this Click to view attachment
Is almost the same one, I removed the codec verbs so won't have audio info in System Profiler.
Assa55in
Works front head phones now if we can just get the internal mic to work I will be set
Pietruszka
QUOTE(Pietruszka @ Nov 1 2008, 07:57 AM) *
One more thing...

I need to boot with -f to have working sound...

if not i got message System/Library/Extensions/AppleHDA.kext/Contents/Plugins/HDAEnabler.kext not properly installed...

can you tell me what is wrong.....did chmod chown with AppleHDA.kext.....repaired permissions....

thanks for any help...



hello again

can someone help with this???


thelightkeeper
Wonderful, I have Alzalia Realtek ALC662, now working like a champ on my G31-S2L mobo.

FYI, my rigs:
Leopard 10.5.5
Core2Duo E6750 2.66Ghz
Gigabyte G31M S2L (Realtek ALC662 sound)
Nvidia 8800GT 512Mb G92
Seagate IDE 160Gb + WD500Gb SATA2
OcciJano
QUOTE(Pietruszka @ Nov 9 2008, 07:27 PM) *
hello again

can someone help with this???


Hi Pietruszka:

Every AppleHDA.kext I've posted here contains a HDAEnabler.kext inside, so you need to remove the one that is inside your /System/Extensions/, also remove ALCInject.kext.

Once removed, if you don't have Kext Helper, drag the AppleHDA.kext inside /System/Extensions/, then in terminal:

chmod -R 755 /Volumes/Tiger/System/Library/Extensions/AppleHDA.kext
chown -R root:wheel /Volumes/Tiger/System/Library/Extensions/AppleHDA.kext
rm /Volumes/Tiger/System/Library/Extensions.mkext
diskutil repairPermissions /Volumes/Tiger/System/Library/Extensions/

Replace Tiger with the actual name of the partition containing your MacOS.
douche
I bought an Asrock 4CoreDual-SATA2 mobo with ALC662 audio. The HCL for 10.4.8 on the wiki states this thread has a driver for ALC662, and that "Everything works" with it. Yet, the topic title says it's for ALC88x. And, 3 different drivers are on that page, which one are you supposed to install? blink.gif Has anyone had luck with this?
OcciJano
QUOTE(douche @ Nov 10 2008, 05:05 PM) *
I bought an Asrock 4CoreDual-SATA2 mobo with ALC662 audio. The HCL for 10.4.8 on the wiki states this thread has a driver for ALC662, and that "Everything works" with it. Yet, the topic title says it's for ALC88x. And, 3 different drivers are on that page, which one are you supposed to install? blink.gif Has anyone had luck with this?

Well, there is also a modded AppleHDA for Sigmatel 9223, but, ALC662 has been harder to get done, that's the reasons for several attempts to get it right.
Try first the one from Post #12
You can also try from Post #6, Post #25, and Post #1
The thread you refer was a very good one, but, using azalia (ALCInject) only gives sound out.
douche
QUOTE(OcciJano @ Nov 10 2008, 11:57 PM) *
Well, there is also a modded AppleHDA for Sigmatel 9223, but, ALC662 has been harder to get done, that's the reasons for several attempts to get it right.


So, do you think there's an error on the HCL, then?

QUOTE
Try first the one from Post #12
You can also try from Post #6, Post #25, and Post #1


I'd love to, but can you tell me how to remove/uninstall it if it does NOT work?
OcciJano
QUOTE(douche @ Nov 10 2008, 06:06 PM) *
So, do you think there's an error on the HCL, then?
I'd love to, but can you tell me how to remove/uninstall it if it does NOT work?


To remove any of my kexts simply remove the AppleHDA.kext out of your MacOS /System/Library/Extensions/
Then install any other AppleHDA.

Edit 1:

Oh... I didn't pay attention to your first post, yes, there are some ALC88x, you're right, but I haven't tested. Don't know if they work in ALC662 blink.gif

Edit 2:
To remove others ALC662, remove AppleHDA.kext and probably you need to remove also HDAEnabler.kext or ALCInject.kext.
douche
QUOTE(OcciJano @ Nov 11 2008, 12:12 AM) *
To remove any of my kexts simply remove the AppleHDA.kext out of your MacOS /System/Library/Extensions/
Then install any other AppleHDA


Okay. Will do. I'll post back my results, soon.
douche
I just tried from post #12. Great Job!! Except Mute does NOT work, neither does my Front Panel. Any way to fix, at least, mute?? Actually, my Front Panel will NOT work in Windows, either, but it works in Knoppix and Linux. Also, System Profiler will NOT show Device or Audio ID.
PC-Ente
Hi i allsow installed the package for Ironfly, i have the Same Motherboard... and i can see the devices in OS X Settings but i cant hear anything... front isnt working ass well...

made a dump with Ubuntu 8.04
puremaggot
Does this has Volume Control?
atothek
Thanks. This works great!
tmongkol
To OcciJano

I modified your AppleHDA.kext for getting headphone auto switch. Front speakers will be muted, if headphone plugs in the front jack. However, cannot get 4 channels. I made it as another option.

Note: Front audio panel should support HDA.

How I did;

1. change 21471e01 (Line Out) to 21471e11 (Internal speaker)

2. change 21b71d4c to 21b71d40 (Misc = 0; jack detection supported. Got knowledge from reading Microsoft's Pin Configuration Guidelines for High Definition Audio Devices.)

3. edit pathmap, see my posted AppleHDA.kext

4. I use LineIn (freeware) for using my old CD player from Line In port pass through front speakers. http://www.rogueamoeba.com/freebies/

Working: Line Out/Internal Speaker(Green), Line In (Blue), Rear Mic(Pink), Front Headphone (Green), Optical Output; tested on ONKYO S5105
Not Working: Front Mic (Pink)


*** If you want 5.1 analog output, please go to post #50.


Edited on 12/10/2008
konistehrad
QUOTE(tmongkol @ Nov 25 2008, 04:43 AM) *
I modified your AppleHDA.kext for getting headphone auto switch. Front speakers will be muted, if headphone plugs in the front jack. However, cannot get 4 channels. I made it as another option.


Got auto detection working for me; thanks!!
Seventh
QUOTE(tmongkol @ Nov 25 2008, 06:43 AM) *
To OcciJano

I modified your AppleHDA.kext for getting headphone auto switch. Front speakers will be muted, if headphone plugs in the front jack. However, cannot get 4 channels. I made it as another option.


Hi,

please post your moded AppleHDA.kext

tmongkol
QUOTE(Seventh @ Nov 28 2008, 06:53 PM) *
Hi,

please post your moded AppleHDA.kext



Could you go back to page 2, post #39?
Seventh
10x

hmm, my mic din't work
kalel90
I have a Wolfdale1333-D667 R2.0 mobo and the driver installs fine with kext helper and i removed the ones you said to remove but im only seeing hi definition in audio output and nothing in input any ideas?

Ok i have the devices listed now but no front audio any ideas now?
kalel90
Its looking like everyone's mobo whose audio isn't working with this is an asrock mobo do they have a different type of alc 662 or something lol?
jWin
not just asrock, but Intel Atom boards as well, such as found in the big thread "build a perfect mac for under 250$" on this forum.
kalel90
So intel atom and asrock what in the world is stopping these drivers from working with them i think we need more people working on this.
OcciJano
QUOTE(tmongkol @ Nov 24 2008, 10:43 PM) *
To OcciJano

I modified your AppleHDA.kext for getting headphone auto switch. Front speakers will be muted, if headphone plugs in the front jack. However, cannot get 4 channels. I made it as another option.

How I did;

1. change 21471e01 (Line Out) to 21471e11 (Internal speaker)

2. change 21b71d4c to 21b71d40, and compare to 21471d40 (I have no idea how because I saw from karaakeha1's AppleHDA.kext for 889a. I also made this kext to get 5.1 anolog and headphone auto switch.)

3. edit pathmap, see my posted AppleHDA.kext

4. I use LineIn (freeware) for using my old CD player from Line In port pass through front speakers. http://www.rogueamoeba.com/freebies/

Working: Line Out/Internal Speaker(Green), Line In (Blue), Rear Mic(Pink), Front Headphone (Green), Optical Output; tested on ONKYO S5105
Not Working: Front Mic (Pink)

Edited on 11/30/2008


Well, I'm glad biggrin.gif that you have autoswitch working, I tried the AppleHDA that is working for you, but it only turns off speakers then on intermittently, I tried several Madtux/The King codec verbs and layouts getting the same results as with yours, now I understand that there are diferences in the way that some mobos handles the ALC662, Taruga says that we need a more universal HDA driver http://forum.insanelymac.com/index.php?s=&...st&p=974889.
tmongkol
QUOTE(OcciJano @ Dec 1 2008, 12:43 PM) *
Well, I'm glad biggrin.gif that you have autoswitch working, I tried the AppleHDA that is working for you, but it only turns off speakers then on intermittently, I tried several Madtux/The King codec verbs and layouts getting the same results as with yours, now I understand that there are diferences in the way that some mobos handles the ALC662, Taruga says that we need a more universal HDA driver http://forum.insanelymac.com/index.php?s=&...st&p=974889.



Does your front audio panel support HDA? After I read your message, I tested on my front audio panel (of a cheap case) that does not support HDA, then my headphone got sound intermittently. Currently, I use Silverstone FP32 front panel, bought if 7 months ago, which is compatible in AC97 and High Definition audio (Azalia) standard.
tmongkol
A good news tongue.gif

I edited OcciJano's AppleHDA.kext in order to getting 5.1 analog output.

What are working? Based on GA 945GCM-S2L
1. Green back port as Internal Speaker
2. Blue back port as Line Out
3. Pink back port as Internal Microphone
4. Green front port as Headphone
5. Digital Output

*** Pink front port is still not working.

This is a file. Click to view attachment

Date: 12/10/2008
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.