Jump to content

AppleHDA Solution - Work in progress


Taruga
 Share

4,108 posts in this topic

Recommended Posts

Hi!

 

I got a Sony Vaio FE880E laptop, which has a Sigmatel STAC9872AK audio card.

 

I downloaded AppleHDAPatcher V1.16, got the codec dump under Linux, and dragged the codec dump to it, but it didn't work :lol:

After reboot, I still have no input nor output devices...

 

Is there anything that can be done to make it work?

 

Here's the codec dump:

http://67.15.66.48/STAC9872AK.txt

 

and here's what the patcher displayed:

http://67.15.66.48/patch_result.rtf

 

I'm running 10.4.9 with kernel 8.9.1 (Darwin Kernel Version 8.9.1: Thu Mar 15 20:55:00 PST 2007; netkas: 792.18.15~1/RELEASE_I386 i386 i386)

 

I found this but didn't work either:

http://forum.insanelymac.com/index.php?showtopic=48456

 

Thanks in advance!

 

Juan

Link to comment
Share on other sites

To be a god for one day... sounds nice :)

 

Well guys this is going to be quite a lot of work.

Node editing is exactly what Taruga's prog is doing so we can skip that.

The problem is deeper: the Conexant codec itself is very different from apple's HDA which is an Intel chip.

So we could conjure up a trick to dress the conexant up as an Intel HDA codec.

Right now I'm studying this document here how it all works , and yes, its from M$, since Vista gets the conexant working, there might be a clue in there.

Another possibility could be to modify the pinlayout coding in the source code of the apple driver for an IntelHDA.

 

So if you're stuck with a 5045-speakers-only-on-azalea you could help out:

by reading this doc here to figure out how it works:

http://www.microsoft.com/whdc/device/audio/PinConfig.mspx

download the xcode tools from apple (sign up as low level programmer)

get the darwin sourcecode for AppleHDA, edit it and compile it with the Xcode tools.

 

Maybe Taruga or some other Great Guru could step down from their throne for a moment to help us poor bastards crawling in the mud of code lines we do not really understand.. I really do not know wether I'm talking nonsense here or is this the way to go. Guru, be a Guru and help your ignorant disciples!

Link to comment
Share on other sites

Guru, be a Guru and help your ignorant disciples!

 

Amén! Brother!

 

 

 

OK, OK! This is going downhill... We're starting to make this whole OSX business a religious thing...

Link to comment
Share on other sites

To be a god for one day... sounds nice :)

 

Well guys this is going to be quite a lot of work.

Node editing is exactly what Taruga's prog is doing so we can skip that.

The problem is deeper: the Conexant codec itself is very different from apple's HDA which is an Intel chip.

So we could conjure up a trick to dress the conexant up as an Intel HDA codec.

Right now I'm studying this document here how it all works , and yes, its from M$, since Vista gets the conexant working, there might be a clue in there.

Another possibility could be to modify the pinlayout coding in the source code of the apple driver for an IntelHDA.

 

So if you're stuck with a 5045-speakers-only-on-azalea you could help out:

by reading this doc here to figure out how it works:

http://www.microsoft.com/whdc/device/audio/PinConfig.mspx

download the xcode tools from apple (sign up as low level programmer)

get the darwin sourcecode for AppleHDA, edit it and compile it with the Xcode tools.

 

Maybe Taruga or some other Great Guru could step down from their throne for a moment to help us poor bastards crawling in the mud of code lines we do not really understand.. I really do not know wether I'm talking nonsense here or is this the way to go. Guru, be a Guru and help your ignorant disciples!

 

i shall definitely look in to this, thanks.

 

oh btw, couldnt help noticin ur nick, "V6314EA". you've got a Compaq/HP V6000 series dont u?? i have a V6182EA!

Link to comment
Share on other sites

Hi,

 

I've installed ALC882 Sound Fix v0.4b, my line in works, and normal output works. I know the line in works as I can see the input level jump when it should but it's not playing back what's being inputed. Is there any way I can set line in to playback?

 

Thanks

Link to comment
Share on other sites

get the darwin sourcecode for AppleHDA, edit it and compile it with the Xcode tools.

 

