Jump to content

How to patch AppleHDA.kext from 10.5.2 and above


  • Please log in to reply
227 replies to this topic

#21
limini

limini

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 213 posts

Yes that is a great one. But it is easier to use EFI STUDIO, has everything "built in" Network, Audio, Graphics.

MadTux! MadTux!! It WORKS! Many , many thanks! I used your kext + HDAEnabler and the settings survive multiple reboots. All the Mac related I/O shows up properly and Built-in Speakers, and Digital out work. I haven't tested the inputs yet, but they're there. I found the bass anemic on the "Built-in Speakers" which is my Line out and looking through the plists I found where soft DSP is applying equalization to both the Built-in speakers and to the Mic. I'm going to try to remap the outputs so that I can get Line out signal to come out from the green jack line out; there are in fact 5 analog outs, 2 line ins, 2 mic ins and SPDIF I/O on this codec, so it should be possible to reroute. Is it possible to add I/O that isn't typically on a mac?

So now that it's working I guess I can try using EFI Studio and getting rid of HDAEnabler. I find it funny that looking for information on how to use EFI Studio to generate strings I find informations like "...then just use EFI Studio to input the right string for your graphics and audio, and you're done." Great... 2 questions:

1. I've found one with my graphics card as a preset, so I guess all I have to do is select my graphic card and "HDEF" for the audio and write both to the Boot.plist. I read on a thread here that you have to write both at the same time. If I already have my graphics string in Boot.plist, will EFI Studio replace the old one with the new or should I clean the old one out manually?

2. Do I need to fiddle with the HDEF values or can I assume EFI Studio is getting it right?

You do realize that by helping me out you've compromised my education... -_-

#22
Cheops

Cheops

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
Would this method work getting my internal subwoofer working on my acer laptop for the ALC268 codec?

Thanks

Ade.

#23
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

I'm going to try to remap the outputs so that I can get Line out signal to come out from the green jack line out; there are in fact 5 analog outs, 2 line ins, 2 mic ins and SPDIF I/O on this codec, so it should be possible to reroute. Is it possible to add I/O that isn't typically on a mac?

I don't know, I am not an expert. People U have to try by your one. Test, learn...

1. I've found one with my graphics card as a preset, so I guess all I have to do is select my graphic card and "HDEF" for the audio and write both to the Boot.plist. I read on a thread here that you have to write both at the same time. If I already have my graphics string in Boot.plist, will EFI Studio replace the old one with the new or should I clean the old one out manually?

EFI_STUDIO replaces with new string, you don't have to delete manualy. I suggest U to put all three stuff in a same time. Network, Audio, Graphic Card in no particular order

2. Do I need to fiddle with the HDEF values or can I assume EFI Studio is getting it right?

If it founds HDEF it will put correct values, same thing for AZAL

P.S. And google is your friend and best educator.

#24
xghost

xghost

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Germany
Hey I'm stuck at finding out my nodes.
Because the first node has only 1 Connection, and it's not marked with a star.
I also tried Taruga patcher to find them out but this didn't work as well.
Even the repalcement of alc268 with alc885 as recommended on page 1 didn't work.
I attached my ubuntu linux dump. Could please someone help me?

Click here to see what I mean:
http://img99.imagesh...ge=bild1oo6.jpg

Attached Files



#25
machotom

machotom

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
have u got any idea with sigmatel 9200 audio ?! tried to patch and install kexts but no audio works. i made a clean install with dell laptop post installer and installed sigmatel 9200 driver but still no sound and osx cant identify my audio card. any idea??? - kalyway 10.5.2 default

#26
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

Hey I'm stuck at finding out my nodes.
Because the first node has only 1 Connection, and it's not marked with a star.
I also tried Taruga patcher to find them out but this didn't work as well.
Even the repalcement of alc268 with alc885 as recommended on page 1 didn't work.
I attached my ubuntu linux dump. Could please someone help me?

Click here to see what I mean:
http://img99.imagesh...ge=bild1oo6.jpg


Than use that one node, U don't have much options

#27
xghost

