InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 09-06-2009, 04:47 PM
Gurruwiwi Gurruwiwi is offline
Tiger
 
Join Date: Jun 2009
Posts: 306
Ok

got my configdata to text pad, then copied to dsdt format, had to add 4 lines from your quote above, so I just followed the line numbering. Could that imply I need a higher hex "buffer" values, if mine is 4 lines longer its not going to be 160byte. How to calculate this and transform to hex value?

Mind taking a look to see if I did it right? Plus, when you say "above layout-id", you did mean after right?

Tried recompiling, got 27 errors!

Code:
Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "layout-id", 
                            Buffer (0xA0)
{
/* 0000 */ 0x01, 0x87, 0x1c, 0x40, 0x01, 0x87, 0x1d, 0x90, 
/* 0008 */ 0x01, 0x87, 0x1e, 0xA1, 0x01, 0x87, 0x1f, 0x02,
/* 0010 */ 0x01, 0x97, 0x1c, 0x50, 0x01, 0x97, 0x1d, 0x11,
/* 0018 */ 0x01, 0x97, 0x1e, 0x11, 0x01, 0x97, 0x1f, 0x41,
/* 0020 */ 0x01, 0xa7, 0x1c, 0x60, 0x01, 0xa7, 0x1d, 0x30,
/* 0028 */ 0x01, 0xa7, 0x1e, 0x81, 0x01, 0xa7, 0x1f, 0x02,
/* 0030 */ 0x01, 0xb7, 0x1c, 0x70, 0x01, 0xb7, 0x1d, 0x11,
/* 0038 */ 0x01, 0xb7, 0x1e, 0x11, 0x01, 0xb7, 0x1f, 0x41,
/* 0040 */ 0x01, 0x47, 0x1c, 0x10, 0x01, 0x47, 0x1d, 0x01,
/* 0048 */ 0x01, 0x47, 0x1e, 0x13, 0x01, 0x47, 0x1f, 0x99,
/* 0050 */ 0x01, 0x57, 0x1c, 0x20, 0x01, 0x57, 0x1d, 0x10,
/* 0058 */ 0x01, 0x57, 0x1e, 0x21, 0x01, 0x57, 0x1f, 0x02,
/* 0060 */ 0x01, 0x67, 0x1c, 0x30, 0x01, 0x67, 0x1d, 0x11, 
/* 0068 */ 0x01, 0x67, 0x1e, 0x11, 0x01, 0x67, 0x1f, 0x41, 
/* 0070 */ 0x01, 0x77, 0x1c, 0x80, 0x01, 0x77, 0x1d, 0x11, 
/* 0078 */ 0x01, 0x77, 0x1e, 0x11, 0x01, 0x77, 0x1f, 0x41, 
/* 0080 */ 0x01, 0xe7, 0x1c, 0x90, 0x01, 0xe7, 0x1d, 0x11,
/* 0088 */ 0x01, 0xe7, 0x1e, 0x45, 0x01, 0xe7, 0x1f, 0x02,
/* 0090 */ 0x01, 0xf7, 0x1c, 0xa0, 0x01, 0xf7, 0x1d, 0x11,
/* 0098 */ 0x01, 0xf7, 0x1e, 0x11, 0x01, 0xf7, 0x1f, 0x41,
/* 0100 */ 0x01, 0x27, 0x1c, 0xb0, 0x01, 0x27, 0x1d, 0x01, 
/* 0108 */ 0x01, 0x27, 0x1e, 0xA3, 0x01, 0x27, 0x1f, 0x99,
/* 0110 */ 0x01, 0x17, 0x1c, 0xc0, 0x01, 0x17, 0x1d, 0x11,
/* 0118 */ 0x01, 0x17, 0x1e, 0x56, 0x01, 0x17, 0x1f, 0x18
},
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

_____________________________________________

