Jump to content

Realtek RTL8111/8168B DSDT LAN0 Injection


Lustral
 Share

9 posts in this topic

Recommended Posts

hello friends,

 

i need some help with code injection for Device GIGE. I didnt find out what i make wrong exactly. big thx for help ! her is my last code from my dsdt.aml which is only working with RealtekSL1000.kext

 

 

Device (PEX5.GIGE)
	 {
		 Name (_ADR, Zero) // _ADR: Address
		 Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
		 {
			 0x09,
			 0x03
		 })
		 Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
		 {
			 Store (Package (0x06)
				 {
					 "built-in",
					 Buffer (One)
					 {
							 0x01
					 },
					 "device_type",
					 Buffer (0x09)
					 {
						 "Ethernet"
					 },
					 "name",
					 Buffer (0x23)
					 {
						 "Realtek RTL8111/8168B PCIe Gigabit"
					 }
				 }, Local0)
			 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
			 Return (Local0)
		 }
	 }

post-193369-0-37774400-1364682451_thumb.png

Link to comment
Share on other sites

What do you expect to achieve by that? To show up your card under PCI devices in system profiler u just need this:

                               "AAPL,slot-name",
                               Buffer (0x09)
                               {
                                   "Built-In"
                               },
                               "built-in",
                               Buffer (One)
                               {
                                   0x01
                               },
                               "device_type",
                               Buffer (0x09)
                               {
                                   "ethernet"
                               },
                               "model",
                               Buffer (0x22)
                               {
                                   "Realtek RTL8111E 10/100/1000 Mbit"
                               }

Link to comment
Share on other sites

your code is also not working.. it shows me no information about my ethernet card in systemprofiler. but thx for your help !!!

 

i try to get my ethernet to work with apple driver.. that's why i try to inject the code in my dsdt.aml but without success.

 

Slice RealtekR1000SL 3.0.3 works perfect but i hope its possible to get ethernet to work without this kext.

 

 

@ILeopod du kannst auch in deutsch schreiben wenn du willst.

Link to comment
Share on other sites

my board has a Realtek RTL8168B/8111B PCI-E Gigabit Ethernet Adapter (PHY: Realtek RTL8211/8212) PCI chip.. looks like not compatible with apple driver right ? :worried_anim:

 

but ioreg show under compatible (pci1458,000,pci10ec,8168, pciclass,02000)

 

for me it looks like compatible with my ethernet chip but i can't get it to work .. very strange :wallbash:

Link to comment
Share on other sites

At this stage of "worrying" you should poblably try to use an non Apple driver, like the great: Lnx2Mac's Realtek RTL81xx driver.

I use that since 10.7 , now 10.8.3 - no probs at all. Speeds, sleep, wake - all works.

Its better than the other (yours) driver.

Be sure to remove the other before installing this one. Also Slice have an new driver in work.

 

http://lnx2mac.blogs...osx-driver.html

 

I agree thats the best to use native drivers - but sometimes, in this case its no prob to use such non Apple driver.

Because they will never get overwritten (as AplpeHDA updates) you have no work with them for loooong time.

 

PS: I use near same DSDT injection as posted here. The main thing is the build-in setting.

 

Screensoout show that dsdt settings with Lnx2Mac driver, Gigabyte EP35 board (8168B).

Bildschirmfoto 2013-03-31 um 10.12.29.jpg

Link to comment
Share on other sites

 Share

×
×
  • Create New...