xghost

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Germany
Okay I'll try. But I stumbled across another problem. I can't detect my input nodes because there is no Audio Selctor with the node from the mic (which would be 0x18 in my case) marked with a star. I have in general only 2 times the Audioselector.
Look at my dump.txt and you'll know what I mean...

#28
limini

limini

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 213 posts
Just an FYI: I tried to use EFIStudio's generated string for HDEF sound (and graphics; network has worked OOB) but without HDAEnbler the sound driver just doesn't load.

#29
SticMAC™

SticMAC™

    "Nobody likes a SmartASS"

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,590 posts
  • Gender:Male
  • Location:Da Bathroom!!
Hi Madtux,
is this a typo error?

"- PathMap
there U put a node numbers they are in this order:
0 > Mic > U put in 3 node numbers
1 > line out > U put in 3 node numbers
2 > SPIDIF in > U put in 2 numbers
3 > Speakers > 3 node numbers
4 > Headphones > 3 node numbers
5 > LineOut > 3 node numbers
6 > SPIDIF out > 2 node numbers"

You have two "line out >", is one supposed to be "line in >"???
and
example will "3 > Speakers > 3 node numbers" definitely have 3 node numbers or can there be less!?


SticMAN

#30
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

Hi Madtux,
is this a typo error?

"- PathMap
there U put a node numbers they are in this order:
0 > Mic > U put in 3 node numbers
1 > line out > U put in 3 node numbers
2 > SPIDIF in > U put in 2 numbers
3 > Speakers > 3 node numbers
4 > Headphones > 3 node numbers
5 > LineOut > 3 node numbers
6 > SPIDIF out > 2 node numbers"

You have two "line out >", is one supposed to be "line in >"???
and
example will "3 > Speakers > 3 node numbers" definitely have 3 node numbers or can there be less!?
SticMAN


Thx for seeing mistakes in writing, I'll fix them.

#31
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

Just an FYI: I tried to use EFIStudio's generated string for HDEF sound (and graphics; network has worked OOB) but without HDAEnbler the sound driver just doesn't load.


funny I didn't know that, my card is AZAL and I am using HDAEneabler so my SystemProfiler can see my card as HDEF. I am working now on Pin Config so it can show my Inputs in SystemProfiler

#32
dflow

dflow

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
MadTux,
I think your idea is pretty brilliant and maybe that's the right way
to create drivers for on-board audio chips not supported by OSX.
I understand the process you are describing, but can you please
post a few screenshots of the editing process?

For example, when we come to this:

- PathMap
there U put a node numbers they are in this order:
0 > Mic > 3 node numbers


how exactly do we enter the data from the codec dump?

