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
Slice
I and AutumnRain rewrited VoodooHDA to get fully working driver.
The sources available at sourceforge
QUOTE


First of all read information from THeKiNG about correct Pin Config

Tricks
1. Set correct type for internal microphone
<string>0x90a70120</string> -- Internal Analog (red digit=7)
<string>0x90a6e140</string> -- Internal Digital (red digit=6)
2. Place all inputs in different groups - blue digit above. -- no needed for driver v2.5 and above
3. If you driver works then set Verbose to 0 to clean system.log.
Instruction what to do else will be followed...
4. If you have two sound cards, for example other one is HDMI output on Video card then made info.plist
CODE
<key>IOKitPersonalities</key>
<dict>
<key>SoundCard</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.VoodooHDA</string>
<key>IOClass</key>
<string>VoodooHDADevice</string>
<key>IOMatchCategory</key>
<string>VoodooHDADevice</string>
<key>IOPCIPrimaryMatch</key>
<string>0x284b8086</string> -- place here deviceID of your sound card (Chipset HDA device, not a codecID!)
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOUserClientClass</key>
<string>VoodooHDAUserClient</string>
<key>NodesToPatch</key>
<array/>
<key>VoodooHDAVerboseLevel</key>
<integer>1</integer>
</dict>
<key>HDMI</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.VoodooHDA</string>
<key>IOClass</key>
<string>VoodooHDADevice</string>
<key>IOMatchCategory</key>
<string>VoodooHDADevice</string>
<key>IOPCIPrimaryMatch</key>
<string>0x033f1002</string> -- place here deviceID of your HDMI device on video card
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOUserClientClass</key>
<string>VoodooHDAUserClient</string>
<key>NodesToPatch</key>
<array/>
<key>VoodooHDAVerboseLevel</key>
<integer>1</integer>
</dict>
</dict>

5. Trick by Trauma
QUOTE
Set your SPDIF output to 16 bits 48Khz in audio midi configuration utility. It should do the trick. For some reason VoodooHDA sets SPDIF output to 32 bits 192Khz by default on my codec. SPDIF only supports up to 20 bits standard bit depth, and optionally 24 bits, and a max 96Khz sample frequency.

6. If you hear output sound in input channel (ordinary for Realtek chips), named Larsen effect, you can make karaoke biggrin.gif or exclude the effect by disabling input monitor. See discussion at post 490 and result in 496.
7. About multichannel read post #586 and discussins around.
8. If you have delays with sound look post 990.

Advantages vs AppleHDA
1. More easy to patch
2. More inputs/outputs working
3. VoodooHDA has no processing so sound is more native, more clear.

getDump utility
getExtDump as addition to getdump

Successful reports: jadran@post#10 with ALC888, me@post#13 with STAC9228, dong@post#23 with AD1981HD
Good tutorial from Sysyphus

17.09.2009
Click to view attachment
Click to view attachment

30.11.2009
I resolve the sleep issue.
Change log:
- no more sleep problem. Sound is good after wake.
- automatic change names while autodetect in Leo. Strange, but in Snow names will be changed only after close/open sound prefs.
- no kernel panic at start.
- corrected startup volumes
08.02.2010
AutumnRain made v254 with corrections to mixers.
New parameter in info.plist.
CODE
<key>NodesToPatch</key>
   <array>
       <dict>
          <key>Codec</key>
          <integer>0</integer>
          <key>Node</key>
          <integer>8</integer>
          <key>select</key>
          <integer>1</integer>
        
       </dict>
   </array>

Thus for node 8 will be connection 1 is default selected

03.03.2010
New parameter
CODE
<dict>
<key>Codec</key>
<integer>2</integer>
<key>Config</key>
<string>0x90a6e140</string>
<key>Node</key>
<integer>19</integer>
<key>SwitchCh</key>
<integer>1</integer>
-- I want to swap left and right channels at internal microphone
</dict>


17.04.2010
Change log:
- add support for more chipsets and codecs
- correct Input Monitor

24.04.2010
Some internal mistakes eliminated.
Click to view attachment
Click to view attachment
Click to view attachment

Corrections made by NachoMamaKid

25.09.2010
New version 271
Click to view attachment
Click to view attachment
Details.
Corrected v272 Attention! NodesToPatch in Info.plist here is only for sample.
You need to erase this sample or write something useful for you.
Click to view attachment
Click to view attachment

One more version can be found here with discussion for a what.

YOU NEED TO INSTALL PREF PANEL

Version 2.7.3 for Lion with correction to Mute Fix by VertexBZ here

11.11.11
Application to save/restore VoodooHDA settings by Talagan (reworked voodoohdahelper)
Click to view attachment
Detailes


Please report a bug if notice
fassl
Hey, i am the maintainer of that project, what do you need to know exactly? Basically you can make any modifications to it and if they could be useful for all please consider sending me the patch so i can commit it to the Google code trunk.

Cheers
Slice
EDITED 28-08-2009
Information below is for previous version.

What the kext do?
It reads information from its info.plist to change widgets properties.
Only written properties will be changed, all others remains as is.
If I wrote
CODE
                <dict>
                    <key>Node</key>
                    <integer>14</integer>
                    <key>Config</key>
                    <string>0x01811010</string>
                    <key>Type</key>
                    <integer>4</integer>
                    <key>Conns</key>
                    <integer>0</integer>
                </dict>
                <dict>
                    <key>Node</key>
                    <integer>15</integer>
                    <key>Config</key>
                    <string>0x01011050</string>
                    <key>Conns</key>
                    <integer>5</integer>
                    <key>Type</key>
                    <integer>4</integer>
                </dict>

It means that for Node 14 I will to change [PinDefault] to 0x01811010 (LineIn), Type of the Node will be 4 = PinComplex, and the node has no next connections.
Node 15 will be LineOut with one connection to Node 5.
And so on.

With this driver I got my Sigmatel9228 working with all outputs but I still have no internal mic while I have it with AppleHDA.
Solved!
Click to view attachment
cparm
well,

it seems that it's don't work for me or my values are incorrect, the more I inject values the less port are found

some thing i want to know it is if all value are decimal, or some are hex ??

and if the pinconfig are a moded, just like for applehda or if they are the original from the codec dump ?

ps: can you give your codec dump, maybe this will help me to understand, thanks
Slice
OK!
Look
code2.dump is original Ubuntu dump of codec address 2.
HDAdump is original VoodooHDA dump
HDAdump8 is VoodooHDA dump after my corrections.
Click to view attachment
I also introduce changing of Cap (pin.cap in sources) but still not used it.

Some strange observation.
In AppleHDA driver I got all output without nodes 16-4.
In VoodooHDA driver this chain give me new LineOut. It works!
Also AppleHDA maintains no more the 7 connectors in/out. VoodooHDA more!
You probably need to write good "conns" to make this driver working.
Slice
QUOTE (jadran @ Jun 25 2009, 12:32 PM) *
I have kernel panic with this kext.
Related to IOPCIFamily and AudioFamily kexts

With VoodooHDA from google code it works.

You are still lonely user with KP. I have no information to comment.

EDITED: Did you really try to use my NodesToPatche structure with your codec? Yes, it is wrong! My patches are reliable only for my codec.
Slice
I understand that the driver is very limited. It works only with LineOuts and External Microphones. No LineIn, no InternalMic, no HeadPhones. sad.gif
CODE
    direction = getEngineDirection();
    if (direction == kIOAudioStreamDirectionOutput) {
        usage = kIOAudioControlUsageOutput;
        initOssDev = SOUND_MIXER_VOLUME;
    }    
    else if (direction == kIOAudioStreamDirectionInput) {
        usage = kIOAudioControlUsageInput;
        initOssDev = SOUND_MIXER_MIC;
    }

Very bad. The program must be enhanced.
I need other devices
CODE
    static const int types[7][13] = {
        { SOUND_MIXER_LINE, SOUND_MIXER_LINE1, SOUND_MIXER_LINE2, SOUND_MIXER_LINE3, -1 },    /* line */
        { SOUND_MIXER_MONITOR, SOUND_MIXER_MIC, -1 }, /* int mic */
        { SOUND_MIXER_MIC, SOUND_MIXER_MONITOR, -1 }, /* ext mic */
        { SOUND_MIXER_CD, -1 },    /* cd */
        { SOUND_MIXER_SPEAKER, -1 },    /* speaker */
        { SOUND_MIXER_DIGITAL1, SOUND_MIXER_DIGITAL2, SOUND_MIXER_DIGITAL3, -1 },    /* digital */
        { SOUND_MIXER_LINE, SOUND_MIXER_LINE1, SOUND_MIXER_LINE2, SOUND_MIXER_LINE3,
          SOUND_MIXER_PHONEIN, SOUND_MIXER_PHONEOUT, SOUND_MIXER_VIDEO, SOUND_MIXER_RADIO,
          SOUND_MIXER_DIGITAL1, SOUND_MIXER_DIGITAL2, SOUND_MIXER_DIGITAL3,
          SOUND_MIXER_MONITOR, -1 }    /* others */
    };

QUOTE
Jun 28 19:34:34 localhost kernel[0]: Nid 8 nconns 1
Jun 28 19:34:34 localhost kernel[0]: Child Nid 28 bind 1 ossdev ffffffff oosmask 01000000 //SOUND_MIXER_MONITOR 24 /* Monitor (usually mic) volume */