Maybe Taruga or some other Great Guru could step down from their throne for a moment to help us poor bastards crawling in the mud of code lines we do not really understand.. I really do not know wether I'm talking nonsense here or is this the way to go. Guru, be a Guru and help your ignorant disciples!

 

Maybe not a great guru but where can I download the sourcecode for AppleHDA? I would like to take a look at this in my free time.

 

Thanks,

mentorek

Link to comment
Share on other sites

Maybe not a great guru but where can I download the sourcecode for AppleHDA? I would like to take a look at this in my free time.

 

Thanks,

mentorek

 

Mentorek,

maybe you already took this steps and came to the same result as I did, hence your question:

  1. Go to http://developer.apple.com/products/ Sign up as an Online Apple Developer, choose the one possibility that's for free
  2. Download the Xcode tools (This package already contains sample code for writing a simple driver)
  3. Go to http://www.opensource.apple.com/darwinsource/ and log in with your apple developer id

I went to http://www.opensource.apple.com/darwinsource/10.4.8.x86/ and browsed around.

I could not find AppleHDA right there. Probably, this kext is closed source? Instead I found stuff like onboardaudio, really loads of stuff.

 

The universe of code lines opening up before me bedazzled me. This way writing and compiling a HDA driver for the #*@#$%# Conexant chip is going to take me months! Better do a C++ course first! This seems to go way further than getting a few numbers out of the Microsoft doc (see earlier post), pasting them in a darwin source document, compile and run.

 

I am quite desparate now. This is growing over my head here.

 

Besides, this Conexant chip is also driving windows vista users nuts (low output volumes, in vista very low input level on the built-in microphones on this laptop) There is no XP driver for this thing.

 

I browsed the ubuntu forums: also problems with conexant under feisty, mostly HP/Compaq owners. But there they manage to patch things up.

 

I am taking a break here. Have been puzzling for hours on end...

 

 

i shall definitely look in to this, thanks.

 

oh btw, couldnt help noticin ur nick, "V6314EA". you've got a Compaq/HP V6000 series dont u?? i have a V6182EA!

 

Yeah, also see sig.

You got the centrino model, is'nt it?

 

BTW, HP says on its website my v6314ea has the T2280, but the Intel CPU ID utility reports only T2250.

Do you have this dissimilarity?

I'll run CPUZ later tonite

Link to comment
Share on other sites

Besides, this Conexant chip is also driving windows vista users nuts (low output volumes, in vista very low input level on the built-in microphones on this laptop) There is no XP driver for this thing.

 

the low volume on the mics drive me nuts too! and i even have bloody stereo mics on mine! i was soo happy when i bought it thinking i could use it with vista's speech recognition, but the damn thing doesn't hear a thing i say! (unless i yell lol). btw are u aware of any workaround for this by any chance?

 

 

Yeah, also see sig.

You got the centrino model, is'nt it?

 

BTW, HP says on its website my v6314ea has the T2280, but the Intel CPU ID utility reports only T2250.

Do you have this dissimilarity?

I'll run CPUZ later tonite

 

mines a T7200 (centrino - core 2 duo). no problem like that on mine though? have u tried updating your BIOS?

 

here's a screenshot : cpuzgh9.th.jpg

Link to comment
Share on other sites

Does anyone have a luck with alc862 + ICH7? The patcher from Taruga doesn't help. Even Azalia doesn't work for me - it is loaded, it shows output and i can control volume - no output on my Lenovo c200 with I945GM 82801G. If someone can give me a hint... this is my code0 dump under linux.

same problem & same machine (lenovo c200).

 

This is my dumb file, doesn't work with the patcher -> "detected unsupported realtek codec" :(

 

ALCdump.txt

Link to comment
Share on other sites

same problem & same machine (lenovo c200).

 

This is my dumb file, doesn't work with the patcher -> "detected unsupported realtek codec" :(

 

ALCdump.txt

 

Presently ALC 861 is not supported. Not by Azalia, nor by Taruga's HDA Patcher.

Sorry. I have the same problem

Link to comment
Share on other sites

I have a problem with AppleHDA after upgrade to 10.4.9. With 10.4.8 i have't problems. Now i run 10.4.9 with old 8.8.1 kernel but AppleHDAPatcher 1.16 stay on cheking for SPDIF In.

