Jump to content

AppleHDA Solution - Work in progress


Taruga
 Share

4,108 posts in this topic

Recommended Posts

Just for information, i've installed ubuntu and same problem with sound card .... recognise but no sound.I've succeeded to make it work perfectly with this :http://lenovo.dropshock.com/archives/fixin...und/#comment-48If it could help you to developpe the osx solution ....
Thanx a lot, very useful link for my Sabayon distro... keep it cool.....
if you have a USB stick and a ubuntu/kubuntu live cd (others may work, this is an example)1) put the usb stick into the PC and boot Linux off the live cd2) once its booted, open a terminal or command prompt as root3) cd /proc/asound there will probably be a directory here called "card0" (eg)4) cd card05) there will be a file here called "codec"something or other, eg. codec#26) this is a text file, you can type 'cat codec#2' and see text7) save text file to usb stick: 'cat codec#2 >/media/kingston' (based on where your USB stick is mounted)quit, reboot into osx, etc etcfrom memory, so you may need to explore some.
well, that's exactly my problem, because i got no such file in that folder, even named 'codec'... thanx for your support.
Link to comment
Share on other sites

For those testing with my patcher or kext´s that have output devices, but sound doesn´t come out try this:

 

Run the attached file HALLab, select your output device and push the 'Info' button.

Play some mp3 in iTunes for ex. and check if while switching play and pause in iTunes, the 'Running Somewhere' in HALLab changes from 'yes' while playing to 'No' when you push the pause button in iTunes. Also, take both HALLab screenshots like I did to compare info.

 

Archive13.zip (beta test for alc861, Asus F3JC for ex)

Archive.zip (beta test for alc262)

 

Both .kext´s are for testing with this method, they will not give sound on most cases.

 

If HALLab doensn´t run on your system, try HALLab2

Thanks

Link to comment
Share on other sites

Taruga, Thanks a lot i love your AppleHDAPatcher v1.16, I´m very sorry cos I don't have an acount in the pig, I only I've a green demon (given to a Hackuser).

 

Please guys a a pig invitation for Taruga!!!

Link to comment
Share on other sites

Taruga, Thanks a lot i love your AppleHDAPatcher v1.16, I´m very sorry cos I don't have an acount in the pig, I only I've a green demon.

 

Please guys a a pig invitation for Taruga!!!

 

One thankful user :D Thanks man !

Link to comment
Share on other sites

I installed the patch with AppleHDA Patches 1.16 but i can`t hear nothing. When i start a music in iTunes, the software seems to recognize my sound card but i can`t hear the music.

 

My motherboard is a Intel D946GZIS and my Mac OS X is the 10.4.9 version made by Uphuck, version 1.4. / Kernel 8.9.1

And i saw in KDE System Info, my soundcard is a Sigmatel STAC 9227

 

I installed your patch and nothing happens.

 

I want to know if exist a method to pick the Linux driver and put here to Mac OS X.

Link to comment
Share on other sites

You don´t have alc861 but alc862 , I will see what I can do

Hi, Taruga

 

Thank you for the excellent work! I got a lenovo 3000 N100 recently which has the same audio chipset with Tux67 (realtek alc862).

 

I did a little research on this chip. Alc862 is actually Alc861-VD-GR, an updated version of Alc861 chipset, but coded as 0x10ec0862 to distinguish from original Alc861 chip (0x10ec0861). Although the Ven&Dev ID for Toshiba AS-135 and lenovo 3000 N100 are identical, their subsystem ID differ. I believe that is the reason Azalia kext modification works for one but not both.

 

I find the data sheet for this chipset at realtek website, with all kinds of parameters, values for it. The other thing is alsa project released new version v1.0.14rc4, the change log includes addition of support to lenovo Alc861-VD chipset, however, the perticular subsystem 0x17aa8e2d for N100 is not mentioned.

 

I hope the above info would be useful to you for unrevaling the problem. We appreciate alot for your time and effort to forge this great patcher.