Jun 28 19:34:34 localhost kernel[0]: warning: couldn't set recording source to microphone
Jun 28 19:34:34 localhost kernel[0]: Nid 9 nconns 1
Jun 28 19:34:34 localhost kernel[0]: Child Nid 29 bind 5 ossdev ffffffff oosmask 00000100 //SOUND_MIXER_IMIX 9 /* Recording monitor. It controls the output volume of the selected recording sources while recording */
Jun 28 19:34:34 localhost kernel[0]: warning: couldn't set recording source to microphone

It is not warning. It is terrible.
jadran
QUOTE (Slice @ Jun 30 2009, 08:11 AM) *
Lol!
Did you change VoodooHDA/info.plist before installing?

Mine mistake... works

EDIT:
Well with no patching I get one output working (Headphones) on ALC888 EP35-DS3L

With patching:
If U don't add the Pin Config for every VHDevice U will start loose your inputs/outputs because driver is auto creating Config for other VHDevices and if two last digits are the same U will loose that two outputs/inputs. So last two digits in Config must be like in AppleHDA(so max 9 devices)

So for VHDevices I was not using I added Config=40f000f0 so that VHDevices got DISABLED (for others took from linux codec dump.)
Got: Headphones, 3 LIne Out ports/Line In, Mic all works
I have SPDIF Out listed but of course it is not working.
Slice
Could you show us your final info.plist?
jadran
QUOTE (Slice @ Jul 8 2009, 02:17 PM) *
Could you show us your final info.plist?

OK...
Click to view attachment
Click to view attachment
Click to view attachment

Inside the zip U have two Info.plist files

1. with ConfigData for devices like in linux codec dump:
that gave me 3 Line Out/SPDIF Out - Mic/Line In (Other devices I disabled with Config=0x40f000f0)

2. with mine modifications for naming that 3 Line Out ports, so now I have
Headphones/Speaker/Line Out/SPDIF Out - Mic/Line In

I did a modification to Line Out so I can easily see a diff when using one of them in Sound Pref

Modification for naming is done pretty simply:
Config=0x01(0)14430 -> Line Out
Config=0x01(2)14430 -> Headphones

Numbers by Devices are:
0 - Line Out
1 - Speaker
2 - Headphones
4 - SPDIF Out
8 - Line In
9 - AUX
A - Mic In
C - SPDIF In
D - Digital Other In
F - Other

Now mine VoodooHDA has the same outputs like patched AppleHDA just SPDIF is not working.

VoodooHDA is connecting nodes just like ALSA, and that is good for Laptops because U have auto switching of Headphones/Speaker

Config=0x011144(30) -> Speaker
Config=0x012144(31) -> Headphones

but for Desktops on Rear Panel is good to have them separately coz U can use agregate devices and make 5.1 or any other sound config, and Config for Desktops should be:

Config=0x011144(30) -> Speaker
Config=0x012144(40) -> Headphones

Witch gives us max 9 devices in OS X
P.S: U can look inside VoodooNIDS.txt file to know what I am talking about

Auto switching for desktops is useful when it is added for External Front devices (onboard pins) if your PC case have them.
So If U look inside mine ALC888 codec dump from Linux U can see Node 0x1b with Pin Default 0x02214c20
This is an External front HeadPhones We can find on motherboard pins

For Rear Headphones I made Config: 0x01214430
so we change two last digits to 0x02214c(31), and we have switching from Rear Headphones to Front Headphones


Slice
If it is final result you can change
CODE
            <key>VoodooHDAVerboseLevel</key>
            <integer>1</integer>

to zero to have no debug messages in system.log

I am not sure that it is mistake
CODE
                    <key>Config</key>
                    <string>0x14B6160</string>

It must be 0x014B6160 - eight digits. Your SPDIF doesn't work?
jadran
QUOTE (Slice @ Jul 9 2009, 01:03 PM) *
I am not sure that it is mistake
CODE
                    <key>Config</key>
                    <string>0x14B6160</string>

It must be 0x014B6160 - eight digits. Your SPDIF doesn't work?


Yea... mistake. I will test when I came home. Thx for debug info.

And one thing, basically auto switching for desktops is useful when it is added for External Front devices (onboard pins) if your PC case have them :-)
Slice
The topic updated. Now I have fully working VoodoHDA with my Sigmatel 9228.
Click to view attachment Click to view attachment Click to view attachment
This is my info.plist
CODE
            <string>VoodooHDAUserClient</string>
            <key>NodesToPatch</key>
            <array>
                <dict>
                    <key>Codec</key>
                    <integer>2</integer>  -- codec address 2
                    <key>Node</key>
                    <integer>19</integer>  -- node 19 (decimal digits)
                    <key>Config</key>
                    <string>0x90a60150</string> -- PinConfig patched
                </dict>
                <dict>
                    <key>Codec</key>
                    <integer>2</integer>  -- codec address 2
                    <key>Node</key>
                    <integer>12</integer>  -- node 12 (decimal digits)
                    <key>Config</key>
                    <string>0x90a79140</string> -- PinConfig patched
                </dict>
            </array>

Thus I have two internal microphones
node 19 - 0x90a60150 - Internal Digital at group 5 (stereo)
node 12 - 0x90a79140 - Internal Analog at group 4 (mono)
The digital has low sensitivity but it also works.
Nemes
Thanks to your modified Voodoo kext, I've managed to get audio output working on my AD2000B.smile.gif But audio input is a mess. On any audio input device (front/rear mic, or line-in) I'm basically getting what sounds like digital noise. The labels match the codec dump, and I've taken the liberty of disabling all device nodes that aren't the ones I need, so I'm not sure what's going on as it should be working. Would you have any useful insight on the matter?

The info.plist I'm trying to use:
CODE
<string>VoodooHDAUserClient</string>
            <key>NodesToPatch</key>
            <array>
                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>17</integer>
                </dict>
                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>22</integer>
                </dict>
                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>27</integer>
                </dict>
                                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>28</integer>
                </dict>
                                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>29</integer>
                </dict>
                                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>36</integer>
                </dict>
                                <dict>
                    <key>Config</key>
                    <string>0x40f000f0</string>
                    <key>Node</key>
                    <integer>37</integer>
                </dict>
                <dict>
                    <key>Codec</key>
                    <integer>0</integer>
                    <key>Node</key>
                    <integer>18</integer>
                    <key>Config</key>
                    <string>0x01014010</string>
                </dict>
                <dict>
                    <key>Codec</key>
                    <integer>0</integer>
                    <key>Node</key>
                    <integer>23</integer>
                    <key>Config</key>
                    <string>0x01a19020</string>
                </dict>
                            <dict>
                    <key>Config</key>
                    <string>0x02a19030</string>
                    <key>Node</key>
                    <integer>20</integer>
                </dict>
                            <dict>
                    <key>Config</key>
                    <string>0x01813040</string>
                    <key>Node</key>
                    <integer>21</integer>
                </dict>
And the codec dump: Click to view attachment
Slice
Please make a VoodooHDA dump
getdump >AD2000dump.txt
It contains more information then Linux dump.
As I see you make all Mics in different groups. It is good but CDin at node 24 sits also in group 2.
I want to look chains in your dump.
Don't need to disable outputs if you test microphones.
18seven
Thanks slice. I have tried this on my wind. Codec: Realtek ALC1200, Vendor Id: 0x10ec0888 (I am not sure what is up with that but my comprehension of audio is vague at best). I lost headphone/speaker auto-switching so I tried patching the plist. Currently working mic, speaker and headphones, manual switching, under "unknown" in my sound prefs. When I enable my line-in I loose mic. I provided a voodooHDA dump below.

Click to view attachment
Slice
QUOTE (18seven @ Sep 1 2009, 10:20 PM) *
Thanks slice. I have tried this on my wind. Codec: Realtek ALC1200, Vendor Id: 0x10ec0888 (I am not sure what is up with that but my comprehension of audio is vague at best). I lost headphone/speaker auto-switching so I tried patching the plist. Currently working mic, speaker and headphones, manual switching, under "unknown" in my sound prefs. When I enable my line-in I loose mic. I provided a voodooHDA dump below.

At the current version of VoodooHDA (I think it is not final) we have no input source autodetect.
As you have internal microphone and jack at the same group it is a problem for the driver.
CODE
Record:

    nid=8 [audio input]
      |
      + <- nid=35 [audio mixer] [src: speaker, mic, mix, monitor]
             |
             + <- nid=24 [pin: Microphone (Pink Jack)] [src: mic]
             + <- nid=25 [pin: Microphone (Fixed)] [src: monitor]
             + <- nid=29 [pin: Speaker (None)] [src: speaker]
             + <- nid=11 [audio mixer] [src: mix]

Input Mix:

    nid=11 [audio mixer]
      |
      + <- nid=24 [pin: Microphone (Pink Jack)] [src: mic]
      + <- nid=25 [pin: Microphone (Fixed)] [src: monitor]
      + <- nid=29 [pin: Speaker (None)] [src: speaker]

Try to make nid 24 and 25 to be in different group. But I don't know what to do with mixer nid 11. Disable mic connections?
<key>conns</key>
<integer>29</integer>
Not sure.
Slice
18seven
This is your dump
CODE
nid 25 0x99a3092f as  2 seq 15    Microphone Fixed jack  3 loc 25 color Unknown misc 9

