Contribute
Register

[solved] Need help on L440

Status
Not open for further replies.

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,313
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
Intel HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi everyone,
It`s been a while since i haven`t touched this laptop but after some researches i decided to Remove Whitelist by Purchasing Ch341a + SOIC8 Clip and with the help of the guys over bios-mods i managed to remove whitelist + unlock advanced menu
i Ordered a BCM94352z NGFF + Upgraded my Laptop Screen to 1920x1080.

My Laptop is currently on MacOS Sierra 10.12.1
Latest Clover.

So far these are the problems that i need to fix:

USB Ports (everything is working with 15 to 21 limit port patch) But:
My Bluetooth - i can`t stay connected with any phone,the moment i connect it stays connected like 2-5 secs then disconnects (which by reading other peoples problems i saw that X member had to create a custom port injector to fix his problems)
What i installed is BrcmPatchRam2 & BrcmFirmwareRepo
The bluetooth is: BCM20702A0 0xe07a ; 0x0489
Handsoff & hotspot is working with the correct kernel and kext to patches
Wifi is working both 2.4 and 5GHz (airdrop & airport extreme)
My Lenovo ThinkPad L440 does have Intel 8 Series Chipset (8086:8c31) XHCI
No matter how many times i read the 10.11+ usb solutions Guide.i just don`t know how to detect which ports are used,etc.​
What i did so far is:
  • Rename EHC1 & EHC2 to EH01 & EH02
  • Installed USBInjectAll.kext and FakePCIID with /Graphics/broadcomWifi/xhcimux/HDMI Audio/
  • 15 to 21 Port Limit Patch.

Let me know what kind of IOReg dumps should i make (connect something to each usb port,etc or blank)

HDMI Audio is not working:
everytime i connected the Mini Display port to my TV the laptop freezed,had to hard reboot.i guess i found the correct patch on your config.plist patches port0105(12),after i enabled this one the screen on tv turns out but only video,sound is not working.
i see on DCPI Manager that theres a different Intel Codec for HDMI audio which is (8086;0C0C),i assume i will need to edit the ssdt where my Graphic card is or create a SSDT only for HDMI.

VoodooPS2Controller
1.The new version of the kext does remap F14/F15 to default brightness up/down keys which i cant modify my F10/f11 physical buttons since they work the same aswell or if assign a function into them sysprefs/keyboard/shortcuts the brightness buttons will assign to that function aswell.
EDIT: i managed to remap my F10 to F19 (search/cortana - to Spotlight Search)
BUt my F11 (app switcher - wanted to remap as mission control) mapped this key to F20 but it isn`t working.
i would like to know if theres a specific (Fxx) button which has no MacOS function assigned to it so i can use it to assign to Mission Control or whatever Function that i choose as shortcut.

2. My Laptop does have a Synaptics Touchpad & trackpad(soft rubber,red button as cursor) which on windows it does support many finger gestures,rotations.pinch to zoom,rotate,3 finger,4 finger swipe up.down,etc
Is there a way to make these gestures work on MacOS (like dumping or... if theres a way)
How to make the Trackpad Work Aswell

Some Boot Problems/Glitches
i did enable the 10.12 Graphics Boot Garble/Glitch which i found on the Guide macOS Sierra 10.12 (common problems).
But my screen does glitch during boot for like 2-3 seconds and then fixes again even tho i did legacy first & Enabled CSM on Bios.

Sometimes the moment that my the Screen Glitches,it turns completely black and remains on that state forever,i have to hard reboot and try rebooting again and it boots normal,this problem does repeat like 3x on 10 reboots.

Is there a way to Disable Express Card Slot ?
i Did disable the Express Card slot on Bios but its still showing up on menu bar (is still active).
is there a way to disable it (DSDT,SSDT patch ?).

Sorry for the long post,i know that i have to create separate post for each issue,but i just wanted to summ up the remaining problems on my Laptop and to know which problems should we fix first to pass to the other.
 
But:
My Bluetooth - i can`t stay connected with any phone,the moment i connect it stays connected like 2-5 secs then disconnects​


What phone are you attempting to connect?

