- Joined
- Feb 13, 2011
- Messages
- 416
- Motherboard
- Asus Vivobook S15 / x510UAR
- CPU
- i5-8250U
- Graphics
- UHD 620
- Mobile Phone
saintno, your SSDT-USB is not fully correct, it has some errors, like ports (correct: 8, not 9), XHC port-count for our 8086_9d2f (should be 18), and too many sections (Asus Vivobook S15 only has XHC). With my Lenovo Wifi/ BT combo-card + your current SSDT-USB, I was still experiencing 3 out of 4 of the exact same issues as before (at some point "Bluetooth: not available" then all USB dead then OS crash).I have upload new ver with ssdt patch for usbinjectall! set wifi card as build in is much better for me bcs it fix bluetooth lag when listen to music! you can set it back to default just change 0xff to 0x03 at HS08
So I grabbed baohiep's SSDT-UIAC-UX430-KABYR.dsl, modified it according to RehabMan's custom SSDT guide, rebooted into Clover, O (for Options)/ ENTER (for boot args), END key (End of line), -f, ENTER, END (of menu), ENTER (back to Clover GUI), ENTER to boot, IORegistryExplorer, tested all ports with USB 2 and USB 3 devices, VOILA!
I still have to do the long time testing but wanted to share the corrected SSDT-USB.dsl/ aml with you now. Attached, but please also look at the source code:
Code:
DefinitionBlock ("", "SSDT", 2, "hack", "uiac", 0)
{
// guide: https://www.tonymacx86.com/threads/211311/
// SSDT base from Asus Zenbook UX430 (Kaby Lake R): https://github.com/hieplpvip/ASUS-ZENBOOK-HACKINTOSH/blob/master/hotpatch/include/SSDT-UIAC-UX430-KABYR.dsl
// Correction: "port-count", Buffer() { 18, 0, 0, 0 } default for 8086_9d2f as per RehabMan original https://raw.githubusercontent.com/RehabMan/OS-X-USB-Inject-All/master/SSDT-UIAC-ALL.dsl
// Common port connector types are USB2 = 0, USB3 = 3, internal = 255
Device(UIAC)
{
Name(_HID, "UIA00000")
Name(RMCF, Package()
{
"8086_9d2f", Package() // from XHC IOName: pci8086,9d2f
{
"port-count", Buffer() { 18, 0, 0, 0 }, //
"ports", Package()
{
"HS01", Package() // on the right towards rear - USB 2.0 on USB 3.0 port
{
"UsbConnector", 3,
"port", Buffer() { 1, 0, 0, 0 },
},
"HS02", Package() // on the right towards front - USB 2.0 on USB 3.1 port
{
"UsbConnector", 3,
"port", Buffer() { 2, 0, 0, 0 },
},
"HS03", Package() // on the left towards rear - USB 2.0
{
"UsbConnector", 0,
"port", Buffer() { 3, 0, 0, 0 },
},
"HS04", Package() // on the left towards front - USB 2.0
{
"UsbConnector", 0,
"port", Buffer() { 4, 0, 0, 0 },
},
"HS06", Package() // internal webcam - USB 2.0
{
"UsbConnector", 255,
"port", Buffer() { 6, 0, 0, 0 },
},
"HS08", Package() // internal WiFi & Bluetooth - USB 2.0
{
"UsbConnector", 255,
"port", Buffer() { 8, 0, 0, 0 },
},
"SS01", Package() // on the right towards rear - USB 3.0
{
"UsbConnector", 3,
"port", Buffer() { 13, 0, 0, 0 },
},
"SS02", Package() // on the right towards front - USB 3.1 (USB C socket )
{
"UsbConnector", 3,
"port", Buffer() { 14, 0, 0, 0 },
},
},
},
})
}
}
//EOF
(saintno, I'll reply about two other things some other time, have run out of time now..)
@RehabMan : I moved FakePCIID_XHCIMux.kext to my "Extension (disabled)" folder, rebuilt kextcache, rebooted, tested all ports, verified in IOReg Explorer - all seems fine. All USB ports with this Vivobook already are in XHC anyway (no in EHCI), and no XHCI setting in BIOS, either.
Does that info suffice for you to comment if we don't need FakePCIID_XHCIMux.kext here, or would you want me to attach a debug zip with the PR files to look at IOReg etc. with FakePCIID_XHCIMux.kext removed? Thank you.
[EDIT]: after 1st wake from sleep on battery, right away "Bluetooth: not available" - argh, I'm freaking out.
Clover: darkwake=0 ; port limit removal patch disabled | PowerNap disabled in Sys Prefs/ Energy Saver for both, Battery and Power Adapter | pmset -g: hibernatemode = 0
I'll reinstall FakePCIID_XHCIMux.kext to /L/E, reboot, observe. Would provide PR files then if reinstalling that kext does not reinstate complete Bluetooth happiness here, even when connected to Battery and waking from sleep (_WAK issue?) .. If not then would test if BT always works when sleeping and waking while connected to power supply.
I also re-enabled OSID->XSID, _OSI->XOSI (using SSDT-XOSI.aml anyway).
I am adding that before sleep, I had BT switched off. But that should not cause it to NOT get detected after wake-up..
[EDIT 2] After 2 wakes from sleep ON BATTERY, again "Bluetooth: not available" ..
Same when I again re-enable the port limit removal patch, so this is NOT a port but a power savings issue.
When connected to power supply, I can sleep and resume xx times and BT remains found (and functions properly)!!
Since all of the above did not help, which of these options should I be looking at next? (I have to quit right now - can add PR files later):
1. look at IOSleep hacks by tluck?
2. implement USB power properties?
3. for optimal CPU PM implementation, study guide-native-power-management-for-laptops ? (requires only SSDT-PluginType1.aml, as per guide)
4. go down the _WAK rabit hole?
5. study even deeper the broadcom-wifi-bluetooth-guide?
6. activate a specific patch in config.plist/ Kernel and kext patches/ Kexts to patch?
7. change the region code?
8. guide-10-11-usb-changes-and-solutions
9. just get the DELL DW1560 instead? (I don't need Ch. 13)
Attachments
Last edited: