olarila.com

Mac OS X x86 - Hackintosh
It is currently 24 May 2013, 14:28

All times are UTC [ DST ]




Post new topic Reply to topic  [ 110 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
PostPosted: 13 Sep 2011, 19:59 
User avatar
Staff

Joined: 05 Dec 2010, 21:49
Posts: 1122
Download from official thread:
http://www.projectosx.com/forum/index.php?showtopic=355

How to edit Info.plist:
viewtopic.php?f=18&t=1704


Problem: kernel panic.
Solution 1: remove AppleHDA and restart the system before installing VoodooHDA (or use AppleHDADisabler).
Solution 2: edit Info.plist, replace the key IOPCIClassMatch by IOPCIPrimaryMatch and put the PCI ID of your audio card in string.
Before
Code:
<key>IOPCIClassMatch</key>
<string>0x04030000&amp;0xffff0000</string>

After
Code:
<key>IOPCIPrimaryMatch</key>
<string>0x3b568086</string>

0xDeviceIDVendorID

How to find device and vendor ID
viewtopic.php?f=18&t=63


Problem: kext doesn't work (usually when there's more than one audio card or the video card has HDMI audio).
Solution: use solution 2 for kernel panic problem above. If you want to use both cards, create one entry for each card in IOKitPersonalities.


Problem: sound crackles.
Solution 1: change output format in Applications - Utilities - Audio MIDI Setup
Image
Solution 2: check "Use SSE2" in VoodooHDA prefPane
Image
You can also enable Vectorize in Info.plist
Code:
<key>Vectorize</key>
<true/>



Problem: volume control (slider) doesn't work.
Solution: enable VoodooHDAEnableVolumeChangeFix in Info.plist
Code:
<key>VoodooHDAEnableVolumeChangeFix</key>
<true/>



Problem: volume too low.
Solution: enable VoodooHDAEnableHalfVolumeFix in Info.plist
Code:
<key>VoodooHDAEnableHalfVolumeFix</key>
<true/>



Problem: audio feedback (Larsen effect), sound loop between input (microphone) and output (speakers).
Solution: mute iGain and increase iMix or Mic if microphone dosn't work
Code:
<key>iGain</key>
<string>0</string>

It can also be done in the prefPane. In some cases you may need to mute Monitor instead of iGain.


Problem: audio delay. If you change volume, for example, it takes 1 or 2 seconds to play the test sound.
Solution 1: delete com.apple.audio.DeviceSettings.plist and com.apple.audio.SystemSettings.plist from /Library/Preferences/Audio and reboot.
Solution 2: use SoundFlower.


Problem: inputs or outputs don't show in sound preferences.
Solution 1: look for a kext patched for your codec.
For VT1708S
http://www.insanelymac.com/forum/index. ... pic=231508
For AD1988B
http://www.insanelymac.com/forum/index. ... pic=267898
Solution 2: add NodesToPatch basead on getDump output (download in official thread).
Example
Code:
<key>NodesToPatch</key>
<array>
   <dict>
      <key>Codec</key>
      <integer>2</integer>
      <key>Config</key>
      <string>0x90a70120</string>
      <key>Node</key>
      <integer>12</integer>
   </dict>
</array>

Config (PinDefault) is made up of the last 2 digits of each codec verb, but in the opposite order
Code:
0x01014410 = 21471c10 21471d44 21471e01 21471f01
|||||||+- Sequence
||||||+-- Default Association
|||||+--- Misc
||||+---- Color
|||+----- Connection Type
||+------ Default Device
|+------- Location
+-------- Port Connectivity


More detailed example
viewtopic.php?f=18&t=604

Info about codec verbs
Source: http://www.projectosx.com/forum/index.php?showtopic=465

For each input/output there is a sequence of 4 verbs.
Code:
   Jack   Color  Description                  Node     PinDefault             Original Verbs
--------------------------------------------------------------------------------------------------------
    1/8   Green  Line Out at Ext Rear        20 0x14   0x01014410   21471c10 21471d44 21471e01 21471f01

Its about NodeID(NID) 0x14 in hex, 20 in decimal.

The default verbs for it: 21471c10 21471d44 21471e01 21471f01

CAd (Codec Adress) NID (NodeID) Verb Command Verb Data

71cXY X=Default Association Y=Sequence

Default Association and Sequence are used together by software to group Pin Complexes (and therefore jacks) together into functional blocks to support multichannel operation. Software may assume that all jacks with the same association number are intended to be grouped together, for instance to provide six channel analog output. The Default Association can also be used by software to prioritize resource allocation in constrained situations. Lower Default Association values would be higher in priority for resources such as processing nodes or Input and Output Converters. Note that this is the default association only, and software can override this value if required, in particular if the user provides additional information about the particular system configuration. A value of 0000b is reserved and should not be used. Software may interpret this value to indicate that the Pin Configuration data has not been properly initialized. A value of 1111b is a special value indicating that the Association has the lowest priority. Multiple different Pin Complexes may share this value, and each is intended to be exposed as independent devices.

Sequence indicates the order of the jacks in the association group. The lowest numbered jack in the association group should be assigned the lowest numbered channels in the stream, etc. The numbers need not be sequential within the group, only the order matters. Sequence numbers within a set of Default Associations must be unique.

*My notes for this, if you look on the vanilla codec verb(no matter what codec) you will see that Sequence is always 0.
Why that, and why for us on our codec verbs is different? Simple b/c Apple dosen't have multichannel analog out! so you must change it to 0.

*About Default Association, Keep the default one, in order, and on those that are the same replace them with new one that dosen't exist already in the dump... the values you can use are: 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d and f.(see what does verbit if you still don't understand)

71dXY X=Color Y=Misc

Color indicates the color of the physical jack for use by software.
Code:
Unknown 0
Black 1
Grey 2
Blue 3
Green 4
Red 5
Orange 6
Yellow 7
Purple 8
Pink 9
Reserved A-D
White E
Other F


Misc is a bit field used to indicate other information about the jack. Currently, only bit 0 is defined. If bit 0 is set, it indicates that the jack has no presence detect capability, so even if a Pin Complex indicates that the codec hardware supports the presence detect functionality on the jack, the external circuitry is not capable of supporting the functionality.
Reserved 3
Reserved 2
Reserved 1
Jack Detect Override 0

*Use 0 for Jack Detect - External Device(e.g. Headphones Mic etc)
Use 1 for Jack Detect Disabled - Internal Device(e.g. Internal speakers, Internal mic)

71eXY X=Default Device Y=Connection Type

Default Device indicates the intended use of the jack or device. This can indicate either the label on the jack or the device that is hardwired to the port, as with integrated speakers and the like.
Code:
Line Out 0
Speaker  1
HP Out 2
CD 3
SPDIF Out 4
Digital Other Out 5
Modem Line Side 6
Modem Handset Side 7
Line In 8
AUX 9
Mic In A
Telephony B
SPDIF In C
Digital Other In D
Reserved E
Other F


Connection Type indicates the type of physical connection, such as a 1/8-inch stereo jack or an optical digital connector, etc. Software can use this information to provide helpful user interface descriptions to the user or to modify reported codec capabilities based on the capabilities of the physical transport external to the codec.
Code:
Unknown 0
1/8" stereo/mono 1
1/4" stereo/mono 2
ATAPI internal 3
RCA 4
Optical 5
Other Digital 6
Other Analog 7
Multichannel Analog (DIN) 8
XLR/Professional 9
RJ-11 (Modem) A
Combination B
Other F


71fXY X=Port Connectivity Y=Location

