netkas.org forum
August 05, 2020, 12:14:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Information for registering users http://forum.netkas.org/index.php/topic,2246.0.html
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: sfx_string for Intel D975xbx2kr BadAxe2  (Read 11643 times)
JustVisiting
Not Newbie
*
Offline Offline

Posts: 12


« on: January 19, 2008, 05:12:49 AM »

EDIT: Stereo out tested; spdif light on, not testing. no other configs tested

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 GFX string 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 Smiley


hex string for 7600GS+STAC9274D:



c904000001000000020000009a0300001400000002010c00d041030a000000000101060000010101060000007fff040014000000400032002c006e0061006d00650000001100000073656e736f722d706172656e7436000000400032002c00680077006300740072006c002d0070006100720061006d0073002d00760065007200730069006f006e00000008000000000000021c0000006400650076006900630065005f0074007900700065000000100000004e5644412c4765466f7263650e0000006e0061006d00650000000f0000004e5644412c506172656e7422000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001e0000004e5649444941204765466f72636520373630302047532045464922000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617912000000400032002c007200650067000000080000000000000222000000400032002c006400650076006900630065005f0074007900700065000000120000004e5644412c6770752d64696f646520000000400032002c0063006f006d00700061007400690062006c0065000000160000004e5644412c73656e736f722d706172656e7422000000400032002c002300730069007a0065002d00630065006c006c0073000000080000000000000020000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616314000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d413a000000400032002c0068007700730065006e0073006f0072002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000226000000400032002c0023006100640072006500730073002d00630065006c006c0073000000080000000000000114000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4220000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d61631e00000072006f006d002d007200650076006900730069006f006e0000000800000033303232100000004e00560043004100500000001800000004000000000003000c00000000000007000000000e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000230100000700000002010c00d041030a0000000001010600001b7fff04001c0000007200650076006900730069006f006e002d00690064000000080000000100000028000000500069006e0043006f006e00660069006700750072006100740069006f006e00730000000400000018000000760065006e0064006f0072002d0069006400000008000000868000002c000000730075006200730079007300740065006d002d00760065006e0064006f0072002d0069006400000008000000868000001e000000730075006200730079007300740065006d002d006900640000000800000019040000180000006c00610079006f00750074002d00690064000000080000000c000000160000006200750069006c0074002d0069006e0000000500000000




« Last Edit: January 19, 2008, 05:20:31 AM by JustVisiting » Logged
JustVisiting
Not Newbie
*
Offline Offline

Posts: 12


« Reply #1 on: January 19, 2008, 04:42:51 PM »

   <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>

Logged
JustVisiting
Not Newbie
*
Offline Offline

Posts: 12


« Reply #2 on: January 19, 2008, 04:44:19 PM »

Codec: SigmaTel STAC9274D
Address: 2
Vendor Id: 0x83847621
Subsystem Id: 0x80860419
Revision Id: 0x100201
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x0e, stepsize=0x05, mute=0
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x66 0x66]
  Power: 0x0
Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0xff 0xff]
  Power: 0x0
Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0xff 0xff]
  Power: 0x0
Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0xff 0xff]
  Power: 0x0
Node 0x06 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0xff 0xff]
  Power: 0x0
Node 0x07 [Audio Input] wcaps 0x1d0541: Stereo
  Power: 0x0
  Connection: 1
     0x1b
Node 0x08 [Audio Input] wcaps 0x1d0541: Stereo
  Power: 0x0
  Connection: 1
     0x1c
Node 0x09 [Audio Input] wcaps 0x1d0541: Stereo
  Power: 0x0
  Connection: 1
     0x1d
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
  Pin-ctls: 0xc0: OUT HP
  Connection: 3
     0x02* 0x03 0x06
Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x02a19040: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 3
     0x02* 0x03 0x06
Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x081737: IN OUT Detect
  Pin Default 0x0181302e: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x20: IN
  Connection: 1
     0x03
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x01114010: [Jack] Speaker at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x0e [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x081737: IN OUT Detect
  Pin Default 0x01a19020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 1
     0x04
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x081737: IN OUT Detect
  Pin Default 0x01111012: [Jack] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x05
Node 0x10 [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0837: IN OUT Detect
  Pin Default 0x01117011: [Jack] Speaker at Ext Rear
    Conn = 1/8, Color = Yellow
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x04
Node 0x11 [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0837: IN OUT Detect
  Pin Default 0x400000fb: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
  Connection: 1
     0x03
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x500000fe: [N/A] Line Out at Int N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x13 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x500000ff: [N/A] Line Out at Int N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x14 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x500000fd: [N/A] Line Out at Int N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x0e* 0x12 0x0f 0x0b 0x0c 0x0d 0x0a 0x10 0x11
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x0e* 0x12 0x0f 0x0b 0x0c 0x0d 0x0a 0x10 0x11
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x0e* 0x12 0x0f 0x0b 0x0c 0x0d 0x0a 0x10 0x11
Node 0x18 [Audio Selector] wcaps 0x300103: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Connection: 1
     0x15
Node 0x19 [Audio Selector] wcaps 0x300103: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Connection: 1
     0x16
Node 0x1a [Audio Selector] wcaps 0x300103: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00]
  Connection: 1
     0x17
Node 0x1b [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 3
     0x18* 0x13 0x14
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 3
     0x19* 0x13 0x14
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 3
     0x1a* 0x13 0x14
Node 0x1e [Audio Output] wcaps 0x40211: Stereo Digital
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
Node 0x1f [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital
Node 0x20 [Audio Input] wcaps 0x140311: Stereo Digital
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Connection: 1
     0x22
Node 0x21 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x01452150: [Jack] SPDIF Out at Ext Rear
    Conn = Optical, Color = Grey
  Pin-ctls: 0x40: OUT
  Connection: 5
     0x1e* 0x1f 0x1b 0x1c 0x1d
Node 0x22 [Pin Complex] wcaps 0x430681: Stereo Digital
  Pincap 0x0810024: IN EAPD Detect
  Pin Default 0x400000fc: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
  Power: 0x0
Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
  Amp-Out vals:  [0x00]
Node 0x24 [Volume Knob Widget] wcaps 0x600000: Mono

Logged
JustVisiting
Not Newbie
*
Offline Offline

Posts: 12


« Reply #3 on: January 19, 2008, 04:46:09 PM »

My first question is why the codec's vendor ID is not reflected in the plist.  Intel is there (8086), but no sigmatel

Would putting sigmatel in remove need for taruga hda patch? hmm....
Logged
JustVisiting
Not Newbie
*
Offline Offline

Posts: 12


« Reply #4 on: January 21, 2008, 05:06:18 PM »

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


Logged
aberracus
Not Newbie
*
Offline Offline

Posts: 24


« Reply #5 on: January 22, 2008, 06:25:07 PM »

There a lot of ppl with bad axe 2 please keep us informed of your progress, shouldnt you try to contact taruga?

Logged
JustVisiting
Not Newbie
*
Offline Offline

Posts: 12


« Reply #6 on: January 23, 2008, 05:01:45 AM »

*) 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.




Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!