Jump to content

Dell XPS M1530 / M1330 AppleHDA Solutions (Sigmatel STAC 9228)


talisman
 Share

201 posts in this topic

Recommended Posts

Ok im damn lost!

 

I want to configure my Jack differently so i can use Front/Rear/External Mic, i know MacGirl posted the Nodes for Front Central and Rear but im damn lost in the .plist, im not sure where the values are, closer i've been, i've found 4 Values but changing them did nothing ;(, so im kinda sure they were the wrong ones...

 

Heres a Screenshot of what im changing

 

http://localhostr.com/files/c131b3/infoplist.png

This are the Default Values, just in case...

 

Am i changing the correct values? Why do i have 4 Node Entries? (Fourth one not Showing, is set at 11)

 

Will keep trying, hopefully someone can at least tell me im wrong, lol.

 

Thanks :thumbsup_anim:

Link to comment
Share on other sites

  • 3 weeks later...

talisman, Codec Question. My Codec was generated from Fedora 10 rather than the suggested mandriva 2009 live CD because it did not boot up with a /proc/asound/card0/codec##0. It lacked the /card0/codec#0 and not sure why. Fedora 10 has the latest Kernel and Alsa sound package and yet my codec looks a bit different from the one posted on this site:

 

The differences are mostly in the 'AMP-OUT VALS'

 

So why are they different or is it because my XPS M1530 is a bit newer maybe the audio slightly different, purchased in December 2008. The injector provided from this site does work perfectly for my built in audio.

 

I wanted to follow THE KiNG guide to possibly insert the EFI audio strings is why I want a good codec text file.

 

Could you have a quick look to possibly see why the difference?

 

Here is my codec:

 

Codec: SigmaTel STAC9228

Address: 2

Vendor Id: 0x83847616

Subsystem Id: 0x1028022e

Revision Id: 0x100402

No Modem Function Group found

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

GPIO: io=3, o=0, i=0, unsolicited=1, wake=1

IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0

IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0

IO[2]: enable=1, dir=1, wake=0, sticky=0, data=1

Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L

Amp-Out caps: N/A

Amp-Out vals: [0x7f 0x7f]

Converter: stream=0, channel=0

Power: setting=D0, actual=D0

Delay: 13 samples

Node 0x03 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L

Amp-Out caps: N/A

Amp-Out vals: [0xff 0xff]

Converter: stream=0, channel=0

Power: setting=D0, actual=D0

Delay: 13 samples

Node 0x04 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L

Amp-Out caps: N/A

Amp-Out vals: [0xff 0xff]

Converter: stream=0, channel=0

Power: setting=D0, actual=D0

Delay: 13 samples

Node 0x05 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L

Amp-Out caps: N/A

Amp-Out vals: [0x7f 0x7f]

Converter: stream=0, channel=0

Power: setting=D0, actual=D0

Delay: 13 samples

Node 0x06 [Vendor Defined Widget] wcaps 0xfd0c05: Stereo Amp-Out R/L

Amp-Out caps: N/A

Amp-Out vals: [0xff 0xff]

Power: setting=D3, actual=D3

Delay: 13 samples

Node 0x07 [Audio Input] wcaps 0x1d0541: Stereo

Converter: stream=0, channel=0

SDI-Select: 0

Power: setting=D0, actual=D0

Delay: 13 samples

Connection: 1

0x1b

Processing caps: benign=0, ncoeff=0

Node 0x08 [Audio Input] wcaps 0x1d0541: Stereo

Converter: stream=0, channel=0

SDI-Select: 0

Power: setting=D0, actual=D0

Delay: 13 samples

Connection: 1

0x1c

Processing caps: benign=0, ncoeff=0

Node 0x09 [Audio Input] wcaps 0x1d0541: Stereo

Converter: stream=0, channel=0

SDI-Select: 0

Power: setting=D0, actual=D0

Delay: 13 samples

Connection: 1

0x1d

Processing caps: benign=0, ncoeff=0

Node 0x0a [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x08173f: IN OUT HP Detect Trigger ImpSense

Vref caps: HIZ 50 GRD 80

Pin Default 0x0221101f: [Jack] HP Out at Ext Front

Conn = 1/8, Color = Black

DefAssociation = 0x1, Sequence = 0xf

Pin-ctls: 0xc0: OUT HP VREF_HIZ

Unsolicited: tag=30, enabled=1

Connection: 2

0x02* 0x03

Node 0x0b [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x08173f: IN OUT HP Detect Trigger ImpSense

Vref caps: HIZ 50 GRD 80

Pin Default 0x40f000f1: [N/A] Other at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0xf, Sequence = 0x1

Pin-ctls: 0x00: VREF_HIZ

Unsolicited: tag=00, enabled=0

Connection: 2

0x02 0x03*

Node 0x0c [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x081737: IN OUT Detect Trigger ImpSense

Vref caps: HIZ 50 GRD 80

Pin Default 0x90a79130: [Fixed] Mic at Int N/A

Conn = Analog, Color = Pink

DefAssociation = 0x3, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x24: IN VREF_80

Unsolicited: tag=30, enabled=1

Connection: 1

0x03

Node 0x0d [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x08173f: IN OUT HP Detect Trigger ImpSense

Vref caps: HIZ 50 GRD 80

Pin Default 0x90170110: [Fixed] Speaker at Int N/A

Conn = Analog, Color = Unknown

DefAssociation = 0x1, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x40: OUT VREF_HIZ

Unsolicited: tag=00, enabled=0

Connection: 1

0x02

Node 0x0e [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x081737: IN OUT Detect Trigger ImpSense

Vref caps: HIZ 50 GRD 80

Pin Default 0x02a79130: [Jack] Mic at Ext Front

Conn = Analog, Color = Pink

DefAssociation = 0x3, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x24: IN VREF_80

Unsolicited: tag=00, enabled=0

Connection: 1

0x04

Node 0x0f [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x081737: IN OUT Detect Trigger ImpSense

Vref caps: HIZ 50 GRD 80

Pin Default 0x0227011f: [Jack] HP Out at Ext Front

Conn = Analog, Color = Unknown

DefAssociation = 0x1, Sequence = 0xf

Misc = NO_PRESENCE

Pin-ctls: 0x40: OUT VREF_HIZ

Unsolicited: tag=30, enabled=1

Connection: 1

0x05

Node 0x10 [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x0837: IN OUT Detect Trigger ImpSense

Pin Default 0x40f000f2: [N/A] Other at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0xf, Sequence = 0x2

Pin-ctls: 0x00:

Unsolicited: tag=00, enabled=0

Connection: 1

0x04

Node 0x11 [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x0837: IN OUT Detect Trigger ImpSense

Pin Default 0x40f000f3: [N/A] Other at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0xf, Sequence = 0x3

Pin-ctls: 0x00:

Unsolicited: tag=00, enabled=0

Connection: 1

0x03

Node 0x12 [Pin Complex] wcaps 0x400001: Stereo

Pincap 0x0820: IN

Pin Default 0x40f000f4: [N/A] Other at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0xf, Sequence = 0x4

Pin-ctls: 0x00:

Node 0x13 [Pin Complex] wcaps 0x400001: Stereo

Pincap 0x0820: IN

Pin Default 0x90a6012e: [Fixed] Mic at Int N/A

Conn = Digital, Color = Unknown

DefAssociation = 0x2, Sequence = 0xe

Misc = NO_PRESENCE

Pin-ctls: 0x20: IN

Node 0x14 [Pin Complex] wcaps 0x400001: Stereo

Pincap 0x0820: IN

Pin Default 0x40f000f5: [N/A] Other at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0xf, Sequence = 0x5

Pin-ctls: 0x20: IN

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: [0x0e 0x0e]

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 R/L

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x00 0x00]

Connection: 3

0x18* 0x13 0x14

Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L

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 R/L

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

Converter: stream=0, channel=0

Digital:

Digital category: 0x0

PCM:

rates [0x7e0]: 44100 48000 88200 96000 176400 192000

bits [0xe]: 16 20 24

formats [0x5]: PCM AC3

Delay: 4 samples

Node 0x1f [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital

Delay: 3 samples

Node 0x20 [Audio Input] wcaps 0x140311: Stereo Digital

Converter: stream=0, channel=0

SDI-Select: 0

Digital:

Digital category: 0x0

PCM:

rates [0x160]: 44100 48000 96000

bits [0xe]: 16 20 24

formats [0x5]: PCM AC3

Delay: 4 samples

Connection: 1

0x22

Node 0x21 [Pin Complex] wcaps 0x400301: Stereo Digital

Pincap 0x0810: OUT

Pin Default 0x01442070: [Jack] SPDIF Out at Ext Rear

Conn = RCA, Color = Grey

DefAssociation = 0x7, Sequence = 0x0

Pin-ctls: 0x40: OUT

Connection: 5

0x1e* 0x1f 0x1b 0x1c 0x1d

Node 0x22 [Pin Complex] wcaps 0x430681: Stereo Digital

Pincap 0x0810024: IN EAPD Detect

EAPD 0x0:

Pin Default 0x40f000f6: [N/A] Other at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0xf, Sequence = 0x6

Pin-ctls: 0x00:

Unsolicited: tag=00, enabled=0

Power: setting=D0, actual=D0

Delay: 3 samples

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

Volume-Knob: delta=1, steps=127, direct=1, val=127

Connection: 4

0x02* 0x03 0x04 0x05

Link to comment
Share on other sites

Ok im damn lost!

 

I want to configure my Jack differently so i can use Front/Rear/External Mic, i know MacGirl posted the Nodes for Front Central and Rear but im damn lost in the .plist, im not sure where the values are, closer i've been, i've found 4 Values but changing them did nothing ;(, so im kinda sure they were the wrong ones...

 

Heres a Screenshot of what im changing

 

http://localhostr.com/files/c131b3/infoplist.png

This are the Default Values, just in case...

 

Am i changing the correct values? Why do i have 4 Node Entries? (Fourth one not Showing, is set at 11)

 

Will keep trying, hopefully someone can at least tell me im wrong, lol.

 

Thanks :)

You can not change nodes*, you ony can change if they are for input or for output, but the order of them needs to be reversed. if you change input for output or viceversa. but also you need to modify pin configs.

 

* nodes are attached phisically so another node can not be assigned.

Link to comment
Share on other sites

Hmm, so Fedora detects the card correctly huh? I may have to try that on my own laptop. Most likely you have a different codec path because you are using a more mature version of ALSA.

 

 

Well I have Fedora 10 installed on another Hard drive. So I just booted onto it. When I booted to the madriva one 2009 Live CD it did not have a /proc/asound/card0/codec#0 path. Maybe because the live CD does not install the alsa package? Not sure but my fully installed up to date Fedora 10 does indeed have the sound directory path.

 

I am still unsure as to why the codec is different from the one posted from this thread? Maybe my codec generated from Fedora 10 is screwed up I really don't know? The audio works perfectly in Fedora 10.

 

I have not tested the codec generated from Fedora 10 onto OSX yet.

Link to comment
Share on other sites

I posted a legacy kext that brings the internal microphone (but only the mic, no speakers or other) that works on either XPS M1330 or M1530.

 

there is no soloution yet for int Mic and speakers.

Link to comment
Share on other sites

On a ALC888 thread DPyro posted something that catch my attention: http://www.insanelymac.com/forum/index.php...t&p=1126722

 

so there are some tricks to make sound possible on other systems.

 

Here are some links about the reggie_se command:

http://ipis-osx.wikidot.com/forum/t-100527...ternal-speakers

http://developer.apple.com/DOCUMENTATION/D...eggie_se.1.html

 

Could this help us to make the Internal Mic work ?

Link to comment
Share on other sites

Just tried out the VoodooHDA internal mic is working, even detected our HDMI digital output!!! i´m impressed.. yet

 

The built-in internal mic "records" my fingersnapping

no output on the internal speakers

Bad output on the headphones (only the middle port)

HDMI detected, yet no output..

 

and crackling noises =/

needs further testing!

Link to comment
Share on other sites

  • 2 weeks later...

I might be in the wrong here, but are the 1330 kexts not working with 10.5.6 or what?

 

I've tried many times to get this working and I haven't done it yet. I also dont know how to do it any other way than installing a kext.

Link to comment
Share on other sites

Have we determined what the proper pin config is to get both working at once?

Well I found how to pin-config on VoodooHDA but I tried different pin config settings none of them make the internal speakers work, or the internal Mic.

 

On my desktop RIG I made some changes with pin config settings, and worked.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Great job everyone! I almost have my Hackintosh 100% only the internal mic not working... I've tried your experimental kexts but still no mic. I would like to help, just give me a little explanation about how to get the pins configured (yeah I'm a bit noob) and give me any kext you wanna try. (IF they don't have chances to crash my hackintosh, a LOT of time spent in making it work perfectly)

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...

Great work. Sound is fine on my m1330. I got the expected auto-switching behaviour: Sound on internal speakers and left jack or only on middle jack. I don't really care about whether both pins cause auto-switching or just the middle one. However, I would really appreciate having sound on both jacks simultaniously. As I understand some of you got that working by making the pins line-out. You got any kext for that or something?

Link to comment
Share on other sites

  • 3 weeks later...

We need a new AppleHDA for Sigmatel 9228 for Snow Leopard. VoodooHDA has issues (distortion after sleep - need to unload/load, settings are forgotten without helper, external mic doesn't work so good).

 

Here is the unmodified AppleHDA for 10.6: http://www.box.net/shared/c9988pc1yr

 

mormegil from infinitemac made modifications for Sigmatel 9228 but it didn't work for me.

http://www.mediafire.com/?0edndniihml

It has codec id in the binary, pinconfigs in the HardwareConfigDriver and layouts in the PlatformDriver, not sure whats missing.

Link to comment
Share on other sites

Agree with above :)

 

Some errors:

 

With the attached (above) modified AppleHDA.kext...

 

Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAWidgetSTAC9220.cpp" at line 113 goto Exit

Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroup.cpp" at line 116 goto Exit

Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAFunctionGroupSTAC9220.cpp" at line 55 goto Exit

Sound assertion "0 != err" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDACodecGeneric.cpp" at line 205 goto ExitError

 

With vanilla AppleHDA.kext...

 

Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 1459 goto Exit

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDADriver.cpp" at line 172 goto Exit

 

Closer I think... This is booting in x86_64 too.

Link to comment
Share on other sites

 Share

×
×
  • Create New...