Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB C Ethernet not working; slow wifi; wifi disconnects after sleep; occasional wake ups during sleep #755

Open
baglana opened this issue May 4, 2024 · 3 comments
Labels
KBL Issue on Kaby Lake Refresh model USB USB related issue Wi-Fi Wi-Fi related issue

Comments

@baglana
Copy link

baglana commented May 4, 2024

State the model
XiaoMi-Pro MX150 i5-8G-256G
image

State the version of the EFI
v1.8.1

Describe the bug

  1. USB type c Ethernet adapter doesn't work

USB 10/100 LAN is listed as Disconnected in network settings:
image

Details screen is like this:
image

Tried installing the driver referenced here #256 (comment)
Downloaded the RTUNICv1.0.22_Update4.zip file from https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software
when the page was still available.

Tried multiple times installing the driver and restarting laptop but it didn't solve the issue. Although the installer says that the driver was installed successfully, it seems that it is not.

I also tried running the following commands mentioned here #275 (comment)

sudo kextunload /Library/Extensions/AppleRTL815XEthernet109.kext
sudo kextunload /Library/Extensions/AppleRTL815XComposite109.kext
sudo kextload /Library/Extensions/AppleRTL815XEthernet109.kext
sudo kextload /Library/Extensions/AppleRTL815XComposite109.kext

But there is no /Library/Extensions/AppleRTL815XEthernet109.kext file on my laptop. Instead there is a /Library/Extensions/AppleRTL815XEthernet110.kext file. So I tried the previous set of commands with updated filenames as well but still get errors:

image

I suspect that the issue might be with my version of the USB c Ethernet adapter being 8152 while in the mentioned issues people had 8153 (and the driver I tried is for 8152B/8153/8156 but not for 8152):

image
telegram-cloud-document-2-5309826552890936894

Do you know what might be the problem? Is there anyone with RTL8152 who has working ethernet? If I buy an RTL8153 adapter will it work?

  1. Does the

Intel Wi-Fi works with low performance

in the repo readme mean that built in wifi works slowly? Mine works around 10 times slower than wifi on another laptop in the worst case and around 50% slower in the best case. Is it ok? The only fix would be to buy a USB wifi dongle?

  1. After sleep the wifi connection occasionally gets disconnected and I have to reconnect manually. Is it a known issue and is there a fix for that?

  2. Also, is it ok that my laptop regularly wakes up while sleeping?

Maybe I should update the EFI from v1.8.1 to v1.8.2 to solve these problems? Also, does upgrading EFI to a newer version mean that macOS will update? If something will go wrong after I update the EFI folder, is there an easy way to rollback and not lose existing data?

Sorry if my questions are stupid, I am not tech savvy and know nothing about hackintosh.

System log

  • If a windows "Your computer was restarted because of a problem" appears, click Report and attach the log to help find the problem.

Screenshots

  • If applicable, add screenshots to help explain your problem.

Attach your entire EFI folder

  • Please attach your entire EFI folder to help solve your problem.
  • Erasing serial numbers in config.plist is required!

Attach system.log

  • If applicable, please run log show --predicate "processID == 0" --last boot --debug | grep "ERR" in Terminal.app to help locate the problem.
@stevezhengshiqi stevezhengshiqi added USB USB related issue KBL Issue on Kaby Lake Refresh model labels May 5, 2024
@stevezhengshiqi
Copy link
Collaborator

  1. Many third-party ethernet drivers are removed in Sonoma, and it might affect your Realtek model. I would recommend purchase a USB-C Ethernet Adapter that can work out of box, like the Xiaomi brand (reported working a few years ago, no guarantee)
  2. Yes, I would recommend updating to EFI v1.8.2 since the Intel driver improves itself consistently according to itlwm's Changelog. Also, v1.8.2 fixed an Intel WiFi build logic issue.
  3. I am not that sure about the Intel WiFi's behavior as different users have different router setup. Keep an eye on Intel WiFi's issue page could help: https://github.com/OpenIntelWireless/itlwm/issues
  4. The regular awake is also happening on real Macs. There are multiple process like rtc awake, com.apple.alarm* would break the sleep.

@stevezhengshiqi stevezhengshiqi added the Wi-Fi Wi-Fi related issue label May 10, 2024
@baglana
Copy link
Author

baglana commented May 15, 2024

Thanks for your answers.

  1. Are the USB-C Ethernet Adapters that can work out of the box those that work with real Macs? So the only important thing for the adapter to work is that it has to be compatible with macOS and it is not laptop hardware dependent? I searched for Xiaomi ethernet adapters and could only find USB A version adapters in stock. It seems like Xiaomi has discontinued their production. Does it matter if it is a type A or type C adapter?
  2. Thanks, I updated the EFI to v1.8.2 and the WIFI speed has doubled. Now it is on par with my other laptop WIFI speed.

@stevezhengshiqi
Copy link
Collaborator

  1. Are the USB-C Ethernet Adapters that can work out of the box those that work with real Macs?

Yes, for third-party peripheral driver, our hack behaves exactly the same as real Macs. The compatibility is determined by apple driver. If you are certain that the adapter work out of box for real Macs, it will also work for Xiaomi laptop. The only exception is Thunderbolt devices, which is not a concern for Xiaomi laptop anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KBL Issue on Kaby Lake Refresh model USB USB related issue Wi-Fi Wi-Fi related issue
Projects
None yet
Development

No branches or pull requests

2 participants