USB Keyboard Issues on Sonoma Hackintosh: Troubleshooting Guide

Guide:

If you're facing USB keyboard issues on your Sonoma Hackintosh, such as it randomly stops working or becomes unresponsive, you're not alone. Here's a troubleshooting guide to help you resolve this problem:

Background:

You recently updated to Sonoma from Big Sur and made changes to your configuration, which led to USB keyboard problems. The keyboard works intermittently, often after sleep or system boot, and plugging it in again or putting the system to sleep and waking it up sometimes resolves the issue.

Config:

You've updated your OpenCore configuration to version 0.9.7, and your system is stable except for this USB keyboard issue.

Troubleshooting Steps:

1. Verify Your USB Configuration**:
   - Ensure that your USB mapping is correct. Double-check your USBToolBox.kext and UTBMap.kext settings.
   - Make sure you have mapped both USB 2 and USB 3 ports.

2. Check USB Ports**:
   - Test your keyboard on different USB ports, including HS (High-Speed) and SS (SuperSpeed) ports.
   - Confirm that all USB ports are functioning correctly using Hackintool.

3. Keyboard Testing**:
   - Test the keyboard on another computer, such as Windows, to confirm that it's not a hardware issue with the keyboard itself.

4. NVRAM Reset**:
   - Perform an NVRAM reset to clear any potential conflicts in the system settings.

5. ACPI Patches**:
   - Ensure that your ACPI patches are correctly configured and up to date.
   - Verify that your SSDT-AWAC.aml, SSDT-EC-USBX-DESKTOP.aml, SSDT-PLUG-DRTNIA.aml, and SSDT-RHUB.aml are in place.

6. Kexts**:
   - Confirm that all your kexts are up to date.
   - Check if there are any conflicting kexts or issues with kext load order.

7. USB Ownership**:
   - Toggle the ReleaseUsbOwnership setting in your config.plist on and off to see if it affects the USB behavior.

8. Bluetooth**:
   - Ensure that Bluetooth or any other conflicting devices are not causing USB issues.
   - If you disabled HS13 for Bluetooth, verify that it's configured correctly.

9. System Logs**:
   - Review system logs for any error messages or hints regarding the USB issue.

10. Community Support**:
    - Seek help from the Hackintosh community forums, where you can get assistance from experienced users who may have encountered similar problems.

By following these steps, you should be able to troubleshoot and resolve the USB keyboard issues on your Sonoma Hackintosh. Remember to back up your data and configuration before making significant changes to your system.

USB keyboard randomly stops working | ASUS PRIME Z-490-P | Sonoma 14.2.1 | OpenCore 0.9.7


TL;DR

The USB keyboard randomly stops working, while other USB devices work fine regardless of the port they're plugged into. Putting the system to sleep and waking it up, as well as unplugging and plugging the keyboard back in, solves the problem. I have a USB map, and everything else works perfectly fine.

---

The background

I've recently updated from Big Sur to Sonoma, which also required an OpenCore update from 0.6.3 to 0.9.1. Before the update, everything worked perfectly fine.

I did a few things at once - updated the system (and skipped a few versions), updated the OpenCore config, and updated all the kexts, so I'm not entirely sure what's the culprit - whether it's the system update or something wrong with the config.

The problem

The USB keyboard stops working randomly. Sometimes it happens while I'm using it, but most often, it stops working after sleep or directly after system boots up. Unplugging and plugging it back in helps. Sometimes, putting the system to sleep and waking it up also works.

The only way to reproduce the problem with 100% accuracy is by opening the Software Update preferences screen (sic!), which is super weird, but then it's guaranteed that the keyboard will stop working.

The issue applies only to the keyboard; other devices like a USB camera or mouse always work fine. Other than that, the system works fine: it's stable, the performance is good, power management is effective, and both sleep and auto-sleep functions operate properly. USB is the only issue.

My OpenCore config

https://pastebin.com/QgyG4ZpQ

Debugging done so far

  • Crafted an Opencore config from scratch following the Dortania guide.
  • Updated Opencore from 0.9.1 to 0.9.7 (I initially used 0.9.1 because that's the version supported by the Dortania guide).
  • Validated the config with ocvalidate and with Sanity Checker (result).
  • Updated all the kexts.
  • Replaced my old USB mapping solution (the USBMap.kext), which worked on Big Sur, with USBToolBox.kext + UTBMap.kext. I mapped 15 ports, and they all work fine with both USB 2 and USB 3 devices.
  • Performed an NVRAM reset.
  • Plugged the keyboard into various USB ports (I tried HS as well as SS ports).
  • Tested all USB ports with Hackintool. They all work fine. All mapped ports show up there.
  • Disabled the HS13 internal port.
  • Confirmed it's not the keyboard's fault, as it works fine on Windows.
  • Haven't found anything suspicious in the system logs.
  • Disabled my BCM_4350C2 Bluetooth by disabling the HS13 port, but the PCI card is still in the slot.
  • Toggled ReleaseUsbOwnership on and off.

ACPI patches

  • SSDT-AWAC.aml
  • SSDT-EC-USBX-DESKTOP.aml
  • SSDT-PLUG-DRTNIA.aml
  • SSDT-RHUB.aml I used to have it but then realized it's no longer needed as USBToolBox.kext already implements that patch.

Kexts (all are up to date):

  • AppleALC.kext
  • Lilu.kext
  • NVMeFix.kext
  • RealtekRTL8111.kext
  • USBToolBox.kext
  • UTBMap.kext
  • VirtualSMC.kext
  • WhateverGreen.kext

Specs

  • ASUS PRIME Z-490-P
  • Core i5 i5-10400
  • RX 580
  • NVMe Samsung 970 EVO Plus
submitted by /u/lp_kalubec
[link] [comments]