Port Connectivity indicates the external connectivity of the Pin Complex. Software can use this value to know what Pin Complexes are connected to jacks, internal devices, or not connected at all.
00b - The Port Complex is connected to a jack (1/8", ATAPI, etc.).
01b - No physical connection for Port.
10b - A fixed function device (integrated speaker, integrated mic, etc.) is attached.
11b - Both a jack and an internal device are attached. The Information provided in all other fields refers to the integrated device. The PD pin will reflect the status of the jack; the user will need to be queried to figure out what it is.

Location indicates the physical location of the jack or device to which the pin complex is connected. This allows software to indicate, for instance, that the device is the “Front Panel Headphone Jack” as opposed to rear panel connections.

*Details:
Convert the 2 digit hex number to binary.
Pad the front with zero's to make it 8 dgits.

Example:
Code:
0x02 = binary 10 = 00000010 8 digit binary

Reading the bits from left to right:

Port Connectivity bits 7:6
-----------------------------------------------------------
00 - Port is connected to a Jack
01 - No External Port -or- No physical connection for Port 
10 - Fixed Function/Built In Device (integrated speaker, mic, etc)
11 - Jack and Internal device are attached

Location Part 1 - bits 5:4
-----------------------------------------------------------
00 - External on primary chassis
01 - Internal
10 - Separate chassis
11 - Other

Location Part 2 - bits 3:0
-----------------------------------------------------------
The meaning depends on Location Part 1

00 0000   N/A
00 0001   Rear
00 0010   Front
00 0011   Left
00 0100   Right
00 0101   Top
00 0110   Bottom
00 0111   Special (Rear panel)
00 1000   Special (Drive bay)

01 0000   N/A
01 0111   Special (Riser)
01 1000   HDMI
01 1001   ATAPI

10 0000   N/A
10 0001   Rear
10 0010   Front
10 0011   Left
10 0100   Right
10 0101   Top
10 0110   Bottom

11 0000   N/A
11 0110   ?
11 0111   Inside Mobile Lid (example: mic)
11 1000   Outside Mobile Lid

         Bits
Hex     76 54 3210
-------------------
71f01 = 00 00 0001 - Port has a jack - It is External - Rear Location
71f02 = 00 00 0010 - Port has a jack - It is External - Front Panel Location
71f59 = 01 01 1001 - No External Port - ATAPI
71f18 = 00 01 1000 - Port has a jack - External - HDMI
71f90 = 10 01 0000 - Built In Device - Internal - N/A
        |  |  ||||
        |  |  |--------- Location part 2
        |  |------------ Location part 1 
        |--------------- Port Connectivity


Image


Top
 Profile  
 
PostPosted: 14 Sep 2011, 23:07 
Noob

Joined: 14 Sep 2011, 22:53
Posts: 1
oldnapalm wrote:
If you want to use both cards, create one entry for each card in IOKitPersonalities.


Hi,
how exactly should one have two entries? Am I doing it right?
Code:
   <key>IOKitPersonalities</key>
   <dict>
      <key>VoodooHDA</key>
      <dict>
         ...
         <key>IOPCIPrimaryMatch</key>
         <string>0x1c208086</string>
         ...
      </dict>
   </dict>
   <dict>
      <key>VoodooHDA 2</key>
      <dict>
         ...
         <key>IOPCIPrimaryMatch</key>
         <string>0x01268086</string>
         ...
      </dict>
   </dict>


Top
 Profile  
 
PostPosted: 15 Sep 2011, 00:46 
User avatar
Staff

Joined: 05 Dec 2010, 21:49
Posts: 1122
Yes, that's it.

There's a complete example in the official thread (trick 4)
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>


Top
 Profile  
 
PostPosted: 29 Jan 2012, 03:15 
Noob

Joined: 29 Jan 2012, 03:09
Posts: 3
guys
microphone not working why
i use snow leopard
and voodoohda 0.2.2
my motherboard is GA-G41MT-S2P rev1.3 GIGABYTE - Motherboard - Socket 775 - GA-G41MT-S2P (rev. 1.3)
http://www.gigabyte.com/products/produc ... id=3743#sp
my sound onboard VIA VT2021

this video i make it to see wt happen testing mic - YouTube
http://www.youtube.com/watch?v=R-p70Lbh ... ature=plcp


plz eny one help me plz i need mic to make course web design


Top
 Profile  
 
PostPosted: 29 Jan 2012, 03:21 
User avatar
iGenius

Joined: 26 Aug 2011, 23:53
Posts: 3757
Use newer VoodooHDA and post a getDump.

_________________
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.3 • Linux Mint 14 • Windows 8


Top
 Profile  
 
PostPosted: 31 Jan 2012, 22:14 
GeekInTraining

Joined: 31 Jan 2012, 21:56
Posts: 12
hi guys, i really need your help to get my alc269 work on lion 10.7.2
i have tried a lot of different kext and at last i've read this guide, i have the same id vendor and the other id but again it don't want to work
i have a acer aspire timelinex 5820tg, intel i3 350m, 4gb ddr3, hd5470m, alc269(intel high definition audio)

lion work very well, it don't work fine with battery(use it but don't show how much energy left) no multitouch and no audio

what can i try if also put my alc's id in the kext doesn't work?


Top
 Profile  
 
PostPosted: 31 Jan 2012, 23:23 
User avatar
iGenius

Joined: 26 Aug 2011, 23:53
Posts: 3757
It's not the ALC (codec) ID you have to put in the kext, but the PCI ID.

Show what you changed in the plist.

_________________
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.3 • Linux Mint 14 • Windows 8


Top
 Profile  
 
PostPosted: 01 Feb 2012, 13:30 
GeekInTraining

Joined: 31 Jan 2012, 21:56
Posts: 12
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>BuildMachineOSBuild</key>
   <string>11A511</string>
   <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>2.7.3</string>
   <key>CFBundleSignature</key>
   <string>????</string>
   <key>CFBundleVersion</key>
   <string>2.7.3</string>
   <key>DTCompiler</key>
   <string>4.2</string>
   <key>DTPlatformBuild</key>
   <string>4B110</string>
   <key>DTPlatformVersion</key>
   <string>GM</string>
   <key>DTSDKBuild</key>
   <string>10J567</string>
   <key>DTSDKName</key>
   <string>macosx10.6</string>
   <key>DTXcode</key>
   <string>0410</string>
   <key>DTXcodeBuild</key>
   <string>4B110</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>IOPCIPrimaryMatch</key>
         <string>0x3b568086</string>
         <key>IOProviderClass</key>
         <string>IOPCIDevice</string>
         <key>IOUserClientClass</key>
         <string>VoodooHDAUserClient</string>
         <key>InhibitCache</key>
         <true/>
         <key>MixerValues</key>
         <dict>
            <key>iGain</key>
            <string>90</string>
            <key>iMix</key>
            <string>0</string>
         </dict>
         <key>NodesToPatch</key>
         <array/>
         <key>Noise</key>
         <integer>2</integer>
         <key>Vectorize</key>
         <false/>
         <key>VoodooHDAEnableHalfMicVolumeFix</key>
         <false/>
         <key>VoodooHDAEnableHalfVolumeFix</key>
         <false/>
         <key>VoodooHDAEnableMuteFix</key>
         <false/>
         <key>VoodooHDAEnableVolumeChangeFix</key>
         <false/>
         <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.1</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>


this is the plist, i have modified only this
Code:
<key>IOPCIPrimaryMatch</key>
<string>0x3b568086</string>

like it is showed in this guide, i have the same ID

edit: i have tried different PCI ID but it didn't work, wich one i have to use?
in the jpeg file, you can see all the ID, you can tell me wich one i have to put in info.plist? (the "blue" one is the alc269)


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: 01 Feb 2012, 16:57 
User avatar
iGenius

Joined: 26 Aug 2011, 23:53
Posts: 3757
You did it right, it should work. Please post a getDump.

_________________
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.3 • Linux Mint 14 • Windows 8


Top
 Profile  
 
PostPosted: 01 Feb 2012, 17:11 
GeekInTraining

Joined: 31 Jan 2012, 21:56
Posts: 12
mmh.... what is "getDump"? xD

Code:
Last login: Wed Feb  1 16:04:25 on console
Macbook-Pro-di-Daniele:~ Daniele$ /Users/Daniele/Downloads/getdump ; exit;
error: IORegistryEntryGetPath returned 0x10000003
logout

[Processo completato]


ok searched on google and founded a program, hope it is the right one :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 110 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group