Jump to content

New Driver for Realtek RTL8111

Realtek RTL8111 driver

  • Please log in to reply
849 replies to this topic

#841
DevZone

DevZone

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Old version: https://code.google....s/list?can=1&q=

New version: http://r8168dl.appspot.com/

  • RTL8168EP/8111EP
  • RTL8168H/8111H
  • RTL8168H/8111H
  • Support EEE
  • Support DASH Web-configure chipset
  • Support Wide Area Network (WAN) remote wake-up function

Attached Files



#842
aww

aww

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 172 posts

Mieze,  please continue with you good work and disregard any noise from here, onward.

 

Appear to me, there are lot and a lot of story tellers, here.

 

I will check, "like this", five times myself.



#843
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 779 posts
  • Gender:Male
  • Location:NC, USA

FYI ... Andy Vandijck's revised driver is working well for me on Yosemite. I have an RTL-8168E.

 

Realtek RTL8168E-VL/8111E-VL PCI Express Gigabit Ethernet:

 

  Name: ethernet

  Type: Ethernet

  Bus: PCI

  Slot: Ethernet

  Vendor ID: 0x10ec

  Device ID: 0x8168

  Subsystem Vendor ID: 0x1458

  Subsystem ID: 0xe000

  Revision ID: 0x0006

  Link Width: x1

  BSD name: en0

  Kext name: RealtekRTL8111.kext

  Location: /System/Library/Extensions/RealtekRTL8111.kext

  Version: 1.3.5



#844
Mieze

Mieze

    Giant Cat

  • Coders
  • 585 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

Mieze,  please continue with you good work and disregard any noise from here, onward.

 

Appear to me, there are lot and a lot of story tellers, here.

 

I will check, "like this", five times myself.

 

I'm aware of Realtek's latest Linux driver sources but for the time being I see no reason to update the driver because it is working well with all supported OS X versions and NICs being available:

  • EEE is already supported.
  • Version 1.2.3 of my driver includes support for the RTL8111EP.
  • There are no hackintoshable mainboards with RTL8111H available, at least here in Germany.
  • As DASH is a management technology like Intel's AMT, there is really no need for it, because Hackintoshs are normally used at home and not in big companies where hundreds of machines have to be maintained. By the way, the BIOS of most mainboards doesn't support DASH, the only ones I know are some MSI boards with DASH in their name, so that it makes no sense to add it to the driver.

Mieze  :cat:



#845
Mieze

Mieze

    Giant Cat

  • Coders
  • 585 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

FYI ... Andy Vandijck's revised driver is working well for me on Yosemite. I have an RTL-8168E.

 

I checked his code and I really can't recommend it because he doesn't know what he is doing. In fact there is almost no improvement but messing with the MAC address will break LACP support.

 

Mieze



#846
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,535 posts
  • Gender:Male
  • Location:Cairo, Egypt or NYC, USA
  • Interests:Politics, Sci/Tech, Medicine.
Mieze,

Could you please add support for the RTL8110 Gigabit Ethernet (8167-10ec)?

I added the device I'd to the info.plist of your kext but ended up with the following error:

kernel[0]: Ethernet [RealtekRTL8111]: region #2 not an MMIO resource, aborting.


PS. The driver provided by realtek has the device id and loads, but the ethernet is stuck with a self assigned ip and cannot connect to internet. Manually assigning IP says connected but doesn't work.

PS. 2 Windows too appears to be using the same 8168 driver for it so I think the chipsets are close enough to be supported by this driver.

#847
Mieze

Mieze

    Giant Cat

  • Coders
  • 585 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

Mieze,

Could you please add support for the RTL8110 Gigabit Ethernet (8167-10ec)?

I added the device I'd to the info.plist of your kext but ended up with the following error:

PS. The driver provided by realtek has the device id and loads, but the ethernet is stuck with a self assigned ip and cannot connect to internet. Manually assigning IP says connected but doesn't work.

PS. 2 Windows too appears to be using the same 8168 driver for it so I think the chipsets are close enough to be supported by this driver.

 

No, sorry this isn't possible as the underlying Linux driver only supports PCIe devices and the RTL8110 is a PCI device. Besides that writing an OS X driver for a PCI NIC is completely different, as those 32bit devices can't do DMA operations with 64 bit addresses.

 

Mieze



#848
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,535 posts
  • Gender:Male
  • Location:Cairo, Egypt or NYC, USA
  • Interests:Politics, Sci/Tech, Medicine.

No, sorry this isn't possible as the underlying Linux driver only supports PCIe devices and the RTL8110 is a PCI device. Besides that writing an OS X driver for a PCI NIC is completely different, as those 32bit devices can't do DMA operations with 64 bit addresses.

 

Mieze

 

Ouch!!

Well, I contacted Realtek to see if they can update their PowerPC PCI ethernet driver to support recent Intel Macs. I wonder if they would actually listen (or if its technically possible). I'll keep you updated.

 

I suppose that this means that even an RTL8111 ethernet card connected via PCI won't work with your driver?!



#849
Mieze

Mieze

    Giant Cat

  • Coders
  • 585 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

I suppose that this means that even an RTL8111 ethernet card connected via PCI won't work with your driver?!

 

Exactly, because the 32 bit PCI bus can't do 64 bit addressing but you'll have a hard time to find such a card for economical reasons. With regard to the logical structure PCIe is based on PCI, but the electrical implementation is completely different which makes it impossible to connect a PCIe device to a PCI bus and vice versa. You'll have to put a PCIe-to-PCI-Bridge in-between making it impossible to manufacture cheap add-in cards.

 

Mieze  :cat:



#850
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,278 posts
  • Gender:Male
  • Location:Moscow

Mieze,

Could you please add support for the RTL8110 Gigabit Ethernet (8167-10ec)?

I added the device I'd to the info.plist of your kext but ended up with the following error:

PS. The driver provided by realtek has the device id and loads, but the ethernet is stuck with a self assigned ip and cannot connect to internet. Manually assigning IP says connected but doesn't work.

PS. 2 Windows too appears to be using the same 8168 driver for it so I think the chipsets are close enough to be supported by this driver.

This card is supported by existing driver (8169) on my computer. 

Attached File  Screen Shot 2015-01-26 at 10.18.12.png   51.29KB   3 downloads







Also tagged with one or more of these keywords: Realtek, RTL8111, driver


1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users


© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy