ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

67 Pages V  « < 12 13 14 15 16 > »   
Start a new topic Add Reply
> Voodoohda Driver, Fully working!
Sysyphus
post Jan 24 2010, 08:54 PM
Post #261
Here are the nodes for an ASUS P5E-VM HDMI motherboard, the sound chip is a Realtek ALC883.

(CD/ATAPI, Speaker, S/PDIF RCA and Line Out White have been disabled):

CODE
<key>NodesToPatch</key>
<array>
<dict>
<!-- Green Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>20</integer>
<key>Config</key>
<string>0x01014010</string>
</dict>

<dict>
<!-- Black Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>21</integer>
<key>Config</key>
<string>0x01011060</string>
</dict>

<dict>
<!-- Orange Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>22</integer>
<key>Config</key>
<string>0x01016070</string>
</dict>

<dict>
<!-- Grey Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>23</integer>
<key>Config</key>
<string>0x01012080</string>
</dict>

<dict>
<!-- Pink Mic In 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>24</integer>
<key>Config</key>
<string>0x01a19040</string>
</dict>

<dict>
<!-- Pink Mic In 1/8" stereo/mono Jack External Front -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>25</integer>
<key>Config</key>
<string>0x02a19050</string>
</dict>

<dict>
<!-- Blue Line In 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>26</integer>
<key>Config</key>
<string>0x01813030</string>
</dict>

<dict>
<!-- Green HP Out 1/8" stereo/mono Jack External Front -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>27</integer>
<key>Config</key>
<string>0x02214020</string>
</dict>

<dict>
<!-- Unknown CD ATAPI Internal NoPort Internal ATAPI -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>28</integer>
<key>Config</key>
<string>0x40f000c0</string> <!-- Disabled -->
</dict>

<dict>
<!-- White Line Out Optical NoPort External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>29</integer>
<key>Config</key>
<string>0x40f000d0</string> <!-- Disabled -->
</dict>

<dict>
<!-- Black S/PDIF Out RCA Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>30</integer>
<key>Config</key>
<string>0x40f000e0</string> <!-- Disabled -->
</dict>

<dict>
<!-- Black Speaker 1/8" stereo/mono NoPort External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>31</integer>
<key>Config</key>
<string>0x40f000f0</string> <!-- Disabled -->
</dict>
</array>
Reason for edit: Use codebox instead of code
Diddy
post Jan 25 2010, 05:47 AM
Post #262
my netbook is Asus 1201N (ALC269)
i use VoodooHDA 2.52, but sound is distort
i set midi 44100Hz 16bit, and the sound is better
when CPU usage keep 100% the sound is clearer
how do i fix that?
Abysmal
post Jan 25 2010, 03:22 PM
Post #263
Hey Slice.. I'm lost trying to understand what I should use and what not to use.. I have a ACL269 and a nvidia GT250M in my laptop and voodoohda only seems to pick up the hdmi stuff from the video card, which I can't use at the moment.

here is my part dump ...

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


Probing codec #0...
HDA Codec #0: Realtek ALC269
HDA Codec ID: 0x10ec0269
       Vendor: 0x10ec
       Device: 0x0269
     Revision: 0x00
     Stepping: 0x04
PCI Subvendor: 0x15931043
    startNode=1 endNode=2
    Found audio FG nid=1 startNode=2 endNode=37 total=35

Processing audio FG cad=0 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0xc0000002 NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
nid 17 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
nid 18 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
nid 20 0x99130110 as  1 seq  0       Speaker Fixed jack  3 loc 25 color Unknown misc 1
nid 21 0x0121401f as  1 seq 15    Headphones  Jack jack  1 loc  1 color   Green misc 0
nid 22 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
nid 24 0x01a19830 as  3 seq  0    Microphone  Jack jack  1 loc  1 color    Pink misc 8
nid 25 0x99a3093f as  3 seq 15    Microphone Fixed jack  3 loc 25 color Unknown misc 9
nid 26 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
nid 27 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1 color   Black misc 1
nid 29 0x40138205 as  0 seq  5       Speaker  None jack  3 loc  0 color  Purple misc 2
nid 30 0x99430120 as  2 seq  0     SPDIF-out Fixed jack  3 loc 25 color Unknown misc 1
Parsing vendor patch...


How would I write the xml to patch the pins.. or more over which ones to choose ??

