Jump to content

AppleHDA Solution - Work in progress


Taruga
 Share

4,108 posts in this topic

Recommended Posts

Hey Taruga,

 

We all are amazed at the work you're doing here. I know private requests are probably somewhat annoying at this juncture, but thought I'd throw this at you for info's sake anyway. Mobo is Intel D945GNT (very common board from what I can tell). Sound works fine in Ubuntu, I've attached the codec dump. Will show the sound icon in menu, but no output from any of the three jacks. Used to work out of the mic port with the azalia patch, but that's not even going to work in Leopard apparently. (STAC is officially a 9220, but the linux dump shows "9221 A1".)

 

Anyway, thought I'd toss it at you and hoped maybe you'd run into this board before or were aware of some way of tweaking it into working. Running Darwin 9.0.0. (TOH, RC2)

 

All the best!

 

N8

intel.txt

Edited by Taruga
Thanx for your post. With the new patcher I´m coding right now it should work fine. Just wait a little more.
Link to comment
Share on other sites

Hay all...

i have :

Computer Type: Laptop Asus Z62FP

Sound Card Vendor: SoundMAX [analog device]

Sound Card Model: AD1986A [From DxDiag Windows]

Vendor Id: 0x11d41986

 

Working: Line Out [i have 2], Digital Out, Line In, Internal Microphone

Not Working: i can't hear the sound, slide bar [volume] is grey [can't move], censor audio in my jact is working [the red light is on, before that off... that happen if any sound play (in windows)]

 

Patcher Version used: v1.10

System Version: Tiger 10.4.8

 

this codec i have from

http://psykopat.free.fr/apple/AppleHDA/ADI/AD1986a.txt

 

my DxDiag

DxDiag.txt

 

I can't hear anything..

Plz Help me... :unsure:

Link to comment
Share on other sites

Some info about what I´m doing...

 

One of the new features of the new patcher will be a codec detection routine.

It´s almost finished, so there will be no more need for linux codec dumps as this gets all the info I need and much more :rolleyes:

It´s a driver (.kext) that communicates with the audio codec, can be used for gathering info, audio codec programing, etc

One thing I´ve found is that some linux distros report incorrect info about codec name and subsystem id

I don´t care about the name, it´s a cosmetic thing. But the Subsystem ID is very important to distinguish between different vendor codec implementations. We all know that the same codec can behave in a different manner in a desktop or notebook for example. According to the Subsystem ID I´ll have to make special codec programming for each case.

Things are going well, even with my board it´s reporting the correct SubsystemID now.

The last info I had from linux codec dump was:

Subsystem Id : 0x10430000 and my routine gets: 0x1043e601 which is the correct value for me.

 

I still don´t have an estimated release date for version 2.00, I wish it could be before Christmas as it would be a present from me to all of you. But I don´t know if I can make it till then.

This version is much more complex to code, and I´m only one guy on the job that has to code, take care of the forum, answer emails, PM´s, etc

But when finished, I think it will work much better and easier for all of you.

 

Thank you

Link to comment
Share on other sites

Taruga, thanks for the work and it is much appreciated.

 

Are any other files other than AppleHDA.kext and ALCinject.kext modified by HDA Patcher?

Or do you know of any other preferences/caches (other than Extensions.mkext) that changes to the above might affect?

 

I ask because I am seeing some unusual behaviour with the current versions.

I can find a codec dump that with a specific HDA Patcher version that seems to work. (I than backup ALCinject and AppleHDA)

If I try a different codec dump it stops working, (which is expected), then if I retry the first working dump again it doesn't work.

At this point I copy back the backed up kexts and still not working. (all permissions, etc taken care of properly)

 

This leads me to believe something else if affected other than these two files and that maybe this is causing issues for some of us that are trying multiple codec dumps.

 

Any ideas?

 

EDIT: This is on Leopard and currently I'm using HDA patcher 1.13.

I have tried versions 1.16, 1.17, 1.19, and 1.20 all with the same inconsistency. Logically I can't see it being a problem due to HDA patcher version or copying the working ALCinject and AppleHDA back should have worked. Will continue testing...

 

Taruga: Maybe some cache thing... but for ex. in my case with leo, if I boot with no ALCinjectkext and no applehda.kext in /System/Library/Extensions/ and after boot I copy a backup of those files to Extensions and then delete /System/Library/Extensions.mkext it will auto load applehda and alcinject and sound devices appear with no need to restart (if the permissions are right, as I always copy it with cp -Rfvp)

Edited by Taruga
No other files are changed besides those two. Which patcher version are you using ? And what OS, Tiger or Leo ? Maybe some permissions problem.
Link to comment
Share on other sites

Hi!

 

I can't make an audio on Asus P5K work. Please, tell me, what I have to do, by steps? I'm novice at Mac. By the way, I have Tiger 10.4.10 installed.

 

Cheers!

 

guys, please, help!

 

i've tried AppleHDAPatcher_v1.16 & ALC883Audio.mpkg, but it doesn't work