No matter how many times i read the 10.11+ usb solutions Guide.i just don`t know how to detect which ports are used,etc.

Use the port limit patch if needed (eg. your XHC controller has capability of more than 15-ports).
Run IORegistryExplorer and keep it running.
Then plug both a USB2 device into each USB port.
After you tested all USB ports with USB2, do the same with a USB3 device.
Examine the resulting ioreg.


HDMI Audio is not working:


The HDMI audio guide is linked from the FAQ.​
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

VoodooPS2Controller
1.The new version of the kext does remap F14/F15 to default brightness up/down keys which i cant modify my F10/f11 physical buttons since they work the same aswell or if assign a function into them sysprefs/keyboard/shortcuts the brightness buttons will assign to that function aswell.
EDIT: i managed to remap my F10 to F19 (search/cortana - to Spotlight Search)
BUt my F11 (app switcher - wanted to remap as mission control) mapped this key to F20 but it isn`t working.
i would like to know if theres a specific (Fxx) button which has no MacOS function assigned to it so i can use it to assign to Mission Control or whatever Function that i choose as shortcut.

You can assign any key to certain actions in SysPrefs->Keyboard->Shortcuts.

2. My Laptop does have a Synaptics Touchpad & trackpad(soft rubber,red button as cursor) which on windows it does support many finger gestures,rotations.pinch to zoom,rotate,3 finger,4 finger swipe up.down,etc
Is there a way to make these gestures work on MacOS (like dumping or... if theres a way)
How to make the Trackpad Work Aswell

Only certain gestures are supported with PS2 kexts...

Some Boot Problems/Glitches
i did enable the 10.12 Graphics Boot Garble/Glitch which i found on the Guide macOS Sierra 10.12 (common problems).
But my screen does glitch during boot for like 2-3 seconds and then fixes again even tho i did legacy first & Enabled CSM on Bios.

The boot glitch fix is not a 100% fix. It only reduces the severity/duration of the glitch.

Sometimes the moment that my the Screen Glitches,it turns completely black and remains on that state forever,i have to hard reboot and try rebooting again and it boots normal,this problem does repeat like 3x on 10 reboots.

You have some other issue with your setup.

Is there a way to Disable Express Card Slot ?
i Did disable the Express Card slot on Bios but its still showing up on menu bar (is still active).

Patch ACPI correctly. (see link in FAQ).
 
What phone are you attempting to connect?
Huawei Nexus 6P,also tried the iPhone 6S of my wife.
The moment i pair it connects and after 2-5 sec it says not connected.
Use the port limit patch if needed (eg. your XHC controller has capability of more than 15-ports).
Run IORegistryExplorer and keep it running.
Then plug both a USB2 device into each USB port.
After you tested all USB ports with USB2, do the same with a USB3 device.
Examine the resulting ioreg.
Im already using the port limit patch and everything seems to be working fine with it,but as u mentioned on the guide its not a permanent solution so i want to fix ports with creation of a custom injector.
Will do the test with IOreg as soon as i get back home from work and then post results.
My laptop has 3xusb2.0 ports and 1 usb 3.0 port

You can assign any key to certain actions in SysPrefs->Keyboard->Shortcuts.
I did assign all of them but the problem is that the new VoodooPS2 Controller has f14/15 mapped to brightness up/down,so what i did is:
F10 (was cortana/search on Windows) and it's working as brightness down on Mac OS
What i did is assign it to F19 and choosed as spotlight shortcut (solved)
The problem i have is with F11(app switcher) which on macos is brightness up (remapped to F20) but its not working, I can't set a special function on sysprefs>keyboard>shortcuts.i go to assign it for mission control but when i press the button it only does the beep sound and doesnt assign the shortcut.could F20 be a specific shortcut for something else on MacOS ?
Only certain gestures are supported with PS2 kexts...
If theres a way to enable the ones that can be enabled/supported,i would love to try fixing/enabling them.
You have some other issue with your setup.
I wonder what is causing that problem,i will post my EFI folder after i get back home.

About Express Card slot:
Any specific naming for Express cards on DSDT ?
Is the Return(0) going to disable it ?
 
Last edited:
Huawei Nexus 6P,also tried the iPhone 6S of my wife.
The moment i pair it connects and after 2-5 sec it says not connected.

No experience with the Nexus 6P. The iPhone is not intended to be paired, so your result there is expected.

Im already using the port limit patch

The port limit patch is only for short-term use (port discovery).