Thanks..

Abysmal

Full Dump Attached..
Attached File  getdump.txt ( 26.43K ) Number of downloads: 172


This post has been edited by Abysmal: Jan 25 2010, 03:25 PM
plastikman
post Jan 25 2010, 07:27 PM
Post #264
QUOTE (Slice @ Jun 2 2009, 02:14 AM) *
30.11.2009
I resolve the sleep issue. New version 0.2.52 is here
[attachment=820:voodoohda_src.252.zip]
[attachment=821:VoodooHD...t_Leo252.zip]
[attachment=822:VoodooHD..._Snow252.zip]
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. But...
- corrected startup volumes
- some minor fixes

Please report a bug if notice


Hello Slice,

I have recently installed 0.2.52 it works great for me on Snow Leopard 10.6.2 (i386) on my ICH7/AD1981HD codec. I have one issue with this kext.

When I put my laptop to sleep and resume from sleep the audio is quieter on resume than it was before sleep.

I can resolve the issue by manually lowering/raising the volume in the voodoo prefpane and in the volume meeter in the top bar, but after sleep/resume volume is low again.

I hope this makes sense if you need more info let me know.

here is my codec dump

Attached File  AD1981.HD.codec.zip ( 4.41K ) Number of downloads: 71


This post has been edited by plastikman: Jan 26 2010, 02:04 AM
nobb1x
post Jan 26 2010, 10:15 AM
Post #265
hello, great work on the driver, anyway latency (0.2.52 or 0.2.53 are the same for me) is really killing me. there are
some parameters in the sources i can try to change then recompile to try to optimize it a little for my chip ALC889 (not A)
on a acer laptop?
I always got latency with voodoohda, previous versions gave me 0.1/0.3 seconds, current versions give me more than one second to produce a sound after the event.

(snow leopard)


This post has been edited by nobb1x: Jan 26 2010, 10:19 AM
Krazubu
post Jan 26 2010, 02:31 PM
Post #266
I have the same problem as plastikman but lowering and raising volume doesn't work. Maybe it's a bit better but still far too low.
Sysyphus
post Jan 27 2010, 04:39 AM
Post #267
QUOTE (Abysmal @ Jan 25 2010, 03:22 PM) *
How would I write the xml to patch the pins.. or more over which ones to choose ??


Abysmal,

On the fisrt page (Click here), Slice advises that if you have two sound sources, then to use IOPCIMatch to "help" the VoodooHDA driver to distinguish which sound source to use.

From your "getdump.txt" file we can see that the IOPCIMatch could be changed to match the PCI Subvendor: 0x15931043:

CODE
<key>IOPCIMatch</key>
<string>0x15931043</string>


As this is a laptop/notebook/netbook, I will try and help you get the internal microphone and speakers, the 1/8" jack for an external micorophone and the 1/8" jack for the headphones to work first, thankfully your "getdump.txt" has this sorted, however we will also disable nid 30 SPDIF-Out jack and tweak the pin configs.

CODE
nid 20 0x99130110 as  1 seq  0       Speaker Fixed jack  3 loc 25 color Unknown misc 1
nid 21 0x0121401f as  1 seq 15    Headphones  Jack jack  1 loc  1 color   Green misc 0
nid 24 0x01a19830 as  3 seq  0    Microphone  Jack jack  1 loc  1 color    Pink misc 8
nid 25 0x99a3093f as  3 seq 15    Microphone Fixed jack  3 loc 25 color Unknown misc 9


A good source of information for Apple HDA and what all those hex numbers mean, is provided by The KiNG (Click here).

nid 20 0x99130110
There is no need to change this, but if we byteflip the numbers we get 10 01 13 99, which makes sense when we read the article by The KiNG.

10 = Default associtaion/Sequence, this is OK
01 = Unknown/Jack detect disabled, this is OK as the jack is internal
13 = Speaker/ATAPI internal
99 = split into two hex numbers, 0x9 and 0x9
now change the two hex numbers to binary
in 4 digits i.e. 9 = 1001 so 99 becomes 10011001

1001 = Fixed Function-Built in device/Internal
1001 = ATAPI

new nid 20 = 0x99130110

nid 21 0x0121401f
We will need to change the last 2 digits.

1f = Default association/(invalid sequence), we will change this to 20
40 = Green/Jack detect
21 = HP Out/1/8" stero/mono
01 = 00000001