Look updated topic
18seven
QUOTE (Slice @ Sep 2 2009, 02:14 AM) *
18seven
This is your dump
CODE
nid 25 0x99a3092f as  2 seq 15    Microphone Fixed jack  3 loc 25 color Unknown misc 9

Look updated topic


Thanks Slice, I'll check this out l8r when I am home and report back.
yeehaa
QUOTE (18seven @ Sep 2 2009, 04:34 PM) *
Thanks Slice, I'll check this out l8r when I am home and report back.


@slice: a "small" help? smile.gif
I used to have a patched AppleHDA from 10.5.6 which had an altogether different pinconfig than from the dump i got from linux or vista. but, it used to work and so i did not do much research.
but now in snow, i tried this voodooHDA as applehda always panic.
attached is my dump using the getdump utility along with the plist i made.

Now my problem: the internal mic does not show up (and no mute. this is ok)
I have 2 items in sound output pref panel: Speakers (which switch with the headfone jack) and Digital out
I only have one input: External Mic.

i tried pin config from the dump (0x95a6912e), manually found one (0xb7a6912e) from the pin config guides and also from the old patched AppleHDA (0x90a60370). they are all not working. the int mic never show up. any help?

Click to view attachment
Click to view attachment
Slice
QUOTE (yeehaa @ Sep 2 2009, 09:17 PM) *
@slice: a "small" help? smile.gif
I used to have a patched AppleHDA from 10.5.6 which had an altogether different pinconfig than from the dump i got from linux or vista. but, it used to work and so i did not do much research.
but now in snow, i tried this voodooHDA as applehda always panic.
attached is my dump using the getdump utility along with the plist i made.

Now my problem: the internal mic does not show up (and no mute. this is ok)
I have 2 items in sound output pref panel: Speakers (which switch with the headfone jack) and Digital out
I only have one input: External Mic.

i tried pin config from the dump (0x95a6912e), manually found one (0xb7a6912e) from the pin config guides and also from the old patched AppleHDA (0x90a60370). they are all not working. the int mic never show up. any help?

As I see you have input pins 11, 12 and 14
11 is an external microphone, 12,14 - undefined
you may patch Node 12 as 0x90a70330 - Internal Analog Microphone at group 3.
yeehaa
QUOTE (Slice @ Sep 2 2009, 06:59 PM) *
As I see you have input pins 11, 12 and 14
11 is an external microphone, 12,14 - undefined
you may patch Node 12 as 0x90a70330 - Internal Analog Microphone at group 3.


tried 12. no go! trace didn find anything.
so went to node 25 (the current int mic is at 24) and dissociated 24. now the trace works and the int mic shows up in sound pref pane!! atlast!! but the input level does not move (stuck in the middle)and no sound when i tried recording. adjusting the recording level in the voodoo pref pane also did not help. attaching the latest dump, voodoo plist and a screen grab of the sound pref pane. thanks in advance

Click to view attachment
Click to view attachment
Click to view attachment

PS: still trying to make sense out of the russian thread thro' google translate! smile.gif

EDIT:

the node 25 patch seems not to stick over reboot. i need to manually load-unload voodoo for the int mic to show up. weird!
dong
Thanks. Now microphone works with AD1981HD on my T60.

As Slice suggested, I added below Pin Configs to plist and it just works.
CODE
            <key>NodesToPatch</key>
            <array>
                <dict>
                    <key>Node</key>
                    <integer>8</integer>
                    <key>Config</key>
                    <string>0x90a75130</string>
                </dict>
                <dict>
                    <key>Node</key>
                    <integer>25</integer>
                    <key>Config</key>
                    <string>0x993301f0</string>
                </dict>
            </array>


I now wonder how you figure out it should be 0x90a75130, instead of the linux dump 0xc3a1502e for Node 8. The two Configs are quite different.
yeehaa
QUOTE (dong @ Sep 2 2009, 11:22 PM) *
Thanks. Now microphone works with AD1981HD on my T60.

As Slice suggested, I added below Pin Configs to plist and it just works.
CODE
            <key>NodesToPatch</key>
            <array>
                <dict>
                    <key>Node</key>
                    <integer>8</integer>
                    <key>Config</key>
                    <string>0x90a75130</string>
                </dict>
                <dict>
                    <key>Node</key>
                    <integer>25</integer>
                    <key>Config</key>
                    <string>0x993301f0</string>
                </dict>
            </array>


I now wonder how you figure out it should be 0x90a75130, instead of the linux dump 0xc3a1502e for Node 8. The two Configs are quite different.


@dong: you can easily figure it out from the awesome tutorial by theKing on this forum
http://www.projectosx.com/forum/index.php?showtopic=465

and btw, thanks for the voodoo 32/64 snow prefpane smile.gif
Slice
QUOTE (yeehaa @ Sep 3 2009, 12:46 AM) *
tried 12. no go! trace didn find anything.
so went to node 25 (the current int mic is at 24) and dissociated 24. now the trace works and the int mic shows up in sound pref pane!! atlast!! but the input level does not move (stuck in the middle)and no sound when i tried recording. adjusting the recording level in the voodoo pref pane also did not help. attaching the latest dump, voodoo plist and a screen grab of the sound pref pane. thanks in advance

PS: still trying to make sense out of the russian thread thro' google translate! smile.gif

EDIT:

the node 25 patch seems not to stick over reboot. i need to manually load-unload voodoo for the int mic to show up. weird!

I'll take a look. No comment for now.

QUOTE (dong @ Sep 3 2009, 02:22 AM) *
Thanks. Now microphone works with AD1981HD on my T60.

I now wonder how you figure out it should be 0x90a75130, instead of the linux dump 0xc3a1502e for Node 8. The two Configs are quite different.

I know that I need to write tutorial "How to choose a patch for VoodooHDA" but the work is not finished.
Dong, I know you are programmer. Can you make VoodooHDA.prefPane with saving parameters? (open file at start and save at finish). Leo and Snow versions.
dong
QUOTE (Slice @ Sep 3 2009, 02:08 AM) *
Dong, I know you are programmer. Can you make VoodooHDA.prefPane with saving parameters? (open file at start and save at finish). Leo and Snow versions.

There is no obvious way to do what you want. The prefPane only run when you click it or invoked by voodoohdahelper.
Actually the driver should remember the settings by itself. The prefPane read the old settings out from driver and set them back to driver when user makes changes. However, we also have no idea how the driver save the settings. OSX save settings somewhere for its native prefPanes like display, sound, etc. I never found out where the display settings are saved.
And I'm not quite clear how these settings are restored during boot time.
Slice
QUOTE (dong @ Sep 3 2009, 07:03 PM) *
There is no obvious way to do what you want. The prefPane only run when you click it or invoked by voodoohdahelper.
Actually the driver should remember the settings by itself. The prefPane read the old settings out from driver and set them back to driver when user makes changes. However, we also have no idea how the driver save the settings. OSX save settings somewhere for its native prefPanes like display, sound, etc. I never found out where they are saved.

I think no.
prefPane run always without any click and helper. First time you click it installs into Control Panels.
Driver can't write to disk because it works before mounting file system.
So the only way is to write preference file from control panel.
What I found in /Library/Preferencies
Click to view attachment
Other file is
~/Library/Preferencies/VoodooHDA.settings
Who created it?
dong
QUOTE (Slice @ Sep 3 2009, 12:58 PM) *
I think no.
prefPane run always without any click and helper. First time you click it installs into Control Panels.
Driver can't write to disk because it works before mounting file system.
So the only way is to write preference file from control panel.
What I found in /Library/Preferencies
Click to view attachment
Other file is
~/Library/Preferencies/VoodooHDA.settings
Who created it?

Sorry that I did not check for file:com.apple.audio.DeviceSettings.plist. My conclusion actually came from my messing with display settings.
By some mechanism, all the apple's native settings get read and applied to corresponding hardware driver during boot time. For example, if you changed resolution in display preference, the system (WindowServer?) will issue a switch resolution request to the framebuffer driver accordingly during next boot. For audio settings in sound preference, I guess CoreAudioD does this job.
I looked carefully in apple's documents, but did not find a way to implement the same behavior for setting custom properties of a driver during boot time.
If you check the source code of voodooPS2/voodooHDA prefPanes, they read the initial settings from the driver. Upon user makes any changes, they set the values back to the driver and save them to ~/Library/Preferencies/. Yes, you can let prefPane read settings from ~/Library/Preferencies/ instead, but how could you let it do this automatically during boot time?
voodoohdahelper actually does not invoke prefPane, it reads the settings and applys them to the driver. If put it in login startup items, it does the job of what we want but not so gracefully like apple's way.
Slice
I understand you but...
Look into driver VoodooHDA. It exchanges information with prefPane even thou we don't open Control Panels. Some part of tuning located elsewhere? CoreAudio may be. IOAudioFamily.kext may be. Deep theory.
dong
QUOTE (Slice @ Sep 3 2009, 05:24 PM) *
Look into driver VoodooHDA. It exchanges information with prefPane even thou we don't open Control Panels.
Anywhere VoodooHDA initiates the communication with prefPane? Could you point it out? It does maintain a memory buffer that contains all the updated custom properties info in it, but only provider them when prefPane ask for it.