Link to comment
Share on other sites

I installed the patch with AppleHDA Patches 1.16 but i can`t hear nothing. When i start a music in iTunes, the software seems to recognize my sound card but i can`t hear the music.My motherboard is a Intel D946GZIS and my Mac OS X is the 10.4.9 version made by Uphuck, version 1.4. / Kernel 8.9.1And i saw in KDE System Info, my soundcard is a Sigmatel STAC 9227I installed your patch and nothing happens. I want to know if exist a method to pick the Linux driver and put here to Mac OS X.
Can you send me some screenshots of both audio outputs and inputs ?
Hi, TarugaThank you for the excellent work! I got a lenovo 3000 N100 recently which has the same audio chipset with Tux67 (realtek alc862).I did a little research on this chip. Alc862 is actually Alc861-VD-GR, an updated version of Alc861 chipset, but coded as 0x10ec0862 to distinguish from original Alc861 chip (0x10ec0861). Although the Ven&Dev ID for Toshiba AS-135 and lenovo 3000 N100 are identical, their subsystem ID differ. I believe that is the reason Azalia kext modification works for one but not both.I find the data sheet for this chipset at realtek website, with all kinds of parameters, values for it. The other thing is alsa project released new version v1.0.14rc4, the change log includes addition of support to lenovo Alc861-VD chipset, however, the perticular subsystem 0x17aa8e2d for N100 is not mentioned. I hope the above info would be useful to you for unrevaling the problem. We appreciate alot for your time and effort to forge this great patcher.
If it´s coded to 0x10ec0862 it will not work with a binary patched for 0x10ec0861. Try this, lets see if it works...ps - Most notebooks are really crazy regarding sound, they don´t follow some standards. So, good luck
Link to comment
Share on other sites

Regarding post #2158... why do I have downloads and no reports like I asked from you guys? Is this the way you want me to help you ?!

Good luck !

 

I don't know if other people are having the same problem as me but, in the Asus FJ3c, I cannot start the HALlab aplication. It keeps crashing.

I'm going to install uphuck's v1.4 R3 and try again.

I'll tell you later how it worked.

 

And by the way: Thanks Taruga for the patience to put up with so many noobs and sloth driven people, like myself, for the hard - unpaid - work, for all the unslept nights, and lost meals. Thanks for being one of the most talented Donators in Insanely Mac.

 

jjduro

Link to comment
Share on other sites

Can you send me some screenshots of both audio outputs and inputs ?

If it´s coded to 0x10ec0862 it will not work with a binary patched for 0x10ec0861. Try this, lets see if it works...ps - Most notebooks are really crazy regarding sound, they don´t follow some standards. So, good luck

 

hi, i seem have the same audio in my Lenovo f40.

 

post-129955-1188824188_thumb.png

 

post-129955-1188824199_thumb.png

 

the screen shot is taken after installed your files, no volume control and there is no sound.

please have a look.

 

thanks !

Link to comment
Share on other sites

Taruga,

 

Thanks a lot once again for your efforts and hard work.

 

My sound is AD1986A (Vendor Id: 0x11d41986, Subsystem Id: 0x10431153, Revision Id: 0x100500)

HDA_patcher gives me 2 output devices: 'Built-in Line Output' and 'Built-in Digital Output'.

No volume controls and no sound.

 

'Running Somewhere' is always 'Yes' (doesn't matter if you play something in iTunes or stop/pause it) in HALLab2 (HALLab doesn't run).

 

Here are the screenshots:

post-119012-1188825865_thumb.jpg post-119012-1188825879_thumb.jpg

Link to comment
Share on other sites

Taruga,

 

Thanks a lot once again for your efforts and hard work.

 

My sound is AD1986A (Vendor Id: 0x11d41986, Subsystem Id: 0x10431153, Revision Id: 0x100500)

HDA_patcher gives me 2 output devices: 'Built-in Line Output' and 'Built-in Digital Output'.

No volume controls and no sound.

 

'Running Somewhere' is always 'Yes' (doesn't matter if you play something in iTunes or stop/pause it) in HALLab2 (HALLab doesn't run).

 

Here are the screenshots:

post-119012-1188825865_thumb.jpg post-119012-1188825879_thumb.jpg

 

AD1986A users, I think only AppleHDAPatcher v1.13 worked for you guys.

Link to comment
Share on other sites

Has there been any progress on this guys? I am dying without sound :P I have tried both the 1.15 and 1.16 patcher.

 

Hi Taruga! Thanks for all of the work that you are doing :)

 

I have an Intel DP35DP with a Sigmatel STAC9271D chip and I have had

no luck getting it to work. The codec dump 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:  [0x66 0x66]
 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 don't know if other people are having the same problem as me but, in the Asus FJ3c, I cannot start the HALlab aplication. It keeps crashing.

I'm going to install uphuck's v1.4 R3 and try again.

I'll tell you later how it worked.

 

 

Taruga posted the second version of HALlab aplication. Didn't have to reinstall OSX with uphuck's DVD v.1.4 r3 ^_^

 

It works now.

Hey you people with alc861 with Subsystem Id: 0x10430000 (that means you guys with Asus F3Jc, and others), lets help Taruga help us giving him all the info he needs.

Thanks

Link to comment
Share on other sites

Thanks, your codec dump worked great oh my P5K-VM.

Before I tried to make a dump in Ubuntu 7.04 but wasn't recognised by the HDA patcher.

 

Also thanks for the info about adding the device id to the ALCInject.kext etc

I now have a 100% working system ^_^

 

The P5K-VM is a great board in many ways!

 

 

Where did you add the device id??

I cannot find where to add it (inside the files)

Link to comment
Share on other sites

Can you send me some screenshots of both audio outputs and inputs ?

If it´s coded to 0x10ec0862 it will not work with a binary patched for 0x10ec0861. Try this, lets see if it works...ps - Most notebooks are really crazy regarding sound, they don´t follow some standards. So, good luck

 

Taruga, thanks for the prompt reply! I haven't got a chance to try out the new patcher yet, will do it tonight. But pto2k reported his testing results above.

 

I digged a little deeper, and find this alc862 can be recognized by default linux snd_hda_intel driver. Volume control is there, but no sound output (I tried ubuntu 7.10 and Knoppix 5.1.1) So you might be right that Lenovo use some kind of unstandard wiring for this chip, at least in their 3000 Nxx series.

 

Alsa project developer has already figured out this problem. By applying patch_realtek.c(use guest login to download) to alsa driver(top-right corner) source code, Ubuntu 7.04 could recognize the chip correctly and produce sound, although perfect control is not achieved yet. (Follow steps described here, also the ubuntu driver testing page for my Lenovo 300 N100 0768 A78) At the bugtrack page, where you downloaded patch_realtek.c file, there are discussions about progression on different subsystems of alc862. Several people using exactly the same subsystem ID as mine "0x17aa8e2d", has reported success. A user called zeus77 even pasted his latest partially working codec profile (by cat /proc/asound/card0/codec#0, see attachment). I feel we are very close to success now. I wish I could help to interpret the code, but it's way beyond my perception. So what I can do is cross my fingers and wait for your good news.

 

Cheers!

alc862_VID_0x10ec0862_Subsys_0x17aa8e2d.txt

Link to comment
Share on other sites

Yay! Sound output works on Shuttle SB81P, ALC880 ICH6R. I used the beta4some861_880models.zip file.

Sound output worked earlier with AppleAzaliaAudio.pkg but it was not reliable, I hope this is ;)

 

For your reference, I attached my ioreg -lw0 and a codec#0 dump

 

Big ups for Taruga! I don't know what the pig is, but when I find out and can get you an invite, I will ;)

 

BTW, I'm running JaS 10.4.8 with PascalW's update for 10.4.10. I didn't run the apple audio update because that will probably kill my sound again ;-)