0000 = Port connected Jack/External
0001 = Rear

new nid 22 0x01214020

nid 24 0x01a19830
We will need to make a slight adjustment here aswell.

30 = Default assosocition/Sequence
98 = Pink/(invalid jack detection)
a1 = Mic In/1/8" stereo/mono
01 = 00000001

0000 = Port connected Jack/External
0001 = Rear

new nid 24 0x01a19030

nid 25 0x99a3093f
We will make a couple of adjustments;

3f = Default association/(invalid sequence), we will change this to 40
09 = Unknown/(invalid jack detection)
a3 = Mic In/ATAPI internal
99 = split into two hex numbers, 0x9 and 0x9
now change the two hex numbers to binary
in 4 digits i.e. 9 = 1001 so 99 becomes 10011001

1001 = Fixed Function-Built in device/Internal
1001 = ATAPI

new nid 25 0x99a30140

We now have modified the pin configs:

CODE
nid 20 0x99130110
nid 21 0x01214020
nid 24 0x01a19030
nid 25 0x99a30140


You should be albe to cut-n-paste the following into the VoodooHDA "Info.plist":

CODE

<key>IOKitPersonalities</key>
<dict>
<key>VoodooHDA</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.VoodooHDA</string>
<key>IOClass</key>
<string>VoodooHDADevice</string>
<key>IOMatchCategory</key>
<string>VoodooHDADevice</string>
<key>IOPCIClassMatch</key>
<string>0x15931043&amp;0xffff0000</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOUserClientClass</key>
<string>VoodooHDAUserClient</string>
<key>NodesToPatch</key>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>17</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>18</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>20</integer>
<key>Config</key>
<string>0x99130110</string>
<!-- Speaker Fixed jack -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>21</integer>
<key>Config</key>
<string>0x01214020</string>
<!-- Headphones Jack -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>22</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>24</integer>
<key>Config</key>
<string>0x01a19030</string>
<!-- Microphone Jack (Internal) -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>25</integer>
<key>Config</key>
<string>0x99a30140</string>
<!-- Microphone Jack (External) -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>26</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>27</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>29</integer>
<key>Config</key>
<string>0x40f000f0</string> <!-- original: 0x40138205 -->
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>30</integer>
<key>Config</key>
<string>0x40f000f0</string> <!-- original: 0x99430120 -->
<!-- SPDIF-out [DISABLED] -->
</dict>
<key>VoodooHDAVerboseLevel</key>
<integer>1</integer>
</dict>
</dict>


wink.gif
Abysmal
post Jan 28 2010, 01:53 AM
Post #268
QUOTE (Sysyphus @ Jan 26 2010, 11:39 PM) *
Abysmal,

On the fisrt page (Click here), Slice advises that if you have two sound sources, then to use IOPCIMatch to "help" the VoodooHDA driver to distinguish which sound source to use.

From your "getdump.txt" file we can see that the IOPCIMatch could be changed to match the PCI Subvendor: 0x15931043:

CODE
<key>IOPCIMatch</key>
<string>0x15931043</string>


As this is a laptop/notebook/netbook, I will try and help you get the internal microphone and speakers, the 1/8" jack for an external micorophone and the 1/8" jack for the headphones to work first, thankfully your "getdump.txt" has this sorted, however we will also disable nid 30 SPDIF-Out jack and tweak the pin configs.

CODE
nid 20 0x99130110 as  1 seq  0       Speaker Fixed jack  3 loc 25 color Unknown misc 1
nid 21 0x0121401f as  1 seq 15    Headphones  Jack jack  1 loc  1 color   Green misc 0
nid 24 0x01a19830 as  3 seq  0    Microphone  Jack jack  1 loc  1 color    Pink misc 8
nid 25 0x99a3093f as  3 seq 15    Microphone Fixed jack  3 loc 25 color Unknown misc 9


A good source of information for Apple HDA and what all those hex numbers mean, is provided by The KiNG (Click here).

nid 20 0x99130110
There is no need to change this, but if we byteflip the numbers we get 10 01 13 99, which makes sense when we read the article by The KiNG.

10 = Default associtaion/Sequence, this is OK
01 = Unknown/Jack detect disabled, this is OK as the jack is internal
13 = Speaker/ATAPI internal
99 = split into two hex numbers, 0x9 and 0x9
now change the two hex numbers to binary
in 4 digits i.e. 9 = 1001 so 99 becomes 10011001