My laptop has 3xusb2.0 ports and 1 usb 3.0 port

And no doubt a few internal ports for internal devices such as bluetooth, camera...

I did assign all of them but the problem is that the new VoodooPS2 Controller has f14/15 mapped to brightness up/down

It is not a problem.

F10 (was cortana/search on Windows) and it's working as brightness down on Mac OS

You need to read the brightness guide.
And perhaps you should reset your keyboard Shortcuts in preferences.
Keep in mind the brightness keys are generally on one of the Fn+Fx keys, Fx keys (without Fn) are different.
You should make sure ACPI is patched correctly....

The problem i have is with F11(app switcher) which on macos is brightness up (remapped to F20) but its not working,

Use the debug version of VoodooPS2Controller.kext so you can show logs of what keys you're actually pressing.
You will need to read about the new log mechanisms in macOS (see FAQ).

About Express Card slot:
Any specific naming for Express cards on DSDT ?
Is the Return(0) going to disable it ?

Will likely be solved by patching with the correct "OS Check Fix" patch.
See ACPI patching guide linked from the FAQ.
 
Update
Fixed HDMI Audio,forgot to change layout ID when i applied B0D3 to HDAU (Solved)

You need to read the brightness guide.
And perhaps you should reset your keyboard Shortcuts in preferences.
Keep in mind the brightness keys are generally on one of the Fn+Fx keys, Fx keys (without Fn) are different.
You should make sure ACPI is patched correctly....

My real brightness Keys on laptop are Fn+F5(Brightness-) & Fn+F6(Brightnesss+)
i Did assign/remap each of my Buttons to have a specific Function and then by assigning a shortcut on sysprefs>keyboard>shortcuts.
But the problem is: both fn+F5 and fn+F10 (work as brightness-) and both fn+F6 and Fn+F11 (work as Brightness+)

i did manage to assign/remap Fn+F10 to work as F19 by changing it on DSDT like:
Before:
# _Q67 (Fn+F10) Spotlight key
into method label _Q67 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0165)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01e5)\n
end;

After:
# _Q67 (Fn+F10) Spotlight key
into method label _Q67 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x016a)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01ea)\n
end;

and then in sysprefs>keyboard>shortcuts assigned Spotlight Search on this button since its generating F19

But the problem is with Fn+F11,remapped it to F20 with dsdt edit:
Before:
# _Q68 (Fn+F11) App switcher key
into method label _Q68 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0166)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01e6)\n
end;

After:
# _Q68 (Fn+F11) App switcher key
into method label _Q68 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x016b)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01eb)\n
end;

and then in sysprefs>keyboard>shortcuts i try to assign for example mission control but i just hear the bump/beep sound but no F20 appears,i cant assign it.i checked if F20 is taken somewhere else but haven`t found it.is there another key that is not used for a specific function so i can assign it instead of F20.
Use the debug version of VoodooPS2Controller.kext so you can show logs of what keys you're actually pressing.
You will need to read about the new log mechanisms in macOS (see FAQ).
Does the Debug version of VoodooPS2Controller generate logs of gestures ?
if you mean About Fn + F1-F12 i did that before on El Capitan and wrote all of them,will attach the list of them on a textfile.

About the Express Card or maybe SD Card Reader,i have no idea what this is (attached a screenshot) i don`t know what that thing is but i assume it should be the express card slot.

You can find my CloverEfi Folder Attached,ioreg,screenshots

with IOregistry Explorer as u mentioned above,i opened it,plugged ejected a usb 3.0 on each port,after i finnished that process on all of them.i saved the file.
 

Attachments

  • CLOVER.zip
    1.5 MB · Views: 137
  • FnButtons.zip
    1.3 KB · Views: 136
  • MyIOREG.ioreg
    5.5 MB · Views: 162
  • SD or ExpressCard.png
    SD or ExpressCard.png
    35.3 KB · Views: 145
Last edited:
My real brightness Keys on laptop are Fn+F5(Brightness-) & Fn+F6(Brightnesss+)
i Did assign each of my Buttons to have a specific Function by assigning a shortcut on sysprefs>keyboard>shortcuts.
But the problem is: both fn+F5 and fn+F10 (work as brightness-) and both fn+F6 and Fn+F11 (work as Brightness+)

If you want to eliminate Fn+F10/Fn+F11 as brightness keys, use "Custom ADB Map" to change them to a different key.


i did manage to assign/remap Fn+F10 to work as F19 by changing it on DSDT like:
Before:
# _Q67 (Fn+F10) Spotlight key
into method label _Q67 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0165)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01e5)\n
end;

After:
# _Q67 (Fn+F10) Spotlight key
into method label _Q67 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x016a)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01ea)\n
end;

and then in sysprefs>keyboard>shortcuts assigned Spotlight Search on this button since its generating F19

If those keys were ACPI in the first place, then

But the problem is with Fn+F11,remapped it to F20 with dsdt edit:
Before:
# _Q68 (Fn+F11) App switcher key
into method label _Q68 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x0166)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01e6)\n
end;

After:
# _Q68 (Fn+F11) App switcher key
into method label _Q68 replace_content
begin
Notify(\_SB.PCI0.LPCB.KBD, 0x016b)\n
Notify(\_SB.PCI0.LPCB.KBD, 0x01eb)\n
end;

You need to use the debug version of VoodooPS2Controller.kext to see what is happening when you press these keys.
 
You need to use the debug version of VoodooPS2Controller.kext to see what is happening when you press these keys.
Ok i will give it a try or maybe later,i will go read that new log mechanism FAQ and bring back the results.
Even though im not that much concerned about that Fn+F11 its just one button,i would rather prioritize Fixing USB port by creating that custom Injector.
Let me know if i did the IOreg as requested or wrong.
and what do you think that Device on menu bar screenshot is ?
As for the Boot problem that i have mentioned on the first post what could it be related to ?
 
Let me know if i did the IOreg as requested or wrong.

Only you can know if you tested all your ports with both USB2 and USB3...
But your main problem is you're hitting the port limit, but don't have the patch.

and what do you think that Device on menu bar screenshot is ?

Review your DSDT/SSDTs _RMV methods. Read ACPI spec regarding _RMV.

As for the Boot problem that i have mentioned on the first post what could it be related to ?

Already answered in post #2.
 
Only you can know if you tested all your ports with both USB2 and USB3...
But your main problem is you're hitting the port limit, but don't have the patch
Im a bit confused now,you mean the 15 to 21 port patch is wrong or not applied or ?
Should i disable EH01 and EH02 and move all of them to XHC or ?
How to Check Active Ports on IOreg or DSDT.
Could you please be more specific,i need some more hints/steps on what to do.

Review your DSDT/SSDTs _RMV methods. Read ACPI spec regarding _RMV.
Ok i see that it is on two sections on my DSDT :
into SB_PCI0 > RP03 > PXSX > _RMV
into SB_PCI0 > RP05 > PXSX > _RMV
_RMV according to ACPI Spec:
the device can be removed while the system is in the working state and does not require any ACPI system firmware actions to be performed for the device to be safely removed from the system
So i assume its the SD Card Reader or Express Card slot.
but this PXSX can`t tell exactly what it is.
and what should i do next with it ?

You said already Answered in post 2 about the black screen on boot but i don`t see that u mentioned something except: a issue with my setup.
What is it related to ?
 
you mean the 15 to 21 port patch is wrong or not applied or ?

Yes. Your ioreg clearly indicates port limit is not defeated.

Should i disable EH01 and EH02 and move all of them to XHC or ?

Your choice. Both valid.

How to Check Active Ports on IOreg or DSDT.

Active ports are checked by making sure all ports are enabled, then testing each one with IORegistryExplorer running using both USB2 and USB3 devices.
See the Skylake Starter guide (and USBInjectAll readme) for clues.

Ok i see that it is on two sections on my DSDT :
into SB_PCI0 > RP03 > PXSX > _RMV
into SB_PCI0 > RP05 > PXSX > _RMV
_RMV according to ACPI Spec:
the device can be removed while the system is in the working state and does not require any ACPI system firmware actions to be performed for the device to be safely removed from the system
So i assume its the SD Card Reader or Express Card slot.

Change _RMV so it doesn't return "removable".

You said already Answered in post 2 about the black screen on boot but i don`t see that u mentioned something except: a issue with my setup.
What is it related to ?

Black screen/momentary glitch is expected. Read post #2 and the "glitch guide" carefully.
 
Status
Not open for further replies.
Back
Top