shuttle_sb81p_ioreg.txt

shuttlesb81p_alc880.txt

Link to comment
Share on other sites

Hi Taruga. Thank you so much for all your hard work!

 

I have a MSI 945GM3-F mobo, ICH7, with ALC883 sound. I've done a codec dump and applied it using your patcher 1.16, without any success. I'm attaching files with, hopefully, all the info you need.

 

It strikes me as odd that there's only "Internal Speakers" listed, and no Line Out...

 

Any help would be much appreciated! :whistle:

 

Edit: I have tried skippy's ALC883 package, but no dice. Only thing that works for me is the AppleAzalia package. Only two channels out, no inputs. :/

alc883_msi_945gm3_f.txt

alc883_msi_945gm3_f_ioreg.txt

post-112031-1188863164_thumb.jpg

post-112031-1188863185_thumb.jpg

Link to comment
Share on other sites

AD1986A users, I think only AppleHDAPatcher v1.13 worked for you guys.

 

Taruga, unfotunately version 1.13 gives the same results on my AD1986a (Asus A8Jc notebook) - 2 devices: LineOut and SPDIF, No volume controls, No sound.

'Running somewhere' in HALLab2 is permanently 'Yes' after I start playing something (initialy it's 'No') , pausing/stopping playback doesn't change its value.

 

Is there anything I can do to help fixing it?

 

Thanks a lot in advance.

 

Best regards,

MaX

Link to comment
Share on other sites

_____________________________________________________________________________

 

If I´ve helped someone with my patcher that wants to 'pay' me back, I would appreciate a Oink invite. Thanx

_____________________________________________________________________________

 

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 :wacko:

 

_____________________________________________________________________________

AppleHDA Patcher v1.16 * new *

 

v1.16 Use this one for OS X 4.9

v1.15 added support for more mobo´s

v1.14 stac9200 codec verbs | Should fix also sound port names on others too

______________________________________________________________________________

 

example on my alc882

 

irc.macspeak.net #AppleHDA

 

How it works:

 

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.

 

.oO THIS IS FOR KERNEL 8.8.1 ONLY Oo.

______________________________________________________________________________

 

ALC882 Sound Fix v0.4b

 

Was tested with an Asus P5LD2-VM

What´s working ...

 

- Line Out

- Microphone

- SPDIF out (5.1 works fine)

- Headphones

- Keyboard Volume Control and Mute

- Line In

 

 

 

.oO THIS IS MADE FOR KERNEL 8.8.1 OR HIGHER , CAN CAUSE KERNEL PANIC WITHOUT IT Oo.

 

______________________________________________________________________________

I have sigmtel 9220. I have sound output on wrong jack (i.e line out). and no front pannel speakers or mic. Can you help me. My mother board is intel 945gntl

Link to comment
Share on other sites

Taruga, unfotunately version 1.13 gives the same results on my AD1986a (Asus A8Jc notebook) - 2 devices: LineOut and SPDIF, No volume controls, No sound. 'Running somewhere' in HALLab2 is permanently 'Yes' after I start playing something (initialy it's 'No') , pausing/stopping playback doesn't change its value.Is there anything I can do to help fixing it?Thanks a lot in advance.Best regards,MaX
Argh! Notebooks are a pain in the ass, I can only fix that if I can finish my own driver.
I have sigmtel 9220. I have sound output on wrong jack (i.e line out). and no front pannel speakers or mic. Can you help me. My mother board is intel 945gntl
Ok, I answered your pm without reading this post, thanks for reporting. I will fix it, in the next v1.17 AppleHDA Patcher version
Link to comment
Share on other sites

Argh! Notebooks are a pain in the ass, I can only fix that if I can finish my own driver.Ok, I answered your pm without reading this post, thanks for reporting. I will fix it, in the next v1.17 AppleHDA Patcher version

thanks

when will you finish patcher v1.17?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...