Jump to content
18 posts in this topic

Recommended Posts

I hope this message finds you well. I'm reaching out because I've encountered an issue with my hackintosh setup that I'm hoping to get some guidance on. My hackintosh configuration is stable and fast, with up-to-date hardware components. However, I'm experiencing intermittent USB device issues where all USB devices stop responding while the rest of the system remains functional. 

 

Description of the Issue:

From time to time, all USB devices connected to my setup stop working, and they don't respond to any input. This includes both input devices like keyboards and mice, as well as external storage devices. I'm still able to connect to the machine using SSH, so I can reboot it remotely when necessary.

It happens on random intervals sometimes days with no issue, sometimes twice per hour.

 

Recent Log Snippet: attached below.

 

Steps Taken: I've already tried a few troubleshooting steps, including checking power management settings, updating macOS to the latest version, and ensuring that my USB kexts are up to date. Additionally, I've verified the hardware connections and cables for any issues. Also currently I have all unnecessary devices removed. I've installed Windows as well and made stress tests for hours with no issue.

 

Questions:

  • Has anyone else experienced intermittent USB device issues on their setup?
  • Are there any specific logs or tools I should be using to narrow down the cause of this issue?
  • Are there any recommended steps I should take to further diagnose and resolve the problem?

I'm eager to get this issue resolved and have my hackintosh running smoothly. Any help or advice you can provide would be immensely appreciated.

Thank you in advance for your time and assistance.

Best regards.

 

System Configuration:

OS: Ventura 13.5 ( 22G74 )

MB: ASUS ROG STRIX Z790-F GAMING WIFI ( bios: 1202 )

CPU: Intel Core i7-13700

RAM: 4x DDR5 Corsair 16G 4800Mhz ( XMP disabled )

DISK: SN850X 1TB

VGA: ASUS AMD Radeon RX6900 XT

LAN: Build-In Intel i226-V + QNAP QXG-10G1TB

WiFi: Build-In Intel AX211

 

EFI/OC folder attached below as well.

 

 

 

 

dmesg.log.txt OC.zip

@the_root

I have the same issue with my GA-Z690 Aorus Master hack and I couldn't find the root cause or any solution to fix the issue.

After changing some settings in BIOS related to CPU PCIe link Speed to Gen5 and PCH PCIe Link Speed to Gen4 the system became more stable but it still happens from time to time.

  • Like 1
On 8/18/2023 at 11:17 AM, the_root said:

Espero que esta mensagem te encontre bem. Estou entrando em contato porque encontrei um problema com minha configuração de hackintosh sobre o qual espero obter alguma orientação. Minha configuração hackintosh é estável e rápida, com componentes de hardware atualizados. No entanto, estou enfrentando problemas intermitentes com dispositivos USB, onde todos os dispositivos USB param de responder enquanto o resto do sistema permanece funcional.

 

 

Hello, I had serious problems with my USB on my Z790 Gigabyte AORUS board.

I solved it wonderfully with a user tutorial, but kind of complicated. So I suggest you try to get your USB SSDT with Xiasl and lay the groundwork and finish with Hackintool.

Alternatively you can try compiling your SSDT from USB by extracting it with Opencore DEBUG's Sysreport.

Follow the user tutorial from here on insanely, call OC Little Translate:

 

https://github.com/5T33Z0/OC-Little-Translated/tree/main/03_USB_Fixes/ACPI_Mapping_USB_Ports

 

 

 

Regards 

 

Spoiler

 

 

On 8/18/2023 at 12:12 PM, Cyberdevs said:

@the_root

I have the same issue with my GA-Z690 Aorus Master hack and I couldn't find the root cause or any solution to fix the issue.

After changing some settings in BIOS related to CPU PCIe link Speed to Gen5 and PCH PCIe Link Speed to Gen4 the system became more stable but it still happens from time to time.

 

Im sure you can fix with tutorials above my friend!! 

 

 

Edited by Max.1974
  • Like 1

Try use mine compiled from Oc Little Translate 

 

And Configure normally with UsbMaps from Git Hub Corpnewt user. 

 

Spoiler

image.thumb.png.7e05815d235e1211b9ab4bd6d7539443.png

 

SSDT-USB-AORUS.aml

  • Like 1

@Max.1974

Thanks a lot for sharing the links and videos. I use USBToolbox to map my USB ports on all of my hacks and it's been working very well on my other hacks, but the Z690 has the issue with USB ports and I'm not sure if it's a defect on my board or just a misconfiguration.

But I  will try the methods you've suggested and see if that makes the issue go away.

Once again thanks my friend.

  • Like 1
13 minutes ago, Cyberdevs said:

@Max.1974

Thanks a lot for sharing the links and videos. I use USBToolbox to map my USB ports on all of my hacks and it's been working very well on my other hacks, but the Z690 has the issue with USB ports and I'm not sure if it's a defect on my board or just a misconfiguration.

But I  will try the methods you've suggested and see if that makes the issue go away.

Once again thanks my friend.

 

Hi my friend, USBToolbox is excellent!! Good program too!!

 

I ask to my friend the Z690 SSDT I will post here for your PC. 

 

But is necessary use both methods, Usb tools (Map or another) and SSDT compiled. 

 

Exclude if necessary ports with Hackintool is good think too. 

 

My old HDDs work so fine that I'm will send to you a video my brother 

 

You will see

 

😀

Edited by Max.1974
  • Like 1

My friends, here the video capture with Power of Compiled SSDT from posts above

 

Device: HDD 4 TB Gold Western Digital 7200 RPM 

 

:thumbsup_anim:

 

 

 

 

 

Edited by Max.1974
Better video

@Cyberdevs @the_rootThe XhciPortLimit Quirk has been fixed in OC 0.9.3 so it works with current macOS versions again. So USBToolbox is no longer required. Just enable the quirk, inject the updated version of USB-InjectAll which supports current chipsets (600/700 series) and map ports as usual.

Edited by cankiulascmnfye
  • Like 2
  • Thanks 1
17 minutes ago, cankiulascmnfye said:

@Cyberdevs @the_rootThe XhciPortLimit Quirk has been fixed in OC 0.9.3 so it works with current macOS versions again. So USBToolbox is no longer required. Just enable the quirk, inject the updated version of USB-InjectAll which supports current chipsets (600/700 series) and map ports as usual.

 

Hello, I don't remember if it was with you that there was a conversation here about Olarila.

I would like to say that I deleted the messages and because of your hard to remember username, I'm not sure if that was you I was chatting with.

If so, it's a shame we met that way, because I admire your work as much as Maldon's.

I'm sorry I didn't mean to offend you on that occasion, and I wanted to thank you for your excellent tutorials and apologize for not being able to properly explain to you that Maldon has always helped me over the years. I hope you can forgive me for any misunderstandings.

Thank you all for the ideas, so most of the suggestions are related to solutions about SSDT and kext files, which is good, I was afraid that it me be some deep hardware incompatibility with MacOS or BIOS issue, but all the ideas above looks really promising.

First I will start with @Max.1974 suggestion: OpenCore update + the procedure for recognizing the USB ports one by one. Then will wait a little to see if it will help, if not will do my best to generate SSDT files.

BtW, on the same machine ! also have installed Windows 11 and Ubuntu, maybe I can use them to export some DSDT / SSDT !?

 

 

29 minutes ago, the_root said:

Obrigado a todos pelas ideias, então a maioria das sugestões está relacionada a soluções sobre arquivos SSDT e kext, o que é bom, eu estava com medo de que fosse alguma incompatibilidade profunda de hardware com o MacOS ou problema de BIOS, mas todas as ideias acima parecem realmente promissoras.

Primeiro vou começar com@Max.1974sugestão: atualização do OpenCore + o procedimento para reconhecer as portas USB uma a uma. Então vou esperar um pouco para ver se vai ajudar, se não vou fazer o meu melhor para gerar arquivos SSDT.

BtW, na mesma máquina! também instalei o Windows 11 e o Ubuntu, talvez eu possa usá-los para exportar alguns DSDT / SSDT!?

 

 

 

Yes use SSDTTime to do this or XiAsl in Windows (they work on Windows too) like Youtube video. Its awesome. 

 

Test my SSDT with your map ports. 

Edited by Max.1974

Hello again guys, I wanted to provide you with a quick update on my progress.

 

Firstly, I successfully and smoothly updated OpenCore to version 0.9.4. The update process went well without any hitches.

 

With the SSDTTime tool ( special thanks to @Max.1974 ) I generated several SSDT files. Immediately I say many improvements. For instance, my CPU is now being recognized more accurately. Previously, it was identified as having 16 cores, but now it's correctly identified with 24 cores. Additionally, I'm pleased to report that the USB keyboard (Corsair K70 RGB MK.2 Low Profile) is finally being recognized by the iCUE software as well.

 

I've followed the instructions and with the USBToolbox now all USB ports are recognized, including the front ports that were previously not functioning.

 

With these adjustments in place, I'm cautiously optimistic about the USB issue being resolved. I'll be closely monitoring the system to see if the USB devices encounter any further interruptions.

 

