ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

68 Pages V  « < 46 47 48 49 50 > »   
Start a new topic Add Reply
> Voodoohda Driver, Fully working!
Slice
post Jul 16 2011, 04:59 AM
Post #941
Don't know. May be here?
CODE
        int res = sendCommand(HDA_CMD_GET_PIN_SENSE(cad, j), cad);    
        res = HDA_CMD_GET_PIN_SENSE_PRESENCE_DETECT(res);
        if (funcGroup->audio.quirks & HDA_QUIRK_SENSEINV)
            res ^= 1;
        widget->sense = res;
        UInt32 type = widget->pin.config & HDA_CONFIG_DEFAULTCONF_DEVICE_MASK;
        /* Get pin direction. */
        if ((type == HDA_CONFIG_DEFAULTCONF_DEVICE_LINE_OUT) ||
            (type == HDA_CONFIG_DEFAULTCONF_DEVICE_SPEAKER) ||
            (type == HDA_CONFIG_DEFAULTCONF_DEVICE_HP_OUT) ||
            (type == HDA_CONFIG_DEFAULTCONF_DEVICE_SPDIF_OUT) ||
            (type == HDA_CONFIG_DEFAULTCONF_DEVICE_DIGITAL_OTHER_OUT))
            logMsg("Enabling output audio routing switching at node %d:\n", j);

CODE
{ LENOVO_3KN100_SUBVENDOR, HDA_CODEC_AD1986A, HDA_QUIRK_EAPDINV | HDA_QUIRK_SENSEINV, 0 },
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
cheezmen
post Jul 30 2011, 02:21 PM
Post #942
Is there a way to get Autoswitch from main output to headphones with a plug detect using the patch nodes array?

I already have 6 nodes that ive patched for more working jacks.
Slice
post Jul 30 2011, 09:19 PM
Post #943
QUOTE (cheezmen @ Jul 30 2011, 06:21 PM) *
Is there a way to get Autoswitch from main output to headphones with a plug detect using the patch nodes array?

It is from initial here. Just set nodes in one group.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
cheezmen
post Jul 31 2011, 02:00 AM
Post #944
EDIT: Nevermind, i'm extremely unintelligent and missed a post 2 pages back about how to make it work. sleep.gif


My only issue now is that selecting an input device doesnt seem to affect which input is working (eg, if i have a mic plugged into front mic port, choosing back mic port still plays front mic audio and vice versa).

Thank you for the help. smile.gif

EDIT 5 (or something tongue.gif): I was wondering whether there was a way to 'fool' OSX into thinking 3 jacks was a single 5.1 output.

This post has been edited by cheezmen: Jul 31 2011, 03:06 AM
Slice
post Jul 31 2011, 07:18 AM
Post #945
QUOTE (cheezmen @ Jul 31 2011, 06:00 AM) *
EDIT 5 (or something tongue.gif): I was wondering whether there was a way to 'fool' OSX into thinking 3 jacks was a single 5.1 output.

http://www.projectosx.com/forum/index.php?...ost&p=10401
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Krazubu
post Aug 1 2011, 07:06 PM
Post #946
Hi Slice,
After ages sticking with my old VHDA 2.61 configuration I went back to do some trials with latest one. I never got good success with it and my AD1988B (some uncommon version it seems).

Basically this is what I get :

V2.61
All the "basic necessary stuff", works rather nice, but low SPDIF volume level, no AC3, still usable but I have to push volume high on my amplifier.
Low volume also affects analog line out

V2.72
Every input/output (about double of what I get with 2.61 and looks consistent thou I didn't test all).
SPDIF is not working, I get some cracks at a rather low frequency (I'd say about 3 per second). AC3 is available but same problem...
Dunno about volume.

Something I noticed too (no big deal), with both versions every I/O is set to 192 000Khz in MIDI configuration and I have to set them back to 48 000 to get them work.

So, is there anything I can do to make that *$@# SPDIF work once for good with AC3 at a normal volume level ?
If I have to stick with 2.61, is there some trick to increase the level ? (PCM is already pushed to max for that output)

Thanks.
jeffc2009
post Aug 1 2011, 09:27 PM
Post #947
Slice, do you have a copy of voodoohda 2.62 for Lion?
G73SW-XT1: Core I7-2630qm, HM65, Nvidia GTX 460, ALC269, USB 3.0.
Slice
post Aug 2 2011, 06:08 AM
Post #948
QUOTE (jeffc2009 @ Aug 2 2011, 01:27 AM) *
Slice, do you have a copy of voodoohda 2.62 for Lion?

Kexts for Lion are the same as for Snow Leo. Check dependencies?


Hi Krazubu,
Your questions are out of my skill. All that I know about digital sound is that VoodooHDA can't unpack AC3 stream (I have no algo for that) and put it to output as is.
So vectorize has no effect on it.
CODE
if ((streamFormat->fSampleFormat == kIOAudioStreamSampleFormatLinearPCM) && streamFormat->fIsMixable) {
// it's mixable linear PCM, which means we will be calling a blitter, which works in samples
// not frames

} else if (streamFormat->fNumericRepresentation == kIOAudioStreamNumericRepresentationIEEE754Float) {
// it is some kind of floating point format
if ((streamFormat->fBitWidth == 32) && (streamFormat->fBitDepth == 32) &&
(streamFormat->fByteOrder == kIOAudioStreamByteOrderLittleEndian)) {
// it's Float32, so we are just going to copy the data
memcpy(&((Float32 *) sampleBuf)[firstSample], &floatMixBuf[firstSample],
numSamples * sizeof (Float32));
} else
errorMsg("clipOutputSamples: can't handle floats with a bit width of %d, bit depth of %d, "
"and/or the given byte order", streamFormat->fBitWidth, streamFormat->fBitDepth);
}
} else {
// it's not linear PCM or it's not mixable, so just copy the data into the target buffer (AC3 stream)
UInt32 offset = firstSampleFrame * (streamFormat->fBitWidth / 8) * streamFormat->fNumChannels;
UInt32 size = numSampleFrames * (streamFormat->fBitWidth / 8) * streamFormat->fNumChannels;
memcpy(&((SInt8 *) sampleBuf)[offset], &((SInt8 *) mixBuf)[offset], size);
}
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Krazubu
post Aug 2 2011, 08:30 AM
Post #949
Ok, AC3 is not the most important, is there anything to do for low volume ?
Slice
post Aug 2 2011, 02:04 PM
Post #950
QUOTE (Krazubu @ Aug 2 2011, 12:30 PM) *
Ok, AC3 is not the most important, is there anything to do for low volume ?

Sorry, no idea. As I can't recalculate the stream I have no any access to change it.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
vertexbz
post Aug 9 2011, 12:13 PM
Post #951
I made few changes to VooodooHDA:
- Added Mute fix (controlled by plist) - it changes SOUND_MIXER_VOLUME to SOUND_MIXER_PCM on mute, that was an issue with my IDT 92HD71B7X
- Modified Half volume fix - now it is only for SOUND_MIXER_VOLUME or SOUND_MIXER_PCM depended on change volume fix flag (now I have correct volume on Internal Mic)
- Added Half mic volume flag - It's switch for half volume fix for SOUND_MIXER_MIC for those who needs it.

I'm including patch for source code
Attached File  voodoohda.patch.zip ( 1.79K ) Number of downloads: 560


And built binary kext 32 & 64bit, built on Lion with 10.6 SDK
Attached File  VoodooHDA.kext.zip ( 154.12K ) Number of downloads: 2570
Slice
post Aug 9 2011, 05:16 PM
Post #952
Looks good.
I checked compilability and send the changes to svn. Now it is revision 58.
VoodooHDA v2.7.3

Thank you!
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
funkyfrank
post Aug 9 2011, 05:27 PM
Post #953
Hello Slice, hello all,

is there some valid xcode project file available? I can now build voodoohda for 10.6 / 64bits. But when I try to load it, no device will appear. Please could someone post it's valid xcode config for 64bit / 10.6? Thanks.


Edit:

Is it possible to change oGain in MixerValues to 100? It seems that oGain config is not implemented yet.

This post has been edited by funkyfrank: Aug 9 2011, 05:34 PM
vertexbz
post Aug 9 2011, 07:58 PM
Post #954
@funkyfrank: you probably need to build "Release Multichannel" not Debug or others.
funkyfrank
post Aug 9 2011, 11:43 PM
Post #955
QUOTE (vertexbz @ Aug 9 2011, 09:58 PM) *
@funkyfrank: you probably need to build "Release Multichannel" not Debug or others.

Nice, thanks vertexbz, it works.
funkyfrank
post Aug 10 2011, 11:33 AM
Post #956
I would like to add some workaround to prevent the loud crackle when the driver is loaded and when the computer powers off. On the Vaio VoodooHDA will cause a very loud crackle on power down.

Any idea what way could do the trick?

a) Muting main volumes before configure anything?
b ) Selecting some fake device on start/exit?