Acer 6936g 864G32mn [@ Snow Leopard 10.6.1 32/64bit
C2D 2,4Ghz 4Gb 1066mhz DDR3 9600m GT 512 GDDR3

___Snow Leopard tutorial -> http://www.infinitemac.com/f57/guide...ted-for-t4183/
_________Leopard
tutorial ->http://www.infinitemac.com/f19/guide...-iatkos-t3357/

Last edited by Gurruwiwi; 09-06-2009 at 04:54 PM.
Reply With Quote
  #2  
Old 09-06-2009, 04:54 PM
mormegil mormegil is offline
Panther
 
Join Date: Aug 2009
Posts: 148
@ Gurru

Read again what I wrote. What you have done is completely replace your layoutid with your configdata. I said copy the WHOLE code into your dsdt. Not replace stuff. Wheres the "ConfigData" header?

Looks like I have to do everything for you then:
Quote:
Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0B)
{
"layout-id",
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},
"ConfigData",
Buffer (0xC0)
{
/* 0000 */ 0x01, 0x87, 0x1c, 0x40, 0x01, 0x87, 0x1d, 0x90,
/* 0008 */ 0x01, 0x87, 0x1e, 0xA1, 0x01, 0x87, 0x1f, 0x02,
/* 0010 */ 0x01, 0x97, 0x1c, 0x50, 0x01, 0x97, 0x1d, 0x11,
/* 0018 */ 0x01, 0x97, 0x1e, 0x11, 0x01, 0x97, 0x1f, 0x41,
/* 0020 */ 0x01, 0xa7, 0x1c, 0x60, 0x01, 0xa7, 0x1d, 0x30,
/* 0028 */ 0x01, 0xa7, 0x1e, 0x81, 0x01, 0xa7, 0x1f, 0x02,
/* 0030 */ 0x01, 0xb7, 0x1c, 0x70, 0x01, 0xb7, 0x1d, 0x11,
/* 0038 */ 0x01, 0xb7, 0x1e, 0x11, 0x01, 0xb7, 0x1f, 0x41,
/* 0040 */ 0x01, 0x47, 0x1c, 0x10, 0x01, 0x47, 0x1d, 0x01,
/* 0048 */ 0x01, 0x47, 0x1e, 0x13, 0x01, 0x47, 0x1f, 0x99,
/* 0050 */ 0x01, 0x57, 0x1c, 0x20, 0x01, 0x57, 0x1d, 0x10,
/* 0058 */ 0x01, 0x57, 0x1e, 0x21, 0x01, 0x57, 0x1f, 0x02,
/* 0060 */ 0x01, 0x67, 0x1c, 0x30, 0x01, 0x67, 0x1d, 0x11,
/* 0068 */ 0x01, 0x67, 0x1e, 0x11, 0x01, 0x67, 0x1f, 0x41,
/* 0070 */ 0x01, 0x77, 0x1c, 0x80, 0x01, 0x77, 0x1d, 0x11,
/* 0078 */ 0x01, 0x77, 0x1e, 0x11, 0x01, 0x77, 0x1f, 0x41,
/* 0080 */ 0x01, 0xe7, 0x1c, 0x90, 0x01, 0xe7, 0x1d, 0x11,
/* 0088 */ 0x01, 0xe7, 0x1e, 0x45, 0x01, 0xe7, 0x1f, 0x02,
/* 0090 */ 0x01, 0xf7, 0x1c, 0xa0, 0x01, 0xf7, 0x1d, 0x11,
/* 0098 */ 0x01, 0xf7, 0x1e, 0x11, 0x01, 0xf7, 0x1f, 0x41,
/* 0100 */ 0x01, 0x27, 0x1c, 0xb0, 0x01, 0x27, 0x1d, 0x01,
/* 0108 */ 0x01, 0x27, 0x1e, 0xA3, 0x01, 0x27, 0x1f, 0x99,
/* 0110 */ 0x01, 0x17, 0x1c, 0xc0, 0x01, 0x17, 0x1d, 0x11,
/* 0118 */ 0x01, 0x17, 0x1e, 0x56, 0x01, 0x17, 0x1f, 0x18
},

"PinConfigurations",
Buffer (Zero) {}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard

Last edited by mormegil; 09-06-2009 at 05:03 PM.
Reply With Quote
  #3  
Old 09-06-2009, 05:01 PM
ajacocks ajacocks is offline
Cheetah
 
Join Date: Sep 2009
Posts: 13
Mormegil,

AAH...I see what you mean about the misplaced Info.plist file in AppleHDAPlatform. I must have typoed a replacement, at some point. Anyway, I replaced those Info.plist files with the ones that you sent, and rebooted. I still get those assertion failures.

Attached current AppleHDA.kext file.

Thanks!
Attached Files
File Type: zip applehda.zip (1.15 MB, 10 views)

Last edited by ajacocks; 09-06-2009 at 05:05 PM.
Reply With Quote
  #4  
Old 09-06-2009, 05:08 PM
mormegil mormegil is offline
Panther
 
Join Date: Aug 2009
Posts: 148
@ajacocks
Is your sound working?

@gurru
have you compiled yet? What configdata? in your plist?

Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard

Last edited by mormegil; 09-06-2009 at 05:12 PM.
Reply With Quote
  #5  
Old 09-06-2009, 05:20 PM
Gurruwiwi Gurruwiwi is offline
Tiger
 
Join Date: Jun 2009
Posts: 306
Waiting for you input if the example above is correct. You say "place about layout-id" but I think you may have meant "below"

yes, that config data from info.plist inside applehda/AppleHDAHardwareConfigDriver/plist/etc etc

I assume that is the "configdata header" you asked for just now...?

_____________________________________________

Acer 6936g 864G32mn [@ Snow Leopard 10.6.1 32/64bit
C2D 2,4Ghz 4Gb 1066mhz DDR3 9600m GT 512 GDDR3

___Snow Leopard tutorial -> http://www.infinitemac.com/f57/guide...ted-for-t4183/
_________Leopard
tutorial ->http://www.infinitemac.com/f19/guide...-iatkos-t3357/
Reply With Quote
  #6  
Old 09-06-2009, 05:26 PM
ajacocks ajacocks is offline
Cheetah
 
Join Date: Sep 2009
Posts: 13
mormegil,

No, my sound isn't working. I have no input and no output devices listed in the Audio part of System Preferences.

I also get those assertion failures that I pasted in, above, when a sound tries to play.

Thanks so much for continuing to help!
Reply With Quote
  #7  
Old 09-06-2009, 05:33 PM
mormegil mormegil is offline
Panther
 
Join Date: Aug 2009
Posts: 148
Quote:
Originally Posted by ajacocks View Post
mormegil,

No, my sound isn't working. I have no input and no output devices listed in the Audio part of System Preferences.

I also get those assertion failures that I pasted in, above, when a sound tries to play.

Thanks so much for continuing to help!
Is the codec dump made by yourself or did you download it? You're on a lappy too yeah?

Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard
Reply With Quote
  #8  
Old 09-06-2009, 06:30 PM
ajacocks ajacocks is offline
Cheetah
 
Join Date: Sep 2009
Posts: 13
Quote:
Originally Posted by mormegil View Post
Is the codec dump made by yourself or did you download it? You're on a lappy too yeah?
Yep, this is a laptop...a 17" desktop replacement. I made the codec dump myself, using a Ubuntu 9.04 x64 livecd, following TheKing's instructions.

Thanks!
Reply With Quote
  #9  
Old 09-06-2009, 07:36 PM
mormegil mormegil is offline
Panther
 
Join Date: Aug 2009
Posts: 148
Quote:
Originally Posted by ajacocks View Post
Yep, this is a laptop...a 17" desktop replacement. I made the codec dump myself, using a Ubuntu 9.04 x64 livecd, following TheKing's instructions.

Thanks!
try this set
Attached Files
File Type: zip 883 plists2.zip (118.0 KB, 4 views)

Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard
Reply With Quote
  #10  
Old 09-06-2009, 05:30 PM
mormegil mormegil is offline
Panther
 
Join Date: Aug 2009
Posts: 148
Quote:
Originally Posted by Gurruwiwi View Post
Waiting for you input if the example above is correct. You say "place about layout-id" but I think you may have meant "below"

yes, that config data from info.plist inside applehda/AppleHDAHardwareConfigDriver/plist/etc etc

I assume that is the "configdata header" you asked for just now...?
I meant this:

Quote:
"ConfigData",
Buffer (......
from the code I pasted initially

Core2Quad / MSI P45 Neo2-FR / HD4870 / Snow Leopard
Reply With Quote
Reply