1001 = Fixed Function-Built in device/Internal
1001 = ATAPI

new nid 20 = 0x99130110

nid 21 0x0121401f
We will need to change the last 2 digits.

1f = Default association/(invalid sequence), we will change this to 20
40 = Green/Jack detect
21 = HP Out/1/8" stero/mono
01 = 00000001

0000 = Port connected Jack/External
0001 = Rear

new nid 22 0x01214020

nid 24 0x01a19830
We will need to make a slight adjustment here aswell.

30 = Default assosocition/Sequence
98 = Pink/(invalid jack detection)
a1 = Mic In/1/8" stereo/mono
01 = 00000001

0000 = Port connected Jack/External
0001 = Rear

new nid 24 0x01a19030

nid 25 0x99a3093f
We will make a couple of adjustments;

3f = Default association/(invalid sequence), we will change this to 40
09 = Unknown/(invalid jack detection)
a3 = Mic In/ATAPI internal
99 = split into two hex numbers, 0x9 and 0x9
now change the two hex numbers to binary
in 4 digits i.e. 9 = 1001 so 99 becomes 10011001

1001 = Fixed Function-Built in device/Internal
1001 = ATAPI

new nid 25 0x99a30140

We now have modified the pin configs:

CODE
nid 20 0x99130110
nid 21 0x01214020
nid 24 0x01a19030
nid 25 0x99a30140


You should be albe to cut-n-paste the following into the VoodooHDA "Info.plist":

CODE

<key>IOKitPersonalities</key>
<dict>
<key>VoodooHDA</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.VoodooHDA</string>
<key>IOClass</key>
<string>VoodooHDADevice</string>
<key>IOMatchCategory</key>
<string>VoodooHDADevice</string>
<key>IOPCIClassMatch</key>
<string>0x15931043&amp;0xffff0000</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOUserClientClass</key>
<string>VoodooHDAUserClient</string>
<key>NodesToPatch</key>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>17</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>18</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>20</integer>
<key>Config</key>
<string>0x99130110</string>
<!-- Speaker Fixed jack -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>21</integer>
<key>Config</key>
<string>0x01214020</string>
<!-- Headphones Jack -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>22</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>24</integer>
<key>Config</key>
<string>0x01a19030</string>
<!-- Microphone Jack (Internal) -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>25</integer>
<key>Config</key>
<string>0x99a30140</string>
<!-- Microphone Jack (External) -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>26</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>27</integer>
<key>Config</key>
<string>0x40f000f0</string>
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>29</integer>
<key>Config</key>
<string>0x40f000f0</string> <!-- original: 0x40138205 -->
<!-- Speaker [DISABLED] -->
</dict>
<dict>
<key>Codec</key>
<integer>0</integer>
<key>Node</key>
<integer>30</integer>
<key>Config</key>
<string>0x40f000f0</string> <!-- original: 0x99430120 -->
<!-- SPDIF-out [DISABLED] -->
</dict>
<key>VoodooHDAVerboseLevel</key>
<integer>1</integer>
</dict>
</dict>


wink.gif


Thanks Sysyphus..

I got it in and made the needed corrections, and when done this way I now have no devices seen at all.. is there any further way to debug it at this point???


Abysmal
Slice
post Jan 28 2010, 07:07 AM
Post #269
QUOTE (Abysmal @ Jan 28 2010, 04:53 AM) *
Thanks Sysyphus..

I got it in and made the needed corrections, and when done this way I now have no devices seen at all.. is there any further way to debug it at this point???


Abysmal

Show your voodoohda-dump.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Abysmal
post Jan 28 2010, 02:41 PM
Post #270
QUOTE (Slice @ Jan 28 2010, 02:07 AM) *
Show your voodoohda-dump.


Ok, now when I do the dump I get an error.. I'll repost everything later, thanks guys..

Abysmal

Update:

Working with the initial NodeToPatch from Sysyphus and help from blackknight who helped me debug the info.plist ( Thanks a Million )

Hey Slice.. to get my ALC269 to work I had to make the following changes:

<string>VoodooHDADevice</string>
<key>IOPCIPrimaryMatch</key> <--- Instead of IOPCIMatch
<string>0x293e8086</string> <--- My HDA ven/dev ID