Also I would like to set the default rate to 48000Hz. Now sometimes the driver selects 192khz, which is definetly too much and takes lots of kernel resources. I could not find any default switch for it until now, so the only way is the add a config trigger like "max rate"?

This post has been edited by funkyfrank: Aug 10 2011, 11:37 AM
ankh_red
post Aug 18 2011, 04:04 AM
Post #957
"sleep first" problem is a little bug on Vo0dooHDA. I hope it can be fixed in the next release.. mellow.gif
in Lion the problem is still there..
Carlos Lopes
post Aug 18 2011, 08:10 AM
Post #958
QUOTE (Slice @ Jul 30 2011, 10:19 PM) *
It is from initial here. Just set nodes in one group.



hello Slice!!! I have read to much this topic and i´m trying to learn more about config voodooHDA with nodes. I´ve tried to fix my sound card ALC861 with apple hda, azalia audio and many other vodooHDA.kext but all failed. So my config is:

Mac OS X 86 - Snow Leopard 10.6.6i by Hazard

Mobo: Uniwill M31EI Mobile Intel Calistoga-GM i945GM
Processador: Mobile Intel Celeron M 410, 1466 MHz (11 x 133) x86, MMX, SSE, SSE2, SSE3
HD1: Samsung/ 500GB/ SATA [Snow Leopard 10.6.6 + Windows 7 Dual Boot com Chamaleon 2]
Audio: Realtek ALC861 @ Intel 82801GBM ICH7-M - High Definition Audio Controller [B-0]
Rede Lan: Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Controller
Wi-Fi: Gigabyte GN-WI01GT (mini) PCI-E WLAN Card
Video: Mobile Intel® 945 Express Chipset Family (256 MB)

mic works fine but out put does not. I have a speaker, a mic (pink) and an output (green). I´m sending files like a codec dump from linux, voodoo codec dump and others.

I have some doubts about this!

Thank a lot my new friend!

Attached File  codec_verbs_e_voodoohda_codec_dump.zip ( 7.58K ) Number of downloads: 53

Attached File  Screen_shot_2011_08_16_at_19.58.08.png ( 118.71K ) Number of downloads: 115


This post has been edited by Carlos Lopes: Aug 18 2011, 08:21 AM
Snow Leopard 10.6.6i by Hazard
Mobo: Uniwill M31EI Mobile Intel Calistoga-GM i945GM
Processador: Mobile Intel Celeron M 410, 1466 MHz x86, MMX, SSE, SSE2, SSE3
HD: Samsung/ 500GB/ SATA [Snow Leopard 10.6.6 + Windows 7 Dual Boot com Chamaleon 2RC5]
Audio: Realtek ALC861 @ Intel 82801GBM ICH7-M
Rede Lan: Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Controller
Wi-Fi: Gigabyte GN-WI01GT (mini) PCI-E WLAN Card
Video: Mobile Intel® 945 Express Chipset Family
afiser
post Aug 19 2011, 10:46 PM
Post #959
QUOTE (vertexbz @ Aug 9 2011, 07:13 AM) *
I made few changes to VooodooHDA:
- Added Mute fix (controlled by plist) - it changes SOUND_MIXER_VOLUME to SOUND_MIXER_PCM on mute, that was an issue with my IDT 92HD71B7X
- Modified Half volume fix - now it is only for SOUND_MIXER_VOLUME or SOUND_MIXER_PCM depended on change volume fix flag (now I have correct volume on Internal Mic)
- Added Half mic volume flag - It's switch for half volume fix for SOUND_MIXER_MIC for those who needs it.

I'm including patch for source code
Attached File  voodoohda.patch.zip ( 1.79K ) Number of downloads: 560


And built binary kext 32 & 64bit, built on Lion with 10.6 SDK
Attached File  VoodooHDA.kext.zip ( 154.12K ) Number of downloads: 2570


getting a kernel panic on boot with this one. i dont recall the exact message, i will try again and edit my post to reflect the message. this is a notebook btw

EDIT: message is
CODE
Controller: Intel 82801G (vendor ID:8086 device ID:27d8
error: unable to put controller in reset
error: resetController failed
error: unable to put controller in reset
warning: resetController failed
panic

and then the usually kernel panic mumbo jumbo, i dont think it is needed, but if so ill try to get it in here


Controller VEN/DEV is 0x27d88086 (ICH7M Intel 82801G) and Codec is 0x198111D4 (AD1981HD)

my codec dump is attached

thank you for the help

P.S would like to point out that this voodoohda.kext is working fine on my desktop which has ICH9R and AD1988B (though my front headphone jack is not working and perfpane doesn't switch it either)

P.S.S would also like to point out that i get an IORegistryEntryGetPath 0x10000003 error using voodoohdahelper getdump, and getExtdump, yet it works fine on my desktop top.

Attached File  card0_codec_0.txt ( 8.63K ) Number of downloads: 25


This post has been edited by afiser: Aug 22 2011, 09:00 PM
blackbumer
post Aug 21 2011, 11:22 AM
Post #960
QUOTE (vertexbz @ Aug 9 2011, 04:13 PM) *
I made few changes to VooodooHDA:
- Added Mute fix (controlled by plist) - it changes SOUND_MIXER_VOLUME to SOUND_MIXER_PCM on mute, that was an issue with my IDT 92HD71B7X
- Modified Half volume fix - now it is only for SOUND_MIXER_VOLUME or SOUND_MIXER_PCM depended on change volume fix flag (now I have correct volume on Internal Mic)
- Added Half mic volume flag - It's switch for half volume fix for SOUND_MIXER_MIC for those who needs it.

I'm including patch for source code
Attached File  voodoohda.patch.zip ( 1.79K ) Number of downloads: 560


And built binary kext 32 & 64bit, built on Lion with 10.6 SDK
Attached File  VoodooHDA.kext.zip ( 154.12K ) Number of downloads: 2570

tried at my laptop
i don't hear any sound
Attached File  getdump.txt.zip ( 4.35K ) Number of downloads: 19

what should i add in Info.plist to make it work?
HP Pavilion dv6-6160er (QA972EA) | Intel® Core™ i7-2630QM | 8Gb DDR3 | 500 Gb SATA | AMD Radeon HD 6490М (1 Gb GDDR5) | audio 92HD81B1X | Lion OS X 10.7 | full specs on HP site

68 Pages V  « < 46 47 48 49 50 > » 
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: