Help - Search - Members - Calendar
Full Version: Voodoohda Driver
Project OS X Forums > OS X 10.6 (Snow Leopard) > Hardware Information > Sound
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22
Aditya Xavier
QUOTE (dong @ Sep 17 2009, 01:41 PM) *
The previous updated version even works for me without node patch. Great work!
However, the new 0.2.4 version cause a problem on output. There is no output can be heard though everything looks ok.
Using voodoohdahelper and Slickslick's script here, it does the autosave very well, i.e. no popup terminal window upon boot.
As for PrefPane snowLeopard version, why not compile it for 64 bit, thus it will not ask to quit and reenter each time? I'm using the 64 bit version I compiled and it works flawlessly.

As requested by Aditya Xavier, I posted a working version for AD1981HD here:Click to view attachment
Or try previous updated version (also works for me) with your updated node Patch put in since you have the same problem of output as me with 0.2.4 version:Click to view attachment


Firstly Thanks a lot for the kext.
I took a look at you kext.. and you seem to have only nid 8 and nid 25 put in.. I found out that nid 8 is actually line in which is working now with my iphone earphones..
But i also have an internal mic which is right below Fn key... It is another nid.. Trying to find the nid by the simple trial and error method as it seems that codec dump from linux is a little messed up and hence all confusion..

Still Thanks a lot and i tried using your voodoo pref it works perfectly.. would use it with a voodoo helper ...

##########

By the way which T60 do you have .. i have a T60p 8741-C4A .. the rest of the specs are in my sig.. Wondering how you solved the other problems..
dong
My model is 2613-CTO and I don't know if there is a mic below Fn keys. There is only microphone (fixed) listed in Sound Preference, it works no matter I plugin microphone in the port or not.

QUOTE (Aditya Xavier @ Sep 17 2009, 11:08 AM) *
By the way which T60 do you have .. i have a T60p 8741-C4A .. the rest of the specs are in my sig.. Wondering how you solved the other problems..

Slice
QUOTE (dong @ Sep 17 2009, 06:41 PM) *
It could be this, you have to enable Objective-C garbage collection support:
Click to view attachment

Here is my 10.6 32/64 version:Click to view attachment

I also updated my last post, the new 0.2.4 version actually give no output but the previous updated version is ok.

Thanks for explanation about garbage collection. I will try.
Sorry about no output. Thinking....
It seems to be wrong algorithm of mixer muting. I tested with Sigmatel that has no any mixer, only selectors.
Give me new dump with latest version and messages from kernel.log.
Wow! Can you make two dumps with the same nodes patch but with different kext version? I want to see differencies.
Aditya Xavier
QUOTE (dong @ Sep 17 2009, 03:28 PM) *
My model is 2613-CTO and I don't know if there is a mic below Fn keys. There is only microphone (fixed) listed in Sound Preference, it works no matter I plugin microphone in the port or not.


Hmm... I think you think it works cause of the signal it shows in sound pref right? but i believe that to be due to the noise generated by the VoodooHDA driver.. its not supposed to be so.. Tried changing it to nid 8 to 83a15030 still it shows mic fixed..

Maybe am hallucinating but i thought it should be working like that.. Anyway i believe nid 22/23 are supposed to be internal mic.. though am not able to make it work..

Can you tell me what i need the following for ???

CODE
Line Out at Ext Left    0x05 0x05                        3271639312 00571c10 00571d40     00571e01 00571fc0  
    1/8   Green  HP Out at Ext Front          6 0x06   0x422140f0   00671cf0 00671d40 00671e21 00671f41
  ATAPI   Black  Speaker at Int ATAPI         7 0x07   0x591311f0   00771c30 00771d10 00771e13 00771f50
    1/8     Red  Mic at Ext Left              8 0x08   0xc3a1502e   00871c20 00871d50 00871ea1 00871fc0
    1/8    Blue  Line In at Ext Rear          9 0x09   0x418130f0   00971c40 00971d30 00971e81 00971f41
    RCA   Black  SPDIF Out at Ext Rear       10 0x0a   0x014411f0   00a71c50 00a71d10 00a71e44 00a71f01
  ATAPI   Black  Other at Int ATAPI          22 0x16   0x59f311f0   01671c60 01671d10 01671ef3 01671f50
  ATAPI   Black  Aux at Int ATAPI            23 0x17   0x599311f0   01771c70 01771d10 01771e93 01771f50
    1/8    Pink  Mic at Ext Rear             24 0x18   0x41a190f0   01871c80 01871d90 01871ea1 01871f41


nid 5 = speakers.. i configured so by giving it the config id 90170110.
nid 7 = ??
nid 8 = external rear left mic.
nid 9 = ?
nid 10 = ??
nid 22 - ???
nid 23 = ????
nid 24 = ?????
nid 25 = cd in.

Is there anyway to find out the nid values and there corresponding significance in windows.. i know the pin config thingy but how to understand which nid is for which input/output ?? Cause the codec dump from linux is extremely vague ...

Any help would be greatly appreciated.. Am at the verge of going nuts due to this..
dong
QUOTE (Slice @ Sep 17 2009, 12:30 PM) *
It seems to be wrong algorithm of mixer muting. I tested with Sigmatel that has no any mixer, only selectors.
Give me new dump with latest version and messages from kernel.log.
Wow! Can you make two dumps with the same nodes patch but with different kext version? I want to see differencies.

It looks like so. Here are the dumps for the two versions you updated recently. One works well, another has no output.
Click to view attachment

By the way, I know 0.2.4 works great for some ALC users.
dong
QUOTE (Aditya Xavier @ Sep 17 2009, 12:31 PM) *
Hmm... I think you think it works cause of the signal it shows in sound pref right? but i believe that to be due to the noise generated by the VoodooHDA driver.. its not supposed to be so.. Tried changing it to nid 8 to 83a15030 still it shows mic fixed..