I want to extend my heartfelt gratitude to all the individuals who contributed their insights and guidance throughout this process. Your support has been invaluable.

 

Thank you once again to everyone involved!

 

  • Like 2

@the_root 

 

I appreciate your words, and I hope you enjoy Hakcintosh a lot.

 

The biggest problem I found was with the USB ports in relation to the old HDD's. Today with the tutorial of deleting the _UPC parameters and reinserting the correct ones, as per the tutorial is essential.

 

USBToolbox does a great job on Windows and creates the UTBMap.kext kext, which should be used in conjunction with USBToolbox.kext.

 

Congratulations, I still recommend not using OCAT because it is not really necessary to formalize SSDT, you can use ProperTree which for me an OC Clean Snapshot (cmd + shift + R) solves. Don't forget that for best results, always use Python 3.9.9 which has more stability.

 

Congratulations!!

Hello again guys, little status update. So far the issue seems resolved, no more disappearing USB devices, I'm really happy about this, BUT, now there is new really interesting issue. If I leave the computer inactive for several hours - the USB devices are ... lagging, king of. Below I've attached video, you will see the mouse cursor is lagging, even the music ( It's on external USB DAC ), everything connected to USB ports.

What could be ?

 

 

Hi @the_root are you have necessary SSDTs like SSDT-GPRW, USBWakeFixup.kext with SSDT-USBW, and config mouse ports (if was Bluetooth) like internal 255? 

 

It's important check your ports and seems to me that hours inactive, you not have sleep working. Need check this parameters. GPRW and USBWakeup kext 

image.png.ba1fde6a77c0f24532e63806d79e50a1.png

image.png.392ea319adc6e65e5f2371f43e029aaf.png

https://dortania.github.io/OpenCore-Post-Install/usb/misc/instant-wake.html 

 

https://github.com/dortania/OpenCore-Post-Install/blob/master/extra-files/SSDT-GPRW.aml 

 

https://github.com/osy/USBWakeFixup

 

Need check your parameters PCI0 or PC00

 

https://github.com/osy/USBWakeFixup/blob/master/SSDT-USBW.dsl 

 

 

This is from my Z790

 

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20210930 (64-bit version)
 * Copyright (c) 2000 - 2021 Intel Corporation
 * 
 * Disassembling to symbolic ASL+ operators
 *
 * Disassembly of /Volumes/EFI/EFI/OC/ACPI/SSDT-USBW.aml, Mon Aug 21 19:00:37 2023
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x00000096 (150)
 *     Revision         0x02
 *     Checksum         0x95
 *     OEM ID           "OSY86 "
 *     OEM Table ID     "USBW"
 *     OEM Revision     0x00001000 (4096)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20180427 (538444839)
 */
DefinitionBlock ("", "SSDT", 2, "OSY86 ", "USBW", 0x00001000)
{
    External (_SB_.PC00.XHCI._PRW, MethodObj)    // 0 Arguments

    If ((CondRefOf (\_OSI, Local0) && _OSI ("Darwin")))
    {
        Device (\_SB.USBW)
        {
            Name (_HID, "PNP0D10" /* XHCI USB Controller with debug */)  // _HID: Hardware ID
            Name (_UID, "WAKE")  // _UID: Unique ID
            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (\_SB.PC00.XHCI._PRW ())
            }
        }
    }

If you can read this forum, explain better about Bluetooth and Mouse and Usb ports like OC Little Translate is based on it. 

 

https://www.hackintosh-forum.de/forum/thread/54986-usb-mittels-ssdt-deklarieren/?pageNo=1 

 

 

20 hours ago, Max.1974 said:

Hi @the_root are you have necessary SSDTs like SSDT-GPRW, USBWakeFixup.kext with SSDT-USBW, and config mouse ports (if was Bluetooth) like internal 255? 

 

It's important check your ports and seems to me that hours inactive, you not have sleep working. Need check this parameters. GPRW and USBWakeup kext 

image.png.ba1fde6a77c0f24532e63806d79e50a1.png

image.png.392ea319adc6e65e5f2371f43e029aaf.png

https://dortania.github.io/OpenCore-Post-Install/usb/misc/instant-wake.html 

 

https://github.com/dortania/OpenCore-Post-Install/blob/master/extra-files/SSDT-GPRW.aml 

 

https://github.com/osy/USBWakeFixup

 

Need check your parameters PCI0 or PC00

 

https://github.com/osy/USBWakeFixup/blob/master/SSDT-USBW.dsl 

 

 

 

Actually, non of them. Now I will add them, and lets see.

 

Thanks friend.

 

 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...