Jump to content
marionez

Realtek ALC1200 ICH10 working kext on Yosemite 10.10 from 10.6+

579 posts in this topic

Recommended Posts

Ok... anyway ALC2000 doesn't seem to exist. :P

 

deadpxl about 8 channel, if you see in your output sound preference, you have line out, headphone, then there's another line out, that's the ORANGE plug and it works, but you can't use this at the same time of first line out (as I know).

Share this post


Link to post
Share on other sites
Advertisement

Nice Marionez, thet you tryed the digital output.

Please try DTS music in WAV.

You can dowload it form my server:

fecso.dyndns.org/Rihanna - Don't Stop The Music.zip

 

 

I can explain it to you, Realtek ALC1200 chipset is so good as M-Audio Transit!!!

 

Good work...

Share this post


Link to post
Share on other sites
Ok... anyway ALC2000 doesn't seem to exist. :P

 

deadpxl about 8 channel, if you see in your output sound preference, you have line out, headphone, then there's another line out, that's the ORANGE plug and it works, but you can't use this at the same time of first line out (as I know).

 

 

but seems I can't output DTS/(not tried dolby yet).....from vlc or the dvd player... any clue?

Share this post


Link to post
Share on other sites

Marionez, great work! Thank you.

 

Still can not get it working on my EFI Partition.

Backuped and removed AppleHDA.kext from /S/L/E.

Placed your kexts into Extensions folder of my EFI partition, updated perms, created Extensions.mkext.

After reboot, System Profiler shows Device ID, Audio ID and nil Available Devices.

 

Any ideas?

 

Mobo: Asus P6T(regular)

ICH10R Chipset

10.5.6 Vanilla Install

 

Thanks for your work.

Share this post


Link to post
Share on other sites

Kome here vlc spdif out works, to have DTS working I think you must have a DTS compatible sound system. Anyway I don't think that could be a driver related problem, maybe OSx or sound system.

 

Good Day, it's strange, firstly you would try deleting again AppleHDA ALC1200fix HDAEnabler and check if you have some other injector (alcinjector azalia) and audio patch installed in your extensions folder, that's very probable.

At the end if you can't figure out, you should have some different codec dump, here's how to have: http://www.insanelymac.com/forum/lofiversi...php/t46378.html

I can't assure I can create a working driver, you can try, it's even quite strange you've an ALC1200 with a different codec dump, I noticed some differences between some ALC1200 I read on internet, but they're minor differences.

Share this post


Link to post
Share on other sites

Nice Marionez, thet you tryed the digital output.

Please try DTS music in WAV.

You can download it from my server:

fecso.dyndns.org/Rihanna - Don't Stop The Music.zip

 

 

I can explain it to you, Realtek ALC1200 chipset is so good as M-Audio Transit!!!

 

Good work...

Share this post


Link to post
Share on other sites
Kome here vlc spdif out works, to have DTS working I think you must have a DTS compatible sound system. Anyway I don't think that could be a driver related problem, maybe OSx or sound system.

 

 

thanks guess so , should be something related to setting of programs. Though I am pretty sure my receiver able to detect different surround coding system.

Share this post


Link to post
Share on other sites

Thx.

 

My idea is: iTunes detect the soundcard connection with soundsystems, and if is digital, then DTS go out.

I think iTunes not well recognized by.

iTunes can play DTS music on G5.

 

Here is apple link:

support.apple.com/kb/TA47850?viewlocale=en_US

 

 

Thank you for everything!

I will play with VLC:)

Share this post


Link to post
Share on other sites

marionez, any ideas please?

 

dumped using slax

 

here are Taruga's patcher output:

 

AppleHDA Patcher - 2006/2007 by Taruga v1.20

 

 

* Patching AppleHDA.kext to 0x10ec0888 Done

* Checking AppleHDA for patch Done

0001f4a0 cmpl $0x10ec0888,%eax

00020584 cmpl $0x10ec0888,%eax

* Checking for SPDIF Out Detected

* Checking for SPDIF In Not Detected

* Using the following nodes in pathmap

 

Back Mic: 9 34 24

Line In : 8 35 26

