Contribute
Register

RehabMan's ProBook Ivy Bridge 4540s

Status
Not open for further replies.
I just check IORegistryExplorer, here is the value of "AAPL,clock-id":

XHC1: 00
EHC1: 02
EHC2: 01

Great. Thanks. Now I'll try to determine if there is any difference with each having different values. Interesting they used 2 on EHC1 and 1 on EHC2?!

I attached a mouse in USB 3.0 ports and it won't wake the system, I have to press power button. Wake on USB is enabled in BIOS.

If you inject clock-id only on EHC1 and EHC2 (not XHC1), sleep will work with WOUSB enabled in BIOS, and wake will still work on USB3. I don't know if Clover lets you do that -- it is easily done in DSDT as I can choose exactly what to inject and where.
 
It uses the xmls from 4x40s with different codec id, but yeah, sorry for spamming with the off-topic.

BTW: a codec dump for 4540s would be greatly appreciated, I think it would be fairly simple to make a single kext for 0x111D76D9 and 0x111d7605...
You can share the latest functioning AppleHDA for starters, because the verbs in the installer make no sense to me, do you use only "00C71E81 00C71F03 01171EA0 01171F90"?
See attached one. It is true the verbs make no sense, but somehow it works, so I just gave up.
 

Attachments

  • codec_dump-4540s.txt
    7 KB · Views: 223
See attached one. It is true the verbs make no sense, but somehow it works, so I just gave up.
Yeah I know what you mean, I am was at the verge of giving up but then I figured it out, thanks to some pin-configs from IORE.
What we do with those verbs is just patch the pin-config that AppleHDA already has (somewhere).
Patch:
-"00C71E81 00C71F03" fixes the Node 12 (line in) from
"00c71c20 00c71d10 00c71ea1 00c71f00" to
"00c71c20 00c71d10 00c71e81 00c71f03"

-"01171EA0 01171F90" fixes Node 17 (internal mic to be recognized as build in and adds a volume control) from
"01171c40 01171d00 01171ea3 01171fd0" to
"01171c40 01171d00 01171eA0 01171f90"

IORE pin-configs that helped me figure that out:
4x50s patch
Code:
<30 10 01 21 1f 10 21 04 20 10 [B]81 03[/B] 10 01 17 90 f0 00 f0 40 2e 10 81 21 f0 00 f0 40 40 01 [B]a0 90[/B] f0 00 f0 40 f0 00 f0 40 e0 00 56 28>

apple original
Code:
<30 10 01 21 1f 10 21 04 20 10 [B]a1 04[/B] 10 01 17 90 f0 00 f0 40 2e 10 81 21 f0 00 f0 40 40 01 [B]a3 d5[/B] f0 00 f0 40 f0 00 f0 40 e0 00 56 28>

my patch for 6470B
Code:
<30 10 01 21 10 10 21 00 20 10 a1 00 50 00 17 90 f0 00 f0 40 2e 10 81 21 f0 00 f0 40 40 00 [B]a0 90[/B] f0 00 f0 40 f0 00 f0 40 e0 00 56 28>

BTW: the LineIn works on the 6470B too, with the exact same verb patch, tested with my headphones (no mic at hand :D).
 
Yeah I know what you mean, I am was at the verge of giving up but then I figured it out, thanks to some pin-configs from IORE.
What we do with those verbs is just patch the pin-config that AppleHDA already has (somewhere).
Patch:
-"00C71E81 00C71F03" fixes the Node 12 (line in) from
"00c71c20 00c71d10 00c71ea1 00c71f00" to
"00c71c20 00c71d10 00c71e81 00c71f03"

-"01171EA0 01171F90" fixes Node 17 (internal mic to be recognized as build in and adds a volume control) from
"01171c40 01171d00 01171ea3 01171fd0" to
"01171c40 01171d00 01171eA0 01171f90"

IORE pin-configs that helped me figure that out:
4x50s patch
Code:
<30 10 01 21 1f 10 21 04 20 10 [B]81 03[/B] 10 01 17 90 f0 00 f0 40 2e 10 81 21 f0 00 f0 40 40 01 [B]a0 90[/B] f0 00 f0 40 f0 00 f0 40 e0 00 56 28>

apple original
Code:
<30 10 01 21 1f 10 21 04 20 10 [B]a1 04[/B] 10 01 17 90 f0 00 f0 40 2e 10 81 21 f0 00 f0 40 40 01 [B]a3 d5[/B] f0 00 f0 40 f0 00 f0 40 e0 00 56 28>

my patch for 6470B
Code:
<30 10 01 21 10 10 21 00 20 10 a1 00 50 00 17 90 f0 00 f0 40 2e 10 81 21 f0 00 f0 40 40 00 [B]a0 90[/B] f0 00 f0 40 f0 00 f0 40 e0 00 56 28>

BTW: the LineIn works on the 6470B too, with the exact same verb patch, tested with my headphones (no mic at hand :D).

You're putting this in PinConfiguration in DSDT or??
 
You're putting this in PinConfiguration in DSDT or??
I might experiment with the DSDT tomorrow (technically today after sleep :p), now I was using the standard way (AppleHDAHardwareConfigDriver/info.plist).
 
I might experiment with the DSDT tomorrow (technically today after sleep :p), now I was using the standard way (AppleHDAHardwareConfigDriver/info.plist).

So, this is data in the ConfigData, but I looked and it didn't correlate to any data I currently have there. Maybe you have more changes prior...

Have a good sleep...
 
So, this is data in the ConfigData, but I looked and it didn't correlate to any data I currently have there. Maybe you have more changes prior...

Have a good sleep...
Let me try to explain, what you have in ConfigData is 00C71E81 00C71F03 01171EA0 01171F9, my post was just explaining what this patch do and how.

The 3 pasted pin-configurations are from IO registry explorer:
-1st with "00C71E81 00C71F03 01171EA0 01171F9" in ConfigData
-2nd with "00b71c10 00b71d10 00b71e21 00b71f00" in ConfigData (just injects the headphones) it doesn't change anything in the IO registry explorer pin-config (probably if I would leave it empty it would give the same result)
-3th with the long verbs for all the ports I used in the 6470B before this discovery.

I hope i was clear enough now.
 
Let me try to explain, what you have in ConfigData is 00C71E81 00C71F03 01171EA0 01171F9, my post was just explaining what this patch do and how.

The 3 pasted pin-configurations are from IO registry explorer:
-1st with "00C71E81 00C71F03 01171EA0 01171F9" in ConfigData
-2nd with "00b71c10 00b71d10 00b71e21 00b71f00" in ConfigData (just injects the headphones) it doesn't change anything in the IO registry explorer pin-config (probably if I would leave it empty it would give the same result)
-3th with the long verbs for all the ports I used in the 6470B before this discovery.

I hope i was clear enough now.

I'm still trying to figure out how this is related to the 4x40s? Is it?
 
Status
Not open for further replies.
Back
Top