IPB

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

> Voodoohda Driver, Fully working!
Slice
post Jun 2 2009, 10:14 AM
Post #1
I and AutumnRain rewrited VoodooHDA to get fully working driver.
We are based on version 0.2.1 and add
1. Connection to VoodooHDA.pref.panel
2. Manual patching of codec information.
Now we have version 0.2.2 and compare. Yes, many of our correction already here, but not all
3. Different mistakes. For example (i<24 -> i<25)
4. Working with internal microphone and line-in.
5. Names in Sound.pref.panel.
6. Working with all Codec Address (0,1,2)

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


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.

VoodooHDA.kext for Leo
Sources
PrefPanel
VoodooHDA.kext for Snow
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
Version 0.2.4 in testing
[attachment=479:VoodooHD..._241_Leo.zip]
[attachment=480:VoodooHD...now32_64.zip]

Attached File  VoodooHDA.prefPane_Leo.zip ( 27.76K ) Number of downloads: 719

Attached File  VoodooHDA.prefPane_Snow.zip ( 34.41K ) Number of downloads: 3367


21.09.2009
Look post #61

01.10.2009
Version 0.2.43 tested on STAC9228 and ALC883
VoodooHDA.kext-Leo-v0243
VoodooHDA.kext-Snow32/64-v0243 with cVad correction
Sources and PrefPanes

Change log:
- microphone autodetect
- corrected SPDIF and HDMI
- advanced names
TODO:
- change names at autodetect?
- autosave?
- sleep/resume bugs?


30.11.2009
I resolve the sleep issue. New version 0.2.52 is here
Attached File  voodoohda_src.252.zip ( 180.49K ) Number of downloads: 656

Attached File  VoodooHDA.kext_Leo252.zip ( 77.8K ) Number of downloads: 1050

Attached File  VoodooHDA.kext_Snow252.zip ( 147.95K ) Number of downloads: 3589

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

08.02.2010
AutumnRain made v254 with corrections to mixers.
May be it resolves low volume issue on some codecs

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
Version 2.5.6 looks to be final because I and AutumnRain are fully satisfied by it.
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
New version 0.2.6 based on new hdac.c from FreeBSD
Attached File  voodoohda_src_260.zip ( 344.1K ) Number of downloads: 276

Change log:
- add support for more chipsets and codecs
- correct Input Monitor
- add support for HDMI
- some corrections about low level settings.

24.04.2010
Some internal mistakes eliminated.
Attached File  VoodooHDA.kext_261_Leo.zip ( 80.11K ) Number of downloads: 823

Attached File  VoodooHDA.kext_261_Snow.zip ( 153.2K ) Number of downloads: 4262

Attached File  voodoohda_261src.zip ( 343.05K ) Number of downloads: 758


Experimental 262
There are sources of 262 version. If anyone wants to continue - welcome!
Attached File  voodoohda_src.262.zip ( 343.22K ) Number of downloads: 158


Corrections made by NachoMamaKid

YOU NEED TO INSTALL PREF PANEL

Please report a bug if notice
Пожалуйста, прочитайте ЧаВо!
My page

Posts in this topic
- Slice   Voodoohda Driver   Jun 2 2009, 10:14 AM
- - fassl   Hey, i am the maintainer of that project, what do ...   Jun 2 2009, 11:35 AM
- - Slice   EDITED 28-08-2009 Information below is for previou...   Jun 21 2009, 08:24 PM
- - cparm   well, it seems that it's don't work for m...   Jun 23 2009, 11:09 AM
- - Slice   OK! Look code2.dump is original Ubuntu dump o...   Jun 25 2009, 10:37 AM
- - Slice   I understand that the driver is very limited. It w...   Jun 28 2009, 08:15 PM
- - Slice   Could you show us your final info.plist?   Jul 8 2009, 01:17 PM
|- - jadran   QUOTE (Slice @ Jul 8 2009, 02:17 PM) Coul...   Jul 8 2009, 10:25 PM
- - Slice   If it is final result you can change CODE <k...   Jul 9 2009, 01:03 PM
|- - jadran   QUOTE (Slice @ Jul 9 2009, 01:03 PM) I am...   Jul 9 2009, 01:33 PM
- - Slice   The topic updated. Now I have fully working VoodoH...   Aug 28 2009, 04:23 PM
|- - Chrysaor   QUOTE (Slice @ Aug 28 2009, 12:23 PM) Now...   Oct 3 2009, 12:10 AM
- - Nemes   Thanks to your modified Voodoo kext, I've mana...   Sep 1 2009, 01:41 PM
- - Slice   Please make a VoodooHDA dump getdump >AD2000dum...   Sep 1 2009, 05:06 PM
|- - 18seven   Thanks slice. I have tried this on my wind. Codec:...   Sep 1 2009, 06:20 PM
||- - Slice   QUOTE (18seven @ Sep 1 2009, 10:20 PM) Th...   Sep 1 2009, 06:54 PM
|- - Gringo Vermelho   QUOTE (Slice @ Sep 1 2009, 02:06 PM) Plea...   Sep 9 2009, 03:04 AM
- - Slice   18seven This is your dump CODEnid 25 0x99a3092f as...   Sep 2 2009, 06:14 AM
|- - 18seven   QUOTE (Slice @ Sep 2 2009, 02:14 AM) 18se...   Sep 2 2009, 03:34 PM
|- - yeehaa   QUOTE (18seven @ Sep 2 2009, 04:34 PM) Th...   Sep 2 2009, 05:17 PM
|- - Slice   QUOTE (yeehaa @ Sep 2 2009, 09:17 PM) @sl...   Sep 2 2009, 06:59 PM
|- - yeehaa   QUOTE (Slice @ Sep 2 2009, 06:59 PM) As I...   Sep 2 2009, 09:46 PM
- - dong   Thanks. Now microphone works with AD1981HD on my T...   Sep 2 2009, 11:22 PM
|- - yeehaa   QUOTE (dong @ Sep 2 2009, 11:22 PM) Thank...   Sep 3 2009, 02:25 AM
- - Slice   QUOTE (yeehaa @ Sep 3 2009, 12:46 AM) tri...   Sep 3 2009, 06:08 AM
|- - dong   QUOTE (Slice @ Sep 3 2009, 02:08 AM) Dong...   Sep 3 2009, 04:03 PM
|- - Slice   QUOTE (dong @ Sep 3 2009, 07:03 PM) There...   Sep 3 2009, 04:58 PM
|- - dong   QUOTE (Slice @ Sep 3 2009, 12:58 PM) I th...   Sep 3 2009, 08:16 PM
- - Slice   I understand you but... Look into driver VoodooHDA...   Sep 3 2009, 09:24 PM
|- - dong   QUOTE (Slice @ Sep 3 2009, 05:24 PM) Look...   Sep 3 2009, 11:00 PM
|- - Slice   QUOTE (dong @ Sep 4 2009, 03:00 AM) Anywh...   Sep 4 2009, 06:00 AM
- - youminbuluo   my mic does not work both internal speaker and hea...   Sep 4 2009, 06:08 AM
|- - Slice   QUOTE (youminbuluo @ Sep 4 2009, 09:08 AM...   Sep 4 2009, 07:04 AM
|- - youminbuluo   QUOTE (Slice @ Sep 4 2009, 07:04 AM) Yes,...   Sep 4 2009, 07:51 AM
- - Slice   dong, I found SamplePCIAudioDriver CODE // Conf...   Sep 4 2009, 07:37 AM
- - dong   QUOTE (Slice @ Sep 4 2009, 02:00 AM) dong...   Sep 4 2009, 10:58 AM
- - Slice   Great idea! One another thought. AppleHDA has...   Sep 4 2009, 12:15 PM
- - joe75   vhda prepane needs to write a .plist to ~/Library/...   Sep 6 2009, 06:11 PM
- - dong   QUOTE (Slice @ Sep 4 2009, 08:15 AM) One ...   Sep 8 2009, 09:16 PM
- - gbonilla   What VoodooHDAHelper are you guys using? Cause whe...   Sep 14 2009, 11:39 PM
- - Slice   I created new version. See updated topic. Testing ...   Sep 17 2009, 11:56 AM
|- - Aditya Xavier   RE: Voodoohda Driver   Sep 17 2009, 12:19 PM
- - Slice   Tell me, please, what inputs and outputs do you re...   Sep 17 2009, 12:25 PM
|- - Aditya Xavier   QUOTE (Slice @ Sep 17 2009, 01:25 PM) Tel...   Sep 17 2009, 12:31 PM
|- - Slice   QUOTE (Aditya Xavier @ Sep 17 2009, 03:31...   Sep 17 2009, 01:23 PM
|- - Aditya Xavier   QUOTE (Slice @ Sep 17 2009, 01:23 PM) I t...   Sep 17 2009, 02:20 PM
- - dong   The previous updated version even works for me wit...   Sep 17 2009, 01:41 PM
|- - Slice   QUOTE (dong @ Sep 17 2009, 05:41 PM) The ...   Sep 17 2009, 02:20 PM
||- - dong   QUOTE (Slice @ Sep 17 2009, 10:20 AM) Tha...   Sep 17 2009, 02:41 PM
|- - Aditya Xavier   QUOTE (dong @ Sep 17 2009, 01:41 PM) The ...   Sep 17 2009, 03:08 PM
|- - dong   My model is 2613-CTO and I don't know if there...   Sep 17 2009, 03:28 PM
|- - Aditya Xavier   QUOTE (dong @ Sep 17 2009, 03:28 PM) My m...   Sep 17 2009, 04:31 PM
|- - dong   QUOTE (Aditya Xavier @ Sep 17 2009, 12:31...   Sep 17 2009, 10:01 PM
|- - Aditya Xavier   QUOTE (dong @ Sep 17 2009, 11:01 PM) I te...   Sep 18 2009, 05:25 AM
- - Slice   QUOTE (dong @ Sep 17 2009, 06:41 PM) It c...   Sep 17 2009, 04:30 PM
|- - dong   QUOTE (Slice @ Sep 17 2009, 12:30 PM) It ...   Sep 17 2009, 09:56 PM
- - youminbuluo   the voodohda below QUOTE Version 0.2.4 in testing...   Sep 18 2009, 08:35 AM
- - Superhai the Great   There are two symbols that are unresolved for 64 b...   Sep 18 2009, 08:39 PM
|- - Slice   QUOTE (Superhai the Great @ Sep 18 2009, 11...   Sep 19 2009, 09:49 AM
|- - Superhai the Great   QUOTE (Slice @ Sep 19 2009, 11:49 AM) I c...   Sep 21 2009, 08:42 PM
- - Slice   Still continue testing for catch all mistakes. For...   Sep 21 2009, 08:53 AM
|- - youminbuluo   RE: Voodoohda Driver   Sep 22 2009, 03:08 AM
|- - dong   Thanks for your work. I tested 0.2.42 on 10.6 32bi...   Sep 22 2009, 12:25 PM
- - youminbuluo   the significant difference is sound preference of ...   Sep 22 2009, 03:40 AM
- - roisoft   the 0.2.42 doesnt load in 64 bit for me, i need to...   Sep 22 2009, 01:46 PM
- - slump   Hi mate, My output appears but don't produce ...   Sep 23 2009, 01:31 AM
- - quark   I'm getting a kernel panic with VoodooHDA kext...   Sep 23 2009, 12:47 PM
- - Slice   Thanks to all for reports. Wait please if I find w...   Sep 24 2009, 09:48 AM
- - phoenix789   Hi! Thanks Slice for this driver. I was wonde...   Sep 26 2009, 08:02 PM
- - Slice   Look tricks in topic!   Sep 27 2009, 06:21 AM
- - phoenix789   QUOTE (Slice @ Sep 27 2009, 06:21 AM) Loo...   Sep 27 2009, 12:24 PM
- - yeehaa   @Slice: did you see this? http://www.insanelymac.c...   Sep 30 2009, 03:03 PM
- - Slice   I made new version. Links in topic.   Oct 1 2009, 07:55 PM
|- - dong   The latest version has no problem of silent output...   Oct 1 2009, 09:38 PM
- - Krazubu   Version 0.2.43 doesn't load. Here is the outpu...   Oct 1 2009, 09:55 PM
- - cVad   Ver. with only little fix in info.plist.   Oct 1 2009, 10:35 PM
|- - iNDi   Hey guys , maybe its an idea to centralise all thi...   Oct 1 2009, 11:10 PM
|- - youminbuluo   QUOTE (cVad @ Oct 1 2009, 11:35 PM) Ver. ...   Oct 2 2009, 04:22 AM
- - fassl   QUOTE (Slice @ Jun 2 2009, 10:14 AM) Toda...   Oct 1 2009, 11:33 PM
|- - Slice   OK, fassl. When I began to rewrite the driver I to...   Oct 2 2009, 07:05 AM
- - cVad   Thank's Slice&AutumnRain for you great wor...   Oct 2 2009, 08:21 AM
- - youminbuluo   in both 0.2.42 & 0.2.43 i get but in 0.2.35 ...   Oct 2 2009, 10:16 AM
|- - Slice   QUOTE (youminbuluo @ Oct 2 2009, 02:16 PM...   Oct 2 2009, 06:52 PM
||- - youminbuluo   QUOTE (Slice @ Oct 2 2009, 06:52 PM) No/ ...   Oct 3 2009, 05:12 AM
|- - aliasa_anderson   QUOTE (youminbuluo @ Oct 2 2009, 03:46 PM...   Oct 5 2009, 05:42 PM
- - fassl   Cool Slice, its just that from the first post all ...   Oct 2 2009, 10:00 PM
- - Krazubu   I get kp :   Oct 3 2009, 11:30 AM
- - acetone802000   My motherboard is ASUS P5KR with Sound chipset ALC...   Oct 3 2009, 01:56 PM
|- - youminbuluo   QUOTE (acetone802000 @ Oct 3 2009, 01:56 ...   Oct 3 2009, 03:08 PM
|- - Ezhoon   I have a Jetway xblue P43 mobo, which has an onboa...   Oct 5 2009, 01:09 PM
- - acetone802000   QUOTE (youminbuluo @ Oct 3 2009, 04:08 PM...   Oct 3 2009, 03:32 PM
- - alex   Same panic of Krazubu. AD1988B on a 790i system.   Oct 3 2009, 04:51 PM
- - acetone802000   When i boot with -x32 flag i have also an kernel p...   Oct 3 2009, 06:07 PM
|- - alex   QUOTE (acetone802000 @ Oct 3 2009, 06:07 ...   Oct 3 2009, 09:45 PM
- - timmyj   excellent stuff first time ive had working microph...   Oct 4 2009, 03:35 AM
- - acetone802000   I dowload the sources from the 1st post and i trie...   Oct 4 2009, 07:20 AM
- - phoenix789   Hi Slice, i came back to bother you again. I have ...   Oct 4 2009, 09:18 PM
- - acetone802000   I changed the Imix from 0 to 90,recompile and now ...   Oct 5 2009, 07:24 PM
5 Pages V   1 2 3 > » 


Add Reply Start a new topic
2 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
1 Members: Hulihutu