Author Topic: How to calculate IOPCIMatch?  (Read 17664 times)

0 Members and 1 Guest are viewing this topic.

cyberdrive

  • Entrant
  • Posts: 1
How to calculate IOPCIMatch?
« on: December 06, 2010, 09:34:22 PM »
Hiya all!

First of all my Situation:
Onboard ALC888
HDMI on Graphics Card GTX460

I do have managed to get my Onboard ALC888 running by using a patched voodooHDA 0.2.1 where i could enter my DeviceID of the HDMI to skip.

Is it possible to skip HDMI audio in 2.7.2 too because i want to use the PrefPane.


lspci got me the following line:
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b]

what do i have to enter in IOPCIMatch then?
I just donĀ“t get it wink.gif

Thx in advance
Cyber

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: How to calculate IOPCIMatch?
« Reply #1 on: December 10, 2010, 12:52:08 AM »
Hi

If I'm understanding your question you want to code a IOPCIMatch value that makes VoodooHDA only attach to your onboard Audio Chip and not the HDMI sound on your graphics card. 

http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/WritingPCIDrivers/pci_device/pci_device.html is a good description of PCI matching.

I think you need to code your IOPCIMatch key as 0x284b8086 to do this,  I tried it on my sound driver and it worked for my setup.

You should also make sure there are no other match keys like IOPCIClassMatch (0x403000&0xfff0000) as that may cause an unwanted match.
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

sebsav

  • Entrant
  • Posts: 2
Re: How to calculate IOPCIMatch?
« Reply #2 on: December 12, 2010, 01:37:17 PM »
Hi,

I'm having the exact same issue here (though with a gtx480 and ALC889)
then I'd like to known... are we talking about adding two lignes in the Info.plist or something a bit more tricky?

I appologies in advance for my noobness... ???

Thx to you all
GA-X58A-UD7 / i7 950
12GB G.Skill DDR3 1600
480GTX

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: How to calculate IOPCIMatch?
« Reply #3 on: December 14, 2010, 12:50:09 AM »
We are talking about changing the supplied Info.plist from this:
Code: [Select]
                       <key>IOPCIClassMatch</key>
                       <string>0x04030000&amp;0xffff0000</string>
to this:
Code: [Select]
                       <key>IOPCIMatch</key>
                       <string>0x284b8086</string>


It's been a while since I looked at VoodooHDA and it looks like the development of this kext is being supported by a developer on the Project OS X site.  If this doesn't solve your problem then perhaps the developer can help you.  There appears to have been a lot of changes since the 2.2 kext was posted here.
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

sebsav

  • Entrant
  • Posts: 2
Re: How to calculate IOPCIMatch?
« Reply #4 on: December 14, 2010, 10:52:17 PM »
It works !

I thank you... a lot.
GA-X58A-UD7 / i7 950
12GB G.Skill DDR3 1600
480GTX

miscbeep

  • Entrant
  • Posts: 1
Re: How to calculate IOPCIMatch?
« Reply #5 on: January 11, 2011, 01:41:37 PM »
Hi guys, I have a similar problem ( Don't wanna spam with another thread ). When I installed VooDooHDA 2.7.2, which is the latest, when I went to the prefpane it showed HDMI OUT as the main device, and I need the prefpane to adjust the noise remover of my Green line out. How do I make it skip the hdmi, so I can work with the green out from the prefpane ?

I'm actually using an older version of the voodoo kext now, which is working ( mic/out and all ) but what bothers me is all this hissing noise I get from some songs, I don't know why it happens but its making hissing on some frequencies, not on every song though. And I hope that if I can manipulate the kext through the prefpane it will make the noises disappear..

Anyway, I tried the method above, I renamed the IOPCIClassMatch string to IOPCIMatch, and inserted my onboard audio vendor and device ids, respectively - 0x11d4_1986 ( I'm not sure whether those are the right ones, I saw another combo of numbers - 0x1043_818f ) ( without the "_" ) and restarted and now I don't have sound at all. I also deleted the 0xfff000 stuff that was there, and I left only mine. Any ideas ? My HDMI sound is coming from my GPU, which ids are - 9442x1002
How do I apply the skipping process into the .plists ?

Ideas ? Thanks.
« Last Edit: January 11, 2011, 01:53:00 PM by miscbeep »