Now to get the headphones to auto sense / switch..

Abysmal

Working info.plist for ALC269 for ASUS N51VN Attached File  Info.plist.txt ( 3.59K ) Number of downloads: 579


This post has been edited by Abysmal: Jan 29 2010, 03:14 AM
joshhh
post Feb 1 2010, 06:59 AM
Post #271
I'v got a Creative X-Fi Extreme Audio by default osx shouldn't support this card but it is not true X-Fi it does'n build on X-Fi chip, thats why i'v tried to disable my alc883 and place X-Fi to PCI-e slot.

After two reboots and kext cache rebuild card showed me:

with VoodooHDA 0.22
Outputs
1) Line-out/Line-out/Line-out/Line-out - if I have only one jack connected to any of 4 outs I have stereo sound output, but when I connect another one to my main (green) output it works only with combination green+black connectors, all other combinations doesn't work (green+orange+grey / green+orange+black). In prefs pane there is no 5.1 or 7.1 options, only 2.0-stereo.
2) Headphones - on my card headphones links to green connector, card also has HDA front panel pins on board with Headphones and Mic
3) SPDIF-out - doesn't work

Inputs
1)Line-In - on my card Line-In and Mic connectors are combined in one and under Windows XP I should switch source type manually for mic or line-in. Line-In doesn't work.
2)Mic - read above Mic combined with Line-In and doesn't work too.
3)SPDIF-In - doesn't work

With modded VoodooHDA 0.2.52
Outputs
1) Line-out (Green Rear) - everything like with Voodoo 0.22
2) Headphones (Green Front) - should be on front panel HDA pins onboard of card inside computer
3) SPDIF-out - doesn't work

Inputs
1)Line-In (Blue Rear) - doesn't work
2)Mic (Pink Front) - should be inside computer on front panel HDA pins, in windows I can assign it to Line-In (Blue Rear)
3)SPDIF-In - doesn't work


Is it possible to fix X-Fi in drivers and add Line-in/Mic support and 5.1/7.1 multichannel output, SPDIF i/o is not necessary but welcome too? My system are welcome for any testing builds.

HDA dump is attached below.
Attached File  x_fi_hda.txt ( 18.96K ) Number of downloads: 89


This post has been edited by joshhh: Feb 1 2010, 06:59 AM
Slice
post Feb 1 2010, 08:35 AM
Post #272
QUOTE (Abysmal @ Jan 28 2010, 05:41 PM) *
Ok, now when I do the dump I get an error.. I'll repost everything later, thanks guys..

Abysmal

Update:

Working with the initial NodeToPatch from Sysyphus and help from blackknight who helped me debug the info.plist ( Thanks a Million )

Hey Slice.. to get my ALC269 to work I had to make the following changes:

<string>VoodooHDADevice</string>
<key>IOPCIPrimaryMatch</key> <--- Instead of IOPCIMatch
<string>0x293e8086</string> <--- My HDA ven/dev ID

Now to get the headphones to auto sense / switch..

Abysmal

Working info.plist for ALC269 for ASUS N51VN Attached File  Info.plist.txt ( 3.59K ) Number of downloads: 579

QUOTE (Slice @ Jan 28 2010, 10:07 AM) *
Show your voodoohda-dump.



QUOTE (joshhh @ Feb 1 2010, 09:59 AM) *
I'v got a Creative X-Fi Extreme Audio by default osx shouldn't support this card but it is not true X-Fi it does'n build on X-Fi chip, thats why i'v tried to disable my alc883 and place X-Fi to PCI-e slot.

After two reboots and kext cache rebuild card showed me:

with VoodooHDA 0.22
Outputs
1) Line-out/Line-out/Line-out/Line-out - if I have only one jack connected to any of 4 outs I have stereo sound output, but when I connect another one to my main (green) output it works only with combination green+black connectors, all other combinations doesn't work (green+orange+grey / green+orange+black). In prefs pane there is no 5.1 or 7.1 options, only 2.0-stereo.
2) Headphones - on my card headphones links to green connector, card also has HDA front panel pins on board with Headphones and Mic
3) SPDIF-out - doesn't work

Inputs
1)Line-In - on my card Line-In and Mic connectors are combined in one and under Windows XP I should switch source type manually for mic or line-in. Line-In doesn't work.
2)Mic - read above Mic combined with Line-In and doesn't work too.
3)SPDIF-In - doesn't work

With modded VoodooHDA 0.2.52
Outputs
1) Line-out (Green Rear) - everything like with Voodoo 0.22
2) Headphones (Green Front) - should be on front panel HDA pins onboard of card inside computer
3) SPDIF-out - doesn't work

Inputs
1)Line-In (Blue Rear) - doesn't work
2)Mic (Pink Front) - should be inside computer on front panel HDA pins, in windows I can assign it to Line-In (Blue Rear)
3)SPDIF-In - doesn't work


Is it possible to fix X-Fi in drivers and add Line-in/Mic support and 5.1/7.1 multichannel output, SPDIF i/o is not necessary but welcome too? My system are welcome for any testing builds.

HDA dump is attached below.
Attached File  x_fi_hda.txt ( 18.96K ) Number of downloads: 89

VodooHDA 0.2.2 has autodetect only on 2 devices Speaker/Headphone and no more.
With 2.5.2 you can have autodetect between 4 Line-Out. Stereo output at any connected jack.
If you want two have 5.1 or 7.1 you need to make each LineOut in own association
CODE
nid 11 0x01014010 as 1 seq 0 Line Out Jack jack 1 loc 1 color Green misc 0
nid 12 0x01016011 as 1 seq 1 Line Out Jack jack 1 loc 1 color Orange misc 0
nid 13 0x01011012 as 1 seq 2 Line Out Jack jack 1 loc 1 color Black misc 0
nid 14 0x01012014 as 1 seq 4 Line Out Jack jack 1 loc 1 color Grey misc 0
nid 15 0x02214020 as 2 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0
nid 16 0x01813030 as 3 seq 0 Line In Jack jack 1 loc 1 color Blue misc 0
nid 17 0x02a19040 as 4 seq 0 Microphone Jack jack 1 loc 2 color Pink misc 0
nid 18 0x01452150 as 5 seq 0 SPDIF Out Jack jack 5 loc 1 color Grey misc 1
nid 19 0x01c51160 as 6 seq 0 SPDIF In Jack jack 5 loc 1 color Black misc 1

Instead of 10, 11, 12, 14 write 10, 70, 80, 90.
About SPDIF look the topic.
Don't forget to install VoodooHDA.prefPane
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Diddy
post Feb 1 2010, 09:33 AM
Post #273
I found that
http://hg.genunix.org/onnv-gate.hg/rev/3dbb42515756#l2

Is that the reason why MCP79 makes noise?

the problem is solved

add inhibitcache options in allocateDMAmemory function

This post has been edited by Diddy: Feb 1 2010, 02:08 PM
gsam_fan
post Feb 1 2010, 05:19 PM
Post #274
hello....
just to help some others..
I found a way to patch my ACL888 (intel-HDA) codec_dump "On the fly" with some help from linux...with codecgraph and alsa.

Download HDA-Analyzer from alsa-project ...play with modules options ( model=.. probe_mask=... position_fix=.. e.t.c. )
when you ' ll have an "acceptable configuration" of codec. Launch hda-analyzer and "play" with mixers,pinconfigs,detect triggers,gain e.t.c.
there is a Diff button ... press it and you'll see the "patch" "- ,+" into lines off the 2 codec_dumps you have , "The original one" and the "Modified one"
nice..? rolleyes.gif

p.s. screenshots as an example below

HDA-Analyzer in action
Diff Original-Moded
Moded pinconfig into codegraph.svg file

This post has been edited by gsam_fan: Feb 1 2010, 08:09 PM
just a unix user...
joshhh
post Feb 1 2010, 08:15 PM
Post #275
QUOTE (Slice @ Feb 1 2010, 11:35 AM) *
VodooHDA 0.2.2 has autodetect only on 2 devices Speaker/Headphone and no more.
With 2.5.2 you can have autodetect between 4 Line-Out. Stereo output at any connected jack.
If you want two have 5.1 or 7.1 you need to make each LineOut in own association
CODE
nid 11 0x01014010 as 1 seq 0 Line Out Jack jack 1 loc 1 color Green misc 0
nid 12 0x01016011 as 1 seq 1 Line Out Jack jack 1 loc 1 color Orange misc 0
nid 13 0x01011012 as 1 seq 2 Line Out Jack jack 1 loc 1 color Black misc 0
nid 14 0x01012014 as 1 seq 4 Line Out Jack jack 1 loc 1 color Grey misc 0
nid 15 0x02214020 as 2 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0
nid 16 0x01813030 as 3 seq 0 Line In Jack jack 1 loc 1 color Blue misc 0
nid 17 0x02a19040 as 4 seq 0 Microphone Jack jack 1 loc 2 color Pink misc 0
nid 18 0x01452150 as 5 seq 0 SPDIF Out Jack jack 5 loc 1 color Grey misc 1
nid 19 0x01c51160 as 6 seq 0 SPDIF In Jack jack 5 loc 1 color Black misc 1