Thank you :(

#33
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

MadTux,
I think your idea is pretty brilliant and maybe that's the right way
to create drivers for on-board audio chips not supported by OSX.
I understand the process you are describing, but can you please
post a few screenshots of the editing process?

For example, when we come to this:
how exactly do we enter the data from the codec dump?

Thank you :(


look at post 5 from adat6

#34
sensei730000

sensei730000

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
MadTux you're the one! Thanks to you my alc889a worked, i couldn't have sounf, but with the one you provided in this thread it worked like a charm. Really, A BIG THANK YOU!

#35
limini

limini

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 213 posts
Hi MadTux. I'm looking into re-organizing the pin assignments but I can't seem to find "Audio Selector" that's required for the inputs in my or Taruga's codec dump for the 899a. These are the available headers:

Audio Output
Audio Input
Audio Mixer
UNKNOWN Widget (one line items labled "mono")
Pin Complex
Volume Knob Widget

I know my Line In works, so I looked at it's pins: 8 35 26 (x08 x23 x1A). So starting with the Pin Complex:
[PIN COMPLEX]
   Node 0x1a [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] [0x00 0x00] [0x00 0x00] [0x00 0x00]
	   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
	   Amp-Out vals:  [0x80 0x80]
	   Pincap 0x08373c: IN OUT HP Detect
		 Vref caps: HIZ 50 GRD 80 100
	   Pin Default 0x0181344f: [Jack] Line In at Ext Rear
		 Conn = 1/8, Color = Blue
		 DefAssociation = 0x4, Sequence = 0xf
	   Pin-ctls: 0x20: IN VREF_HIZ
	   Unsolicited: tag=00, enabled=0
	   Connection: 5
		  0x0c* 0x0d 0x0e 0x0f 0x26
What's interesting is that there's no "0x1A*" anywhere in the entire codec dump. And as mentioned there's no "Audio Selector" either. "0x1A" however does appear in 4 different "Audio Mixer"s (x22, x23, x24, x0B) along with other Pin Complexes, none of which have asterisks ("*"). If I follow "0x0C*" it brings me to this Audio Mixer, which isn't part of the Line In pins:
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
	 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
	 Amp-In vals:  [0x00 0x00] [0x80 0x80]
	 Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
	 Amp-Out vals:  [0x40 0x40]
	 Connection: 2
		0x02 0x0b
Which also doesn't lead to 0x08 audio input as it should. "0x02" & "0x0B" are as follows:

Node 0x02 [Audio Output] wcaps 0x11: Stereo
	 Converter: stream=0, channel=0
	 PCM:
	   rates [0x560]: 44100 48000 96000 192000
	   bits [0xe]: 16 20 24
	   formats [0x1]: PCM
   
   Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
	 Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
	 Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
	 Connection: 10
		0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17

The other two Line In pin numbers for Line In actually lead to this:
["AUDIO SELECTOR"??]
   Node 0x23 [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] [0x80  0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80  0x80]
	 Connection: 11
		0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
   
   [AUDIO INPUT]
   Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
	 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
	 Amp-In vals:  [0x90 0x90]
	 Converter: stream=0, channel=0
	 SDI-Select: 0
	 PCM:
	   rates [0x560]: 44100 48000 96000 192000
	   bits [0xe]: 16 20 24
	   formats [0x1]: PCM
	 Connection: 1
		0x23
So I see how 0x08 connects to 0x23, but I don't see the logical connection from the Pin Complex number.

Something's missing in the puzzle. Thanks for any assistance.

#36
dRkLePtO

dRkLePtO

    InsanelyMac Protégé

  • Members
  • Pip
  • 25 posts
I'm trying to get the AnalogDevices1981 work on two laptops, but I'm going a bit crazy..
Do you think I'll have some chance of success? I mean, would be possible to get the mic working?

First tries aren't giving any positive result.. No audio interface at all.. :(
(Audio out works with Azalia)

These are the codec dumps:

Attached Files



#37
comatron

comatron

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
hey madtux - there are several ppl getting crazy with that alc269 chipset. i fallowed your great guide but i lost anyway. please help us to get this one working. i can provide you with all the infos we have here ...

ENHANCED CODEC DUMP:
!!################################!!ALSA Information Script v 0.4.48!!################################!!Script ran on: Fri Aug  8 22:43:39 EST 2008!!Linux Distribution!!------------------Fedora release 9 (Sulphur) Fedora release 9 (Sulphur) Fedora release 9 (Sulphur) Fedora release 9 (Sulphur)!!Kernel Information!!------------------Kernel release:	2.6.25.11-97.fc9.i686Operating System:  GNU/LinuxArchitecture:	  i686Processor:		 i686SMP Enabled:	   Yes!!ALSA Version!!------------Driver version:	 1.0.16rc2Library version:	Utilities version:  1.0.16!!Loaded ALSA modules!!-------------------snd_hda_intel!!Soundcards recognised by ALSA!!----------------------------- 0 [Intel		  ]: HDA-Intel - HDA Intel					  HDA Intel at 0xf7eb8000 irq 16!!PCI Soundcards installed in the system!!--------------------------------------00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)!!Advanced information - PCI Vendor/Device/Susbsystem ID's!!--------------------------------------------------------00:1b.0 0403: 8086:27d8 (rev 02)	Subsystem: 1043:831a!!Loaded sound module options!!--------------------------!!Module: snd_hda_intelenable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Yenable_msi : 0id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0power_save : 0power_save_controller : Yprobe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1single_cmd : N!!HDA-Intel Codec information!!-----------------------------startcollapse--Codec: Realtek ALC269Address: 0Vendor Id: 0x10ec0269Subsystem Id: 0x1043831aRevision Id: 0x100004No Modem Function Group foundDefault PCM:	rates [0x5f0]: 32000 44100 48000 88200 96000 192000	bits [0xe]: 16 20 24	formats [0x1]: PCMDefault Amp-In caps: N/ADefault Amp-Out caps: N/AGPIO: io=0, o=0, i=0, unsolicited=0, wake=0Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0  Amp-Out vals:  [0x2a 0x2a]  Converter: stream=0, channel=0  PCM:	rates [0x560]: 44100 48000 96000 192000	bits [0xe]: 16 20 24	formats [0x1]: PCMNode 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0  Amp-Out vals:  [0x00 0x00]  Converter: stream=0, channel=0  PCM:	rates [0x560]: 44100 48000 96000 192000	bits [0xe]: 16 20 24	formats [0x1]: PCMNode 0x04 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x05 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x06 [Audio Output] wcaps 0x211: Stereo Digital  Converter: stream=0, channel=0  Digital:  Digital category: 0x0  PCM:	rates [0x5f0]: 32000 44100 48000 88200 96000 192000	bits [0xe]: 16 20 24	formats [0x1]: PCMNode 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1  Amp-In vals:  [0x00 0x00]  Converter: stream=0, channel=0  SDI-Select: 0  PCM:	rates [0x160]: 44100 48000 96000	bits [0xe]: 16 20 24	formats [0x1]: PCM  Connection: 1	 0x24Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1  Amp-In vals:  [0x90 0x90]  Converter: stream=0, channel=0  SDI-Select: 0  PCM:	rates [0x160]: 44100 48000 96000	bits [0xe]: 16 20 24	formats [0x1]: PCM  Connection: 1	 0x23Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x0a [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1  Amp-In vals:  [0x1f 0x1f] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]  Connection: 5	 0x18 0x19 0x1a 0x1b 0x1dNode 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-In vals:  [0x00 0x00] [0x00 0x00]  Connection: 2	 0x02 0x0bNode 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-In vals:  [0x00 0x00] [0x00 0x00]  Connection: 2	 0x03 0x0bNode 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-In vals:  [0x00] [0x00]  Connection: 2	 0x0c 0x0dNode 0x0f [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x10 [Audio Output] wcaps 0x211: Stereo Digital  Converter: stream=0, channel=0  Digital:  Digital category: 0x0  PCM:	rates [0x5f0]: 32000 44100 48000 88200 96000 192000	bits [0xe]: 16 20 24	formats [0x1]: PCMNode 0x11 [Pin Complex] wcaps 0x400380: Mono Digital  Pincap 0x0814: OUT Detect  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear	Conn = 1/8, Color = Black	DefAssociation = 0xf, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x40: OUT  Unsolicited: tag=00, enabled=0  Connection: 1	 0x10Node 0x12 [Pin Complex] wcaps 0x400001: Stereo  Pincap 0x0820: IN  Pin Default 0x99a30920: [Fixed] Mic at Int ATAPI	Conn = ATAPI, Color = Unknown	DefAssociation = 0x2, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x00:Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x14 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-Out vals:  [0x00 0x00]  Pincap 0x0810050: OUT EAPD Balanced  EAPD 0x2: EAPD  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI	Conn = ATAPI, Color = Unknown	DefAssociation = 0x1, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x40: OUT  Connection: 2	 0x0c* 0x0dNode 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-Out vals:  [0x00 0x00]  Pincap 0x081001c: OUT HP EAPD Detect  EAPD 0x2: EAPD  Pin Default 0x0121401f: [Jack] HP Out at Ext Rear	Conn = 1/8, Color = Green	DefAssociation = 0x1, Sequence = 0xf  Pin-ctls: 0xc0: OUT HP  Unsolicited: tag=04, enabled=1  Connection: 2	 0x0c* 0x0dNode 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-Out vals:  [0x80]  Pincap 0x0810: OUT  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear	Conn = 1/8, Color = Black	DefAssociation = 0xf, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x40: OUT  Connection: 1	 0x0eNode 0x17 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 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 0x083734: IN OUT Detect	Vref caps: HIZ 50 GRD 80 100  Pin Default 0x01a19830: [Jack] Mic at Ext Rear	Conn = 1/8, Color = Pink	DefAssociation = 0x3, Sequence = 0x0  Pin-ctls: 0x24: IN VREF_80  Unsolicited: tag=00, enabled=0  Connection: 2	 0x0c* 0x0dNode 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]  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-Out vals:  [0x80 0x80]  Pincap 0x083734: IN OUT Detect	Vref caps: HIZ 50 GRD 80 100  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear	Conn = 1/8, Color = Black	DefAssociation = 0xf, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x24: IN VREF_80  Unsolicited: tag=00, enabled=0  Connection: 2	 0x0c* 0x0dNode 0x1a [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 0x08373c: IN OUT HP Detect	Vref caps: HIZ 50 GRD 80 100  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear	Conn = 1/8, Color = Black	DefAssociation = 0xf, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x20: IN VREF_HIZ  Unsolicited: tag=00, enabled=0  Connection: 2	 0x0c* 0x0dNode 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]  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-Out vals:  [0x80 0x80]  Pincap 0x083734: IN OUT Detect	Vref caps: HIZ 50 GRD 80 100  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear	Conn = 1/8, Color = Black	DefAssociation = 0xf, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x20: IN VREF_HIZ  Unsolicited: tag=00, enabled=0  Connection: 2	 0x0c* 0x0dNode 0x1c [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x1d [Pin Complex] wcaps 0x400000: Mono  Pincap 0x0820: IN  Pin Default 0x4005822d: [N/A] Line Out at Ext N/A	Conn = Optical, Color = Purple	DefAssociation = 0x2, Sequence = 0xd  Pin-ctls: 0x20: INNode 0x1e [Pin Complex] wcaps 0x400380: Mono Digital  Pincap 0x0814: OUT Detect  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear	Conn = 1/8, Color = Black	DefAssociation = 0xf, Sequence = 0x0	Misc = NO_PRESENCE  Pin-ctls: 0x40: OUT  Unsolicited: tag=00, enabled=0  Connection: 1	 0x06Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono  Processing caps: benign=0, ncoeff=33Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x22 [Vendor Defined Widget] wcaps 0xf00000: MonoNode 0x23 [Audio Selector] wcaps 0x300101: Stereo  Connection: 7	 0x18* 0x19 0x1a 0x1b 0x1d 0x12 0x0bNode 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]  Connection: 6	 0x18 0x19 0x1a 0x1b 0x1d 0x0b--endcollapse--!!ALSA Device nodes!!-----------------crw-rw----  1 root root 116, 7 2008-08-08 21:18 /dev/snd/controlC0crw-rw----  1 root root 116, 6 2008-08-08 21:18 /dev/snd/hwC0D0crw-rw----  1 root root 116, 5 2008-08-08 21:19 /dev/snd/pcmC0D0ccrw-rw----  1 root root 116, 4 2008-08-08 22:39 /dev/snd/pcmC0D0pcrw-rw----  1 root root 116, 3 2008-08-08 21:18 /dev/snd/seqcrw-rw----  1 root root 116, 2 2008-08-08 21:18 /dev/snd/timer!!Aplay/Arecord output!!------------APLAY**** List of PLAYBACK Hardware Devices ****card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]  Subdevices: 1/1  Subdevice #0: subdevice #0ARECORD**** List of CAPTURE Hardware Devices ****card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]  Subdevices: 1/1  Subdevice #0: subdevice #0!!Amixer output!!-------------!!-------Mixer controls for card 0 [Intel]Simple mixer control 'Master',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined  Playback channels: Mono  Limits: Playback 0 - 64  Mono: Playback 42 [66%] [10.50dB] [on]Simple mixer control 'Headphone',0  Capabilities: pswitch  Playback channels: Front Left - Front Right  Mono:  Front Left: Playback [on]  Front Right: Playback [on]Simple mixer control 'PCM',0  Capabilities: pvolume  Playback channels: Front Left - Front Right  Limits: Playback 0 - 255  Mono:  Front Left: Playback 255 [100%] [0.00dB]  Front Right: Playback 255 [100%] [0.00dB]Simple mixer control 'Front',0  Capabilities: pvolume pswitch  Playback channels: Front Left - Front Right  Limits: Playback 0 - 64  Mono:  Front Left: Playback 64 [100%] [1.00dB] [on]  Front Right: Playback 64 [100%] [1.00dB] [on]Simple mixer control 'Front Mic',0  Capabilities: pvolume pswitch  Playback channels: Front Left - Front Right  Limits: Playback 0 - 31  Mono:  Front Left: Playback 31 [100%] [12.00dB] [on]  Front Right: Playback 31 [100%] [12.00dB] [on]Simple mixer control 'Front Mic Boost',0  Capabilities: volume  Playback channels: Front Left - Front Right  Capture channels: Front Left - Front Right  Limits: 0 - 3  Front Left: 0 [0%]  Front Right: 0 [0%]Simple mixer control 'Capture',0  Capabilities: cvolume cswitch  Capture channels: Front Left - Front Right  Limits: Capture 0 - 46  Front Left: Capture 0 [0%] [-17.00dB] [on]  Front Right: Capture 0 [0%] [-17.00dB] [on]Simple mixer control 'Input Source',0  Capabilities: cenum  Items: 'Front Mic'  Item0: 'Front Mic'!!Alsactl output!!---------------startcollapse--state.Intel {	control.1 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 64'		comment.dbmin -6300		comment.dbmax 100		iface MIXER		name 'Front Playback Volume'		value.0 64		value.1 64	}	control.2 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 2		iface MIXER		name 'Front Playback Switch'		value.0 true		value.1 true	}	control.3 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 2		iface MIXER		name 'Headphone Playback Switch'		value.0 true		value.1 true	}	control.4 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 31'		comment.dbmin -3450		comment.dbmax 1200		iface MIXER		name 'Front Mic Playback Volume'		value.0 31		value.1 31	}	control.5 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 2		iface MIXER		name 'Front Mic Playback Switch'		value.0 true		value.1 true	}	control.6 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 3'		comment.dbmin 0		comment.dbmax 3000		iface MIXER		name 'Front Mic Boost'		value.0 0		value.1 0	}	control.7 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 46'		comment.dbmin -1700		comment.dbmax 2900		iface MIXER		name 'Capture Volume'		value.0 0		value.1 0	}	control.8 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 2		iface MIXER		name 'Capture Switch'		value.0 true		value.1 true	}	control.9 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'Front Mic'		iface MIXER		name 'Input Source'		value 'Front Mic'	}	control.10 {		comment.access 'read write'		comment.type INTEGER		comment.count 1		comment.range '0 - 64'		comment.dbmin 0		comment.dbmax 1600		iface MIXER		name 'Master Playback Volume'		value 42	}	control.11 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 1		iface MIXER		name 'Master Playback Switch'		value true	}	control.12 {		comment.access 'read write user'		comment.type INTEGER		comment.count 2		comment.range '0 - 255'		comment.tlv '0000000100000008ffffec1400000014'		comment.dbmin -5100		comment.dbmax 0		iface MIXER		name 'PCM Playback Volume'		value.0 255		value.1 255	}}--endcollapse--
WINDOWS REGISTRY INFORMATION AND PINNING
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000]"Driver"="HdAudio.sys""DisableSetupDiChangeState"=hex:00,00,00,00"InfPath"="hdaudio.inf""IncludedInfs"=hex(7):6b,00,73,00,2e,00,69,00,6e,00,66,00,00,00,77,00,64,00,6d,\00,61,00,75,00,64,00,69,00,6f,00,2e,00,69,00,6e,00,66,00,00,00,00,00"InfSection"="HdAudModel""ProviderName"="Microsoft""DriverDateData"=hex:00,80,8c,a3,c5,94,c6,01"DriverDate"="6-21-2006""DriverVersion"="6.0.6000.16386""MatchingDeviceId"="hdaudio\\func_01""DriverDesc"="High Definition Audio Device"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers]"SubClasses"="wave,midi,mixer,aux"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\aux][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\aux\wdmaud.drv]"Driver"="wdmaud.drv""Description"="Microsoft 1.1 UAA Function Driver for High Definition Audio""Alias"="aux"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\midi][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\midi\wdmaud.drv]"Driver"="wdmaud.drv""Description"="Microsoft 1.1 UAA Function Driver for High Definition Audio""Alias"="midi"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\mixer][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\mixer\wdmaud.drv]"Driver"="wdmaud.drv""Description"="Microsoft 1.1 UAA Function Driver for High Definition Audio""Alias"="mixer"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\wave][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\Drivers\wave\wdmaud.drv]"Driver"="wdmaud.drv""Description"="Microsoft 1.1 UAA Function Driver for High Definition Audio""Alias"="wave"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\GlobalSettings]"DcOffsetWorkaround"=hex:01,00,00,00"ResetAudioFgOnStart"=hex:01,00,00,00"SysAudioTopoMiniportWorkaround"=hex:01,00,00,00"ValidateCodecWrites"=hex:00,00,00,00"SendFakePcxCfgDefVerbs"=hex:00,00,00,00"SpdifOutputEchosRearRenderWhenNoAc3"=hex:01,00,00,00"HpShutsOffRearSpeaker"=hex:00,00,00,00"HpMode"=hex:01,00,00,00"EnableDynamicDevices"=hex:01,00,00,00"SetSpdifVCfg"=hex:01,00,00,00"EnableWaveRT"=hex:01,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\GlobalSettings\SpdifIn]"SpdifInputBitDepth"=hex:00,00,00,00"SpdifInputSampleRate"=hex:01,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\GlobalSettings\SpdifOut]"ExternalSpdifReceiverSupportedSampleRates44100"=hex:00,00,00,00"ExternalSpdifReceiverSupportedSampleRates48000"=hex:01,00,00,00"ExternalSpdifReceiverSupportedSampleRates96000"=hex:00,00,00,00"ExternalSpdifReceiverSupportedBitDepths16"=hex:01,00,00,00"ExternalSpdifReceiverSupportedBitDepths20"=hex:00,00,00,00"ExternalSpdifReceiverSupportedBitDepths24"=hex:00,00,00,00"ExternalSpdifReceiverSupportedBitDepths32"=hex:00,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eMicInTopo][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eMicInTopo\PrimaryNode000]"Chan000"=dword:001d0000"Chan001"=dword:001d0000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eMicInTopo\PrimaryNode001]"Chan000"=dword:00000000"Chan001"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eSlavedHpSpeakerTopo][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eSlavedHpSpeakerTopo\PrimaryNode000]"Chan000"=dword:00010000"Chan001"=dword:00010000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eSlavedHpSpeakerTopo\PrimaryNode001]"Chan000"=dword:00000000"Chan001"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eSlavedHpSpeakerTopo\SlavedNode000]"Chan000"=dword:fff30000"Chan001"=dword:fff30000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\MixerSettings\eSlavedHpSpeakerTopo\SlavedNode001]"Chan000"=dword:00000000"Chan001"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\PinConfigOverrideVerbs]"0000"=hex:f0,1c,17,01"0001"=hex:11,1d,17,01"0002"=hex:11,1e,17,01"0003"=hex:41,1f,17,01"0004"=hex:20,1c,27,01"0005"=hex:09,1d,27,01"0006"=hex:a3,1e,27,01"0007"=hex:99,1f,27,01"0008"=hex:10,1c,47,01"0009"=hex:01,1d,47,01"0010"=hex:13,1e,47,01"0011"=hex:99,1f,47,01"0012"=hex:1f,1c,57,01"0013"=hex:40,1d,57,01"0014"=hex:21,1e,57,01"0015"=hex:01,1f,57,01"0016"=hex:f0,1c,67,01"0017"=hex:11,1d,67,01"0018"=hex:11,1e,67,01"0019"=hex:41,1f,67,01"0020"=hex:30,1c,87,01"0021"=hex:98,1d,87,01"0022"=hex:a1,1e,87,01"0023"=hex:01,1f,87,01"0024"=hex:f0,1c,97,01"0025"=hex:11,1d,97,01"0026"=hex:11,1e,97,01"0027"=hex:41,1f,97,01"0028"=hex:f0,1c,a7,01"0029"=hex:11,1d,a7,01"0030"=hex:11,1e,a7,01"0031"=hex:41,1f,a7,01"0032"=hex:f0,1c,b7,01"0033"=hex:11,1d,b7,01"0034"=hex:11,1e,b7,01"0035"=hex:41,1f,b7,01"0036"=hex:2d,1c,d7,01"0037"=hex:82,1d,d7,01"0038"=hex:05,1e,d7,01"0039"=hex:40,1f,d7,01"0040"=hex:f0,1c,e7,01"0041"=hex:11,1d,e7,01"0042"=hex:11,1e,e7,01"0043"=hex:41,1f,e7,01"NumVerbs"=hex:2c,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\PowerSettings]"ConservationIdleTime"=hex:1e,00,00,00"PerformanceIdleTime"=hex:00,00,00,00"IdlePowerState"=hex:03,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\WaveportSettings][HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}000\WaveportSettings\eSlavedHpSpeakerWave]"ActiveSpeakerPositions"=hex:03,00,00,00

