Thanks @Jake Lo for the USBPorts, It's the same with my newly generated in which the Bluetooth was on port 07.
Hi @Hervé, Thanks for some insights. I have solved the instant wake issue after multiple hours of debugging and checking what went wrong I finally found the issue and fixed it with just an SSDT Modification. I found out that it's not the USB port not supporting the bluetooth but the WiFi device itself. I also found that the SDCard Reader might also cause instant wake due to unhandled call.
See below for the fix:
Going back to the logs I got from pmset -g log we can see that it is reporting DarkWake cause is due to LID0 PXSX/Network
2022-12-11 13:28:22 +0800 DarkWake DarkWake from Normal Sleep [CDN] : due to LID0 PXSX/Network Using AC (Charge:100%) 15 secs
When checking IOReg and querying what device is on PXSX,
ioreg -l | grep -i PXSX | grep -i acpi-path
| | | | "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/RP05@1c0004/PXSX@0"
| | | | "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/RP06@1c0005/PXSX@0"
I checked hackintool to verify what device really is and found out that it is the Card Reader and the new BCM94360CS2 WiFi device.
Drilling more further to ACPI searching for this two devices, I found out that these devices are calling the _PRW Method
We can see below that both RP05.PXSX and RP06.PXSX calls the GPRW Method which we implemented via SSDT-E7440.aml
RP05.PXSX
RP06.PXSX
By inspecting the devices, I found out that these GPRW calls are passing 0x69 and 0x09 respectively.
I checked the SSDT-E7440.aml and found that these arguments are not handled by the SSDT.
I created more granular SSDTs for everything implemented on the SSDT-E7440.aml more easy debugging.
I created SSDT-GPRW.aml which implements the the missing 0x69 and 0x09 I also included the original 0x6D and I removed the 0x0D (this is not called / passed anywhere on the DSDT).
I will mark this issue now as solved. I have compiled the VoodoPS2 from source of Acidanthera putting back some codes that were removed and added some fixes for v3_v5 inputs. Now my touchpad is working great and is usable upto 3 fingers. No back scrolling, no Jittering, no Jumping. Only problem was the right click on the right button, it is not working but the 2 finger tap is working but not that responsive even the other 2 finger taps were removed. This is solved by disabling 2finger tap on preferences and I used better touchtool to set 2 finger tap as right click and it works fantastic.