My mobo is Asus P5DL2-VM.

AppleHDA Patcher - 2006/2007 Taruga v1.16			

* Patching AppleHDA.kext to 0x10ec0882				Done
* Checking AppleHDA for patch						Done
0001f4a0	cmpl	$0x10ec0882,%eax
00020584	cmpl	$0x10ec0882,%eax
* Checking for SPDIF Out						   		Detected
* Checking for SPDIF In							  Not Detected

post-67020-1179576331_thumb.png

Link to comment
Share on other sites

ALC 861 is at a dead end, for now

 

Do u know if anyboydy is working on it???

 

Serjudo,

 

No. ALC 861 is not a priority because it is not a very common sound chip. For the moment, the efforts are all turned to the ALC 88x family.

There are some efforts to make a sound driver for all ALC family. And that's it.

Link to comment
Share on other sites

nothing for audio conexant? I have installed driver the Conexant_HD_Audio.pkg and recognizes the output, but the audio is much bottom and succeeds to feel it single with an amplifier to the maximum… as I can resolve? thanks

 

use the azalia audio package found in this forum, audio output works fine with normal volume levels. no headset/mic support though.

Link to comment
Share on other sites

Hi my sound device is sigmatel 9200

 

I downloaded 1.15 patcher and di did drag and drop the dump text file over the patcher icon

 

then the system was frozen.

 

I could not do anything even the mouse pointer was not moving

 

Fortunately, after reboot it was ok

 

Is there any way to install manually?

Link to comment
Share on other sites

i have same problem with Sigmatel STAC 9271D,I tried all version but system already halted, What can i do? please help me...

 

my system is : jas intel amd 10.4.8 with 8.8.1 kernel

 

intel dg965wh ich8r with sigmatel 9271D 7.1 sound mobo

core2duo E6600

palit 7600gt video card

2gb of kingston 667mhz ram

320gb seagate sata2 and 320gb western digital sata2

 

my operating systems

 

Jas OS 10.4.8 with 8.8.1 kernel on seagate 320 gb

 

Pardus linux Turkish on WD HDD part1

 

Windows XP pro Turkish on WD HDD part2

 

my linux codec is here

 

Codec: SigmaTel STAC9271D
Address: 2
Vendor Id: 0x83847627
Subsystem Id: 0x80862504
Revision Id: 0x100201
Default PCM:
rates [0x7e0]: 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
 Amp-Out caps: N/A
 Amp-Out vals:  [0xff 0xff]
 Power: 0x0
Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
 Amp-Out caps: N/A
 Amp-Out vals:  [0xff 0xff]
 Power: 0x0
Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
 Amp-Out caps: N/A
 Amp-Out vals:  [0xff 0xff]
 Power: 0x0
Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
 Amp-Out caps: N/A
 Amp-Out vals:  [0xff 0xff]
 Power: 0x0
Node 0x06 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
 Amp-Out caps: N/A
 Amp-Out vals:  [0xff 0xff]
 Power: 0x0
Node 0x07 [Audio Input] wcaps 0x1d0541: Stereo
 Power: 0x0
 Connection: 1
 0x1b
Node 0x08 [Audio Input] wcaps 0x1d0541: Stereo
 Power: 0x0
 Connection: 1
 0x1c
Node 0x09 [Audio Input] wcaps 0x1d0541: Stereo
 Power: 0x0
 Connection: 1
 0x1d
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x08173f: IN OUT HP Detect
 Pin Default 0x02214020: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
 Pin-ctls: 0xc0: OUT HP
 Connection: 3
 0x02* 0x03 0x06
Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x08173f: IN OUT HP Detect
 Pin Default 0x02a19080: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
 Pin-ctls: 0x24: IN
 Connection: 3
 0x02 0x03* 0x06
Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x081737: IN OUT Detect
 Pin Default 0x0181304e: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
 Pin-ctls: 0x20: IN
 Connection: 1
 0x03
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x08173f: IN OUT HP Detect
 Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
 Pin-ctls: 0x40: OUT
 Connection: 1
 0x02