Speaker : 20 12 2

Headphone: 27 38 37

Spdif Out: 30 6

 

* Copying new config to destination Done

* Repairing Permissions Done

* Deleting Extensions Cache Done

 

** Done patching - You can reboot now **

 

moved AppleHDA from /S/L/E to EFI, fixed perms etc etc

 

rebooted with -v -f

 

System Profiler says:

 

Intel High Definition Audio:

 

Device ID: 0x10438357

Audio ID: 12

Available Devices:

 

 

Thank You

Share this post


Link to post
Share on other sites
Potentially stupid observation (in that I am stupid):

 

Can you control digital volume at the source? I have some high end audio gear and volume can only be controlled at the amp because there is no way to 'reduce' a digital signal, it is either on or off. It's not like analog.

 

Again I am not sure of how it works on pc's because I don't have gear to test.

Network now comes back after sleep, absolutely OUTSTANDING and a big THANK YOU!!!!

 

It may have even fixed the random shut down issue. I was able to recreate the shut down problem by doing sleep, wake up, shut down. Now it seems to work fine but I will confirm after some more tests.

 

Cheers!

 

Had over 10 shutdowns with no issues. This is THE sleep fix.

Share this post


Link to post
Share on other sites

Yes you have an ALC888, in fact you even got a different device ID! :P

Try searching for an ALC888 driver on the forum, I think it already exists.

 

I've made a version with spdif RCA (coax) connection in "about this mac", I put it on post#1

 

iPhoneiac I think this can really solve that issue ;)

Share this post


Link to post
Share on other sites
Yes you have an ALC888, in fact you even got a different device ID! ;)

Try searching for an ALC888 driver on the forum, I think it already exists.

 

I've made a version with spdif RCA (coax) connection in "about this mac", I put it on post#1

 

iPhoneiac I think this can really solve that issue :D

 

Hi Marionez,

 

There is 3 kext in the zip file.

should I install the 3 ?

 

Barnum

Share this post


Link to post
Share on other sites

- choose and download kexts pack for ALC1200

- remove ALCinjector.kext AppleHDA.kext and his friends from /System/Library/Extension

- remove /System/Library/Extension.mkext (this step is not needed at all)

- unpack the zip file

- run kexthelper

- install kexts

- reboot

 

yes all 3 kexts ;)

 

I was considering a rear-mic/line-in (with no front mic) version, but maybe the 3 input version is better.

Share this post


Link to post
Share on other sites
Update (14th april 2009) with RCA spdif in "about this mac"

nice work marionez

 

i've been testing the updated version yesterday, looks promising

Share this post


Link to post
Share on other sites

Hello!

 

This works for me with an Asus P5Q PRO.

Only with all startups I get all kind of Sounds Assertions messages, something like this(copied from other post):

Apr  6 18:02:10 localhost kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAPath.cpp" at line 1175 goto Exit
Apr  6 18:02:10 localhost kernel[0]: Sound assertion "0 != pathSet->getWidgetAmplifierGainRange ( &zeroValue, &minValue, &maxValue, &minDB, &maxDB, kPATH_CONTROL_SPATIAL_CHANNELID_Master )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAEngine.cpp" at line 266 goto handler
Apr  6 18:02:10 localhost kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAPath.cpp" at line 1175 goto Exit
Apr  6 18:02:10 localhost kernel[0]: Sound assertion "0 != pathSet->getWidgetAmplifierGainRange ( &zeroValue, &minValue, &maxValue, &minDB, &maxDB, kPATH_CONTROL_SPATIAL_CHANNELID_Master )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAEngine.cpp" at line 266 goto handler

 

Does someone know how to fix it?

 

Greeting

Share this post


Link to post
Share on other sites

I've got the same:

