justvisiting Posted January 19, 2008 Share Posted January 19, 2008 EDIT: sorry for bad formatting.... Stereo out tested; spdif light on, not testing. no other configs tested This still needs taruga's AppleHDA kext patching, but removes need for ALCInject. END EDIT Intel D975xbx2kr BadAxe2 Sigmatel 9274D use at your own risk. a) install STAC9274D_83847621.txt using Taruga's AppleHDA Patcher 1.16 fix perms, reboot; confirm sound works b ) MOVE /S/L/E/AppleALCInject.kext to /backups (e.g. only. ie. SAVE your environment) c) BACKUP /L/P/SC/com.apple.boot.list and remove extensions.mkext d) using instructions from: http://forum.netkas.org/index.php/topic,104.0.html obtain a GFX-string plist if you do not have one for your video card. if you do not need one, a template SFX plist is found in that thread e) add the following data to GFX-string plist for STAC9274D sound chip: <key>PciRoot(0x0)/Pci(0x1b,0x0)</key> <dict> <key>PinConfigurations</key> <string></string> <key>built-in</key> <string>0x00</string> <key>layout-id</key> <string>0x0000000c</string> <key>revision-id</key> <string>0x00000001</string> <key>subsystem-id</key> <string>0x00000419</string> <key>subsystem-vendor-id</key> <string>0x00008086</string> <key>vendor-id</key> <string>0x00008086</string> </dict> f) build hex string and replace existing one in com.apple.Boot.plist reboot and hope it works like mine does now, i notice some #s are different from linux codec dump. i will see if this allows line/etc if i can fix. if not. too bad hex string for 7600GS+STAC9274D: c904000001000000020000009a0300001400000002010c00d041030a000000000101060000010101 0000007fff040014000000400032002c006e0061006d00650000001100000073656e736f722d7067 656e7436000000400032002c00680077006300740072006c002d0070006100720061006d007300d0 760065007200730069006f006e00000008000000000000021c000000640065007600690063006005 0074007900700065000000100000004e5644412c4765466f7263650e0000006e0061006d00650000 0f0000004e5644412c506172656e7422000000400030002c00640065007600690063006500500740 79007000650000000b000000646973706c6179100000006d006f00640065006c0000001e000004e5 49444941204765466f72636520373630302047532045464922000000400031002c00640060076006 00630065005f00740079007000650000000b000000646973706c61791200000040003200c0072006 0067000000080000000000000222000000400032002c006400650076006900630065005007400790 700065000000120000004e5644412c6770752d64696f646520000000400032002c006306f006d007 0061007400690062006c0065000000160000004e5644412c73656e736f722d70617266e742200000 400032002c002300730069007a0065002d00630065006c006c007300000008000000000000020000 00400031002c0063006f006d00700061007400690062006c00650000000e00000045644412c4e564 616314000000400030002c006e0061006d0065000000120000004e5644412c44693706c61792d413 000000400032002c0068007700730065006e0073006f0072002d007000610072061006d0073002d0 760065007200730069006f006e00000008000000000000022600000040003200c002300610064007 006500730073002d00630065006c006c007300000008000000000000011400000400031002c006e0 61006d0065000000120000004e5644412c446973706c61792d422000000040030002c0063006f006 00700061007400690062006c00650000000e0000004e5644412c4e564d6161e00000072006f006d0 2d007200650076006900730069006f006e000000080000003330323210000004e005600430041005 0000001800000004000000000003000c00000000000007000000000e000004e00560050004d00000 20000000010000000000000000000000000000000000000000000000000000023010000070000000 010c00d041030a0000000001010600001b7fff04001c000000720065076006900730069006f006e0 2d00690064000000080000000100000028000000500069006e004300f006e0066006900670075007 006100740069006f006e007300000004000000180000007600650060064006f0072002d006900640 000008000000868000002c00000073007500620073007900730074065006d002d00760065006e006 006f0072002d0069006400000008000000868000001e000000730750062007300790073007400650 6d002d006900640000000800000019040000180000006c0061009006f00750074002d00690064000 00080000000c000000160000006200750069006c0074002d006006e0000000500000000 Link to comment Share on other sites More sharing options...
justvisiting Posted January 19, 2008 Author Share Posted January 19, 2008 this stupid stupid stupid forum software makes it very difficult to want to contributeok. edit # a gazillionnow NOT quoted as code, but attached is the SFX plist string attached as txt is the codec dump from ubuntu linux 7.10 my first question is why the plist does not have sigmatel as the vendor-id or subvendor-id but only intel (8086) .wonder if changing that would remove need for the taruga patch 2nd question: the codec revision # is also different from the value in the plist more reboots are in order ... question to mods: why heck does "add reply" , or "fast reply", or clicking on my post and hitting "reply" RANDOMLY _*NOT*_ actually ADD a reply, but MERGE with my previous one? very frustrating. juvi_sfx_string.plist.txt SigmaTel_9274D.txt Link to comment Share on other sites More sharing options...
justvisiting Posted January 21, 2008 Author Share Posted January 21, 2008 EFI string definitions Hello, Does anyone know of a good source for the definitions used in the audio portion of the XML plist files? My Badaxe2 Sigmatel linux audio codec has the following: Codec: SigmaTel STAC9274D Address: 2 Vendor Id: 0x83847621 Subsystem Id: 0x80860419 Revision Id: 0x100201 I've used the following values with stereo out success: <key>layout-id</key> <string>0x0000000c</string> <key>revision-id</key> <string>0x00000001</string> <key>subsystem-id</key> <string>0x00000419</string> <key>subsystem-vendor-id</key> <string>0x00008086</string> <key>vendor-id</key> <string>0x00008086</string> Does "layout-id" correspond to "address"? Would a better value for "revision-id" be 0x100201? Would a better value for "vendor-id be 8384? Thanks Link to comment Share on other sites More sharing options...
justvisiting Posted January 23, 2008 Author Share Posted January 23, 2008 *) I can only test stereo out and mic in using taruga's patched AppleHDA environment: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ a) changing "revision id" to 0x100201 (from codec dump) had no adverse impact, still no mic in, so i left it in B ) changing vendor-id or subsystem-vendor-id from 8086 (intel) to 8384 (sigmatel audio) had adverse impact (no sound) -- so i revert. c) I've noticed taruga's kext includes layout xml files under Resources/ subdir numerically named all have "spdifin" or "spdif_in" _except_ layout6.xml and layout7.xml. badaxe2 does _NOT_have spdif input BUT gfxstring's input plist uses layout-id 0xc (ie. 12 decimal). changing to 6 or 7 and regenerating EFI string had adverse impact (no sound). so i revert. d) then noticed AppleHDA's info.plist file ALSO has LayoutID set as 12 (0xc) but its different from contents of layout12.xml so i am not yet sure how to plug layout6.xml or layout7.xml into Info.plist hopefully a clue for someone else. so this evening concludes 5 hours of edit/reboot. maybe more work on the weekend. Link to comment Share on other sites More sharing options...
Leoopardoo Posted February 21, 2008 Share Posted February 21, 2008 Any success with audio efi strings ? Link to comment Share on other sites More sharing options...
justvisiting Posted February 22, 2008 Author Share Posted February 22, 2008 no work since then. I'm waiting to see if 10.5.2 works differently with taruga's 2.0 (release date unknown). Link to comment Share on other sites More sharing options...
Recommended Posts