Help - Search - Members - Calendar
Full Version: AppleHDA Solution - Work in progress
InsanelyMac Forum > InsanelyMac Lounge > The X Labs > AppleHDA
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80
Taruga
My status



________________________________ NEWS _______________________________________


10/02/2008 I just got AppleHDA.kext (from 10.5.2) working... finally! biggrin.gif
04/02/2008 STAC9228_0x083847616 (tested by user ryhoo2 with a Dell Vostro 1400, it may need some tweaking for other models)
28/12/2007 2 Installers for ALC862 (test them both an see if it works for you)
27/12/2007 Just started adding some Installers instead of kextīs (Reason: noobs)
22/12/2007 AD1986 0x11d41986 for testing Click to download
17/12/2007 Realtek ALC861 kext Click to Download
07/12/2007 AppleHDA Patcher v1.20 (too many changes to remember, hope I did not mess up this one)
06/12/2007 AppleHDA Patcher v1.19 (changes on some realtek codecs)
05/12/2007 New thread to post patcher results
02/12/2007 stac9271D 0x83847627 for testing available, report results.
02/12/2007 Send codec dumps to: codecs@netcabo.pt with subject as vendor id
Ex. if you have a codec dump for Realtek ALC882, the vendor is: 0x10ec0882 (that will be the subject) - Thanx
02/12/2007 Thanks to OcciJano, I got all (or most of) my files back
hum...I think itīs missing some sigmatel kext I had before, anything else ?!
01/12/2007 Just restored some files I had, need to search for the rest. I donīt know if I have them or not
01/12/2007 AppleHDA Patcher v1.18 - Just minor changes
new AppleHDA Patcher v1.17 and v1.18 are meant to use with leopard.

new Thanks to vipersporthp for his fast testing, after 2 attempts inputs are working for stac9227 0x83847618
FN: stac9227_83847618.zip

new alc262 testing kextīs available for download
new Beta .kext available for download - beta4some861_880models.zip

It will not work for ex. with alc861 with Subsystem Id: 0x10430000 that one is being tested
But for sure it works with Asus P5GD1-VM with ALC861 'cause Iīve tested myself and user
Frappe051 reported it also works with his alc880 wink.gif
________________________________________________________________________
____

.oO WARNING - DONīT USE MY STUFF WITH MAC OS OLDER THAN 4.8 Oo.
________________________________________________________________



How to use AppleHDA Patcher:

Drag and drop a linux codec dump into AppleHDA Patcher icon
Some of them, can be found here: http://psykopat.free.fr/apple/AppleHDA/


Some kernel versions may crash with AppleHDA Patcher.
If it crashes with you, upgrade your kernel.

Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
~Neo
Hey!
Glad to hear that it works!
Looking forward for mic in and surround sound happy.gif
I hope its OK that I will make an installer for this?!


cYa
slowdiver
i suppose you are talking about the 10.4.8. applehda-kext? i would like to get it working with an alc880... would you please post your work?
MacMartin
Nice to 'hear' biggrin.gif that there is work in progress! Hopefully this project is as succesfull as the graphic drivers project.

As allways I have something for the project list: Digital output. guitar.gif

If there's anything I can do like testing, please PM me. I have a 10.4.7 install imaged, so I don't panic with a kernel panic laugh.gif

Oh, by the way, I use an Asus P5W DH Deluxe 975x mobo
Rene204
I can test it too,
got ALC882 on i945GTm-VhL Aopen Board with ICH7.

Good Luck, Boys....

Hope, we can use it soon...

Rene
joe75
Is this fix focused on ALC or is there hope for Sig 9200 also, mine is 8384:7690
tokra128
I am on sigmatel 9220 , and I want to test to... maybe my dream will come true - sigmatel 9220 and surround sound - I am waiting for this for more that 1 year ... Hope to see some rezults in here, and I hope not to be a dead end like many others sound projects , because sound it is , after me, the last frontier on bringing a full OSX on ours machines
asstastic
QUOTE(Taruga @ Nov 11 2006, 09:13 AM) *
Itīs to soon to post something, testing has to be done with diferent codecs, have to get inputs and multi channel working and as it is right now, it will only work with alc882 and you can get the same result with azalia. So, when I get further than this I will share with you guys. Have a lot more to do for a complete sound driver. But I hope to get this working with other ALCīs too


If you are working with ACLinject i don't see how posting your Info.plist could hurt. With more people trying out keys the chance of someone stumbling onto the right values increases dramaticaly, not to mention better support for more codecs. I have ALC883 myself and it seems the sound card shuts itself off at random when using an edited Azalia. IOREGS from systems with working ALC sound might help find correct values here.
skippyretard
I'd just like to know what you have for layout id in alcinject.kext
Rene204
I m very sure, that i must have a Layout-Id of 8 for my System (ALC882 ICH7)
Have made a Test with Linux, so i see, that my Realtek Codec uses some Nodes to set up the Functions to the Ports..

The same Nodelist i found in the Controller.kext below the part of Layout-ID 8.

Maybe,it can help you...

Rene
Rene204
Any News about the Project?
MacMartin
QUOTE(jerbare @ Nov 12 2006, 06:59 AM) *
.....however i noticed that the SPDIF digital output was lit up...

this never happened before....... 8]

so i can get audio output from the spdif jack - which i've verified by changing the system alert sounds from the system preferences.

the output tab shows a single "Unknown" name with "Built-in Output" under the port. the input tab shows two items: "Internal microphone Built-in" and "Unknown". i haven't tested all the "wrong" ports yet - i'm more interested in making everything right...

the only thing left seems to be configuring the proper layout-id and pathmap in the AppleHDA.kext info.plist.


Did you use the SPDIF to test it, or just saw it lighten up? If it realy works, please post a step-by-step manual. I can't wait to get digital sound out of my Hac thumbsup_anim.gif
pabloX
If anyone is interested, ALC880 input and output is working with 10.4.8. Go here for instructions:

http://forum.insanelymac.com/index.php?s=&...st&p=229589
Taruga
Lol lol lol biggrin.gif biggrin.gif biggrin.gif Iīve just made the impossible... Iīve got sound coming out from my mic !!!!

And it really plays ! Didnīt know it was possible biggrin.gif

Click to view attachment
Rene204
QUOTE(Taruga @ Nov 15 2006, 08:17 AM) *
Lol lol lol biggrin.gif biggrin.gif biggrin.gif Iīve just made the impossible... Iīve got sound coming out from my mic !!!!

And it really plays ! Didnīt know it was possible biggrin.gif

Click to view attachment


Not impossible, but funny....

it is a wrong pathmap, layout id, in windows, i can configure, every port to every function, there is a comfig programm, so i can configure that... have done that last week, to resolve a problem, someone did not have sound out on the pc... so i reconfigure the ports....
Rene

but by the way... the pic looks very interest... it is more than we ever have gotten before....
artbj
Hey Taruga, could you post what you've done? Id like for it to be included in a distro. wink.gif
Mariusz
QUOTE(Taruga @ Nov 15 2006, 08:17 AM) *
Lol lol lol biggrin.gif biggrin.gif biggrin.gif Iīve just made the impossible... Iīve got sound coming out from my mic !!!!

And it really plays ! Didnīt know it was possible biggrin.gif

Hi Taruga,

will you share the 'magic' with us? smile.gif
Midral
guys in mine there's only audio in... audio out work only from integrated speakers and no mic-in sad.gif
plas
Hope this fix helps to get audio working in 10.4.8 with alc861 smile.gif
bonald
i've got a alc861 on 10.4.8 it's working with AppleAzelia. I am interested in having a AppleHDA working.
plas
QUOTE(bonald @ Nov 15 2006, 08:23 PM) *
i've got a alc861 on 10.4.8 it's working with AppleAzelia. I am interested in having a AppleHDA working.



Interesting ive had no luck getting alc861 working.
When editing the info.plists I can get it to appear as an audio output device on my laptop but no sound from the ports or the speakers.

Can pm how you did it or send a copy of your .kext
bonald
i took the kext and instructions from this post.
http://forum.insanelymac.com/index.php?showtopic=8864

Works good for me. System profiler doesn't show any sound card but I have output!
plas
Think i may have tried that kext, but i will try again.
Are you using a laptop or a desktop ?
If a laptop is the sound coming out of the speakers or a port ?

Edit: That doesnt work.
bonald
check to see if the kext is loaded at startup. mine won't load anymore now at startup.

kextload /system/library/extensions/appleazelia.kext

it should say kext already loaded

i am using a laptop. sound from speaker.
Rammjet
QUOTE(bonald @ Nov 16 2006, 07:33 AM) *
check to see if the kext is loaded at startup. mine won't load anymore now at startup.

kextload /system/library/extensions/appleazelia.kext (should be AppleAzaliaAudio.kext)

Are you getting errors on boot about Azalia? Go to Terminal and type: sudo dmesg
Look for errors. If you do see errors, you might need to fix the permissions on Azalia. Go to Terminal and type:
CODE
cd /System/Library/Extensions
sudo chown -R root:wheel AppleAzaliaAudio.kext
sudo chmod -R 755 AppleAzaliaAudio.kext
diskutil repairpermissions /
cd /System/Library
sudo rm -rf Extensions.mkext Extensions.kextcache
Then reboot.
bonald
yeah that fixed it. I got azelia working on my alc861.
What is weird is that it only works with device id from alc882!