Instead of 10, 11, 12, 14 write 10, 70, 80, 90.
About SPDIF look the topic.
Don't forget to install VoodooHDA.prefPane


Thats good, thank you! But what file and where should I correct for multichannel? And what about Mic input how to get it work? Prefs pane is already installed.
Slice
post Feb 2 2010, 09:31 AM
Post #276
QUOTE (joshhh @ Feb 1 2010, 11:15 PM) *
Thats good, thank you! But what file and where should I correct for multichannel? And what about Mic input how to get it work? Prefs pane is already installed.

You can find samples what to do in topic.
As I see your Mic must work. Just tune it in prefPane.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Trauma
post Feb 2 2010, 09:23 PM
Post #277
QUOTE (gsam_fan @ Feb 1 2010, 06:19 PM) *
hello....
just to help some others..
I found a way to patch my ACL888 (intel-HDA) codec_dump "On the fly" with some help from linux...with codecgraph and alsa.

Download HDA-Analyzer from alsa-project ...play with modules options ( model=.. probe_mask=... position_fix=.. e.t.c. )
when you ' ll have an "acceptable configuration" of codec. Launch hda-analyzer and "play" with mixers,pinconfigs,detect triggers,gain e.t.c.
there is a Diff button ... press it and you'll see the "patch" "- ,+" into lines off the 2 codec_dumps you have , "The original one" and the "Modified one"
nice..? rolleyes.gif

p.s. screenshots as an example below

HDA-Analyzer in action
Diff Original-Moded
Moded pinconfig into codegraph.svg file


Amazing !! This gonna help plenty people to debug there codec biggrin.gif

This post has been edited by Trauma: Feb 2 2010, 09:23 PM
emuled
post Feb 3 2010, 02:51 AM
Post #278
QUOTE (joshhh @ Feb 1 2010, 07:59 AM) *
I'v got a Creative X-Fi Extreme Audio by default osx shouldn't support this card but it is not true X-Fi it does'n build on X-Fi chip, thats why i'v tried to disable my alc883 and place X-Fi to PCI-e slot.

After two reboots and kext cache rebuild card showed me:

with VoodooHDA 0.22
Outputs
1) Line-out/Line-out/Line-out/Line-out - if I have only one jack connected to any of 4 outs I have stereo sound output, but when I connect another one to my main (green) output it works only with combination green+black connectors, all other combinations doesn't work (green+orange+grey / green+orange+black). In prefs pane there is no 5.1 or 7.1 options, only 2.0-stereo.
2) Headphones - on my card headphones links to green connector, card also has HDA front panel pins on board with Headphones and Mic
3) SPDIF-out - doesn't work

Inputs
1)Line-In - on my card Line-In and Mic connectors are combined in one and under Windows XP I should switch source type manually for mic or line-in. Line-In doesn't work.
2)Mic - read above Mic combined with Line-In and doesn't work too.
3)SPDIF-In - doesn't work

With modded VoodooHDA 0.2.52
Outputs
1) Line-out (Green Rear) - everything like with Voodoo 0.22
2) Headphones (Green Front) - should be on front panel HDA pins onboard of card inside computer
3) SPDIF-out - doesn't work

Inputs
1)Line-In (Blue Rear) - doesn't work
2)Mic (Pink Front) - should be inside computer on front panel HDA pins, in windows I can assign it to Line-In (Blue Rear)
3)SPDIF-In - doesn't work


Is it possible to fix X-Fi in drivers and add Line-in/Mic support and 5.1/7.1 multichannel output, SPDIF i/o is not necessary but welcome too? My system are welcome for any testing builds.

