Contribute
Register

Lenovo B570e (Last remaining fixes)

Status
Not open for further replies.
The specific PS2 to ADB map you need depends on what your EC queries are doing with regard to notify.
They just have to match.
So how do i check that ?
If you're referring to notifies on the keyboard object from ACPI, that allows you to send (PS2) keystrokes from ACPI.
How to check the notifier/ what should i do to find out what should the code be for mirror/video to work.
At the time I added the feature to CodecCommander, I was doing quite a bit of experimentation with the u430 pinconfigs.
I found it very tedious, time consuming, and error-prone to change pinconfigs with the PinConfigDefault verbs.
So, I added support in CodecCommander to set the pinconfigs there.
It is easier to read and modify, but is a bit experimental.
Well my ALC292 Codec was very problematic codec and i tried every single one on the WEB/hackintosh forums and i couldn't find a perfectly patched one that did fit my laptop (some of them claimed fully patched were either with separate headphone and Mic Jack) while mine Combo Jack which resulted into a non fully working audio (main problem was Ext mic not working).
Thanks to InsanelyDeepak after i dumped audio on latest ubuntu after a month of testing like every day/2 days we finally fully patched the audio so:
(if only i knew this PinConfigs method, that would've saved so much time and struggle for me during testing phases).
I found PinConfigs in Device/Properties (or any other method of injecting) does not work.
You have to actual set the pinconfigs in the HDA chip.
in the HDA Chip, not sure where do you exactly mean ?

Also about my L440 that doesn't have discrete GPU, only HD4600, is PTSWAK required or Disable_DGPU ? will any of them have any positive/negative effect if present.
 
So how do i check that ?

Look at the codes you are sending via Notify.

How to check the notifier/ what should i do to find out what should the code be for mirror/video to work.

ADB code is always 70.
PS2 code depends on your code for Notify.
Look at the PS2 logs in your kernel log, then maybe you'll understand the correlation.

Well my ALC292 Codec was very problematic codec and i tried every single one on the WEB/hackintosh forums and i couldn't find a perfectly patched one that did fit my laptop (some of them claimed fully patched were either with separate headphone and Mic Jack) while mine Combo Jack which resulted into a non fully working audio (main problem was Ext mic not working).
Thanks to InsanelyDeepak after i dumped audio on latest ubuntu after a month of testing like every day/2 days we finally fully patched the audio so:
(if only i knew this PinConfigs method, that would've saved so much time and struggle for me during testing phases).

Some day, I'll document it (other that how it is documented in my github examples, and of course in CodeCommander source).

in the HDA Chip, not sure where do you exactly mean ?

By setting the pin configs with HDA verbs that set the PinConfigDefaults.
You can read about it in the Intel HDA specification.

Also about my L440 that doesn't have discrete GPU, only HD4600, is PTSWAK required or Disable_DGPU ? will any of them have any positive/negative effect if present.

If you don't have a discrete GPU, and have no need for the other features in PTSWAK, then no need.
 
@RehabMan
i couldn't find any documentation on how to enable/patch/fix Temperature Sensors for HWMonitor.app, i couldn't find any document describing how to change methods/devices so HWMonitor detects them to show temperatures.
Sorry for asking for such but i usually find them on their github but in this case i don't see it.
 
@RehabMan
i couldn't find any documentation on how to enable/patch/fix Temperature Sensors for HWMonitor.app, i couldn't find any document describing how to change methods/devices so HWMonitor detects them to show temperatures.
Sorry for asking for such but i usually find them on their github but in this case i don't see it.

Source code for HWMonitor.app and FakeSMC_ACPISensors.kext.
AFAIK, no documentation that isn't code.
Familiarity with C, C++, and Objective-C is helpful.
 
Source code for HWMonitor.app and FakeSMC_ACPISensors.kext.
AFAIK, no documentation that isn't code.
Familiarity with C, C++, and Objective-C is helpful.
ok will try to base on your U430 Repo Files

About Framebuffer ports:

Name: com.apple.driver.AppleIntelSNBGraphicsFB
Find:
01020400 10070000 10070000 05030000
02000000 30000000 02050000 00040000
07000000 03040000 00040000 09000000
04060000 00040000 09000000
Replace:
01020300 10070000 10070000 06020000
00010000 09000000 05030000 02000000
30000000 04060000 00080000 09000000
00000000 00000000 00000000

Since my B570e does have 0205 port for HDMI should the patch for my laptop look like this:

Replace:
01020300 10070000 10070000 06020000
00010000 09000000 05030000 02000000
30000000 02050000 00080000 07000000
00000000 00000000 00000000

Is this correct & i also assume 01020400 changed to 01020300 is where the port count change also applies from 4 to 3 right ?
 
ok will try to base on your U430 Repo Files

About Framebuffer ports:

Name: com.apple.driver.AppleIntelSNBGraphicsFB
Find:
01020400 10070000 10070000 05030000
02000000 30000000 02050000 00040000
07000000 03040000 00040000 09000000
04060000 00040000 09000000
Replace:
01020300 10070000 10070000 06020000
00010000 09000000 05030000 02000000
30000000 04060000 00080000 09000000
00000000 00000000 00000000

Since my B570e does have 0205 port for HDMI should the patch for my laptop look like this:

Replace:
01020300 10070000 10070000 06020000
00010000 09000000 05030000 02000000
30000000 02050000 00080000 07000000
00000000 00000000 00000000

Is this correct & i also assume 01020400 changed to 01020300 is where the port count change also applies from 4 to 3 right ?

What problem are you trying to address?
 
The curiosity is just not leaving me alone...
I just want to try out to remove unused ports and test VGA, afterall if something goes wrong i can simply disable the patch and continue how it was before.

BTW the Above Patch is the one already on your config.plist files for HD3000_1366x768.plist

so i highlighted (bold) the code that i think should be changed for my laptop that uses 0205 port for HDMI Audio while your patch is for 0406.

Should the patch for 0205 be like that, is the edit that i made correct ?
 
The curiosity is just not leaving me alone...
I just want to try out to remove unused ports and test VGA, afterall if something goes wrong i can simply disable the patch and continue how it was before.

BTW the Above Patch is the one already on your config.plist files for HD3000_1366x768.plist

so i highlighted (bold) the code that i think should be changed for my laptop that uses 0205 port for HDMI Audio while your patch is for 0406.

Should the patch for 0205 be like that, is the edit that i made correct ?

Start with the VGA patch from my plists, then trim ports from it after verifying which port is VGA/HDMI/etc.
 
Ok @RehabMan so from what I analyzed:
AppleIntelFramebuffer@0 is the Internal Laptop Display
AppleIntelFramebuffer@1 is the HDMI Port
VGA Port - Red Color
By looking at your patch:
FIND:

01020400 10070000 10070000 05030000 02000000 30000000
02050000 00040000 07000000
03040000 00040000 09000000
04060000 00040000 09000000
The Blue highlighted code is Internal Display
The Green highlighted code is HDMI Port
VGA Port in this case is not set anywhere yet so the 0304 and 0406 are unused.
After I look at the Replace:
REPLACE:
01020300 10070000 10070000 06020000 00010000 09000000 (01020400 to 01020300 I assumed Port count 4 to 3)
05030000 02000000 30000000
04060000 00080000 09000000
00000000 00000000 00000000 - Disabled

For example in my case instead of 04060000 00080000 09000000 it should be 02050000 00080000 07000000 for HDMI
from this
0205 is my HDMI port and 4 to 8 is Display Port to HDMI Connector, but what about the 9 and 7
So my question is:
- Should the 0205 be at the same location/row -replacing 0406 patch or it should go 1 row above/below thats where im confused
- Also same case for internal and VGA location.
- So my confusion is into which should be first, which second and which third, is it sort order dependant or not ?

Should the patch (replace) look like this for me:

01020300 10070000 10070000 06020000 00010000 09000000
05030000 02000000 30000000
02050000 00080000 07000000 (still not sure if it should be 07000000 or 09000000)
00000000 00000000 00000000


I did attach my IOREG so you can see if i did look correctly at it.
 

Attachments

  • Besnik’s MacBook Pro.ioreg
    17.1 MB · Views: 80
Last edited:
but what about the 9 and 7


Those part of the connector data is not well understood. We can only look at existing data and try to infer a meaning, or copy it.

So my question is:
- Should the 0205 be at the same location/row -replacing 0406 patch or it should go 1 row above/below thats where im confused

Relative position of the connectors does not seem to matter.
 
Status
Not open for further replies.
Back
Top