I tried AppleHDA thing but it failed. AppleHDA is loading fine but no sound, and it doesn't show up in sysprofiler.
Mariusz
QUOTE(Taruga @ Nov 15 2006, 12:17 PM) *
Lol lol lol biggrin.gif biggrin.gif biggrin.gif Iīve just made the impossible... Iīve got sound coming out from my mic !!!!

And it really plays ! Didnīt know it was possible biggrin.gif

Click to view attachment


Taruga, where are you?

Tell us please something more how did you get this working? Man, pleaaaaase....
Taruga
Me and TheMaxx32000 are testing the driver right now, more news on the next days.
Volume control, line out, mic seems to work, need more work fore line in and multi speaker config and unfortunatetly canīt test spdif because I donīt have it. This was tested with an asus p5ld2-vm alc882, but hope to get it working with others too. Just need more time ....
Rene204
QUOTE(Taruga @ Nov 19 2006, 12:06 AM) *
Me and TheMaxx32000 are testing the driver right now, more news on the next days.
Volume control, line out, mic seems to work, need more work fore line in and multi speaker config and unfortunatetly canīt test spdif because I donīt have it. This was tested with an asus p5ld2-vm alc882, but hope to get it working with others too. Just need more time ....


Hi, that are great News....

If you are interest in further Testing, please give us a Link, so i can Test with Spdif and 5.1 Sound too.

Rene
eightballbill
I'd like to know if your driver is an hackedd version of the applehda.kext or a ported driver (as written on the natit website) of the ALSA hda driver.
Can it be used on other codecs such as cmedia?
Just to know what you're working on.
The Baron
Looking forward to testing this out, atm I'm on 2 channel analogue, asus P5WD2 Premium - would love to have 5.1

Good luck Taruga & the Maxx...
sg
hey taruga, this is SG from irc, just reporting my experiences with your new kexts...

-sound-out works just fine, i can modify the volume
-sound is coming out of the green jack
-sound-in via my microphone on pink jack (or any other) isnt working
-input level is getting something when i increase the volume, but nothing is being recorded
-when i plug/unplug from the pink jack, my recording software does detect an increase or drop of some kind for a bit (only on the pink jack, so something is working)

system details:

-10.8.4
-latest semthex beta5 kernel
-asus p5w-dh deluxe motherboard
-Realtek ALC882M High Definition Audio 8-channel CODEC (from asus site/manual)
Rene204
QUOTE(sgheh @ Nov 19 2006, 02:40 AM) *
-sound-in via my microphone on pink jack (or any other) isnt working
-input level is getting something when i increase the volume, but nothing is being recorded
-when i plug/unplug from the pink jack, my recording software does detect an increase or drop of some kind for a bit (only on the pink jack, so something is working)


Hm, have tested just now with my ALC882, Mic-In is working fine (stereo!)... have recorded and can play the recording fine.

Here it is working...

Rene

(You can try to use your iPod-Headphone as an Mic, must set up the recording volume to max...)
Doosje
Can someone share the new kext with us so we can try and betatest also ?
I'dd love to have some sound on my laptop's ALC882
Taruga
Just look at post #1 tongue.gif
ldti
Mic In is not working on p5wd2 premium
Doosje
Whoops ... totally missed it .. gonna try now .. thanks


Update:
I've removed azalia, Extensions.*
Then i installed the pkg and i looked very promising after a reboot.
however no sound on any port sad.gif
Also the mic doesn't have any sound .. (only internal is shown.)

There all there but "Line in" has no output control/volume
Headphones has the output control/volume but no sound...
Digital out has the same as "line in"

Line in .. must be line out :-)
slipttees
Sound Devices
-------------
Description: SoundMAX HD Audio O
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: HDAUDIO\FUNC_01&VEN_11D4&DEV_1986&SUBSYS_1043818F&REV_1005
Manufacturer ID: 65535
Product ID: 65535
Type: WDM
Driver Name: ADIHdAud.sys
Driver Version: 5.10.0001.4151 (English)
Driver Attributes: Final Retail
WHQL Logo'd: No
Date and Size: 10/5/2005 06:21:10, 141312 bytes
Other Files:
Driver Provider: AnalogDevices
HW Accel Level: Full
Cap Flags: 0xF5F
Min/Max Sample Rate: 100, 192000
Static/Strm HW Mix Bufs: 33, 32
Static/Strm HW 3D Bufs: 33, 32
HW Memory: 0
Voice Management: Yes
EAX™ 2.0 Listen/Src: Yes, Yes
I3DL2™ Listen/Src: Yes, Yes
Sensaura™ ZoomFX™: Yes
Registry: OK
Sound Test Result: The tests were cancelled before completing.

---------------------
Sound Capture Devices
---------------------
Description: SoundMAX HD Audio I
Default Sound Capture: Yes
Default Voice Capture: Yes
Driver Name: ADIHdAud.sys
Driver Version: 5.10.0001.4151 (English)
Driver Attributes: Final Retail
Date and Size: 10/5/2005 06:21:10, 141312 bytes
Cap Flags: 0x41
Format Flags: 0xCCC


I'm use mac OS X 10.4.8 by Lord JaS
tokra128
Nice find - I wonder if sigmatel guys (like me) will be left behind, or the project will evolve in something like natit ? It will be fantastic !
asapreta
Will try on my rig later.
Good work.
David7586
QUOTE(Rene204 @ Nov 19 2006, 05:26 AM) *
Hm, have tested just now with my ALC882, Mic-In is working fine (stereo!)... have recorded and can play the recording fine.

Here it is working...

Rene

(You can try to use your iPod-Headphone as an Mic, must set up the recording volume to max...)



The asus P5w DH has the alc882M codec as opposed to yours which has the alc882. i wonder what the difference is between the 2.
flatlyna
Awesome work guys, it works well on my Abit AW9D (ALC882).

Line Out - on rear green jack. Volume didn't work initially from menubar control or keys (I have an Apple Pro keyboard). Volume adjusted ok in sound control panel and that seems to have enabled menubar and keyboard now.

Digital Out - TOSLINK connector. Works perfectly, no system level control (expected). Volume in iTunes and apps works fine. Apple DVD player sends Dolby Digital to receiver once digital out selected in prefs. biggrin.gif

Internal Microphone - on rear pink jack. Appears ok, haven't done a recording but I get meter readings tapping on mic.

There is a listing for Internal Microphone as a built-in output. No audio comes out of any remaining jacks.
Ezhoon
I've tried on Asus P5LD2 mobo with alc882.

Sound out works perfectly, although mic in input didn't work
I tried couple of mic lying around but, those mic could be defective
I have to test more about this mic-in

It seems output quality of sound is a bit better using this AppleHDA.kext.
It produces a bit clearer sound, I think. biggrin.gif

Big thanks goes to Taruga and the gang, great work guys thumbsup_anim.gif

Btw, is there any chance this kext could possibly work on alc260?
Doosje
Can anyone report success on a laptop with ALC882 ?
General_Cartman
On my alc882m on the N4L-VM DH mainboard which has a i945GM chipset, The kext installed, however i didn't get sound on any output on the rear even no matter what output was selected.
Menno
QUOTE(Ezhoon @ Nov 20 2006, 03:58 AM) *
I've tried on Asus P5LD2 mobo with alc882.

Sound out works perfectly, although mic in input didn't work
I tried couple of mic lying around but, those mic could be defective
I have to test more about this mic-in

It seems output quality of sound is a bit better using this AppleHDA.kext.
It produces a bit clearer sound, I think. biggrin.gif

Big thanks goes to Taruga and the gang, great work guys thumbsup_anim.gif

Btw, is there any chance this kext could possibly work on alc260?


It isn't what you think. It's just true biggrin.gif
My sound is way better than Azalia (I have 2 professional speakers of very high value tongue.gif)

Success with output @ Asus P5LD2-V motherboard (alc882)
I can use the volume buttons also, but I am on a apple keyboard so it should work anyway. I don't have a mic to test though sad.gif
Taruga
Curious... I didnīt noticed that sound was better. Iīve been working late at night, so thatīs why I didnīt noticed. Iīm glad to hear feedback, btw, i also have an Apple keyboard and volume control with keyboard isnīt working, thatīs why Iīve put it on the next things to do.
Menno
QUOTE(Taruga @ Nov 20 2006, 05:16 PM) *
Curious... I didnīt noticed that sound was better. Iīve been working late at night, so thatīs why I didnīt noticed. Iīm glad to hear feedback, btw, i also have an Apple keyboard and volume control with keyboard isnīt working, thatīs why Iīve put it on the next things to do.


Well it dind't worked on the first instance, but after going to sound > output, changing the volume there they suddenly worked tongue.gif
bonald
i have alc861. it works with azelia and device id from alc882*(didn't work with device id from 861).

tried this kext didn't work. How can I make it work for alc861?
The Baron
I tried the installer and got the iternal microphone, Line out & Digital out on my sys pref. Still using Line out (I too noticed a sound improvement, maybe I imagined it :-) )

Next I'll test spdif, got to do a bit of tidying up first,

Cheers, and good luck.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.