Lustral Posted March 26, 2013 Share Posted March 26, 2013 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) } } Link to comment Share on other sites More sharing options...
iLeopod Posted March 26, 2013 Share Posted March 26, 2013 Is it inside PEX5? Do u have the DTGP method. Leave the Buffer empty and let the compiler do the calculation. Buffer (0x00) is at least wrong. Link to comment Share on other sites More sharing options...
Lustral Posted March 26, 2013 Author Share Posted March 26, 2013 i edit my frist post with my last code from my dsdt.aml which is not working! Link to comment Share on other sites More sharing options...
iLeopod Posted March 26, 2013 Share Posted March 26, 2013 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 More sharing options...
Lustral Posted March 26, 2013 Author Share Posted March 26, 2013 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 More sharing options...
Maniac10 Posted March 26, 2013 Share Posted March 26, 2013 Is your ethernet chip compatible with Apple's kext? Post some information about your hardware. Link to comment Share on other sites More sharing options...
Lustral Posted March 26, 2013 Author Share Posted March 26, 2013 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 ? 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 Link to comment Share on other sites More sharing options...
mitch_de Posted March 31, 2013 Share Posted March 31, 2013 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). Link to comment Share on other sites More sharing options...
k3nny Posted March 31, 2013 Share Posted March 31, 2013 mitch_de is right, although personally I would not recommend the lnx2mac driver anymore as it wasn't updated for several years and better performing alternatives exist: - http://www.insanelym...1/#entry1898032 - http://www.insanelym...3/#entry1895374 1 Link to comment Share on other sites More sharing options...
Recommended Posts