Apr 16 18:52:38 mypc-macpro31 kernel[0]: Sound assertion "0 == fMikeyDriver" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1063 goto handler
Apr 16 18:52:38 mypc-macpro31 mdworker[89]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 16 18:52:38 mypc-macpro31 kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAEngine.cpp" at line 2645 goto Exit
Apr 16 18:52:39 mypc-macpro31 lsregister[91]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 16 18:52:39 mypc-macpro31 com.apple.coreservicesd[58]: 2009-04-16 18:52:39.383 lsregister[91:807] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Apr 16 18:52:40 mypc-macpro31 kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAEngine.cpp" at line 2645 goto Exit
Apr 16 18:52:40: --- last message repeated 1 time ---
Apr 16 18:52:40 mypc-macpro31 configd[47]: AppleTalk startup complete
Apr 16 18:52:41 mypc-macpro31 kernel[0]: Sound assertion "0 == entry" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAEngine.cpp" at line 2645 goto Exit
Apr 16 18:52:43: --- last message repeated 3 times ---
Apr 16 18:52:43 mypc-macpro31 kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAWidget.cpp" at line 2508 goto handler
Apr 16 18:52:43 mypc-macpro31 kernel[0]: Sound assertion "0 != widget->setUnsolicited ( true )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDACodecGeneric.cpp" at line 850 goto handler
Apr 16 18:52:43 mypc-macpro31 kernel[0]: Sound assertion "result" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAWidget.cpp" at line 2410 goto Exit
Apr 16 18:52:43 mypc-macpro31 kernel[0]: Sound assertion "0 != widget->setConnectionSelectNodeID ( fSelectionsForEachWidget[inputWidgetIndex] )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAPath.cpp" at line 697 goto Exit
Apr 16 18:52:48 mypc-macpro31 /System/Library/CoreServices/ManagedClient.app/Contents/MacOS/ManagedClient[111]: ODUEthernetAddress(): GetEthernetAddress()== 5

The very strange thing is that I didn't have this log error 3-4 days ago! So I don't know what's going on.

I read on the forum that SMBIOSResolver could solve this, but I didn't find it...

 

I made a new version without the ALC1200fix.kext but I still have the error. I attach on post #1.

Share this post


Link to post
Share on other sites

Ok thanks I'll edit first post.

 

I updated latest kexts, because headphone was missing. Anyone can help?

I think we just have to map properly some nodes!

 

line in 8 35 26

front mic 9 34 24

rear mic 8 35 25 (this is a great trouble)

line out 20 12 2

black rear 21 13 3

orange 22 14 4

side 23 15 5

headphones 27 38 37

spdif in 10 31 (theres NO connector on mobo, it's unused)

spdif out 30 6

 

 

   Jack   Color  Description				  Node	 PinDefault				 Verbs
--------------------------------------------------------------------------------------------------------
ATAPI Unknown  SPDIF Out at Int ATAPI	  17 0x11   0x99430140   01171c40 01171d01 01171e43 01171f99
 1/8   Green  Line Out at Ext Rear		20 0x14   0x01014010   01471c10 01471d40 01471e01 01471f01
 1/8   Black  Line Out at Ext Rear		21 0x15   0x01011012   01571c10 01571d10 01571e01 01571f01
 1/8  Orange  Line Out at Ext Rear		22 0x16   0x01016011   01671c10 01671d60 01671e01 01671f01
 1/8	Grey  Line Out at Ext Rear		23 0x17   0x01012014   01771c10 01771d20 01771e01 01771f01
 1/8	Pink  Mic at Ext Rear			 24 0x18   0x01a19850   01871c50 01871d98 01871ea1 01871f01
 1/8	Pink  Mic at Ext Front			25 0x19   0x02a19d60   01971c60 01971d9d 01971ea1 01971f02
 1/8	Blue  Line In at Ext Rear		 26 0x1a   0x0181305f   01a71c50 01a71d30 01a71e81 01a71f01
 1/8   Green  HP Out at Ext Front		 27 0x1b   0x02214c20   01b71c20 01b71d4c 01b71e21 01b71f02
ATAPI Unknown  CD at Int ATAPI			 28 0x1c   0x593301f0   01c71cf0 01c71d01 01c71e33 01c71f59
Optical   White  Speaker at Ext N/A	   29 0x1d   0x4015e601   01d71c00 01d71de6 01d71e15 01d71f40
RCA Orange  SPDIF Out at Ext Rear		 30 0x1e   0x01456130   01e71c30 01e71d71 01e71e44 01e71f01
 1/8   Black  Speaker at Ext Rear		 31 0x1f   0x411111f0   01f71cf0 01f71d11 01f71e11 01f71f41
--------------------------------------------------------------------------------------------------------

 

Front and rear mic has an high misc.

 

<

01171c40 01171d01 01171e43 01171f99

01471c10 01471d40 01471e01 01471f01 these line outs can be in a sequence, right?

01571c10 01571d10 01571e01 01571f01 I tried but I obtain nothing

01671c10 01671d60 01671e01 01671f01

01771c10 01771d20 01771e01 01771f01

01871c50 01871d98 01871ea1 01871f01 high misc

01971c60 01971d9d 01971ea1 01971f02 high misc

01a71c50 01a71d30 01a71e81 01a71f01

01b71c20 01b71d4c 01b71e21 01b71f02

01c71cf0 01c71d01 01c71e33 01c71f59

01d71c00 01d71de6 01d71e15 01d71f40

01e71c30 01e71d71 01e71e44 01e71f01

01f71cf0 01f71d11 01f71e11 01f71f41

>

 

MuteGPIO

micrear node 24 VREF_80 1342242840

micfront node 25 VREF_80 1342242841

line-in node 26 VREF_HIZ (??) 1677787162 ??

HP out node 27 VREF_HIZ 1677787163 ??

 

So we have 4analog-out 1HP 1spdif-out and 3analog-in

Share this post


Link to post
Share on other sites

I made a slim version, with green rear output, front headphones, rear mic, line in and digital output.

It's on post #1

http://www.insanelymac.com/forum/index.php...st&id=48849

 

This cause less kernel log errors:

localhost kernel[0]: Sound assertion "0 == fExternalControlArray" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDAFunctionGroup.cpp" at line 767 goto Exit

Share this post


Link to post
Share on other sites

Hi Marionez!

 

Nice work, so much to deal with it!

Can you write, what is it new?

 

Only a few lines from SLIM!

 

 

You have a nice day!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By DoZe
      Hi :0)
       
      Hope As usual a perfect matching DSDT for this good Laptop.
       
      Regards, Ray
       
       
      SendMeStudiMac.zip
    • By MaLd0n
      --Donations via PayPal--
      https://tinyurl.com/r2bvzm7
       
      --Original Topic--
      https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/
       

       
      -Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc!
      -Wifi card has been replaced with Dell DW1560!
      -I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620
      -Update bios/uefi to last version
       
      --Installation--
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Clover Folder--
      Just paste EFI folder inside EFI partition
      https://www.olarila.com/files/Clover.Folder/Lenovo IdeaPad S145.zip
      Notebooks with ELAN trackpad use it with my folder above
      IdeaPad S145 ELAN.zip
       
      Bluetooth Broadcom
      Bluetooth Broadcom.zip
       
      CPUFriend for i5-8265U
      CPUFriend i5-8265U.zip
       
      --Full DSDT Patches--
      -My DSDT
      DSDT Lenovo IdeaPad S145.zip
       
      This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models
      -Patches
      -FIX ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 11 ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PRWs -_DSMs -PNLF -BRIGHTNESS KEYS -I2C -NATIVE USB -ARPT -GFX0 -DTGP -kUSBCompanionIndex -io-device-location -FULL RENAMED DEVICES   --IGPU Patch--
      Video solution with HDMI Audio and Video
      <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,GfxYTile</key> <data> AQAAAA== </data> <key>AAPL,ig-platform-id</key> <data> CQClPg== </data> <key>device-id</key> <data> pT4AAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con0-alldata</key> <data> AAAIAAIAAACYAAAA </data> <key>framebuffer-con0-enable</key> <integer>1</integer> <key>framebuffer-con1-alldata</key> <data> AQEJAAAIAADHAQAA </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con2-alldata</key> <data> AgYKAAAEAADHAQAA </data> <key>framebuffer-con2-enable</key> <integer>1</integer> <key>framebuffer-fbmem</key> <data> AACQAA== </data> <key>framebuffer-patch-enable</key> <data> AQAAAA== </data> <key>framebuffer-stolenmem</key> <data> AAAwAQ== </data> <key>framebuffer-unifiedmem</key> <data> AAAAgA== </data> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Intel Corporation, Cannon Point-LP Iris Plus Graphics 655</string> </dict>   --Native USB Fix for Notebooks - No Injector/Kext Required--
      https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/
      https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/
       
       
      -ScreenShots

































      -Links
       
       
      Clover https://github.com/CloverHackyColor/CloverBootloader
      AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup
      AppleALC.kext https://github.com/acidanthera/AppleALC
      Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM
      Lilu.kext https://github.com/acidanthera/Lilu
      SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup
      VirtualSMC.kext https://github.com/acidanthera/VirtualSMC
      VoodooI2C.kext https://github.com/alexandred/VoodooI2C
      VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2
      WhateverGreen.kext https://github.com/acidanthera/WhateverGreen
      MaciASL - https://github.com/acidanthera/MaciASL
      acpica - https://github.com/acpica/acpica
      AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg
      ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg
      HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true
      Hackintool https://github.com/headkaze/Hackintool
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
       
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
       
      We're all here to have fun and learn from each other!
    • By Mieze
      A New Driver for Realtek RTL8111
       
      Due to the lack of an OS X driver that makes use of the advanced features of the Realtek RTL81111/8168 series I started a new project with the aim to create a state of the art driver that gets the most out of those NICs which can be found on virtually any cheap board on the market today. Based on Realtek's Linux driver (version 8.035.0) I have written a driver that is optimized for performance while making efficient use of system resources and keeping the CPU usage down under heavy load.

      Key Features of the Driver
      Supports Realtek RTL8111/8168 B/C/D/E/F/G found on recent boards. Support for multisegment packets relieving the network stack of unnecessary copy operations when assembling packets for transmission. No-copy receive and transmit. Only small packets are copied on reception because creating a copy is more efficient than allocating a new buffer. TCP, UDP and IPv4 checksum offload (receive and transmit). TCP segmentation offload under IPv4. Support for TCP/IPv6 and UDP/IPv6 checksum offload. Fully optimized for Mountain Lion (64bit architecture) but should work with Lion too. As of now there is no support for Snow Leopard but it can be added if someone will create the necessary patches. Supports Wake on LAN. Support for Energy Efficient Ethernet (EEE) which can be disabled by setting enableEEE to NO in the drivers Info.plist without rebuild. The default is YES. The driver is published under GPLv2.  
      Limitations
      As checksum offload doesn't work with jumbo frames they are currently unsupported and will definitely never be. No support for 32bit kernels.  
      Installation
      Before you install the driver you have to remove any installed driver for RTL8111/8168.
      Goto /S/L/E and delete the old driver (Lnx2mac, AppleRealtekRTL8169, etc.). Recreate the kernel cache. Open System Preferences and delete the corresponding network interface, e. g. en0. If you forget this step you might experience strange problems with certain Apple domains, iTunes and iCloud later. Reboot. Install the new driver and recreate the kernel cache. I recommend to use Kext Wizard or a similar utility for the installation. Reboot Open System Preferences again, select Network and check if the new network interface has been created automatically or create it manually now. Configure the interface.  
      Help - I'm getting kernel panics!
      Well, before you start complaining about bugs after you upgraded macOS and ask me to publish a driver update, you should first try to resolve the issue on your own by cleaning the system caches.
      As the driver uses macOS's private network driver interface, which is supposed to be used by Apple provided drivers only, you might run into problems after an OS update because the linker may fail to recognize that IONetworking.kext has been updated and that the driver needs to be linked against the new version (Apple provided drivers avoid this problem because they are always updated together with IONetworking.kext). As a result, the linking process produces garbage and the driver may call arbitrary code when trying to call functions from IONetworking.kext. This usually results in unpredicted behavior or a kernel panic. In order to recover from such a situation, you should clean the System Caches forcing the linker to recreate it's caches:
      Delete all the files in /System/Library/Caches and it's subdirectories but leave the directories and the symbolic links intact. This is very important! Reboot. Recreate the kernel cache. Reboot again.  
      Troubleshooting
      Make sure you have followed the installation instructions especially when you have issues with certain domains while the others are working fine. Use the debug version to collect log data when trying to track down problems. The kernel log messages can be found in /var/log/system.log. For Sierra and above use "log show --predicate "processID == 0" --debug" in order to retrieve kernel logs. Include the log data when asking for support or giving feedback. I'm an engineer, not a clairvoyant. Check your BIOS settings. You might want to disable Network Boot and the UEFI Network Stack as these can interfere with the driver. Double check that you have removed any other Realtek kext from your system because they could prevent the driver from working properly. Verify your bootloader configuration, in particular the kernel flags. Avoid using npci=0x2000 or npci=0x3000.  In Terminal run netstat -s in order to display network statistics. Carefully examine the data for any unusual activity like a high number of packets with bad IP header checksums, etc. In case auto-configuration of the link layer connection doesn't work it might be necessary to select the medium manually in System Preferences under Network for the interface. Use Wireshark to create a packet dump in order to collect diagnostic information. Keep in mind that there are many manufacturers of network equipment. Although Ethernet is an IEEE standard different implementations may show different behavior causing incompatibilities. In case you are having trouble try a different switch or a different cable.  
      FAQ
      How can I retrieve the kernel logs? In Terminal type "grep kernel /var/log/system.log". I want to disable Energy Efficient Ethernet (EEE) but I don't know how? Take a look at the driver's Info.plist file. There you will find an option named <key>enableEEE</key>. Change its value from <true/> to <false/>. Don't forget to recreate the kernel cache after changing the value. WoL from S5 doesn't work with this driver but under Windows it's working. Is this a driver bug? No it isn't, the driver is working as it should because OS X doesn't support WoL from S5.  
      Current status
      The driver has been successfully tested under 10.8.x and 10.9 with the B, C, D, E, F and G versions of the RTL8111/8168 and is known to work stable on these devices.  
      Changelog
      Version 2.2.2 (2018-01-21) Force ASPM state to disabled/enabled according to the config parameter setting. Requires 10.12 or newer. Version 2.2.1 (2016-03-12): Updated underlying linux sources from Realtek to 8.041.00. Added support for RTL8111H. Implemented Apple’s polled receive driver model (RXPOLL). Requires 10.11 or newer. Support for older versions of OS X has been dropped. Version 2.0.0 (2015-06-21): Uses Apple's private driver interface introduced with 10.8. Supports packet scheduling with QFQ. Please note that 2.0.0 is identical to 2.0.0d2. Only the version number has changed. Version 1.2.3 (2014-08-23): Reworked TSO4 and added support for TSO6. Version 1.2.2 (2014-08-44): Added an option to disable Active State Power Management (ASPM, default disabled) as ASPM seems to result in unstable operation of some chipsets. Resolved a problem with Link Aggregation after reboot. Added a workaround for the multicast filter bug of chipset 17 (RTL8111F) which prevented Bonjour from working properly Version 1.2.0 (2014-04-24): Updated underlying linux sources from Realtek to 8.037.00. Improved interrupt mitigate to use a less aggressive value for 10/100 MBit connections. Version 1.1.3 (2013-11-29): Improved transmit queue handling made it possible to reduce CPU load during packet transmission. Improved deadlock detection logic in order to avoid false positives due to lost interrupts. Version 1.1.2 (2013-08-03): Improved SMB performance in certain configurations. Faster browsing of large shares. Version 1.1.0 (2013-06-08): Support for TCP/IPv6 and UDP/IPv6 checksum offload added (can be disabled in Info.plist). Maximum size of the scatter-gather-list has been increased from 24 to 40 segments to resolve performance issues with TSO4 when offloading large packets which are highly fragmented. TSO4 can be disabled in Info.plist without rebuild. Statistics gathering has been improved to deliver more detailed information (resource shortages, transmitter resets, transmitter interrupt count). The interrupt mitigate settings has been changed to improve performance with SMB and to reduce CPU load. Configuration option added to allow for user defined interrupt mitigate settings without rebuild. Version 1.0.4 (2013-05-04): Moved setLinkStatus(kIONetworkLinkValid) from start() to enable(). Cleaned up getDescCommand(). Version 1.0.3 (2013-04-25): The issue after a reboot from Windows has been eliminated. Version 1.0.2 (2013-04-22): Added support for rx checksum offload of TCP and UDP over IPv6. Version 1.0.1 (2013-03-31): Improved behavior when rx checksum offload isn't working properly. Adds the chipset's model name to IORegistry so that it will show up in System Profiler.  
      Known Issues
      There are still performance problems with regard to SMB in certain configurations. My tests indicate that Apple's Broadcom driver shows the same behavior with those configurations. Obviously it's a more general problem that is not limited to my driver. WoL does not work in certain configurations. Old systems with 3 and 4 series chipsets exhibit performance issues in recent versions of macOS because there is no optimized power management for these systems in macOS anymore as Apple dropped support for the underlying hardware a long time ago. In case you are affected, please upgrade your hardware or find an alternative solution because I have no plans for a workaround. Sorry, but I don't think that it's worth the effort.  
      Getting the driver
      The source code can be found here: https://github.com/M...driver_for_OS_X There is also a pre-build binary for Mavericks and Yosemite: https://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/  
      Building from Source
      I'm using XCode 4.6.3 for development. You can get a free copy of XCode after becoming a member of the Apple developer program. The free membership is sufficient in order to get access to development tools and documentation.
    • By kevin_1351
      tl;dr: VirtualSMC causes me a flood of log messages and correlated cpu spikes. FakeSMC doesn't.
       
      Hi, I have almost finalized my Huawei Matebook X Pro Opencore setup and everything is working very well besides wifi/bt ofc (which is about to change).
       
      However, I noticed how the cpu usage sometimes went up a little and when looking at the Console I could see a never-ending flood of:
      default 14:05:05.983292+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:05.982975+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:05.982996+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985932+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985949+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.986134+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426574+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:39.426729+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426585+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431085+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431097+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431246+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433068+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:42.433227+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433078+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434453+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434465+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434622+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:44.436155+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:44.436166+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0  
      As you can see, multiple of these per second. Another guy with the same computer is also having this issue and posted a dsdt change to fix it. This fix didn't solve anything though
      He tried to limit the Notify call by implementing a state change requirement before calling Notify.
       
      Here is the original acpi:
      Scope (_SB) { Device (LID) { Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } ^^PCI0.GFX0.CLID = Local0 Return (Local0) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } Notify (LID, 0x80) // Status Change } } Which he changed to: 
      Scope (_SB) { Device (LID) { Name (_OLD, One) // assuming everything else.. the lid should start open? Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } Return (Local0) } } Device (PNLF) { Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID Name (_CID, "backlight") // _CID: Compatible ID Name (_UID, 0x0A) // _UID: Unique ID Name (_STA, 0x0B) // _STA: Status } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } If ((^^^^LID._OLD != Local0)) { Notify (LID, 0x80) // Status Change ^^^^LID._OLD = Local0 } } } Besides me not seeing any reason to declare _OLD in LID. The idea itself shouldn't be too bad right? Well, as I said, his fix didn't work.
       
      In fact, to prove that Method _Q81 doesn't have anything to do with the issue at all, I created a Clover/Opencore patch to change _Q81 to XQ81. This resulted in my lid not working at all of course, but the log flooding still persisted!
      So _Q81 doesn't have anything to do with the issue afaik.
       
      Now, further Google searches led me to a chinese post where he tied the issue to VirtualSMC. And indeed, by migrating to FakeSMC the issue is no more.
       
      Unfortunately, I'm very fond of VirtualSMC for various reasons. So I would very much like to keep it. If not I'd have to implement the old way of doing Battery monitoring etcetc. Which isn't very elegant and update proof as it requires DSDT patching.
       
      So, I do believe that the issue may very well be in the DSDT code, perhaps in the ambient light part. I'm not very skilled at this and just started studying the ACPI spec 3 days ago.
       
      Could someone please help me out? Thanks a lot in advance
       
       
      origin.zip
      OC.zip
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://www.olarila.com/topic/5165-olarila-app-images-and-folders/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
        First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×