MY RESULTS IN THE PROFILER (USING YOUR GUIDE - NO INPUT/OUTPUT DEV IN SYSCONFIG)
Posted ImagePosted Image

USEFULL INTEL-HDA-DOC
http://download.micr...Config_Test.doc

THREADS/COMMENTS REGARDING THIS CODEC:
http://forum.insanel...howtopic=126525
http://ipis-osx.wiki...be-my-moving-on
http://www.maceee.co...1-1000h-27.html
http://forum.insanel...howtopic=119653

please help us ... its all about editing the plists correctly by understanding the codec-dump and the windows regfile which has some detailled "pin information"

#38
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

I'm trying to get the AnalogDevices1981 work on two laptops, but I'm going a bit crazy..
Do you think I'll have some chance of success? I mean, would be possible to get the mic working?

First tries aren't giving any positive result.. No audio interface at all.. :)
(Audio out works with Azalia)

These are the codec dumps:


If it works with azalia, then there is a big chance for HDA. AZALIA was a "code name" for the new HDA Audio devices standard that Intel provided, U may look on Azalia as a testing platform for new HDA standard that was known as HDA. So if it works with Azalia it should work with HDA, even AD codec is in new AppleHDA kexts, so way not to try.

Comatron, post your testing kext. And I can't download that HDA document from microsoft can U post and that one too? And give me some time, on this one, U provided me with lot informations, I need to think a bit

#39
comatron

comatron

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
here the workring link for the intel-hda-document:

http://download.micr...Config_Test.doc

and my kext in attachment - what i did:

-hexedited the binary ApplaHDA and replaced the alc262 with alc269 in 2 positions like mentioned (reverse hex)
-edited codec id in both plists with dec 283902569 (wich should be alc269)
-deleted stuff in the path map

i dont know if i did the last 2 steps correcty. i also didnt change any nodes as i dont know how to do that correctly. so i did not much. but the sysprofiler iss now showing stuff instead of just the subsystem id.

there are SO many people waiting to get this codec work - there are thousands of comments in youtube videos and in eeeosx68 / msi wind forums ... it would be so great if you could help. you can contact me in icq 150306284 if you need any kind of help. i absolute willing to help all the eee-users like me.

Attached Files



#40
MadTux

MadTux

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 103 posts
  • Gender:Male

-hexedited the binary ApplaHDA and replaced the alc262 with alc269 in 2 positions like mentioned (reverse hex)
-edited codec id in both plists with dec 283902569 (wich should be alc269)
-deleted stuff in the path map

i dont know if i did the last 2 steps correcty. i also didnt change any nodes as i dont know how to do that correctly. so i did not much. but the sysprofiler iss now showing stuff instead of just the subsystem id.


It is all about correct nodes in Pathmap of Platform.plist, I will check on that and send U something over PM, I think atad6 posted codec dump for this card, and that was one I took for HOW TO FIND NODES INSIDE YOUR CODEC DUMP.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy