Mieze / LucyRTL8125Ethernet

macOS driver for Realtek RTL8125
242 stars 29 forks source link

[RTL8125B] Not working on MSI Z490-A Pro #14

Open dreamwhite opened 1 year ago

dreamwhite commented 1 year ago

The MSI Z490-A Pro motherboard is shipped with a RTL8125B NIC. The kext correctly loads on macOS Ventura 13.1 and I can detect it via IORegistryExplorer BUT there's no internet connection.

SysPrefs reports "Disconnected" despite having manually configured the Link Speed to 1000BaseT. Any idea on what could be?

Eventually can you guide me on how to obtain the proper logs?


dreamwhite

Mieze commented 1 year ago

Honestly, I haven't tried Venture myself but, at first glance, I see so reason why it shouldn't work after checking the IONetworking source code of Ventura 13.1. Maybe it's time to install it on my machine and run some tests?

Mieze commented 1 year ago

I tried the latest version with Ventura 13.1 and it works as expected. Note: I removed part of the MAC address from the screenshots below.

Captura de pantalla 2023-01-07 a las 23 54 34 copia Captura de pantalla 2023-01-07 a las 23 56 15 copia
Mieze commented 1 year ago

As MacOS is getting more picky about ACPI data with every major release, the problem might be related to the OS having trouble with that, in particular because MSI is known for buggy ACPI tables.

dreamwhite commented 1 year ago

Oh alright. Do you know any particular fix for such board? Or eventually how should I debug it?

Mieze commented 1 year ago

Since Catalina it has become difficult to collect kernel logs because MacOS no longer logs messages from injected drivers. I used to disable SIP and installed the driver into /L/E/ in order to get proper logs but I'm not sure if this method still works with Ventura. Anyway, you have to use the debug version of the driver in case you need detailed log data. To fix the ACPI tables you might want to refer to corresponding guides and instructions.

brizoles commented 1 year ago

Hi. Gigabyte Aorus Elite V2 here. I remember that I pressed the "latest" button and downloaded the LucyRTL8125Ethernet-V1.1.0.zip file. Then I had the same issue as many others not connecting through dhcp and even manually could not get it to work. Accidentally I used OCAuxiliarytools and tried to validate my config.plist and then I discovered that I didn't have the latest version but if I can recall correctly it said smt like 1.0.5 version. I updated everything through ocauxilirytools and now it shows 1.1.0 and networking works fixing speed to 1000BaseT. Either I did smt stupid that I can't remember (late at night with wine) or the latest version that I downloaded was the wrong file. Give it a look, just to be sure...