Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Realtek 8153

Download

Current version: 1.0.15 (as of last document update)

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Realtek GBE USB

  • Gigabit ethernet
  • USB hub

Gather Info




  • Launch a terminal/shell
  • ioreg -p IOUSB -w0
  • ioreg -p IOUSB -w0 -l: For more info
+-o Root  <class IORegistryEntry, id 0x100000100, retain 14>
  +-o Root Hub Simulation Simulation@14000000  <class AppleUSBRootHubDevice, id 0x1000002fa, registered, matched, active, busy 0 (6 ms), retain 13>
    +-o USB2.0 Hub             @14100000  <class AppleUSBDevice, id 0x1000002fb, registered, matched, active, busy 0 (43 ms), retain 14>
    +-o Apple Internal Keyboard / Trackpad@14400000  <class AppleUSBDevice, id 0x1000002ff, registered, matched, active, busy 0 (96 ms), retain 22>
    +-o USB3.0 Hub             @14500000  <class AppleUSBDevice, id 0x100000363, registered, matched, active, busy 0 (54 ms), retain 15>
    | +-o USB 10/100/1000 LAN@14540000  <class AppleUSBDevice, id 0x100000418, registered, matched, active, busy 0 (73 ms), retain 18>
    +-o Bluetooth USB Host Controller@14300000  <class AppleUSBDevice, id 0x1000003d8, registered, matched, active, busy 0 (58 ms), retain 24>
Terminal output snippet from `ioreg -p IOUSB -w0 -l` ``` +-o USB3.0 Hub @14500000 | | { | | "sessionID" = 2480892594 | | "iManufacturer" = 1 | | "bNumConfigurations" = 1 | | "idProduct" = 2066 | | "bcdDevice" = 37009 | | "Bus Power Available" = 900 | | "USB Address" = 5 | | "bMaxPacketSize0" = 9 | | "iProduct" = 2 | | "iSerialNumber" = 0 | | "bDeviceClass" = 9 | | "Built-In" = No | | "locationID" = 340787200 | | "bDeviceSubClass" = 0 | | "bcdUSB" = 768 | | "USB Product Name" = "USB3.0 Hub " | | "PortNum" = 5 | | "non-removable" = "no" | | "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"} | | "bDeviceProtocol" = 3 | | "IOUserClientClass" = "IOUSBDeviceUserClientV2" | | "IOPowerManagement" = {"DevicePowerState"=0,"CurrentPowerState"=3,"CapabilityFlags"=65536,"MaxPowerState"=4,"DriverPowerState"=3} | | "Device Speed" = 3 | | "USB Vendor Name" = "VIA Labs, Inc. " | | "idVendor" = 8457 | | "IOGeneralInterest" = "IOCommand is not serializable" | | "IOClassNameOverride" = "IOUSBDevice" | | } | | | +-o USB 10/100/1000 LAN@14540000 | { | "sessionID" = 3379212797 | "iManufacturer" = 1 | "bNumConfigurations" = 2 | "idProduct" = 33107 | "bcdDevice" = 12288 | "Bus Power Available" = 900 | "USB Address" = 8 | "bMaxPacketSize0" = 9 | "iProduct" = 2 | "iSerialNumber" = 3 | "bDeviceClass" = 0 | "Built-In" = No | "locationID" = 341049344 | "bDeviceSubClass" = 0 | "bcdUSB" = 768 | "USB Product Name" = "USB 10/100/1000 LAN" | "PortNum" = 4 | "non-removable" = "no" | "IOCFPlugInTypes" = {"9dc7b780-9ec0-11d4-a54f-000a27052861"="IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle"} | "bDeviceProtocol" = 0 | "IOUserClientClass" = "IOUSBDeviceUserClientV2" | "IOPowerManagement" = {"ChildrenPowerState"=4,"DevicePowerState"=0,"CurrentPowerState"=4,"CapabilityFlags"=32768,"MaxPowerState"=4,"DriverPowerState"=4} | "Device Speed" = 3 | "USB Vendor Name" = "Realtek" | "idVendor" = 3034 | "IOGeneralInterest" = "IOCommand is not serializable" | "USB Serial Number" = "002427FE48F6" | "IOClassNameOverride" = "IOUSBDevice" | } | ```

  • Launch a terminal/shell
  • ifconfig
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
	ether 00:24:27:fe:48:f6
	inet 192.168.1.135 netmask 0xffffff00 broadcast 192.168.1.255
	media: autoselect (1000baseT <full-duplex,flow-control>)
	status: active