Node 0x0e [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x081737: IN OUT Detect
 Pin Default 0x01a19040: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
 Pin-ctls: 0x24: IN
 Connection: 1
 0x04
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x081737: IN OUT Detect
 Pin Default 0x01011012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black
 Pin-ctls: 0x40: OUT
 Connection: 1
 0x05
Node 0x10 [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x0837: IN OUT Detect
 Pin Default 0x01016011: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
 Pin-ctls: 0x40: OUT
 Connection: 1
 0x04
Node 0x11 [Pin Complex] wcaps 0x400181: Stereo
 Pincap 0x0837: IN OUT Detect
 Pin Default 0x40000100: [N/A] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
 Pin-ctls: 0x00:
 Connection: 1
 0x03
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
 Pincap 0x0820: IN
 Pin Default 0x40000100: [N/A] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
 Pin-ctls: 0x00:
Node 0x13 [Vendor Defined Widget] wcaps 0xf00001: Stereo
Node 0x14 [Vendor Defined Widget] wcaps 0xf00001: Stereo
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 9
 0x0e* 0x12 0x0f 0x0b 0x0c 0x0d 0x0a 0x10 0x11
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 9
 0x0e* 0x12 0x0f 0x0b 0x0c 0x0d 0x0a 0x10 0x11
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 9
 0x0e* 0x12 0x0f 0x0b 0x0c 0x0d 0x0a 0x10 0x11
Node 0x18 [Audio Selector] wcaps 0x300103: Stereo Amp-In
 Amp-In caps: N/A
 Amp-In vals:  [0x00 0x00]
 Connection: 1
 0x15
Node 0x19 [Audio Selector] wcaps 0x300103: Stereo Amp-In
 Amp-In caps: N/A
 Amp-In vals:  [0x00 0x00]
 Connection: 1
 0x16
Node 0x1a [Audio Selector] wcaps 0x300103: Stereo Amp-In
 Amp-In caps: N/A
 Amp-In vals:  [0x00 0x00]
 Connection: 1
 0x17
Node 0x1b [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Connection: 1
 0x18
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Connection: 1
 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Connection: 1
 0x1a
Node 0x1e [Audio Output] wcaps 0x40211: Stereo Digital
 PCM:
rates [0x7e0]: 44100 48000 88200 96000 176400 192000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Node 0x1f [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital
Node 0x20 [Audio Input] wcaps 0x140311: Stereo Digital
 PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
 Connection: 1
 0x22
Node 0x21 [Pin Complex] wcaps 0x400301: Stereo Digital
 Pincap 0x0810: OUT
 Pin Default 0x01442070: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Grey
 Pin-ctls: 0x40: OUT
 Connection: 5
 0x1e* 0x1f 0x1b 0x1c 0x1d
Node 0x22 [Pin Complex] wcaps 0x430681: Stereo Digital
 Pincap 0x0810024: IN EAPD Detect
 Pin Default 0x40000100: [N/A] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
 Pin-ctls: 0x00:
 Power: 0x0
Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
 Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
 Amp-Out vals:  [0x00]
Node 0x24 [Volume Knob Widget] wcaps 0x600000: Mono

Link to comment
Share on other sites

I keep getting a kernel panic right after entering my password.

 

OS X: JaS 10.4.8

Kernel: 8.8.1

Codec: SigmaTel STAC9200

Vendor Id: 0x83847690

Subsystem Id: 0x102801cd

Revision Id: 0x102201

 

First tried by downloading a codec that matched the codec used on my Windows partition.

I have a friend/co-worker with a laptop identical to mine (they were bought with the same PO), and he's running SuSE 10.x with a working codec. So I had him dump his codec for me and I tried it too. Still crashed.

 

Is there anything that's supposed to be done before drag-n-dropping the codec on to the patcher?

Link to comment
Share on other sites

I have a Dell Inspiron E1405 with Sigmatel 9200 sound card. I've patched it once before using v.1.15 and Sigmatel9200.txt. It works. I got sounds coming out of speakers and headphones port (via headphones of course). However, even at the lowest volume, there's still sound coming out of both.

 

I saw that 1.16 is out and was wondering if I can re-patch using the new version (and possibly my own dump using Ubuntu Live CD). Basically, can I patch twice?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...