I tested it with Audactiy and it really does the job of recording sound (you can play it and it's good). But with the port pluged in, I need to set "monitor" to a high value to get signal. However, doing so add noise level too.
Aditya Xavier
QUOTE (dong @ Sep 17 2009, 11:01 PM) *
I tested it with Audactiy and it really does the job of recording sound (you can play it and it's good). But with the port pluged in, I need to set "monitor" to a high value to get signal. However, doing so add noise level too.


You are correct... i tested it with skype .. works pretty well... but why dont we make voodoohda more similar to applehda patcher ???

For eg.. i give as input the linux dump or even the verbit output ... using it the patcher can then formulate what pinconfig should the node have ?

Do you have the source for voodoohelper i can take a look into it and try !

Thanks ,
A.Xavier
youminbuluo
the voodohda below
QUOTE
Version 0.2.4 in testing
does not work for me! even without output
but the voodoohda above
QUOTE
Version 0.2.4 in testing
does work for me and with input working prefect!!!!
(in snow leopard and leopard)
Thanks,Slice
it's really great~~~~~

my sound card is
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x17aa2075

really amazing!!!!!! cool.gif
Superhai the Great
There are two symbols that are unresolved for 64 bit
Slice
QUOTE (Superhai the Great @ Sep 18 2009, 11:39 PM) *
There are two symbols that are unresolved for 64 bit

I check only 32bits.
Are you know what are the symbols?
Slice
Still continue testing for catch all mistakes. For me the driver works fine but some users report no output.
Now I create different versions for 32 and 64bits because I don't know how to join its.
EDITED:
new version in topic
Superhai the Great
QUOTE (Slice @ Sep 19 2009, 11:49 AM) *
I check only 32bits.
Are you know what are the symbols?


2 symbols not found in any library kext:
__ZN15VoodooHDAEngine19convertInputSamplesEPKvPvjjPK20_IOAudioStreamFormatP13IOA
udioStream
__ZN15VoodooHDAEngine17clipOutputSamplesEPKvPvjjPK20_IOAudioStreamFormatP13IOAud
ioStream

I saw you have fixed it in new source, I compiled it for snow as the one you had above here failed miserably.
Click to view attachment

It does work in 32 and 64bit (your v 0.242).
youminbuluo
QUOTE (Slice @ Sep 21 2009, 08:53 AM) *
Still continue testing for catch all mistakes. For me the driver works fine but some users report no output.
Now I create different versions for 32 and 64bits because I don't know how to join its.
EDITED:
VoodooHDA for Leo 32bit v0.2.42
VoodooHDA for Snow 32/64bit v0.2.42



use your latest VoodooHDA for Snow 32/64bit v0.2.42
i have input enabled by default
but i still have no output
0.2.35 output works but i need to active input in preferences panes

so it seems that some changes on output for 0.2.35 and 0.2.42,and those changes make my sound do not work properly

the dump in 0.2.42
CODE
Found a device of class VoodooHDADevice: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B/VoodooHDADevice


Probing codec #0...
HDA Codec #0: Conexant CX20549 (Venice)
HDA Codec ID: 0x14f15045
Vendor: 0x14f1
Device: 0x5045
Revision: 0x01
Stepping: 0x00
PCI Subvendor: 0x207517aa
startNode=1 endNode=3
Found audio FG nid=1 startNode=16 endNode=28 total=12

Processing audio FG cad=0 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x00000000 NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
nid 16 0x92170110 as 1 seq 0 Speaker Fixed jack 7 loc 18 color Unknown misc 1
nid 17 0x4001010f as 0 seq 15 Line-out None jack 1 loc 0 color Unknown misc 1
nid 18 0x03a1902e as 2 seq 14 Microphone Jack jack 1 loc 3 color Pink misc 0
nid 19 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1
nid 20 0x97a70120 as 2 seq 0 Microphone Fixed jack 7 loc 23 color Unknown misc 1
nid 21 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1
Parsing vendor patch...
VHDevice NID=16 Config=92170110 Type=00000004 Cap=00010014 Ctrl=00000040 -- Conns: 0=25 1=23
VHDevice NID=17 Config=4001010f Type=00000004 Cap=0000113c Ctrl=00000000 -- Conns: 0=25 1=23
VHDevice NID=18 Config=03a1902e Type=00000004 Cap=0000113c Ctrl=00000000 -- Conns: 0=25 1=23
VHDevice NID=19 Config=400001f0 Type=00000004 Cap=00000010 Ctrl=00000000 -- Conns: 0=24
VHDevice NID=20 Config=97a70120 Type=00000004 Cap=00001124 Ctrl=00000000 -- Conns:
VHDevice NID=21 Config=400001f0 Type=00000004 Cap=00000020 Ctrl=00000000 -- Conns:
VHDevice NID=22 Config=00000000 Type=00000007 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=23 Config=00000000 Type=00000002 Cap=00000000 Ctrl=00000000 -- Conns: 0=25 1=20 2=18 3=17 4=21
VHDevice NID=24 Config=00000000 Type=00000000 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=25 Config=00000000 Type=00000000 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=26 Config=00000000 Type=00000001 Cap=00000000 Ctrl=00000000 -- Conns: 0=23 1=20 2=18 3=17 4=21
VHDevice NID=27 Config=00000000 Type=0000000f Cap=00000000 Ctrl=00000000 -- Conns:
Parsing Ctls...
Disabling nonaudio...
Disabling useless...
Disabling pin nid 17 due to None connectivity.
Disabling pin nid 19 due to None connectivity.
Disabling pin nid 21 due to None connectivity.
Disabling control 2 nid 17 cnid -1 due to disabled widget.
Disabling control 8 nid 23 cnid 17 due to disabled widget.
Disabling control 9 nid 23 cnid 21 due to disabled widget.
Disabling nid 26 connection 3 due to disabled child widget.
Disabling nid 26 connection 4 due to disabled child widget.
Patched pins configuration:
nid 16 0x92170110 as 1 seq 0 Speaker Fixed jack 7 loc 18 color Unknown misc 1
nid 17 0x4001010f as 0 seq 15 Line-out None jack 1 loc 0 color Unknown misc 1 [DISABLED]
nid 18 0x03a1902e as 2 seq 14 Microphone Jack jack 1 loc 3 color Pink misc 0
nid 19 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1 [DISABLED]
nid 20 0x97a70120 as 2 seq 0 Microphone Fixed jack 7 loc 23 color Unknown misc 1
nid 21 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1 [DISABLED]
Parsing pin associations...
2 associations found:
Association 0 (1) out:
Pin nid=16 seq=0
Redir type=-1 jack=-1 def=0
Association 1 (2) in:
Pin nid=20 seq=0
Pin nid=18 seq=14
Redir type=0 jack=14 def=0
Building AFG tree...
Tracing association 0 (1)
Tracing pin 16 with min nid 0
tracing via nid 16
tracing via nid 25
nid 25 returned 25
tracing via nid 23
tracing via nid 25
nid 25 returned 25
tracing via nid 20
nid 20 returned 0
tracing via nid 18
nid 18 returned 0
nid 23 returned 25
nid 16 returned 25
Pin 16 traced to DAC 25
Association 0 (1) trace succeeded
Tracing association 1 (2)
Tracing pin 20 to ADC 26
tracing via nid 20
tracing via nid 23
tracing via nid 16
nid 16 busy by association 0
tracing via nid 18
nid 18 returned 0
tracing via nid 26
nid 26 returned 1
nid 23 returned 1
tracing via nid 26
nid 26 returned 1
nid 20 returned 1
Pin 20 traced to ADC 26
Tracing pin 18 to ADC 26
tracing via nid 18
tracing via nid 23
tracing via nid 16
nid 16 busy by association 0
tracing via nid 18
nid 18 returned 0
tracing via nid 26
nid 26 returned 1
nid 23 returned 1
tracing via nid 26
nid 26 returned 1
nid 18 returned 1
Pin 18 traced to ADC 26
Association 1 (2) trace succeeded
Tracing input monitor
Tracing nid 23 to out
tracing via nid 23
tracing via nid 16
nid 16 found output association 0
tracing via nid 18
nid 18 busy by input association 1
tracing via nid 26
nid 26 busy by input association 1
nid 23 returned 1
Tracing beeper
Tracing nid 22 to out
tracing via nid 22
nid 22 returned 0
Disabling unassociated widgets...
Disabling unassociated nid 24.
Disabling unassociated nid 27.
Disabling connection to input pin nid 18 conn 0.
Disabling connection to input pin nid 18 conn 1.
Disabling nonselected inputs...
Disabling unselected connection nid 16 conn 1.
Disabling useless...
Disabling crossassociated connections...
Disabling useless...
Binding associations to channels...
Assigning names to signal sources...
Assigning mixers to the tree...
Preparing pin controls...
AFG commit...
Creating PCM devices...
pcmAttach: HDA Conexant CX20549 (Venice) PCM #0 Analog at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

Stream cap: 0x00000001
PCM
PCM cap: 0x000e0540
16 20 24 bits, 48 96 192 KHz
DAC: 25

Record:

Stream cap: 0x00000001
PCM
PCM cap: 0x000e0140
16 20 24 bits, 48 96 KHz
ADC: 26

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

nid=16 [pin: Speaker (Analog)]
|
+ <- nid=25 [audio output] [src: pcm] bindSeq=00000001

Record:

nid=26 [audio input]
|
+ <- nid=23 [audio mixer] [src: mix] bindSeq=00004001
+ <- nid=20 [pin: Microphone (Analog)] [src: monitor] bindSeq=00000001
+ <- nid=18 [pin: Microphone (Pink Rear)] [src: mic] bindSeq=00004000

Input Mix:

nid=23 [audio mixer]
|
+ <- nid=25 [audio output] [src: pcm] bindSeq=00000001
+ <- nid=20 [pin: Microphone (Analog)] [src: monitor] bindSeq=00000001
+ <- nid=18 [pin: Microphone (Pink Rear)] [src: mic] bindSeq=00004000

+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

PCM Volume (OSS: pcm)
|
+- control 5 (nid 23 in 0): -30/+34dB (44 steps) + mute

Microphone Volume (OSS: mic)
|
+- control 3 (nid 18 out): -64/+0dB (44 steps) + mute
+- control 7 (nid 23 in 2): -30/+34dB (44 steps) + mute

Microphone2 Volume (OSS: monitor)
|
+- control 6 (nid 23 in 1): -30/+34dB (44 steps) + mute

Speaker/Beep Volume (OSS: speaker)
|
+- control 4 (nid 22 out): -21/+0dB (8 steps) + mute

Recording Level (OSS: rec)
|
+- control 7 (nid 23 in 2): -30/+34dB (44 steps) + mute
+- control 10 (nid 26 in 0): +0/+34dB (24 steps) + mute

Input Mix Level (OSS: mix)
|
+- control 10 (nid 26 in 0): +0/+34dB (24 steps) + mute

OSS mixer initialization...
Registering PCM channels...
FG config/quirks: ivref50 ivref80 ivref100 ivref
HP switch init...

+-------------------+
| DUMPING HDA NODES |
+-------------------+

Default Parameter
-----------------
Stream cap: 0x00000001
PCM
PCM cap: 0x000e0140
16 20 24 bits, 48 96 KHz
IN amp: 0x00000000
OUT amp: 0x00000000

nid: 16
Name: pin: Speaker (Analog)
Widget cap: 0x0040058d
PWR UNSOL STEREO
Association: 0 (0x00000001)
Pin cap: 0x00010014
PDC OUT EAPD
Pin config: 0x92170110
Pin control: 0x00000040 OUT
EAPD: 0x00000002
Output amp: 0x80052b2b
mute=1 step=43 size=5 offset=43
Output val: [0x80 0x80]
connections: 2 enabled 1
|
+ <- nid=25 [audio output] (selected)
+ [DISABLED] <- nid=23 [audio mixer]

nid: 17 [DISABLED]
Name: pin: Line-out (None)
Widget cap: 0x0040058d
PWR UNSOL STEREO
Pin cap: 0x0000113c
PDC HP OUT IN VREF[ 80 HIZ ]
Pin config: 0x4001010f
Pin control: 0x00000000
Output amp: 0x80052b2b
mute=1 step=43 size=5 offset=43
Output val: [0x80 0x80]
connections: 2 enabled 2
|
+ <- nid=25 [audio output] (selected)
+ <- nid=23 [audio mixer]

nid: 18
Name: pin: Microphone (Pink Rear)
Widget cap: 0x0040058d
PWR UNSOL STEREO
Association: 1 (0x00004000)
OSS: mic (mic)
Pin cap: 0x0000113c
PDC HP OUT IN VREF[ 80 HIZ ]
Pin config: 0x03a1902e
Pin control: 0x00000024 IN VREFs
Output amp: 0x80052b2b
mute=1 step=43 size=5 offset=43
Output val: [0x16 0x16]
connections: 2 enabled 0
|
+ [DISABLED] <- nid=25 [audio output] (selected)
+ [DISABLED] <- nid=23 [audio mixer]

nid: 19 [DISABLED]
Name: pin: Line-out (None)
Widget cap: 0x00400301
DIGITAL STEREO
Pin cap: 0x00000010
OUT
Pin config: 0x400001f0
Pin control: 0x00000000
connections: 1 enabled 1
|
+ <- nid=24 [audio output] [DISABLED]

nid: 20
Name: pin: Microphone (Analog)
Widget cap: 0x00400081
UNSOL STEREO
Association: 1 (0x00000001)
OSS: monitor (monitor)
Pin cap: 0x00001124
PDC IN VREF[ 80 HIZ ]
Pin config: 0x97a70120
Pin control: 0x00000024 IN VREFs

nid: 21 [DISABLED]
Name: pin: Line-out (None)
Widget cap: 0x00400001
STEREO
Pin cap: 0x00000020
IN
Pin config: 0x400001f0
Pin control: 0x00000000

nid: 22
Name: beep widget
Widget cap: 0x0070000c
Association: -2 (0x00000000)
OSS: speaker (speaker)
Output amp: 0x800b0707
mute=1 step=7 size=11 offset=7
Output val: [0x06 0x06]

nid: 23
Name: audio mixer
Widget cap: 0x0020050b
PWR STEREO
Association: -2 (0x00004001)
OSS: mix (mix)
Input amp: 0x80052b14
mute=1 step=43 size=5 offset=20
Input val: [0x27 0x27] [0x20 0x20] [0x10 0x10] [0x80 0x80] [0x80 0x80]
connections: 5 enabled 5
|
+ <- nid=25 [audio output]
+ <- nid=20 [pin: Microphone (Analog)]
+ <- nid=18 [pin: Microphone (Pink Rear)]
+ [DISABLED] <- nid=17 [pin: Line-out (None)] [DISABLED]
+ [DISABLED] <- nid=21 [pin: Line-out (None)] [DISABLED]

nid: 24 [DISABLED]
Name: audio output
Widget cap: 0x00000211
DIGITAL STEREO
Stream cap: 0x00000005
AC3 PCM
PCM cap: 0x00060040
16 20 bits, 48 KHz

nid: 25
Name: audio output
Widget cap: 0x00000c11
LRSWAP PWR STEREO
Association: 0 (0x00000001)
OSS: pcm (pcm)
Stream cap: 0x00000001
PCM
PCM cap: 0x000e0540
16 20 24 bits, 48 96 192 KHz

nid: 26
Name: audio input
Widget cap: 0x00100d0b
LRSWAP PWR STEREO
Association: 1 (0x00004001)
Stream cap: 0x00000001
PCM
PCM cap: 0x000e0140
16 20 24 bits, 48 96 KHz
Input amp: 0x80051700
mute=1 step=23 size=5 offset=0
Input val: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
connections: 5 enabled 3
|
+ <- nid=23 [audio mixer] (selected)
+ <- nid=20 [pin: Microphone (Analog)]
+ <- nid=18 [pin: Microphone (Pink Rear)]
+ [DISABLED] <- nid=17 [pin: Line-out (None)] [DISABLED]
+ [DISABLED] <- nid=21 [pin: Line-out (None)] [DISABLED]

nid: 27 [DISABLED]
Name: vendor widget
Widget cap: 0x00f00000

+------------------------+
| DUMPING HDA AMPLIFIERS |
+------------------------+

1: nid 16 out (out) index 0 ossmask=0x00000000 bindMask=0x00000001
mute: 1 step: 43 size: 5 off: 43 [DISABLED]
2: nid 17 out (out) index 0 ossmask=0x00000000 bindMask=0x00000000
mute: 1 step: 43 size: 5 off: 43 [DISABLED]
3: nid 18 out (out) index 0 ossmask=0x00000080 bindMask=0x00004000
mute: 1 step: 43 size: 5 off: 43
4: nid 22 out (out) index 0 ossmask=0x00000020 bindMask=0x00000000
mute: 1 step: 7 size: 11 off: 7
5: nid 23 in (in ) index 0 cnid 25 ossmask=0x00000010 bindMask=0x00004001
mute: 1 step: 43 size: 5 off: 20
6: nid 23 in (in ) index 1 cnid 20 ossmask=0x01000000 bindMask=0x00004001
mute: 1 step: 43 size: 5 off: 20
7: nid 23 in (in ) index 2 cnid 18 ossmask=0x00000880 bindMask=0x00004001
mute: 1 step: 43 size: 5 off: 20
8: nid 23 in (in ) index 3 cnid 17 ossmask=0x00000000 bindMask=0x00004001
mute: 1 step: 43 size: 5 off: 20 [DISABLED]
9: nid 23 in (in ) index 4 cnid 21 ossmask=0x00000000 bindMask=0x00004001
mute: 1 step: 43 size: 5 off: 20 [DISABLED]
10: nid 26 in (in ) index 0 ossmask=0x00000a00 bindMask=0x00004001
mute: 1 step: 23 size: 5 off: 0
Found modem FG nid=2 startNode=112 endNode=116 total=4

Processing modem FG cad=0 nid=2...
Powering down...



dump of 0.2.35
CODE
Found a device of class VoodooHDADevice: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B/VoodooHDADevice


Probing codec #0...
HDA Codec #0: Conexant CX20549 (Venice)
HDA Codec ID: 0x14f15045
Vendor: 0x14f1
Device: 0x5045
Revision: 0x01
Stepping: 0x00
PCI Subvendor: 0x207517aa
startNode=1 endNode=3
Found audio FG nid=1 startNode=16 endNode=28 total=12

Processing audio FG cad=0 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x00000000 NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
nid 16 0x92170110 as 1 seq 0 Speaker Fixed jack 7 loc 18 color Unknown misc 1
nid 17 0x4001010f as 0 seq 15 Line-out None jack 1 loc 0 color Unknown misc 1
nid 18 0x03a1902e as 2 seq 14 Microphone Jack jack 1 loc 3 color Pink misc 0
nid 19 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1
nid 20 0x97a70120 as 2 seq 0 Microphone Fixed jack 7 loc 23 color Unknown misc 1
nid 21 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1
Parsing vendor patch...
VHDevice NID=16 Config=92170110 Type=00000004 Cap=00010014 Ctrl=00000040 -- Conns: 0=25 1=23
VHDevice NID=17 Config=4001010f Type=00000004 Cap=0000113c Ctrl=00000000 -- Conns: 0=25 1=23
VHDevice NID=18 Config=03a1902e Type=00000004 Cap=0000113c Ctrl=00000000 -- Conns: 0=25 1=23
VHDevice NID=19 Config=400001f0 Type=00000004 Cap=00000010 Ctrl=00000000 -- Conns: 0=24
VHDevice NID=20 Config=97a70120 Type=00000004 Cap=00001124 Ctrl=00000000 -- Conns:
VHDevice NID=21 Config=400001f0 Type=00000004 Cap=00000020 Ctrl=00000000 -- Conns:
VHDevice NID=22 Config=00000000 Type=00000007 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=23 Config=00000000 Type=00000002 Cap=00000000 Ctrl=00000000 -- Conns: 0=25 1=20 2=18 3=17 4=21
VHDevice NID=24 Config=00000000 Type=00000000 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=25 Config=00000000 Type=00000000 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=26 Config=00000000 Type=00000001 Cap=00000000 Ctrl=00000000 -- Conns: 0=23 1=20 2=18 3=17 4=21
VHDevice NID=27 Config=00000000 Type=0000000f Cap=00000000 Ctrl=00000000 -- Conns:
Parsing Ctls...
Disabling nonaudio...
Disabling useless...
Disabling pin nid 17 due to None connectivity.
Disabling pin nid 19 due to None connectivity.
Disabling pin nid 21 due to None connectivity.
Disabling control 2 nid 17 cnid -1 due to disabled widget.
Disabling control 8 nid 23 cnid 17 due to disabled widget.
Disabling control 9 nid 23 cnid 21 due to disabled widget.
Disabling nid 26 connection 3 due to disabled child widget.
Disabling nid 26 connection 4 due to disabled child widget.
Patched pins configuration:
nid 16 0x92170110 as 1 seq 0 Speaker Fixed jack 7 loc 18 color Unknown misc 1
nid 17 0x4001010f as 0 seq 15 Line-out None jack 1 loc 0 color Unknown misc 1 [DISABLED]
nid 18 0x03a1902e as 2 seq 14 Microphone Jack jack 1 loc 3 color Pink misc 0
nid 19 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1 [DISABLED]
nid 20 0x97a70120 as 2 seq 0 Microphone Fixed jack 7 loc 23 color Unknown misc 1
nid 21 0x400001f0 as 15 seq 0 Line-out None jack 0 loc 0 color Unknown misc 1 [DISABLED]
Parsing pin associations...
2 associations found:
Association 0 (1) out:
Pin nid=16 seq=0
Association 1 (2) in:
Pin nid=20 seq=0
Pin nid=18 seq=14
Building AFG tree...
Tracing association 0 (1)
Tracing pin 16 with min nid 0
tracing via nid 16
tracing via nid 25
nid 25 returned 25
tracing via nid 23
tracing via nid 25
nid 25 returned 25
tracing via nid 20
nid 20 returned 0
tracing via nid 18
nid 18 returned 0
nid 23 returned 25
nid 16 returned 25
Pin 16 traced to DAC 25
Association 0 (1) trace succeeded
Tracing association 1 (2)
Tracing pin 20 to ADC 26
tracing via nid 20
tracing via nid 23
tracing via nid 16
nid 16 busy by association 0
tracing via nid 18
nid 18 returned 0
tracing via nid 26
nid 26 returned 1
nid 23 returned 1
tracing via nid 26
nid 26 returned 1
nid 20 returned 1
Pin 20 traced to ADC 26
Tracing pin 18 to ADC 26
tracing via nid 18
tracing via nid 23
tracing via nid 16
nid 16 busy by association 0
tracing via nid 18
nid 18 returned 0
tracing via nid 26
nid 26 returned 1
nid 23 returned 1
tracing via nid 26
nid 26 returned 1
nid 18 returned 1
Pin 18 traced to ADC 26
Association 1 (2) trace succeeded
Tracing input monitor
Tracing nid 23 to out
tracing via nid 23
tracing via nid 16
nid 16 found output association 0
tracing via nid 18
nid 18 busy by input association 1
tracing via nid 26
nid 26 busy by input association 1
nid 23 returned 1
Tracing beeper
Tracing nid 22 to out
tracing via nid 22
nid 22 returned 0
Disabling unassociated widgets...
Disabling unassociated nid 24.
Disabling unassociated nid 27.
Disabling connection to input pin nid 18 conn 0.
Disabling connection to input pin nid 18 conn 1.
Disabling nonselected inputs...
Disabling unselected connection nid 16 conn 1.
Disabling useless...
Disabling crossassociated connections...
Disabling useless...
Binding associations to channels...
Assigning names to signal sources...
Assigning mixers to the tree...
Preparing pin controls...
AFG commit...
HP switch init...
Creating PCM devices...
pcmAttach: HDA Conexant CX20549 (Venice) PCM #0 Analog at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

Stream cap: 0x00000001
PCM
PCM cap: 0x000e0540
16 20 24 bits, 48 96 192 KHz
DAC: 25

Record:

Stream cap: 0x00000001
PCM
PCM cap: 0x000e0140
16 20 24 bits, 48 96 KHz
ADC: 26

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

nid=16 [pin: Speaker (Fixed)]
|
+ <- nid=25 [audio output] [src: pcm]

Record:

nid=26 [audio input]
|
+ <- nid=23 [audio mixer] [src: mix]
+ <- nid=20 [pin: Microphone (Fixed)] [src: monitor]
+ <- nid=18 [pin: Microphone (Pink Jack)] [src: mic]

Input Mix:

nid=23 [audio mixer]
|
+ <- nid=25 [audio output] [src: pcm]
+ <- nid=20 [pin: Microphone (Fixed)] [src: monitor]
+ <- nid=18 [pin: Microphone (Pink Jack)] [src: mic]

+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

Master Volume (OSS: vol)
|
+- control 1 (nid 16 in ): -64/+0dB (44 steps) + mute

PCM Volume (OSS: pcm)
|
+- control 1 (nid 16 in ): -64/+0dB (44 steps) + mute
+- control 5 (nid 23 in 0): -30/+34dB (44 steps) + mute

Microphone Volume (OSS: mic)
|
+- control 7 (nid 23 in 2): -30/+34dB (44 steps) + mute

Microphone2 Volume (OSS: monitor)
|
+- control 6 (nid 23 in 1): -30/+34dB (44 steps) + mute

Speaker/Beep Volume (OSS: speaker)
|
+- control 4 (nid 22 out): -21/+0dB (8 steps) + mute

Recording Level (OSS: rec)
|
+- control 10 (nid 26 in 0): +0/+34dB (24 steps) + mute

Input Mix Level (OSS: mix)
|
+- control 10 (nid 26 in 0): +0/+34dB (24 steps) + mute

OSS mixer initialization...
Recsel fails src=010001c0 oss=00000200
Recsel (line, mic, cd, monitor): nid 26 source 1 select
Registering PCM channels...
FG config/quirks: ivref50 ivref80 ivref100 ivref

+-------------------+
| DUMPING HDA NODES |
+-------------------+

Default Parameter
-----------------
Stream cap: 0x00000001
PCM
PCM cap: 0x000e0140
16 20 24 bits, 48 96 KHz
IN amp: 0x00000000
OUT amp: 0x00000000

nid: 16
Name: pin: Speaker (Fixed)
Widget cap: 0x0040058d
PWR UNSOL STEREO
Association: 0 (0x00000001)
Pin cap: 0x00010014
PDC OUT EAPD
Pin config: 0x92170110
Pin control: 0x00000040 OUT
EAPD: 0x00000002
Output amp: 0x80052b2b
mute=1 step=43 size=5 offset=43
connections: 2
|
+ <- nid=25 [audio output] (selected)
+ [DISABLED] <- nid=23 [audio mixer]

nid: 17 [DISABLED]
Name: pin: Line-out (None)
Widget cap: 0x0040058d
PWR UNSOL STEREO
Pin cap: 0x0000113c
PDC HP OUT IN VREF[ 80 HIZ ]
Pin config: 0x4001010f
Pin control: 0x00000000
Output amp: 0x80052b2b
mute=1 step=43 size=5 offset=43
connections: 2
|
+ [DISABLED] <- nid=25 [audio output] (selected)
+ <- nid=23 [audio mixer]

nid: 18
Name: pin: Microphone (Pink Jack)
Widget cap: 0x0040058d
PWR UNSOL STEREO
Association: 1 (0x00004000)
OSS: mic (mic)
Pin cap: 0x0000113c
PDC HP OUT IN VREF[ 80 HIZ ]
Pin config: 0x03a1902e
Pin control: 0x00000024 IN VREFs
Output amp: 0x80052b2b
mute=1 step=43 size=5 offset=43
connections: 2
|
+ [DISABLED] <- nid=25 [audio output] (selected)
+ [DISABLED] <- nid=23 [audio mixer]

nid: 19 [DISABLED]
Name: pin: Line-out (None)
Widget cap: 0x00400301
DIGITAL STEREO
Pin cap: 0x00000010
OUT
Pin config: 0x400001f0
Pin control: 0x00000000
connections: 1
|
+ <- nid=24 [audio output] [DISABLED]

nid: 20
Name: pin: Microphone (Fixed)
Widget cap: 0x00400081
UNSOL STEREO
Association: 1 (0x00000001)
OSS: monitor (monitor)
Pin cap: 0x00001124
PDC IN VREF[ 80 HIZ ]
Pin config: 0x97a70120
Pin control: 0x00000024 IN VREFs

nid: 21 [DISABLED]
Name: pin: Line-out (None)
Widget cap: 0x00400001
STEREO
Pin cap: 0x00000020
IN
Pin config: 0x400001f0
Pin control: 0x00000000

nid: 22
Name: beep widget
Widget cap: 0x0070000c
Association: -2 (0x00000000)
OSS: speaker (speaker)
Output amp: 0x800b0707
mute=1 step=7 size=11 offset=7

nid: 23
Name: audio mixer
Widget cap: 0x0020050b
PWR STEREO
Association: -2 (0x00004001)
OSS: mix (mix)
Input amp: 0x80052b14
mute=1 step=43 size=5 offset=20
connections: 5
|
+ <- nid=25 [audio output]
+ <- nid=20 [pin: Microphone (Fixed)]
+ <- nid=18 [pin: Microphone (Pink Jack)]
+ [DISABLED] <- nid=17 [pin: Line-out (None)] [DISABLED]
+ [DISABLED] <- nid=21 [pin: Line-out (None)] [DISABLED]

nid: 24 [DISABLED]
Name: audio output
Widget cap: 0x00000211
DIGITAL STEREO
Stream cap: 0x00000005
AC3 PCM
PCM cap: 0x00060040
16 20 bits, 48 KHz

nid: 25
Name: audio output
Widget cap: 0x00000c11
LRSWAP PWR STEREO
Association: 0 (0x00000001)
OSS: pcm (pcm)
Stream cap: 0x00000001
PCM
PCM cap: 0x000e0540
16 20 24 bits, 48 96 192 KHz

nid: 26
Name: audio input
Widget cap: 0x00100d0b
LRSWAP PWR STEREO
Association: 1 (0x00004001)
Stream cap: 0x00000001
PCM
PCM cap: 0x000e0140
16 20 24 bits, 48 96 KHz
Input amp: 0x80051700
mute=1 step=23 size=5 offset=0
connections: 5
|
+ <- nid=23 [audio mixer]
+ <- nid=20 [pin: Microphone (Fixed)] (selected)
+ <- nid=18 [pin: Microphone (Pink Jack)]
+ [DISABLED] <- nid=17 [pin: Line-out (None)] [DISABLED]
+ [DISABLED] <- nid=21 [pin: Line-out (None)] [DISABLED]

nid: 27 [DISABLED]
Name: vendor widget
Widget cap: 0x00f00000

+------------------------+
| DUMPING HDA AMPLIFIERS |
+------------------------+

1: nid 16 in (out) index 0 ossmask=0x00000011
mute: 1 step: 43 size: 5 off: 43
2: nid 17 in (out) index 0 ossmask=0x00000000
mute: 1 step: 43 size: 5 off: 43 [DISABLED]
3: nid 18 in (out) index 0 ossmask=0x00000000
mute: 1 step: 43 size: 5 off: 43 [DISABLED]
4: nid 22 out (out) index 0 ossmask=0x00000020
mute: 1 step: 7 size: 11 off: 7
5: nid 23 in (in ) index 0 cnid 25 ossmask=0x00000010
mute: 1 step: 43 size: 5 off: 20
6: nid 23 in (in ) index 1 cnid 20 ossmask=0x01000000
mute: 1 step: 43 size: 5 off: 20
7: nid 23 in (in ) index 2 cnid 18 ossmask=0x00000080
mute: 1 step: 43 size: 5 off: 20
8: nid 23 in (in ) index 3 cnid 17 ossmask=0x00000000
mute: 1 step: 43 size: 5 off: 20 [DISABLED]
9: nid 23 in (in ) index 4 cnid 21 ossmask=0x00000000
mute: 1 step: 43 size: 5 off: 20 [DISABLED]
10: nid 26 in (in ) index 0 ossmask=0x00000a00
mute: 1 step: 23 size: 5 off: 0
Found modem FG nid=2 startNode=112 endNode=116 total=4

Processing modem FG cad=0 nid=2...
Powering down...
youminbuluo
the significant difference is sound preference of preferences panes

in 0.2.35,it says speaker(fixed)
Click to view attachment

in 0.2.42,it says speaker(analog)


hope all this information helps!!
dong
Thanks for your work. I tested 0.2.42 on 10.6 32bit. It does not solve the output problem.
For mic, it works the same way as your first 0.235 update, I.E, only works with nodes patch.
Here are the dumps with and without nodes patch: Click to view attachment

QUOTE (Slice @ Sep 21 2009, 04:53 AM) *
Still continue testing for catch all mistakes. For me the driver works fine but some users report no output.
Now I create different versions for 32 and 64bits because I don't know how to join its.
EDITED:
VoodooHDA for Leo 32bit v0.2.42
VoodooHDA for Snow 32/64bit v0.2.42

roisoft
the 0.2.42 doesnt load in 64 bit for me, i need to change the OSBundlelibraries to

CODE
<key>OSBundleLibraries</key>
    <dict>
        <key>com.apple.iokit.IOAudioFamily</key>
        <string>1.7f16</string>
        <key>com.apple.iokit.IOPCIFamily</key>
        <string>2.6</string>
        <key>com.apple.kpi.iokit</key>
        <string>10.0</string>
        <key>com.apple.kpi.libkern</key>
        <string>10.0</string>
        <key>com.apple.kpi.mach</key>
        <string>10.0</string>
        <key>com.apple.kpi.unsupported</key>
        <string>10.0</string>
    </dict>


nice work btw ..thx smile.gif
slump
Hi mate,

My output appears but don't produce sounds with the last 0.2.42. It shows as "Speaker (CD)" in Pref Pane. It works well with 0.2.2 version (but I didn't have the mic). The mic in 0.2.42 seems work but not very sensible.

This is my dump http://pastebin.ca/1575966

Thanks much for your great work.
quark
I'm getting a kernel panic with VoodooHDA kext. (All enablers and AppleHDA removed). I can't take a photo of the error but it says something like "can't open PCI device"

Leopard 10.5.8 with latest updates
MoBo: GA-EP43-S3L (ICH10 + ALC888)


Currently I have sound using other kext but it's chopping and lagging sometimes (which can be fixed for a while by changing output device to any other and back)
Slice
Thanks to all for reports. Wait please if I find what is wrong in 242 compared to working 235.
Nodes patches are always needed because of quirky configuration but in new version you can join outputs and inputs is one association with full autodetect.
I still don't know how to change device names with detect as AppleHDA does.
phoenix789
Hi!

Thanks Slice for this driver. I was wondering if you would help me out a little. I'm running Snow and i've used your modified VoodooHDA 0.2.35 for snow (0.2.42 give me no sound at all, even with arch=i386 kernel flag) in order to get my mic working. If i've installed without any modifications in the info.plist it loads and i have sound. In system preferences/sound it shows my mic however it's not working.

So i've patched the pins that seems to be my mic. i've tried this:

CODE
<key>NodesToPatch</key>
<array>
<dict>
<key>Node</key>
<integer>25</integer>
<key>Config</key>
<string>0x99a30941</string>
<key>Type</key>
<integer>4</integer>
<key>Conns</key>
<integer>1</integer>
</dict>

</array>


Then i've installed again with this mods and nothing has changed. I think maybe i'm not choosing the right pins to patch?


Can you help me please, i will like to know what i'm doing wrong.

I've also upload my codec dump (linux and voodooHDA).

Any help will be kind. Thank's again.

Phoenix.

Click to view attachment
Click to view attachment
Slice
Look tricks in topic!
phoenix789
QUOTE (Slice @ Sep 27 2009, 06:21 AM) *
Look tricks in topic!


Awesome Slice, thanks a lot! It works!. I don't have correct names in System Preferences but i don't care, all i wanted is having it working. Thanks again.
yeehaa
@Slice: did you see this? http://www.insanelymac.com/forum/index.php...=183321&hl=
volume control with voodooHDA. i know you were looking into this. smile.gif
Slice
I made new version. Links in topic.
dong
The latest version has no problem of silent output here for AD1981HD. The mic need nodes patch to work.
Dumps:Click to view attachment
QUOTE (Slice @ Oct 1 2009, 03:55 PM) *
I made new version. Links in topic.

Krazubu
Version 0.2.43 doesn't load. Here is the output of kextutil :
QUOTE
/System/Library/Extensions/VoodooHDA.kext has problems:
Warnings:
Kexts should declare dependencies on either com.apple.kernel* or com.apple.kpi.* libraries, not both.

Dependency Resolution Failures:
64-bit kexts must use com.apple.kpi.* libraries, not com.apple.kernel* libraries.

and from kextload :
QUOTE
/System/Library/Extensions/VoodooHDA.kext failed to load - (libkern/kext) dependency resolution failure; check the system/kernel logs for errors or try kextutil(8).

I'm running 10.6.1 in 64bit mode, codec is AD1988b rev 3.
cVad
Ver. with only little fix in info.plist.
Click to view attachment
iNDi
Hey guys , maybe its an idea to centralise all this work somehow maybe with a svn repo ?

btw nice to see some progress anyway

iNDi
fassl
QUOTE (Slice @ Jun 2 2009, 10:14 AM) *
Today I and AutumnRain rewrited VoodooHDA to get fully working driver.
We are based on version 0.2.1 and add
1. Connection to VoodooHDA.pref.panel


What connection? The package i released contained a prefpane and a proper kext which would work for it. Its clear that prefpane cant connect to a previous version.

QUOTE (Slice @ Jun 2 2009, 10:14 AM) *
2. Manual patching of codec information.


Long done by cinorch if you lookup voodoohda google code page

QUOTE (Slice @ Jun 2 2009, 10:14 AM) *
3. Different mistakes. For example (i<24 ->
i<25)
What?

QUOTE (Slice @ Jun 2 2009, 10:14 AM) *
4. Working with internal microphone and line-in.

With what codecs? any? Worked on my codec ever at least.

QUOTE (Slice @ Jun 2 2009, 10:14 AM) *
5. Names in Sound.pref.panel.


What names? There ever where names, just not first released version by kaitek which where displayed as PCM#X

QUOTE (Slice @ Jun 2 2009, 10:14 AM) *
6. Working with all Codec Address (0,1,2)


This worked ever.
..

Sorry for so much questions, but i would like to know what exactly had been done? You know i'm quite fed up with people getting kudos for things they have "enhanced" or at least let people think they have so. As from what i can read in the post i quoted i dont really see any big advantage nor feature. So if it really contains bugfixes/enhancements/features please state them clear and understandable. For instance make clear what you mean with "different mistakes" and the sample you posted. Nobody can make a hold of what you mean there, and without posting any reference you cant say i<24 is wrong and i<25 is correct. Anyway if you say you rewrite it, best is to not base it on any voodoohda version, but actually as you said, rewrite it. Just my 2 cents, bye
youminbuluo
QUOTE (cVad @ Oct 1 2009, 11:35 PM) *
Ver. with little fix in info.plist.
Click to view attachment




ok,this version works for me with full input and output by default

But the 0.2.43 doesn't.
So you mean your version only changes the info.plist?

edit:
so the only difference seem like this:
51,54d50
< <key>com.apple.kernel.6.0</key>
< <string>7.9.9</string>
< <key>com.apple.kpi.bsd</key>
< <string>8.0.0</string>

just delete two items in Slice's 0.2.43


ps: i am wondering the dependence relationship like above. i find in 0.2.39 some other item are even 9.00 instead of 8.00. I replaced the info.plist's 8.00 with 9.00 and it still works. So what does these version numbers mean?
Slice
OK, fassl.
When I began to rewrite the driver I took it from google and take version 0.2.1 without nodes patch and prefpanes.
We made it by own. Later I got your version 0.2.2 from voodoo forum and compare. Yes, some corrections already done but too late. We made own corrections.
QUOTE (fassl @ Oct 2 2009, 03:33 AM) *
What connection? The package i released contained a prefpane and a proper kext which would work for it. Its clear that prefpane cant connect to a previous version.
Long done by cinorch if you lookup voodoohda google code page
What?

Yes, you seems already have this corrections.
QUOTE
With what codecs? any? Worked on my codec ever at least.

As you may be know but 0.2.2 doesn't work in some codecs with internal microphone and sometimes doesn't work at all.
QUOTE
What names? There ever where names, just not first released version by kaitek which where displayed as PCM#X

You have name "Mic". I set more advanced
Click to view attachment
QUOTE
This worked ever.
No. If I have 3 codecs 0,1, and 2, previous driver sometimes apply settings for 0 while it needs to be applied to 2.
QUOTE
..

Sorry for so much questions, but i would like to know what exactly had been done? You know i'm quite fed up with people getting kudos for things they have "enhanced" or at least let people think they have so. As from what i can read in the post i quoted i dont really see any big advantage nor feature. So if it really contains bugfixes/enhancements/features please state them clear and understandable. For instance make clear what you mean with "different mistakes" and the sample you posted. Nobody can make a hold of what you mean there, and without posting any reference you cant say i<24 is wrong and i<25 is correct. Anyway if you say you rewrite it, best is to not base it on any voodoohda version, but actually as you said, rewrite it. Just my 2 cents, bye

About 24 and 25.
If we have two microphones then first have ossdev=MIC and second ossdev=MONITOR=24. This is a reason why internal microphone is not working.
About other mistakes it is very long story. Try, for example, make a diff between projects. Too much differencies. Most of all are because we start from 0.2.1 but not with 0.2.2.
Latest mistake I found in 242 but it present in any version
CODE
            if ((widget->type == HDA_PARAM_AUDIO_WIDGET_CAP_TYPE_PIN_COMPLEX) ||
                (widget->type == HDA_PARAM_AUDIO_WIDGET_CAP_TYPE_AUDIO_MIXER) || widget->waspin)    // my addition
                controls[cnt].ndir = HDA_CTL_IN;
            else
                controls[cnt].ndir = HDA_CTL_OUT;

Other thing that you have autodetect only between speaker seq=0 and headphone seq=f.
We made autodetect with any devices in one group
For example my STAC9228
CODE
Playback:     // for playback I have autodetect between  3 devices

    nid=10 [pin: Headphones (Black Front)]
      |
      + <- nid=2 [audio output] [src: pcm] bindSeq=00008001

    nid=13 [pin: Speaker (Analog)]
      |
      + <- nid=2 [audio output] [src: pcm] bindSeq=00008001

    nid=15 [pin: Line-out (Black Front)]
      |
      + <- nid=5 [audio output] [src: pcm] bindSeq=00000010

Record:   // for record I have autodetect between internal and external microphones

    nid=7 [audio input]
      |
      + <- nid=27 [audio selector] [src: mic, monitor] bindSeq=00008001
             |
             + <- nid=24 [audio selector] [src: mic, monitor] bindSeq=00008001
                    |
                    + <- nid=21 [audio selector] [src: mic, monitor] bindSeq=00008001
                           |
                           + <- nid=14 [pin: Microphone (Black Front)] [src: mic] bindSeq=00008000
                           + <- nid=12 [pin: Microphone (Analog)] [src: monitor] bindSeq=00000001

Sure, we made huge work.
cVad
Thank's Slice&AutumnRain for you great work.
Now on my notebook Benq all works fine.
youminbuluo
in both 0.2.42 & 0.2.43 i get
Click to view attachment

but in 0.2.35
Click to view attachment

the problem then comes that in both 0.2.42 & 0.2.43 with "Analog mode" when i open itunes and play music, the mic can record the music i am playing even if i use a headphone. It seems in "Analog mode" it record audio from sound card and mic. That may be a useful function, but usually it should be in more normal mode that only record from mic.




ps:my Conexant CX20549 (Venice) is really troublesome!
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x17aa2075
Revision Id: 0x100100
Modem Function Group: 0x2
Slice
QUOTE (youminbuluo @ Oct 2 2009, 02:16 PM) *
the problem then comes that in both 0.2.42 & 0.2.43 with "Analog mode" when i open itunes and play music, the mic can record the music i am playing even if i use a headphone. It seems in "Analog mode" it record audio from sound card and mic. That may be a useful function, but usually it should be in more normal mode that only record from mic.

No/ these pictures means nothing. I have 3 microphones
External jack
Internal Analog
Internal Digital
So why I change names in control panel from "Fixed" to "Analog" and "Digital" according to PinConfig (look in topic).
But yes, this influence on sound. The tricks in topic is a real recommendation to make microphone to work. Dong confirmed in his post.
You can record music during playback? Tell me more about this.
fassl
Cool Slice, its just that from the first post all this info doesnt come out, why haven't you wrote it more detailed there? The way you wrote it there wasnt really informable thus i didnt see any enhancements. Thanks for clarification though. Good luck with further improvements. And sleep issue, its a bastard biggrin.gif
Chrysaor
QUOTE (Slice @ Aug 28 2009, 12:23 PM) *
Now I have fully working VoodoHDA with my Sigmatel 9228.
The digital has low sensitivity but it also works.


Any chance there is a fix for the low sensitivity issue? You need to be really close to the internal mic for it to work.
youminbuluo
QUOTE (Slice @ Oct 2 2009, 06:52 PM) *
No/ these pictures means nothing. I have 3 microphones
External jack
Internal Analog
Internal Digital
So why I change names in control panel from "Fixed" to "Analog" and "Digital" according to PinConfig (look in topic).
But yes, this influence on sound. The tricks in topic is a real recommendation to make microphone to work. Dong confirmed in his post.
You can record music during playback? Tell me more about this.






But dong told me he didn't know much, only to do what you said sad.gif
OK,regardless of that. now i report about the record of playback.

I use quicktime to record. it seems like this:
when I am playing music
Click to view attachment
when i am not playing
Click to view attachment
at all the time I wear my headphone, so the internal mic won't record any of the music from my headphone.
So I think it records directly from sound card. And i get both input from sound card and mic, just like a karaoke.
And I have some new findings:
if the Imix and Recording level is set two high or the volumes in itunes is too high, it will record broken music(act as if sound is distorted ).
Lower down both values will help to get better sound!

Click to view attachment
Click to view attachment
So it should be low enough!


And now I have a question:
what do Imix and Recording level mean? In my situation, i can't find any differences between them.
if I turn one of them off, I get no input. Adjust any of them to the right side a little will active input again.
The input gain seems to be determined by the sum of Imix and Recording level.(may be it act like c^2=a^2+b^2,etc)
Krazubu
I get kp :
acetone802000
My motherboard is ASUS P5KR with Sound chipset ALC883.
With your latest driver mic works great (for the first time)

But wink.gif output is very very low (and of course i don't find where i must modify sources).
Another bug i can't select ALC883 with VoodooHDA Pref panel. I have only Digital-Out (HDMI) from my graphic card.

Please where does i must make changes for the output lvl ?

thank's
youminbuluo
QUOTE (acetone802000 @ Oct 3 2009, 01:56 PM) *
My motherboard is ASUS P5KR with Sound chipset ALC883.
With your latest driver mic works great (for the first time)

But wink.gif output is very very low (and of course i don't find where i must modify sources).
Another bug i can't select ALC883 with VoodooHDA Pref panel. I have only Digital-Out (HDMI) from my graphic card.

Please where does i must make changes for the output lvl ?

thank's


Have you tried this?
Click to view attachment
acetone802000
QUOTE (youminbuluo @ Oct 3 2009, 04:08 PM) *
Have you tried this?
Click to view attachment


voodoohda pref panel don't detect my ALC883 codec but only my HDMI digital output (from my ATI graphic card) sad.gif
alex
Same panic of Krazubu. AD1988B on a 790i system.
acetone802000
When i boot with -x32 flag i have also an kernel panic
alex
QUOTE (acetone802000 @ Oct 3 2009, 06:07 PM) *
When i boot with -x32 flag i have also an kernel panic


Maybe it's the reason; unfortunately i can't boot in 64bit mode because of the lack of a 64bit applenforceata.kext version.
timmyj
excellent stuff first time ive had working microphone on OSX on my M1530 w/ STAC9228
thanks for the effort
as I read on the main page on the todo list the only major issue is sound corruption following wake from sleep
the front input (mic) jack is also not detected but it's pretty redundant now anyway
anything I can do to help out would be no problem
and another suggestion albeit only a cosmetic one, perhaps injecting the audio port data into system profiler?
acetone802000
I dowload the sources from the 1st post and i tried to compile with the lastest Xcode (3.2) in snow.

I compile with:
Mac OS X 10.6
Release
VoodooHDA
x86_64

Compile is ok, kest installation is nice, i delete extensions.mkext but after reboot no sound card detected sad.gif .
With the kext downloaded from the 1st post all is ok Oo (with the very very low output sound)

Yes i'm a noob but i don't know where i made a error

Edit: Output sound is Ok after change Imix 0 to 90 and compile (and i forgot to modify my info.plist)
phoenix789
Hi Slice, i came back to bother you again. I have another request. I can't make my Headphones work (and keep the choice of speakers and internal mic working). I've seen in the dump code that it's disable so i think i need to pin it right, as i did with my internal mic. However i don't know what to give as pin numbers. Can you help me out. Please

Here is an extract of my dump:


CODE

nid 18 0x411111f0 as 15 seq 0 Speaker None jack -549755813887 loc 85317704268906497 color Black misc -549755813887
nid 19 0x411111f0 as 15 seq 0 Speaker None jack -549755813887 loc 89821303896276993 color Black misc -549755813887
nid 20 0x02211020 as 2 seq 0 Headphones Jack jack -549755813887 loc 94324903523647490 color Black misc -549755813888
nid 21 0x99130110 as 1 seq 0 Speaker Fixed jack -549755813885 loc 98828503151018009 color Unknown misc -549755813887
nid 22 0x411111f0 as 15 seq 0 Speaker None jack -549755813887 loc 103332102778388481 color Black misc -549755813887
nid 24 0x02a19840 as 4 seq 0 Microphone Jack jack -549755813887 loc 112339302033129474 color Pink misc -549755813880
nid 25 0x99a30941 as 4 seq 1 Microphone Fixed jack -549755813885 loc 116842901660499993 color Unknown misc -549755813879
nid 26 0x0281304e as 4 seq 14 Line-in Jack jack -549755813887 loc 121346501287870466 color Blue misc -549755813888
nid 28 0x411111f0 as 15 seq 0 Speaker None jack -549755813887 loc 130353700542611457 color Black misc -549755813887
Patching widget caps nid=29 0x00400000 -> 0x00700000
nid 30 0x02451130 as 3 seq 0 SPDIF-out Jack jack -549755813883 loc 139360899797352450 color Black misc -549755813887
Parsing vendor patch...

nid: 20 [DISABLED]
Name: pin: Headphones (Black Jack)
Widget cap: 0x0040018d
UNSOL STEREO
Pin cap: 0x0001003c
PDC HP OUT IN EAPD
Pin config: 0x02211020
Pin control: 0x00000000
EAPD: 0x00000002
Output amp: 0x80000000
mute=1 step=0 size=0 offset=0
connections: 1


and just in case, here is my info.plist with speakers and internal mic working:

CODE
<key>NodesToPatch</key>
<array>
<dict>
<key>Node</key>
<integer>24</integer>
<key>Config</key>
<string>0x02a19820</string>
<key>Type</key>
<integer>4</integer>
<key>Conns</key>
<integer>0</integer>
</dict>
<dict>
<key>Node</key>
<integer>25</integer>
<key>Config</key>
<string>0x99a70941</string>
<key>Type</key>
<integer>4</integer>
<key>Conns</key>
<integer>1</integer>
</dict>
</array>


i will also upload the entire codecdump.

If you have two minutes, can you help me out? Please.

Click to view attachment
Ezhoon
I have a Jetway xblue P43 mobo, which has an onboard alc883
Tried all three versions and with v0235 and v0243, I had mic working for the first time for this mobo (no sound with v0241).

With v0235, output volume is normal but had to adjust voodoohda control panel to get mic working.
With v0243, it's reversed, mic input is just working alright but, had to adjust IMix slider to get a audible output volume.
I wish I don't have to fiddle with the voodoo control panel but, hey, it's a gigantic improvement for me and
I am just grateful for all this development.

Thanks guys, great job!! biggrin.gif

Click to view attachment

Click to view attachment

Click to view attachment
aliasa_anderson
QUOTE (youminbuluo @ Oct 2 2009, 03:46 PM) *
in both 0.2.42 & 0.2.43 i get
Click to view attachment

but in 0.2.35
Click to view attachment

the problem then comes that in both 0.2.42 & 0.2.43 with "Analog mode" when i open itunes and play music, the mic can record the music i am playing even if i use a headphone. It seems in "Analog mode" it record audio from sound card and mic. That may be a useful function, but usually it should be in more normal mode that only record from mic.




ps:my Conexant CX20549 (Venice) is really troublesome!
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x17aa2075
Revision Id: 0x100100
Modem Function Group: 0x2




Hi Slice,

I confirm this.

My specs are :



HDA Codec #0: Conexant CX20549 (Venice)
HDA Codec ID: 0x14f15045
Vendor: 0x14f1
Device: 0x5045
Revision: 0x01
Stepping: 0x00
PCI Subvendor: 0x30bb103c
startNode=1 endNode=3
Found audio FG nid=1 startNode=16 endNode=28 total=12
===========================================


The microphone works too but it does say : "warning: couldn't set recording source to input" while booting.

@youminbuluo
Do you also get the same warning regarding microphone ?

My codec dump is attached with this post.

Like youminbuluo i also can see that the output of SPDIF/Hedphones is being input to Microphone.

Slice please suggest that inorder to get rid of microphone warning,do i need to patch the node(s),even though it works.

Also,is there any way by which audio specs can be dispalyed in System Profiler.Currently only device id is displayed.


Awesome work!!!
Thanks for the wonderful kext.

Keep up the good work.




acetone802000
I changed the Imix from 0 to 90,recompile and now output works. (i can't change with the prefpane cause it don't detect my sound card)

With snow 64 all works great, but in 32 i have an KP:

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.