Reload OSX driver (kext)

The driver is located at

  • /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleRTL815X*.kext
  • /Library/Extensions/AppleRTL815X*.kext

Here are the namespaces:

  • com.realtek.driver.AppleRTL815XEthernet
  • com.realtek.driver.AppleRTL815XComposite

See http://osxdaily.com/2015/06/24/load-unload-kernel-extensions-mac-os-x/

With normal operation with only the network cable plugged in, I only see com.realtek.driver.AppleRTL815XEthernet loaded.

# Unload
sudo kextunload /Library/Extensions/AppleRTL815XEthernet109.kext
sudo kextunload /Library/Extensions/AppleRTL815XComposite109.kext

# Load
sudo kextload /Library/Extensions/AppleRTL815XEthernet109.kext
sudo kextload /Library/Extensions/AppleRTL815XComposite109.kext

# Find if loaded
kextstat | grep com.realtek.driver.AppleRTL815XEthernet
kextstat | grep com.realtek.driver.AppleRTL815XComposite

Perhaps clear the Kernel cache

sudo rm -rf /System/Library/Caches/com.apple.kext.caches

I got a new USB ethernet adapter and use the native driver

I got a new USB ethernet adapter because the old one had lots of issues (hence the gist in the first place). But it still uses the same Realtek 8153 chip although am using the native driver though now, AppleUSBECM.kext

In terms of my previous issues, I remember that when I clicked the little lock in the browser to view the cert, it would crash my computer. But the disconnects that required a restart were the bigger issue. (personal reference link)

I'm currently running macOS Mojave 10.14

@dstoiko

This comment has been minimized.

Copy link

commented Apr 28, 2018

Thanks for the gist. Just a small typo on:

# Find if loaded
kextstat | grep com.realtek.driver.AppleRTL815XEthernet
kextstat | grep com.realtek.driver.AppleRTL815XCompositep

should be (without "p" on "Composite"):

# Find if loaded
kextstat | grep com.realtek.driver.AppleRTL815XEthernet
kextstat | grep com.realtek.driver.AppleRTL815XComposite
@ngrigoriev

This comment has been minimized.

Copy link

commented Sep 18, 2018

I have just tried 1.0.17 (latest version) and it locks up my MacBook Pro in about 10 minute of use. I.e. it works, but at some point all apps that use the network get stuck on the system call, I can't even run "ifconfig" etc. Have to power down the laptop. Tried several times, installing, rebooting, working for a little while, uninstalling...I can confirm it does not work with OS X 10.16.13. I am using Dell WD15 dock which has that Realtek chip.

@yangm97

This comment has been minimized.

Copy link

commented Nov 3, 2018

Download link is down as of 02/11/2018

@sgeb

This comment has been minimized.

Copy link

commented Nov 8, 2018

New link seems to be this:
https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software

You'll have to provide an email address, download link is sent via email.

@luco

This comment has been minimized.

Copy link

commented Apr 20, 2019

The 1.0.17 works for a while then starts throwing SSL erros and drops connection. I have to reboot the dell WD15 to restore.

@Kevin-Prichard

This comment has been minimized.

Copy link

commented Jul 14, 2019

1.0.19 for OSX 10.6 to 10.14: https://www.realtek.com/en/directly-download?downloadid=539aeb9efe099080ab2b622770b822f0

Installing this driver was very helpful with a Realtek 8153-based USB device (branded 'Comkia' & sold by Central Computer in San Francisco).

Prior to installing the driver, the device would not come back up after being unplugged and replugged-in a couple of times. The device would still appear when running system_profiler SPUSBDataType from a shell, but under System Preferences -> Network it would not come back up. Required a reboot to do so, so installing 1.0.19 was helpful.

@luco

This comment has been minimized.

Copy link

commented Jul 28, 2019

@Kevin-Prichard Can you host the file somewhere? I can't get the link by e-mail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.