I have wished that AudioDriverPlugIn will do the job. But after reading this, this and this, It turns out that AudioDriverPlugIn is to be used when you have other applications that need to read/set custom properties of audio driver through the CoreAudio HAL. It basically does the same thing as IOUserClient stuff but responses to HAL only.
Could not find anything better than voodoohdahelper.
Slice
QUOTE (dong @ Sep 4 2009, 03:00 AM) *
Anywhere VoodooHDA initiates the communication with prefPane? Could you point it out? It does maintain a memory buffer that contains all the updated custom properties info in it, but only provider them when prefPane ask for it.

I have wished that AudioDriverPlugIn will do the job. But after reading this, this and this, It turns out that AudioDriverPlugIn is to be used when you have other applications that need to read/set custom properties of audio driver through the CoreAudio HAL. It basically does the same thing as IOUserClient stuff but responses to HAL only.
Could not find anything better than voodoohdahelper.

dong, how Framebuffer driver knows custom resolution at the start of system? Before System Preferencies is opened. If no "GraphicsMode" in boot.plist.
What is the influence of Apple MIDI Setup? It saves parameters too.

Could you write graphic interface to voodoohdahelper?
youminbuluo
my mic does not work
both internal speaker and headphone wok prefect with autodetecting
i've tried various ways to get my mic wok but failed.
i have read a lot about how to patch applehda (the tutorial by King and some other's )




Click to view attachment
Click to view attachment

this is my linux dump from ubuntu 9.04
Click to view attachment

something done by the King's post
http://www.projectosx.com/forum/index.php?showtopic=465

Click to view attachment
Click to view attachment
and also the graph
Click to view attachment


PinConfig from Win7
<01071C10 01071D01 01071E17 01071F92 01171C0F 01171D01 01171E01 01171F40 01271C2E 01271D90 01271EA1 01271F03 01371CF0 01371D01 01371E00 01371F40 01471C20 01471D01 01471EA7 01471F97 01571CF0 01571D01 01571E00 01571F40>


and following the King's post,i can only manually figure out three possible path
26<-23<-20:Mic at Int Riser
26<-23<-18:Mic at Ext Left

16<-23<-25:Stereo R/Left(may be it is output)
Slice
QUOTE (youminbuluo @ Sep 4 2009, 09:08 AM) *
my mic does not work
both internal speaker and headphone wok prefect with autodetecting
i've tried various ways to get my mic wok but failed.
i have read a lot about how to patch applehda (the tutorial by King and some other's )

26<-23<-20:Mic at Int Riser
26<-23<-18:Mic at Ext Left

16<-23<-25:Stereo R/Left(may be it is output)

Yes, I understand your problem.
Your codec has only one ADC at node 26. So you can use onle one microphone with this version of VoodooHDA (0.2.35).
Sorry, we are working to make autodetect between microphones. Wait for new version.
Slice
dong, I found SamplePCIAudioDriver
CODE
// Config a map for the PCI config base registers
// We need to keep this map around until we're done accessing the registers
deviceMap = pciDevice->mapDeviceMemoryWithRegister(kIOPCIConfigBaseAddress0);
if (!deviceMap) {
goto Done;
}

// Get the virtual address for the registers - mapped in the kernel address space
deviceRegisters = (SamplePCIAudioDeviceRegisters *)deviceMap->getVirtualAddress();
.....
// Init the new audio engine with the device registers so it can access them if necessary
// The audio engine subclass could be defined to take any number of parameters for its
// initialization - use it like a constructor
if (!audioEngine->init(deviceRegisters)) {
goto Done;
}

// Create a left & right output volume control with an int range from 0 to 65535
// and a db range from -22.5 to 0.0
// Once each control is added to the audio engine, they should be released
// so that when the audio engine is done with them, they get freed properly
control = IOAudioLevelControl::createVolumeControl(65535, // Initial value



This memory is used for HDA control but may be there is a volume settings that saved during restart?
P.S. Didn't find any scratch registers here.
youminbuluo
QUOTE (Slice @ Sep 4 2009, 07:04 AM) *
Yes, I understand your problem.
Your codec has only one ADC at node 26. So you can use onle one microphone with this version of VoodooHDA (0.2.35).
Sorry, we are working to make autodetect between microphones. Wait for new version.


Thanks
my internal mic doesn't work
and i can't find a external mic now~~~
dong
QUOTE (Slice @ Sep 4 2009, 02:00 AM) *
dong, how Framebuffer driver knows custom resolution at the start of system? Before System Preferencies is opened. If no "GraphicsMode" in boot.plist.
What is the influence of Apple MIDI Setup? It saves parameters too.
Could you write graphic interface to voodoohdahelper?

dong, I found SamplePCIAudioDriver
This memory is used for HDA control but may be there is a volume settings that saved during restart?
P.S. Didn't find any scratch registers here.


Slice, like I mentioned, the framebuffer driver don't know the custom resolution, it just received a request to switch resolution from the operating system right after user login, that means the display manager saves the settings and set them to driver upon boot. On genuine Mac, the custom resolution is also saved to NVRAM, thus framebuffer driver has set the resolution before the system request and simply return a success upon the request is received since nothing need to be change.
I believe the same thing happened to Sound Preference and Apple MIDI Setup. All are done behind the scene since they are parts of the OSX system.

As for the SamplePCIAudioDriver, the init function is not the place to initiate all the settings we concerned but some hardware specific stuff I think.

But I'm now think of using AudioDriverPlugIn to do the job. My idea is that if we force CoreAudio HAL to use the PlugIn to read/set even native audio properties like volume/mute, then the PlugIn has a chance to be loaded at boot time since the system need set volume/mute settings at boot. We can let PlugIn load our settings beforehand. I will test this idea to see.
Slice
Great idea!

One another thought. AppleHDA has only one setting for the microphone - Input Volume. And system remembers this setting.
May be we can read this setting by VoodooHDA at start and then use it for VoodooHDA.prefPane?
joe75
vhda prepane needs to write a .plist to ~/Library/Preferences/ByHost/ to be saved and used, no ?
dong
QUOTE (Slice @ Sep 4 2009, 08:15 AM) *
One another thought. AppleHDA has only one setting for the microphone - Input Volume. And system remembers this setting.
May be we can read this setting by VoodooHDA at start and then use it for VoodooHDA.prefPane?

My idea is not correct. I found no way to force HAL to use my PlugIn to handle all properties.The properties of Master Volume/Mute/Input Volume in Sound Preference and AudioMidiSetup are always handled by HAL directly. PlugIn only get loaded when other properties are involved. For example, iTunes may ask for some of the special properties. If I launch iTunes, my PlugIn is loaded and really restores the PrefPane settings as expected.
The microphone - Input Volume in Sound Preference corresponds to "Mic" in PrefPane, which is not an enabled option in my case of AD1981HD on T60. It actually functions like a on/off switch in Sound preference, the specific value has no effect on recording.

QUOTE (joe75 @ Sep 6 2009, 02:11 PM) *
vhda prepane needs to write a .plist to ~/Library/Preferences/ByHost/ to be saved and used, no ?

It did write a file there. So voodoohdahelper (in startup item) is still the only way to restore settings.
Gringo Vermelho
QUOTE (Slice @ Sep 1 2009, 02:06 PM) *
Please make a VoodooHDA dump
getdump >AD2000dump.txt


If you are still interested, here's a dump from my AD2000B on ASUS P5Q-E.
Click to view attachment
gbonilla
What VoodooHDAHelper are you guys using? Cause when I run any others I get

settings file path: /Users/Genaro/Library/Preferences/VoodooHDA.settings
error: couldn't find settings file
error: can't read settings
logout

I'm a bit puzzled as to why it isn't working? Any ideas?
Slice
I created new version. See updated topic.
Testing needed.
Aditya Xavier
QUOTE (Slice @ Sep 17 2009, 12:56 PM) *
I created new version. See updated topic.
Testing needed.


Hi Slice,

I just tested the updated kext... I also used the modified plist which i have attached.. still am able to only see the following in the Voodoo Preference Pane but not in Sound Preference..

getdump log...
CODE
Found a device of class VoodooHDADevice: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B/VoodooHDADevice


Probing codec #0...
HDA Codec #0: Analog Devices AD1981HD
HDA Codec ID: 0x11d41981
Vendor: 0x11d4
Device: 0x1981
Revision: 0x02
Stepping: 0x00
PCI Subvendor: 0x201017aa
startNode=1 endNode=2
Found audio FG nid=1 startNode=2 endNode=32 total=30

Processing audio FG cad=0 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
GHOST: nid=2 j=0 entnum=4 index=0 res=0x00000401
nid 5 0xc3014110 as 1 seq 0 Line-out Both jack 1 loc 3 color Green misc 1
nid 6 0x422140f0 as 15 seq 0 Headphones None jack 1 loc 2 color Green misc 0
nid 7 0x591311f0 as 15 seq 0 Speaker None jack 3 loc 25 color Black misc 1
nid 8 0xc3a1502e as 2 seq 14 Microphone Both jack 1 loc 3 color Red misc 0
nid 9 0x418130f0 as 15 seq 0 Line-in None jack 1 loc 1 color Blue misc 0
nid 10 0x014411f0 as 15 seq 0 SPDIF-out Jack jack 4 loc 1 color Black misc 1
nid 22 0x59f311f0 as 15 seq 0 Other None jack 3 loc 25 color Black misc 1
nid 23 0x599311f0 as 15 seq 0 AUX None jack 3 loc 25 color Black misc 1
nid 24 0x41a190f0 as 15 seq 0 Microphone None jack 1 loc 1 color Pink misc 0
nid 25 0x9933e120 as 2 seq 0 CD Fixed jack 3 loc 25 color White misc 1
Parsing vendor patch...
VHDevice NID=2 Config=00000000 Type=00000000 Cap=00000000 Ctrl=00000000 -- Conns: 0=1 1=4
VHDevice NID=3 Config=00000000 Type=00000000 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=4 Config=00000000 Type=00000001 Cap=00000000 Ctrl=00000000 -- Conns: 0=21
VHDevice NID=5 Config=c3014110 Type=00000004 Cap=0001173f Ctrl=00000040 -- Conns: 0=3 1=14
VHDevice NID=6 Config=41214090 Type=00000004 Cap=0000001f Ctrl=00000040 -- Conns: 0=3 1=14
VHDevice NID=7 Config=99131130 Type=00000004 Cap=00000010 Ctrl=00000040 -- Conns: 0=15
VHDevice NID=8 Config=90a15020 Type=00000004 Cap=00001727 Ctrl=00000020 -- Conns:
VHDevice NID=9 Config=01813040 Type=00000004 Cap=00001737 Ctrl=00000020 -- Conns: 0=3 1=14
VHDevice NID=10 Config=01441050 Type=00000004 Cap=00000010 Ctrl=00000040 -- Conns: 0=2
VHDevice NID=11 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=3 1=12 2=9 3=14 4=5 5=24
VHDevice NID=12 Config=00000000 Type=00000002 Cap=00000000 Ctrl=00000000 -- Conns: 0=30 1=31
VHDevice NID=13 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=16 1=22
VHDevice NID=14 Config=00000000 Type=00000002 Cap=00000000 Ctrl=00000000 -- Conns: 0=13 1=17 2=18 3=19 4=26 5=27 6=28 7=29
VHDevice NID=15 Config=00000000 Type=00000002 Cap=00000000 Ctrl=00000000 -- Conns: 0=11
VHDevice NID=16 Config=00000000 Type=00000007 Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=17 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=3
VHDevice NID=18 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=8
VHDevice NID=19 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=9
VHDevice NID=20 Config=00000000 Type=00000005 Cap=00000000 Ctrl=00000000 -- Conns: 0=13 1=14 2=15 3=16 4=19 5=20 6=21 7=22 8=23 9=24 10=25 11=26 12=29
VHDevice NID=21 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=12 1=9 2=14 3=15 4=25 5=5 6=24 7=23
VHDevice NID=22 Config=99a31160 Type=00000004 Cap=00000020 Ctrl=00000020 -- Conns:
VHDevice NID=23 Config=09991570 Type=00000004 Cap=00000027 Ctrl=00000020 -- Conns:
VHDevice NID=24 Config=01a19080 Type=00000004 Cap=00001737 Ctrl=00000020 -- Conns: 0=3 1=14
VHDevice NID=25 Config=9933e120 Type=00000004 Cap=00000020 Ctrl=00000020 -- Conns:
VHDevice NID=26 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=5
VHDevice NID=27 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=23
VHDevice NID=28 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=24
VHDevice NID=29 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=25
VHDevice NID=30 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=8
VHDevice NID=31 Config=00000000 Type=00000003 Cap=00000000 Ctrl=00000000 -- Conns: 0=24
Parsing Ctls...
Disabling nonaudio...
Disabling nid 20 due to it's non-audio type.
Disabling useless...
Disabling pin nid 6 due to None connectivity.
Disabling control 3 nid 6 cnid -1 due to disabled widget.
Disabling nid 2 connection 0 due to disabled child widget.
Patched pins configuration:
nid 5 0xc3014110 as 1 seq 0 Line-out Both jack 1 loc 3 color Green misc 1
nid 6 0x41214090 as 9 seq 0 Headphones None jack 1 loc 1 color Green misc 0 [DISABLED]
nid 7 0x99131130 as 3 seq 0 Speaker Fixed jack 3 loc 25 color Black misc 1
nid 8 0x90a15020 as 2 seq 0 Microphone Fixed jack 1 loc 16 color Red misc 0
nid 9 0x01813040 as 4 seq 0 Line-in Jack jack 1 loc 1 color Blue misc 0
nid 10 0x01441050 as 5 seq 0 SPDIF-out Jack jack 4 loc 1 color Black misc 0
nid 22 0x99a31160 as 6 seq 0 Microphone Fixed jack 3 loc 25 color Black misc 1
nid 23 0x09991570 as 7 seq 0 AUX Jack jack 9 loc 9 color Black misc 5
nid 24 0x01a19080 as 8 seq 0 Microphone Jack jack 1 loc 1 color Pink misc 0
nid 25 0x9933e120 as 2 seq 0 CD Fixed jack 3 loc 25 color White misc 1
Parsing pin associations...
Duplicate pin 0 (25) in association 2! Disabling association.
8 associations found:
Association 0 (1) out:
Pin nid=5 seq=0
Association 1 (2) in (disabled):
Pin nid=25 seq=0
Association 2 (3) out:
Pin nid=7 seq=0
Association 3 (4) in:
Pin nid=9 seq=0
Association 4 (5) out:
Pin nid=10 seq=0
Association 5 (6) in:
Pin nid=22 seq=0
Association 6 (7) in:
Pin nid=23 seq=0
Association 7 (8) in:
Pin nid=24 seq=0
Building AFG tree...
Tracing association 0 (1)
Tracing pin 5 with min nid 0
tracing via nid 5
tracing via nid 3
nid 3 returned 3
tracing via nid 14
tracing via nid 13
tracing via nid 16
nid 16 returned 0
tracing via nid 22
nid 22 returned 0
nid 13 returned 0
tracing via nid 17
tracing via nid 3
nid 3 returned 3
nid 17 returned 3
tracing via nid 18
tracing via nid 8
nid 8 returned 0
nid 18 returned 0
tracing via nid 19
tracing via nid 9
nid 9 returned 0
nid 19 returned 0
tracing via nid 26
tracing via nid 5
nid 5 returned 0
nid 26 returned 0
tracing via nid 27
tracing via nid 23
nid 23 returned 0
nid 27 returned 0
tracing via nid 28
tracing via nid 24
nid 24 returned 0
nid 28 returned 0
tracing via nid 29
tracing via nid 25
nid 25 returned 0
nid 29 returned 0
nid 14 returned 3
nid 5 returned 3
Pin 5 traced to DAC 3
Association 0 (1) trace succeeded
Tracing association 2 (3)
Tracing pin 7 with min nid 0
tracing via nid 7
tracing via nid 15
tracing via nid 11
tracing via nid 3
nid 3 busy by association 0
tracing via nid 12
tracing via nid 30
tracing via nid 8
nid 8 returned 0
nid 30 returned 0
tracing via nid 31
tracing via nid 24
nid 24 returned 0
nid 31 returned 0
nid 12 returned 0
tracing via nid 9
nid 9 returned 0
tracing via nid 14
tracing via nid 13
tracing via nid 16
nid 16 returned 0
tracing via nid 22
nid 22 returned 0
nid 13 returned 0
tracing via nid 17
tracing via nid 3
nid 3 busy by association 0
nid 17 returned 0
tracing via nid 18
tracing via nid 8
nid 8 returned 0
nid 18 returned 0
tracing via nid 19
tracing via nid 9
nid 9 returned 0
nid 19 returned 0
tracing via nid 26
tracing via nid 5
nid 5 busy by association 0
nid 26 returned 0
tracing via nid 27
tracing via nid 23
nid 23 returned 0
nid 27 returned 0
tracing via nid 28
tracing via nid 24
nid 24 returned 0
nid 28 returned 0
tracing via nid 29
tracing via nid 25
nid 25 returned 0
nid 29 returned 0
nid 14 returned 0
tracing via nid 5
nid 5 busy by association 0
tracing via nid 24
nid 24 returned 0
nid 11 returned 0
nid 15 returned 0
nid 7 returned 0
Unable to trace pin 7 seq 0 with min nid 0
Association 2 (3) trace failed
Tracing association 3 (4)
Tracing pin 9 to ADC 4
tracing via nid 9
tracing via nid 11
tracing via nid 15
tracing via nid 7
nid 7 returned 0
tracing via nid 21
tracing via nid 4
nid 4 returned 1
nid 21 returned 1
nid 15 returned 1
nid 11 returned 1
tracing via nid 19
tracing via nid 14
tracing via nid 5
nid 5 busy by association 0
tracing via nid 9
nid 9 returned 0
tracing via nid 11
tracing via nid 15
tracing via nid 7
nid 7 returned 0
tracing via nid 21
tracing via nid 4
nid 4 returned 1
nid 21 returned 1
nid 15 returned 1
nid 11 returned 1
tracing via nid 21
tracing via nid 4
nid 4 returned 1
nid 21 returned 1
tracing via nid 24
nid 24 returned 0
nid 14 returned 1
nid 19 returned 1
tracing via nid 21
tracing via nid 4
nid 4 returned 1
nid 21 returned 1
nid 9 returned 1
Pin 9 traced to ADC 4
Association 3 (4) trace succeeded
Tracing association 4 (5)
Tracing pin 10 with min nid 0
tracing via nid 10
tracing via nid 2
nid 2 returned 2
nid 10 returned 2
Pin 10 traced to DAC 2
Association 4 (5) trace succeeded
Tracing association 5 (6)
Association 5 (6) trace failed
Tracing association 6 (7)
Association 6 (7) trace failed
Tracing association 7 (8)
Association 7 (8) trace failed
Tracing input monitor
Tracing nid 14 to out
tracing via nid 14
tracing via nid 5
nid 5 found output association 0
tracing via nid 9
nid 9 busy by input association 3
tracing via nid 11
nid 11 busy by input association 3
tracing via nid 21
nid 21 busy by input association 3
tracing via nid 24
nid 24 returned 0
nid 14 returned 1
Tracing nid 15 to out
tracing via nid 15
tracing via nid 7
nid 7 returned 0
tracing via nid 21
nid 21 busy by input association 3
nid 15 returned 0
Tracing beeper
Tracing nid 16 to out
tracing via nid 16
tracing via nid 13
tracing via nid 14
nid 14 found output association -2
nid 13 returned 1
nid 16 returned 1
nid 16 traced to out
Disabling unassociated widgets...
Disabling unassociated nid 7.
Disabling unassociated nid 8.
Disabling unassociated nid 12.
Disabling unassociated nid 17.
Disabling unassociated nid 18.
Disabling unassociated nid 22.
Disabling unassociated nid 23.
Disabling unassociated nid 24.
Disabling unassociated nid 25.
Disabling unassociated nid 26.
Disabling unassociated nid 27.
Disabling unassociated nid 28.
Disabling unassociated nid 29.
Disabling unassociated nid 30.
Disabling unassociated nid 31.
Disabling connection from output pin nid 11 conn 4 cnid 5.
Disabling connection from output pin nid 21 conn 5 cnid 5.
Disabling connection to input pin nid 9 conn 0.
Disabling connection to input pin nid 9 conn 1.
Disabling nonselected inputs...
Disabling unselected connection nid 5 conn 1.
Disabling useless...
Disabling control 4 nid 7 cnid -1 due to disabled widget.
Disabling control 5 nid 8 cnid -1 due to disabled widget.
Disabling control 9 nid 17 cnid -1 due to disabled widget.
Disabling control 10 nid 18 cnid -1 due to disabled widget.
Disabling control 13 nid 24 cnid -1 due to disabled widget.
Disabling control 14 nid 24 cnid -1 due to disabled widget.
Disabling control 15 nid 26 cnid -1 due to disabled widget.
Disabling control 16 nid 27 cnid -1 due to disabled widget.
Disabling control 17 nid 28 cnid -1 due to disabled widget.
Disabling control 18 nid 29 cnid -1 due to disabled widget.
Disabling control 19 nid 30 cnid -1 due to disabled widget.
Disabling control 20 nid 31 cnid -1 due to disabled widget.
Disabling nid 11 connection 1 due to disabled child widget.
Disabling nid 11 connection 5 due to disabled child widget.
Disabling nid 13 connection 1 due to disabled child widget.
Disabling nid 14 connection 1 due to disabled child widget.
Disabling nid 14 connection 2 due to disabled child widget.
Disabling nid 14 connection 4 due to disabled child widget.
Disabling nid 14 connection 5 due to disabled child widget.
Disabling nid 14 connection 6 due to disabled child widget.
Disabling nid 14 connection 7 due to disabled child widget.
Disabling nid 21 connection 0 due to disabled child widget.
Disabling nid 21 connection 4 due to disabled child widget.
Disabling nid 21 connection 6 due to disabled child widget.
Disabling nid 21 connection 7 due to disabled child widget.
Disabling crossassociated connections...
Disabling crossassociated connection nid 2 conn 1 cnid 4.
Disabling crossassociated connection nid 11 conn 0 cnid 3.
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 Analog Devices AD1981HD PCM #0 Analog at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

Stream cap: 0x00000001
PCM
PCM cap: 0x000e007f
16 20 24 bits, 8 11 16 22 32 44 48 KHz
DAC: 3

Record:

Stream cap: 0x00000001
PCM
PCM cap: 0x0006007f
16 20 bits, 8 11 16 22 32 44 48 KHz
ADC: 4

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

Playback:

nid=5 [pin: Line-out (Both)]
|
+ <- nid=3 [audio output] [src: pcm]

Record:

nid=4 [audio input]
|
+ <- nid=21 [audio selector] [src: line, mix]
|
+ <- nid=9 [pin: Line-in (Blue Jack)] [src: line]
+ <- nid=14 [audio mixer] [src: mix]
+ <- nid=15 [audio mixer] [src: line, mix]
|
+ <- nid=11 [audio selector] [src: line, mix]
|
+ <- nid=9 [pin: Line-in (Blue Jack)] [src: line]
+ <- nid=14 [audio mixer] [src: mix]

Input Mix:

nid=14 [audio mixer]
|
+ <- nid=13 [audio selector] [src: speaker]
|
+ <- nid=16 [beep widget] [src: speaker]
+ <- nid=19 [audio selector] [src: line]
|
+ <- nid=9 [pin: Line-in (Blue Jack)] [src: line]

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

Master Volume (OSS: vol)
|
+- control 1 (nid 5 in ): -91/+3dB (64 steps) + mute

PCM Volume (OSS: pcm)
|
+- control 1 (nid 5 in ): -91/+3dB (64 steps) + mute

Line-in Volume (OSS: line)
|
+- control 7 (nid 9 out): +0/+30dB (4 steps)

Speaker/Beep Volume (OSS: speaker)
|
+- control 8 (nid 13 out): -45/+0dB (16 steps) + mute

Recording Level (OSS: rec)
|
+- control 12 (nid 21 out): +0/+22dB (16 steps) + mute

Input Mix Level (OSS: mix)
|
+- control 8 (nid 13 out): -45/+0dB (16 steps) + mute
+- control 11 (nid 19 out): -34/+12dB (32 steps) + mute

OSS mixer initialization...
Recsel (line, mic, cd, monitor): nid 21 source 1 select
Recsel (line, mic, cd, monitor): nid 4 source 0 select
Registering PCM channels...
pcmAttach: HDA Analog Devices AD1981HD PCM #1 Digital at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

Stream cap: 0x00000005
AC3 PCM
PCM cap: 0x00020060
16 bits, 44 48 KHz
DAC: 2

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

Playback:

nid=10 [pin: SPDIF-out (Black Jack)]
|
+ <- nid=2 [audio output] [src: pcm]

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

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

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

Default Parameter
-----------------
Stream cap: 0x00000001
PCM
PCM cap: 0x000e007f
16 20 24 bits, 8 11 16 22 32 44 48 KHz
IN amp: 0x00270300
OUT amp: 0x80053f3d

nid: 2
Name: audio output
Widget cap: 0x00030311
DIGITAL STEREO
Association: 4 (0x00000001)
OSS: pcm (pcm)
Stream cap: 0x00000005
AC3 PCM
PCM cap: 0x00020060
16 bits, 44 48 KHz
connections: 2
|
+ [DISABLED] <- nid=1 [GHOST!] [UNKNOWN] (selected)
+ [DISABLED] <- nid=4 [audio input]

nid: 3
Name: audio output
Widget cap: 0x00000441
PWR PROC STEREO
Association: 0 (0x00000001)
OSS: pcm (pcm)
Stream cap: 0x00000001
PCM
PCM cap: 0x000e007f
16 20 24 bits, 8 11 16 22 32 44 48 KHz

nid: 4
Name: audio input
Widget cap: 0x00100511
PWR STEREO
Association: 3 (0x00000001)
Stream cap: 0x00000001
PCM
PCM cap: 0x0006007f
16 20 bits, 8 11 16 22 32 44 48 KHz
connections: 1
|
+ <- nid=21 [audio selector]

nid: 5
Name: pin: Line-out (Both)
Widget cap: 0x00400187
UNSOL STEREO
Association: 0 (0x00000001)
Pin cap: 0x0001173f
ISC TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] EAPD
Pin config: 0xc3014110
Pin control: 0x00000040 OUT
EAPD: 0x00000002
Output amp: 0x80053f3d
mute=1 step=63 size=5 offset=61
Input amp: 0x00270300
mute=0 step=3 size=39 offset=0
connections: 2
|
+ <- nid=3 [audio output] (selected)
+ [DISABLED] <- nid=14 [audio mixer]

nid: 6 [DISABLED]
Name: pin: Headphones (None)
Widget cap: 0x00400185
UNSOL STEREO
Pin cap: 0x0000001f
ISC TRQD PDC HP OUT
Pin config: 0x41214090
Pin control: 0x00000000
Output amp: 0x80053f3d
mute=1 step=63 size=5 offset=61
connections: 2
|
+ [DISABLED] <- nid=3 [audio output] (selected)
+ <- nid=14 [audio mixer]

nid: 7 [DISABLED]
Name: pin: Speaker (Fixed)
Widget cap: 0x00400104
Pin cap: 0x00000010
OUT
Pin config: 0x99131130
Pin control: 0x00000000
Output amp: 0x80053f3d
mute=1 step=63 size=5 offset=61
connections: 1
|
+ [DISABLED] <- nid=15 [audio mixer]

nid: 8 [DISABLED]
Name: pin: Microphone (Fixed)
Widget cap: 0x00400083
UNSOL STEREO
Pin cap: 0x00001727
ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ]
Pin config: 0x90a15020
Pin control: 0x00000000
Input amp: 0x00270300
mute=0 step=3 size=39 offset=0

nid: 9
Name: pin: Line-in (Blue Jack)
Widget cap: 0x00400187
UNSOL STEREO
Association: 3 (0x00000001)
OSS: line (line)
Pin cap: 0x00001737
ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
Pin config: 0x01813040
Pin control: 0x00000024 IN VREFs
Output amp: 0x80053f3d
mute=1 step=63 size=5 offset=61
Input amp: 0x00270300
mute=0 step=3 size=39 offset=0
connections: 2
|
+ [DISABLED] <- nid=3 [audio output] (selected)
+ [DISABLED] <- nid=14 [audio mixer]

nid: 10
Name: pin: SPDIF-out (Black Jack)
Widget cap: 0x00400301
DIGITAL STEREO
Association: 4 (0x00000001)
Pin cap: 0x00000010
OUT
Pin config: 0x01441050
Pin control: 0x00000040 OUT
connections: 1
|
+ <- nid=2 [audio output]

nid: 11
Name: audio selector
Widget cap: 0x00300101
STEREO
Association: 3 (0x00000001)
OSS: line, mix
connections: 6
|
+ [DISABLED] <- nid=3 [audio output]
+ [DISABLED] <- nid=12 [audio mixer] [DISABLED]
+ <- nid=9 [pin: Line-in (Blue Jack)] (selected)
+ <- nid=14 [audio mixer]
+ [DISABLED] <- nid=5 [pin: Line-out (Both)]
+ [DISABLED] <- nid=24 [pin: Microphone (Pink Jack)] [DISABLED]

nid: 12 [DISABLED]
Name: audio mixer
Widget cap: 0x00200101
STEREO
connections: 2
|
+ <- nid=30 [audio selector] [DISABLED]
+ <- nid=31 [audio selector] [DISABLED]

nid: 13
Name: audio selector
Widget cap: 0x0030010c
Association: -2 (0x00000000)
OSS: speaker
Output amp: 0x800b0f0f
mute=1 step=15 size=11 offset=15
connections: 2
|
+ <- nid=16 [beep widget] (selected)
+ [DISABLED] <- nid=22 [pin: Microphone (Fixed)] [DISABLED]

nid: 14
Name: audio mixer
Widget cap: 0x00200101
STEREO
Association: -2 (0x00000001)
OSS: mix (mix)
connections: 8
|
+ <- nid=13 [audio selector]
+ [DISABLED] <- nid=17 [audio selector] [DISABLED]
+ [DISABLED] <- nid=18 [audio selector] [DISABLED]
+ <- nid=19 [audio selector]
+ [DISABLED] <- nid=26 [audio selector] [DISABLED]
+ [DISABLED] <- nid=27 [audio selector] [DISABLED]
+ [DISABLED] <- nid=28 [audio selector] [DISABLED]
+ [DISABLED] <- nid=29 [audio selector] [DISABLED]

nid: 15
Name: audio mixer
Widget cap: 0x00200100
Association: 3 (0x00000001)
OSS: line, mix
connections: 1
|
+ <- nid=11 [audio selector]

nid: 16
Name: beep widget
Widget cap: 0x00700000
Association: -2 (0x00000000)
OSS: speaker (speaker)

nid: 17 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=3 [audio output]

nid: 18 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=8 [pin: Microphone (Fixed)] [DISABLED]

nid: 19
Name: audio selector
Widget cap: 0x0030010d
STEREO
Association: 3 (0x00000001)
OSS: line
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=9 [pin: Line-in (Blue Jack)]

nid: 20 [DISABLED]
Name: power widget
Widget cap: 0x00500500
PWR
connections: 13
|
+ <- nid=13 [audio selector] (selected)
+ <- nid=14 [audio mixer]
+ <- nid=15 [audio mixer]
+ <- nid=16 [beep widget]
+ <- nid=19 [audio selector]
+ <- nid=20 [power widget] [DISABLED]
+ <- nid=21 [audio selector]
+ <- nid=22 [pin: Microphone (Fixed)] [DISABLED]
+ <- nid=23 [pin: AUX (Black Jack)] [DISABLED]
+ <- nid=24 [pin: Microphone (Pink Jack)] [DISABLED]
+ <- nid=25 [pin: CD (Fixed)] [DISABLED]
+ <- nid=26 [audio selector] [DISABLED]
+ <- nid=29 [audio selector] [DISABLED]

nid: 21
Name: audio selector
Widget cap: 0x0030010d
STEREO
Association: 3 (0x00000001)
OSS: line, mix
Output amp: 0x80050f00
mute=1 step=15 size=5 offset=0
connections: 8
|
+ [DISABLED] <- nid=12 [audio mixer] [DISABLED]
+ <- nid=9 [pin: Line-in (Blue Jack)] (selected)
+ <- nid=14 [audio mixer]
+ <- nid=15 [audio mixer]
+ [DISABLED] <- nid=25 [pin: CD (Fixed)] [DISABLED]
+ [DISABLED] <- nid=5 [pin: Line-out (Both)]
+ [DISABLED] <- nid=24 [pin: Microphone (Pink Jack)] [DISABLED]
+ [DISABLED] <- nid=23 [pin: AUX (Black Jack)] [DISABLED]

nid: 22 [DISABLED]
Name: pin: Microphone (Fixed)
Widget cap: 0x00400000
Pin cap: 0x00000020
IN
Pin config: 0x99a31160
Pin control: 0x00000000

nid: 23 [DISABLED]
Name: pin: AUX (Black Jack)
Widget cap: 0x00400081
UNSOL STEREO
Pin cap: 0x00000027
ISC TRQD PDC IN
Pin config: 0x09991570
Pin control: 0x00000000

nid: 24 [DISABLED]
Name: pin: Microphone (Pink Jack)
Widget cap: 0x00400187
UNSOL STEREO
Pin cap: 0x00001737
ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
Pin config: 0x01a19080
Pin control: 0x00000000
Output amp: 0x80053f3d
mute=1 step=63 size=5 offset=61
Input amp: 0x00270300
mute=0 step=3 size=39 offset=0
connections: 2
|
+ [DISABLED] <- nid=3 [audio output] (selected)
+ <- nid=14 [audio mixer]

nid: 25 [DISABLED]
Name: pin: CD (Fixed)
Widget cap: 0x00400001
STEREO
Pin cap: 0x00000020
IN
Pin config: 0x9933e120
Pin control: 0x00000000

nid: 26 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=5 [pin: Line-out (Both)]

nid: 27 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=23 [pin: AUX (Black Jack)] [DISABLED]

nid: 28 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=24 [pin: Microphone (Pink Jack)] [DISABLED]

nid: 29 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80051f17
mute=1 step=31 size=5 offset=23
connections: 1
|
+ <- nid=25 [pin: CD (Fixed)] [DISABLED]

nid: 30 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80000000
mute=1 step=0 size=0 offset=0
connections: 1
|
+ <- nid=8 [pin: Microphone (Fixed)] [DISABLED]

nid: 31 [DISABLED]
Name: audio selector
Widget cap: 0x0030010d
STEREO
Output amp: 0x80000000
mute=1 step=0 size=0 offset=0
connections: 1
|
+ <- nid=24 [pin: Microphone (Pink Jack)] [DISABLED]

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

1: nid 5 in (out) index 0 ossmask=0x00000011
mute: 1 step: 63 size: 5 off: 61
2: nid 5 out (in ) index 0 ossmask=0x00000000
mute: 0 step: 3 size: 39 off: 0 [DISABLED]
3: nid 6 in (out) index 0 ossmask=0x00000000
mute: 1 step: 63 size: 5 off: 61 [DISABLED]
4: nid 7 in (out) index 0 ossmask=0x00000000
mute: 1 step: 63 size: 5 off: 61 [DISABLED]
5: nid 8 out (in ) index 0 ossmask=0x00000000
mute: 0 step: 3 size: 39 off: 0 [DISABLED]
6: nid 9 in (out) index 0 ossmask=0x00000000
mute: 1 step: 63 size: 5 off: 61 [DISABLED]
7: nid 9 out (in ) index 0 ossmask=0x00000040
mute: 0 step: 3 size: 39 off: 0
8: nid 13 out (out) index 0 ossmask=0x00000220
mute: 1 step: 15 size: 11 off: 15
9: nid 17 out (out) index 0 ossmask=0x00000000
mute: 1 step: 31 size: 5 off: 23 [DISABLED]
10: nid 18 out (out) index 0 ossmask=0x00000000
mute: 1 step: 31 size: 5 off: 23 [DISABLED]
11: nid 19 out (out) index 0 ossmask=0x00000200
mute: 1 step: 31 size: 5 off: 23
12: nid 21 out (out) index 0 ossmask=0x00000800
mute: 1 step: 15 size: 5 off: 0
13: nid 24 in (out) index 0 ossmask=0x00000000
mute: 1 step: 63 size: 5 off: 61 [DISABLED]
14: nid 24 out (in ) index 0 ossmask=0x00000000
mute: 0 step: 3 size: 39 off: 0 [DISABLED]
15: nid 26 out (out) index 0 ossmask=0x00000000
mute: 1 step: 31 size: 5 off: 23 [DISABLED]
16: nid 27 out (out) index 0 ossmask=0x00000000
mute: 1 step: 31 size: 5 off: 23 [DISABLED]
17: nid 28 out (out) index 0 ossmask=0x00000000
mute: 1 step: 31 size: 5 off: 23 [DISABLED]
18: nid 29 out (out) index 0 ossmask=0x00000000
mute: 1 step: 31 size: 5 off: 23 [DISABLED]
19: nid 30 out (out) index 0 ossmask=0x00000000
mute: 1 step: 0 size: 0 off: 0 [DISABLED]
20: nid 31 out (out) index 0 ossmask=0x00000000
mute: 1 step: 0 size: 0 off: 0 [DISABLED]

Probing codec #1...


Click to view attachment
It seems as if Voodoo is disabling it.. Tried with the previous kext as well.. same occurence.. blink.gif

Thanks,
A.Xavier
Slice
Tell me, please, what inputs and outputs do you really have
CODE
nid  5 0xc3014110 as  1 seq  0      Line-out  Both jack  1 loc  3 color   Green misc 1
nid  6 0x41214090 as  9 seq  0    Headphones  None jack  1 loc  1 color   Green misc 0 [DISABLED]
nid  7 0x99131130 as  3 seq  0       Speaker Fixed jack  3 loc 25 color   Black misc 1
nid  8 0x90a15020 as  2 seq  0    Microphone Fixed jack  1 loc 16 color     Red misc 0
nid  9 0x01813040 as  4 seq  0       Line-in  Jack jack  1 loc  1 color    Blue misc 0
nid 10 0x01441050 as  5 seq  0     SPDIF-out  Jack jack  4 loc  1 color   Black misc 0
nid 22 0x99a31160 as  6 seq  0    Microphone Fixed jack  3 loc 25 color   Black misc 1
nid 23 0x09991570 as  7 seq  0           AUX  Jack jack  9 loc  9 color   Black misc 5
nid 24 0x01a19080 as  8 seq  0    Microphone  Jack jack  1 loc  1 color    Pink misc 0
nid 25 0x9933e120 as  2 seq  0            CD Fixed jack  3 loc 25 color   White misc 1

All of them?

And see tricks in topic.
Aditya Xavier
QUOTE (Slice @ Sep 17 2009, 01:25 PM) *
Tell me, please, what inputs and outputs do you really have
CODE
nid  5 0xc3014110 as  1 seq  0      Line-out  Both jack  1 loc  3 color   Green misc 1
nid  6 0x41214090 as  9 seq  0    Headphones  None jack  1 loc  1 color   Green misc 0 [DISABLED]
nid  7 0x99131130 as  3 seq  0       Speaker Fixed jack  3 loc 25 color   Black misc 1
nid  8 0x90a15020 as  2 seq  0    Microphone Fixed jack  1 loc 16 color     Red misc 0
nid  9 0x01813040 as  4 seq  0       Line-in  Jack jack  1 loc  1 color    Blue misc 0
nid 10 0x01441050 as  5 seq  0     SPDIF-out  Jack jack  4 loc  1 color   Black misc 0
nid 22 0x99a31160 as  6 seq  0    Microphone Fixed jack  3 loc 25 color   Black misc 1
nid 23 0x09991570 as  7 seq  0           AUX  Jack jack  9 loc  9 color   Black misc 5
nid 24 0x01a19080 as  8 seq  0    Microphone  Jack jack  1 loc  1 color    Pink misc 0
nid 25 0x9933e120 as  2 seq  0            CD Fixed jack  3 loc 25 color   White misc 1

All of them?


i have internal speakesr, line in, hp out, and an internal mic.. Am really not sure which are the corresponding nids..
possiblly :
nid 5 - line out -- i currently have speakers connected to it but in sound pref it still shows as line out.
nid 6 / 7 - headphone out
nid 9 - line in
nid 8 / 24 - internal mic.

Am really sorry about the vague answer but i really dont have any clue and dont know how to find it..


###############
Tried changing the info.plist to have 0x90A75020 and 0x01a69080 values for mic nid 8 and nid 26..
Still no difference.. strangely the kext is not loading up.. would try repairing all the permissions and restarting..

Update ---

Repairing the permissions did it.. Voodoo is able to load .. But still pretty much the same stand..

Getdump output..
-------------------------------------
Patched pins configuration:
nid 5 0xc3014110 as 1 seq 0 Line-out Both jack 1 loc 3 color Green misc 1
nid 6 0x41214090 as 9 seq 0 Headphones None jack 1 loc 1 color Green misc 0 [DISABLED]
nid 7 0x99131130 as 3 seq 0 Speaker Fixed jack 3 loc 25 color Black misc 1
nid 8 0x90a75020 as 2 seq 0 Microphone Fixed jack 7 loc 16 color Red misc 0
nid 9 0x01813040 as 4 seq 0 Line-in Jack jack 1 loc 1 color Blue misc 0
nid 10 0x01441050 as 5 seq 0 SPDIF-out Jack jack 4 loc 1 color Black misc 0
nid 22 0x99a31160 as 6 seq 0 Microphone Fixed jack 3 loc 25 color Black misc 1
nid 23 0x09991570 as 7 seq 0 AUX Jack jack 9 loc 9 color Black misc 5
nid 24 0x01a69080 as 8 seq 0 Microphone Jack jack 6 loc 1 color Pink misc 0
nid 25 0x9933e120 as 2 seq 0 CD Fixed jack 3 loc 25 color White misc 1

-------------------------------------

Slice need some help here !!!
Slice
QUOTE (Aditya Xavier @ Sep 17 2009, 03:31 PM) *
i have internal speakesr, line in, hp out, and an internal mic.. Am really not sure which are the corresponding nids..

Getdump output..
-------------------------------------
Patched pins configuration:
nid 5 0xc3014110 as 1 seq 0 Line-out Both jack 1 loc 3 color Green misc 1
nid 6 0x41214090 as 9 seq 0 Headphones None jack 1 loc 1 color Green misc 0 [DISABLED]
nid 7 0x99131130 as 3 seq 0 Speaker Fixed jack 3 loc 25 color Black misc 1
nid 8 0x90a75020 as 2 seq 0 Microphone Fixed jack 7 loc 16 color Red misc 0
nid 9 0x01813040 as 4 seq 0 Line-in Jack jack 1 loc 1 color Blue misc 0
nid 10 0x01441050 as 5 seq 0 SPDIF-out Jack jack 4 loc 1 color Black misc 0
nid 22 0x99a31160 as 6 seq 0 Microphone Fixed jack 3 loc 25 color Black misc 1
nid 23 0x09991570 as 7 seq 0 AUX Jack jack 9 loc 9 color Black misc 5
nid 24 0x01a69080 as 8 seq 0 Microphone Jack jack 6 loc 1 color Pink misc 0
nid 25 0x9933e120 as 2 seq 0 CD Fixed jack 3 loc 25 color White misc 1

-------------------------------------

I think you need the following
nid 5 - not used - 0x40f000f1
nid 6 - Headphones - 0x0121101f - if Rear (0x0221101f - if Front)
nid 7 - Speaker - 0x90170110
nid 8 - Internal microphone - 0x90a70120
nid 9 - Jack for External Microphone - 0x01a11030 - same as above Rear/Front
nid 10,22,23,24,25 - not used 0x40f000f1 - change last digit to 2,3,4,5,6 to be different
dong
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
Aditya Xavier
QUOTE (Slice @ Sep 17 2009, 01:23 PM) *
I think you need the following
nid 5 - not used - 0x40f000f1
nid 6 - Headphones - 0x0121101f - if Rear (0x0221101f - if Front)
nid 7 - Speaker - 0x90170110
nid 8 - Internal microphone - 0x90a70120
nid 9 - Jack for External Microphone - 0x01a11030 - same as above Rear/Front
nid 10,22,23,24,25 - not used 0x40f000f1 - change last digit to 2,3,4,5,6 to be different



Tried the ones you posted.. it seems i have
nid 5 - Speakers so swapped nid 7 values to nid 5.

Now even though it seems i have a microphone .. and it shows i have input coming.. i cant hear anything.. is it possible its because its a line in ??

I have 2 Mic's in Voodoo ... one with Mic Fixed and one Mic Black Jack.. Even though only mic fixed is visible in sound pref..
Slice
QUOTE (dong @ Sep 17 2009, 05:41 PM) *
The 0.2.4 version even works for me without node patch. Great work!
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.

Thanks for reply.
I use Snow-32bit. But my version is 32/64bit. May be reason elsewhere why it ask to reenter? Can you compile to 32/64 your version?
dong
QUOTE (Slice @ Sep 17 2009, 10:20 AM) *
Thanks for reply.
I use Snow-32bit. But my version is 32/64bit. May be reason elsewhere why it ask to reenter? Can you compile to 32/64 your version?


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.
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.