Link to comment
Share on other sites

First of all, I'd like to thank you so much for your generous work :( Thumbs up!

 

Now, i have a Realtek ALC888 codec (6 channels) and i'm using a 4.1 speakers. I got my codec dump from a livecd i got. After using patcher v1.20 i got the following:

 

th_96809_b_122_639lo.jpg

 

I added "Line Output" and "Headphones" as they can "out", then created a aggregate device as follows:

 

th_96815_d_122_65lo.jpg

 

I tested each channel and it worked. Each speaker produces sound on it's own. I then thought everything is done, but wait, I can't hear sound from the two-rear speakers in any other application (including iTunes, QuickTime, ...)! I only hear sound from the two-front speakers! What did i do wrong?

 

PS: The two-rear speakers only produce sound when connected to the 'headphones' socket which is located in the front-side of the chassis. The two-front speakers work normally when connected to the 'green' socket in the back of the chassis. Also note that they all make sound when tested in the 'Audio Midi Setup'.

 

 

This is my Audio Setup. As you can see, Volumes are disabled when i use the aggregate device.

 

th_96810_c_122_898lo.jpg

 

And finally, this is my "Sound" properties page:

 

th_96804_a_122_962lo.jpg

 

PS: I use leopard 5.1 with efi.

 

I hope someone could help me out!!

 

Thanks!!

Link to comment
Share on other sites

Hi, Taruga!

I hope that my donation will help us (owners of AD 1988b sound-chips) to get our working driver.

It's only one thing that don't work properly on my MOBO.

I install 10.4.11 full wanylla kernel & PC EFI. It's work great, unless the sound (only to channel output).

I will donate every week, until the work will done.

Thanks for your GREATE job, Taruga!

 

Sorry for my bad English : )

Edited by Taruga
Thank you very much for your contribution. With the work I´m doing, there is very good hope for AD198x users :P
Link to comment
Share on other sites

Some info about what I´m doing...

.

.

.

I still don´t have an estimated release date for version 2.00, I wish it could be before Christmas as it would be a present from me to all of you. But I don´t know if I can make it till then.

This version is much more complex to code, and I´m only one guy on the job that has to code, take care of the forum, answer emails, PM´s, etc

But when finished, I think it will work much better and easier for all of you.

 

Thank you

No man, thank you.

 

We really miss you :rolleyes:

Link to comment
Share on other sites

Hi Taruga, if you need help with adding Conexant HDA support I would be glad if I could help (testing, supporting info, etc.) :censored2:

Edited by Taruga
I´ve fixed some very hard ones until now... maybe yours it´s just another, let´s see what I can do.
Link to comment
Share on other sites

Hi all, this is a question about 2.0.

 

Can we expect to have support for ALC888@Asrock Conroe boards (at least stereo output & mic input)? I'm about to buy a USB soundcard this xmas but if finally I could use the integrated sound (Azalia is not an option as it doesn't support mic input AFAIK, also isn't compatible with some apps) I'd have a real gift and not something I just need.

Link to comment
Share on other sites

Hi all, this is a question about 2.0.

 

Can we expect to have support for ALC888@Asrock Conroe boards (at least stereo output & mic input)? I'm about to buy a USB soundcard this xmas but if finally I could use the integrated sound (Azalia is not an option as it doesn't support mic input AFAIK, also isn't compatible with some apps) I'd have a real gift and not something I just need.

 

Hell yeah! Is there any hope for Asrock boards?

Edited by Taruga
I think there is, let me just finish this thing....
Link to comment
Share on other sites

@Taruga

 

Anyone who asks for support for their specific sound should be suspended...you should ask the moderators here for some MODERATION!

Do your work man, don't waste time with so many PMs, emails, or forum time. Forums are the death of important information.

 

@THE WORLD

 

Start using a template and stop asking for help. Wait until v2.00 or ONLY POST SUCCESSFUL RESULTS HERE.

Taruga does NOT want linux codec dumps as they are HIGHLY inaccurate. Taruga HDA v1.xx - v1.20 are now ABANDONED! STOP USING THEM!

Link to comment
Share on other sites

@Taruga

 

Anyone who asks for support for their specific sound should be suspended...you should ask the moderators here for some MODERATION!

Do your work man, don't waste time with so many PMs, emails, or forum time. Forums are the death of important information.

 

@THE WORLD

 

Start using a template and stop asking for help. Wait until v2.00 or ONLY POST SUCCESSFUL RESULTS HERE.

Taruga does NOT want linux codec dumps as they are HIGHLY inaccurate. Taruga HDA v1.xx - v1.20 are now ABANDONED! STOP USING THEM!

 

:D i agree but you're too radical

Link to comment
Share on other sites

@Taruga

 

Anyone who asks for support for their specific sound should be suspended...you should ask the moderators here for some MODERATION!

Do your work man, don't waste time with so many PMs, emails, or forum time. Forums are the death of important information.

Taruga has now the ability to delete or edit posts or topics in this section of X Labs. So if he doesn't want any post he could delete them.

 

Taruga never complained about posts asking for help, so please don't speak for him.

Link to comment
Share on other sites

Can someone help me?

 

 

My Vista tells me I have Realtek HD Audio but no number for chipset. My hardware DEVICE_ID is 0268 so I think I have Realtek ALC268.

Is this right? If it isn't where can I find the correct chip?

I'm on ACER 7720G.

 

I've tried to change Device_id and PCI id in AzaliaAudio.kext. I have a volumecontrol but no sound.

Link to comment
Share on other sites

Please,

 

I know some of you have issues to work out, but don´t PM me. I´ve got more than I can answer and I´m working at the new patcher.

 

Well, then i hope you'll help me here, since you seem to be in a jolly mood..... :help: Rather then repeat myself, please read my problem here (scroll down to the middle of the page, should be post #2459, as of now.) Is there solution available yet? Does your new patcher still work with Tiger?

 

Thanks.

Link to comment
Share on other sites

this is my codec dump from linux can someone help me i have tried patcher 1.20 and 1.19 with no luck azaila works but i want headphone output

any help is apreciated

 

 

 

 

Codec: Realtek ALC861-VD

Address: 0

Vendor Id: 0x10ec0862

Subsystem Id: 0x105b0d15

Revision Id: 0x100001

Default PCM:

rates [0x160]: 44100 48000 96000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Default Amp-In caps: N/A

Default Amp-Out caps: N/A

Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out

Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0

Amp-Out vals: [0x34 0x34]

PCM:

rates [0x160]: 44100 48000 96000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out

Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0

Amp-Out vals: [0x00 0x00]

PCM:

rates [0x160]: 44100 48000 96000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out

Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0

Amp-Out vals: [0x00 0x00]

PCM:

rates [0x160]: 44100 48000 96000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out

Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0

Amp-Out vals: [0x00 0x00]

PCM:

rates [0x160]: 44100 48000 96000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital

PCM:

rates [0x160]: 44100 48000 96000

bits [0x1e]: 16 20 24 32

formats [0x1]: PCM

Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In

Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1

Amp-In vals: [0x00 0x00]

PCM:

rates [0x160]: 44100 48000 96000

bits [0x6]: 16 20

formats [0x1]: PCM

Connection: 1

0x22

Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1

Amp-In vals: [0x80 0x80] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80]

Connection: 6

0x18 0x19 0x1a 0x1b 0x1c 0x1d

Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80]

Connection: 2

0x02 0x0b

Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80]

Connection: 2

0x03 0x0b

Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80]

Connection: 2

0x04 0x0b

Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80]

Connection: 2

0x05 0x0b

Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x00 0x00]

Pincap 0x081003c: IN OUT HP EAPD Detect

Pin Default 0x01014010: [Jack] Line Out at Ext Rear

Conn = 1/8, Color = Green

Pin-ctls: 0x40: OUT

Connection: 1

0x0c

Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x0810034: IN OUT EAPD Detect

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

Pin-ctls: 0x20: IN

Connection: 1

0x0d

Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x0834: IN OUT Detect

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

Pin-ctls: 0x20: IN

Connection: 1

0x0e

Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x0834: IN OUT Detect

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

Pin-ctls: 0x20: IN

Connection: 1

0x0f

Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00]

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x081734: IN OUT Detect

Pin Default 0x01a19820: [Jack] Mic at Ext Rear

Conn = 1/8, Color = Pink

Pin-ctls: 0x24: IN

Connection: 1

0x0e

Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00] [0x00 0x00]

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x08173c: IN OUT HP Detect

Pin Default 0x02a19c2f: [Jack] Mic at Ext Front

Conn = 1/8, Color = Pink

Pin-ctls: 0x24: IN

Connection: 2

0x0c* 0x0f

Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x0834: IN OUT Detect

Pin Default 0x01813021: [Jack] Line In at Ext Rear

Conn = 1/8, Color = Blue

Pin-ctls: 0x20: IN

Connection: 1

0x0d

Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00] [0x00 0x00]

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x00 0x00]

Pincap 0x08173c: IN OUT HP Detect

Pin Default 0x02214c1f: [Jack] HP Out at Ext Front

Conn = 1/8, Color = Green

Pin-ctls: 0xc0: OUT HP

Connection: 2

0x0c* 0x0f

Node 0x1c [Pin Complex] wcaps 0x400001: Stereo

Pincap 0x0820: IN

Pin Default 0x593301f0: [N/A] CD at Int ATAPI

Conn = ATAPI, Color = Unknown

Pin-ctls: 0x20: IN

Node 0x1d [Pin Complex] wcaps 0x400000: Mono

Pincap 0x0820: IN

Pin Default 0x4004c601: [N/A] Line Out at Ext N/A

Conn = RCA, Color = UNKNOWN

Pin-ctls: 0x20: IN

Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital

Pincap 0x0810: OUT

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

Pin-ctls: 0x40: OUT

Connection: 1

0x06

Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono

Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]

Connection: 11

0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b

Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono

0862.txt

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...