HDA dump is attached below.
Attached File  x_fi_hda.txt ( 18.96K ) Number of downloads: 89

I've the Creative X-Fi Titanium (EMU20K2), but the listed Inputs and Outputs are the same.
Line-out works fine, but SPDIF-out doesn't. I've tested it using a DAC that reports the current config bits set and sample rate; changing bits (like pro/consumer, emph, etc...) and sample rate works fine, but there is no audio output, and setting the device to 48000Hz / 16bit doesn't help.
Just a quick debug reports that "ChannelGetPosition" always return 0, applications can't seek the audio position and I get a TIMEOUT error in logs.
Are there some other test I can do to check the cause of this issue?
joshhh
post Feb 3 2010, 06:35 PM
Post #279
QUOTE (emuled @ Feb 3 2010, 05:51 AM) *
I've the Creative X-Fi Titanium (EMU20K2), but the listed Inputs and Outputs are the same.
Line-out works fine, but SPDIF-out doesn't. I've tested it using a DAC that reports the current config bits set and sample rate; changing bits (like pro/consumer, emph, etc...) and sample rate works fine, but there is no audio output, and setting the device to 48000Hz / 16bit doesn't help.
Just a quick debug reports that "ChannelGetPosition" always return 0, applications can't seek the audio position and I get a TIMEOUT error in logs.
Are there some other test I can do to check the cause of this issue?


Do you have Mic working on your X-Fi Ti?

This post has been edited by joshhh: Feb 4 2010, 12:14 AM
joshhh
post Feb 4 2010, 10:01 PM
Post #280
QUOTE (Slice @ Feb 2 2010, 12:31 PM) *
You can find samples what to do in topic.
As I see your Mic must work. Just tune it in prefPane.


OK! I'v read all topic about VoodooHDA and found that I need to modify info.plist file unside VoodooHDA.kext that is ok.
Then I'v tried to change my settings inside:
I'v goth something like this

CODE


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>VoodooHDA</string>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.VoodooHDA</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>VoodooHDA</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>0.2.52</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.2.52</string>
<key>IOKitPersonalities</key>
<dict>
<key>VoodooHDA</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.voodoo.driver.VoodooHDA</string>
<key>IOClass</key>
<string>VoodooHDADevice</string>
<key>IOMatchCategory</key>
<string>VoodooHDADevice</string>
<key>IOPCIClassMatch</key>
<string>0x04030000&0xffff0000</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOUserClientClass</key>
<string>VoodooHDAUserClient</string>
<key>NodesToPatch</key>
<array>
<dict>
<!-- Green Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Config</key>
<string>0x01014010</string>
<key>Node</key>
<integer>11</integer>
</dict>
<dict>
<!-- Orange Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Config</key>
<string>0x01016070</string>
<key>Node</key>
<integer>12</integer>
</dict>
<dict>
<!-- Black Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Config</key>
<string>0x01011080</string>
<key>Node</key>
<integer>13</integer>
</dict>
<dict>
<!-- Grey Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Config</key>
<string>0x01012090</string>
<key>Node</key>
<integer>14</integer>
</dict>
<dict>

<array/>
<key>VoodooHDAVerboseLevel</key>
<integer>0</integer>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOAudioFamily</key>
<string>1.1fc9</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>2.6</string>
<key>com.apple.kpi.iokit</key>
<string>9.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>9.0.0</string>
<key>com.apple.kpi.mach</key>
<string>9.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>9.0.0</string>
</dict>
</dict>
</plist>


Then I saved file, rebuild kext cache and reboot... After loading no devices was listed in sound panel.
I have tried some other combinations in patch structure - no result

this
CODE

<dict>
<!-- Green Line Out 1/8" stereo/mono Jack External Rear -->
<key>Codec</key>
<integer>0</integer>
<key>Config</key>
<string>0x01014010</string>
<key>Node</key>
<integer>11</integer>
</dict>


and this

CODE
<dict>
<!-- Green Line Out 1/8" stereo/mono Jack External Rear -->
<key>Config</key>
<string>0x01014010</string>
<key>Node</key>
<integer>11</integer>
</dict>


What did I do wrong? I also tried to remap mic to line-in pins(because mic and line-in has the same connector) but as you see no sound device cause no mic remap check.
I really need help with this card and mic for skype...

67 Pages V  « < 12 13 14 15 16 > » 
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: