Jump to content
TimeWalker75a

OSX on DELL Vostro 3450 / Inspiron N4110 / XPS L702x UEFI Clover

1,149 posts in this topic

Recommended Posts

Heads up about EAPD and our ALC269VB codec...

 

As of 10.9.2 beta C32, which contains AppleHDA of version 2.6.0 all the tricks to make audio codec (technically, EAPD) resume from sleep are hopeless. Even though we have antipop and CodecCommander installed, the audio only works up until there is actual audio stream .. lets say you hit F11 and it produces a *bonk* sound. Now, exactly after 25 seconds the audio from speakers will go missing and so will the headphone/mic jack sensing. Only a restart can fix this.. up until you put the laptop to sleep again. 

 

I don't know the cause of this in OSX in the first place (hence we have to use antipop to produce an audio stream in 10.9.1 and prior) so dealing with this will be pretty much impossible. I know from Fedora feedback about ALC269 on some Asus EEE laptops that audio gets routed badly and gets lost in disabled nodes.. They are making sure not to mute disabled nodes.. but with AppleHDA there is no control over that. For now, rolling back the kext from 10.9.1 works, but I'm not the person that likes rolling stuff back.  

 

There's a function inside AppleHDAController called checkCodecCommandTimeout(unsigned int, bool) which I suspect to be the culprit to this, but I have no further info about this at the moment.

Share this post


Link to post
Share on other sites
Advertisement

yeah, i notice this issue too. i don't why apple does this change, so weird. :(  By now 10.9.2 is still in beta, maybe it will keep change before final version release, so, i think we should take a break when it's ready.

Share this post


Link to post
Share on other sites

So I've spotted another thing, and I'm not sure if this is the HD3000 or a software thing, but OSX seems to be generating weird graphics artifacts at times, which can appear especially when watching videos in Flash (but appears elsewhere). Flipping between windows can get rid of the artifacts, as long as the window is completely removed from the screen.

 

A small example: http://cl.ly/image/3Q0U3E1A3R3Q

 

Sometimes it can show large chunks of text or images that I viewed somewhere else, not always on-screen at that time. The artifacts never get too big, though.

Share this post


Link to post
Share on other sites

You need a proper display override with a patched EDID in order to get rid of those. There are only two panels possessible on these machines - either matte Chimei screen (vostro) or a glossy Philips I believe AUO (Inspiron), no other panels were shipped and the only resolution our LVDS single channel connector can handle is 1366x768. Both of these overrides are posted in the file archives for both machines, so you obviously missed some parts of the guide if you are getting the infamous artifacts.

Share this post


Link to post
Share on other sites

You need a proper display override with a patched EDID in order to get rid of those. There are only two panels possessible on these machines - either matte Chimei screen (vostro) or a glossy Philips I believe AUO (Inspiron), no other panels were shipped and the only resolution our LVDS single channel connector can handle is 1366x768. Both of these overrides are posted in the file archives for both machines, so you obviously missed some parts of the guide if you are getting the infamous artifacts.

 

I looked through and I'm almost wondering if there's something significantly different about my display. My EDID vendor ID is 30e4, with a device ID of 2e9. This doesn't match either folder, unless I missed something. Should I try seeing if I can patch my own EDID, or is another display similar?

Share this post


Link to post
Share on other sites

graphics artefact is related physic memory, as experienced if you have beyond 4GB memory you shouldn't have this issue. cause i have this too when just 4GB installed. Now i get 8GB memory then it gone. 

Share this post


Link to post
Share on other sites

I looked through and I'm almost wondering if there's something significantly different about my display. My EDID vendor ID is 30e4, with a device ID of 2e9. This doesn't match either folder, unless I missed something. Should I try seeing if I can patch my own EDID, or is another display similar?

Theoretically you could just take whatever display override and put it in the appropriate folder/file structure as in .. vendor and override id that matches your original panel, but the contents of the EDID could be anything as long as the connector is identical (which it is) it should work regardless.

 

 

graphics artefact is related physic memory, as experienced if you have beyond 4GB memory you shouldn't have this issue. cause i have this too when just 4GB installed. Now i get 8GB memory then it gone. 

This is not always true, more like a theory than anything. I have 8 gigabytes of memory installed in my unit and I have no artifacts, true... but as soon as I get rid of EDID override broken lines and fuzzy squares will start appearing on the screen at random.

Share this post


Link to post
Share on other sites

I can testify that artefacts appeared on my 4GB/8GB/16GB memory configuration for my XPS 15z under 10.7/10.8/10.9, and it was only after I forced an EDID display override for displayvendor-6af (my 1080p LVDS) that the issue went away completely. I have documented a how to elsewhere on this and other forums, and strongly advise it as a solution to anyone who hasn't managed to remove the issue by any other means.

Share this post


Link to post
Share on other sites

akarichn, you wrote: "I have a Dell N4110 with Intel HD 3000 graphics, and I'm using the Vostro OEM folder in Clover (renamed for the N4110)"

why you didn't use the N4110's OEM folder? maybe that fix your problem.

Share this post


Link to post
Share on other sites

Because his 14R has pretty much the same Intel Emerald Lake board that Vostro has.

 

UPD:

If yours is Intel-only model too please clarify on what files you are suing and what works for you (state your board number too!), perhaps the table in the original post needs to be updated to reflect more models.

Share this post


Link to post
Share on other sites

in my situation i had to put files and folder from the directory inside of the OEM N4110 to Clover folder. CPU-Z and MSINFO32 doesn't read my mainboard model number so i read my mainboard manual and the model# is 0FH09V renamed oem model to it, didn't work for my Inspiron 14R. everything is working perfect on mac including HDMI video and Audio out.

 

 

the only effects that i had been it is on windows 8.1 only. mac and ubuntu are working perfect, time change always when i login from mac to win and fn+f2 freeze my windows 8.1 system.

Share this post


Link to post
Share on other sites

@TW i find something, i saw u in this thread http://forum.osxlatitude.com/index.php?/topic/3084-eapd-fix-in-a-standalone-kext-no-need-ioaudiofamily-patch/page-3 either.  EMlyDinEsH's patch is almost same with ours. And the difference is we use clover KextsToPatch so switch aml.zlib to xml.zlib and  put ConfigData in the CustomPeripheral.kext, he just keeps all in original driver, also removes any layoutX.xml.zlib from AppleHDA.kext. 

 

so i do a test keeping the patches as we have then modify AppleHDA.kext like him, also anti pop removed (EAPDFix installed), after re-install it works from sleep without 25s losing sound, . i think that maybe clover patches and  ConfigData under CustomPeripheral.kext isn't suitable for 10.9.2.

Share this post


Link to post
Share on other sites

I'll jump in to test this with 2.6.0 kext then..


I kept antipop (since I use headphones frequently and I need it anyway) and my CC.kext

So far I've tried putting pinconfig data into AppleHDA's HW plugin directly = doesn't resume properly.

I will now try making the kext patches permanent (patch the binaries) to see if this helps..  if it doesn't I'll get rid of CC and antipop to try if just EAPDfix will help .. 

Share this post


Link to post
Share on other sites

So, I've tried everything .. and nothing seems to work for me with 2.6.0 kext.

 

1. Used just ConfigData inside AppleHardwareConfig plugin 

2. Deleted all the kext patches from config.plist and applied them to binary file  (except xml->aml)

3. Used changes made in 1. and renamed resources back to .xml.zlib, deleted all of the original resources and put platforms and layout 28 in resources

4. Installed his EAPDFix, removed codec commander and removed antipop 

 

Nothing worked .. 

 

Can you attach a kext (or kexts? you never mention deleting CodecCommander or removing patches from config.plist, because otherwise config patched would be applied to the extensions) that worked for you? I really would like to give it a thorough look .. 

Share this post


Link to post
Share on other sites

sorry for late, i remember it worked once ,what i have done is removing kextstopatch>aml to xml && bin patch under config.plist & CodecCommander and remaining all stuff like EMlyDinEsH done, BTW i notice the speaker configdata>node:0x14(20) patch is different like us, maybe it's the key.But when i try to modify it as we used do (kextstopatch+optional configdata+aml.zlib) failed. 

 

Currently i'm out of house when i return i will upload it.

 

Anyway i use voodoohda instead in a few days, version 2.8.4 it works well. but just manual control input device, speaker/headphone/internal micphone works(external mic doesn't test). if you have interest  i can update it too. 

Share this post


Link to post
Share on other sites

The pinconfig for node 20 is different because I've used different numbers for associations and port location (if I recall correctly). 

I've tried using the pinconfig he suggested from his attached kext (of course changing internal microphone location from 0x19 to 0x12), but it's the same.

 

What I can comment about this issue though is that it also happened on my desktop.  At first I was baffled .. but then I looked closer .. it turned out that after one of the FakeSMC updates where I had my ConfigData for AppleHDA the plist got updated and there was no pinconfig at all! And same thing was happening like happens on our laptops.. the audio (no matter using speakers at read green port or headphones at front green) would only work for 25 second after sleep, then it would be muted. So I re added the ConfigData back into FakeSMCs info.plist and it started working normally.. Which makes me think that there might be something new about how codec pinconfig is handled .. and that maybe I need to try removing disabled nodes from it. I shall try it when I have time today.

Share this post


Link to post
Share on other sites

yeah, i just confirm again, with normal sleep/wakeup it will lose sound after 25s,  but when i use LID sleep and wakeup it works well. it's odd. BTW what does it mean "FakeSMC updates" ? i don't update it.

 

this is latest version VoodooHDA correct for ALC269VB working, if you have interests. 

VoodooHDA.kext.zip

Share this post


Link to post
Share on other sites

For some reason LID sleep also has another effect - when you close the LID the laptop goes to sleep right away, without the stupid 30 second delay that was introduced with release of Mavericks.

FakeSMC updates are these: http://puu.sh/6sNzb.png  which I'm sometimes foolishly accepting :) You can safely install them on the laptop as nothing thir-party is stored in the plists of it.

Share this post


Link to post
Share on other sites

see, i update already and remove all relate AppleHDA patches in clover, also useless Node removed still can't get it back later 25s. Only way is LID sleep. 

Share this post


Link to post
Share on other sites

naah, I'm good.

 

Turns out some people are also getting these problems on their desktops after 10.9.2 C44 build.. so its a common issue afteral. Since majority of people don't know how to patch HDA themselves they just roll back the previous version .. and this is the reason you don't see people mentioning the problem around. But watch when toleda and the rest of the people involved with general public kext-patching update their files and you will start seeing people reporting loss of audio after sleep, even on codecs with no EAPD present.

Share this post


Link to post
Share on other sites

yeah, maybe it's a public issue with it. i have upgrade to c44 beta version. so wait the final version release then it should cause a attention.

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.

Announcements

  • Similar Content

    • By surfermax
      buon giorno 
      spero tu mi possa aiutare ,perche' non riesco piu' a far partire i miei 2 ssd 850 samsung sui quali highsierra funzionava perfettamente da 1 anno e non ce' maniera di farlo ripartire .unica cosa e' che riesco ad arrivare alla console dell'istaller e ho tentato varie volte di ripristinare da una time machine che ho salvato su un altro disco usb .
      il mio sistema e' un asus p5qd turbo ed e7500 dual core . grafica gtx1050 chr funzionava con accelerazione e webdriver nvidia .audio voodoo 282. e boot clover che e' sempre stato il 5103 che poi  ho aggiornato a 5120 proprio il giorno prima che succedesse il fattaccio .quel giorno ho aggiornato dal sito apple la comboupdate 10.13 .6 da 10.13.4 .e qui al riavvio boom niente diski in clover nn li visualizzava piu .ora sciacciando f3 visualizzo il preboot e lssd con highsierra aggiornato ma arrivato alla console andava in reset loop .
      a questo punto riesco a ripartire togliendo l'accelerazione .e installando i nuovi webdriver di nvidia aggiornati all 10.13.6 .
      al riavvio non parte piu' con accelerazione e sempre problema in clover dei diski ma riuscivo a partire con f3 e preboot .
      ora decido di installare da time machine e tornare alla versione 10.13.4 del giorno prima ..e al riavvio niente piu dischi ne preboot .sono fermo a questo punto ..riesco solo a far partire installer ma nn so i comandi da dare in terminal per aggiustare le cose . ho anche linux su un altro notebook. ti ringrazio anticipatamente per l'aiuto .
    • By pink101
      So, here's what i think clover do when it patch ati framebuffer, first it read a cached kext, then it search the original hex value of the connector, then it changed the value with the new one. Is it correct? now, here's what i find confusing... let's say that i want to patch AMD7000Controller.kext, in that kext, i want to patch "AJI" framebuffer with a new value, so clover try to find the hex value of "AJI" connector then replace it with the new one, simple right? but when i search the AMD7000Controller binary file for other framebuffer, some of them didn't exist in the binary, for example, i tried to patch "Ramen" framebuffer, from various source, it said that:
      Ramen (6) @ 0xeba70 LVDS, HDMI, DP, DP, DP, DP 020000000001000039050108000000002001050600000000 000800000402000000010200000000001000030500000000 000400000403000000010343000000001102010100000000 000400000001000000010431000000002103040300000000 000400000403000000010563000000001204020200000000 000400000001000000010651000000002205040300000000 So i open a hex editor and search for:
      020000000001000039050108000000002001050600000000000800000402000000010200000000001000030500000000000400000403000000010343000000001102010100000000000400000001000000010431000000002103040300000000000400000403000000010563000000001204020200000000000400000001000000010651000000002205040300000000 but, it turns out that hex editor couldnt find that hex value in AMD7000Controller,

       
      most of the framebuffer exist in the AMD7000Controller, but some doesnt, If this is the case, then, where does clover find the original framebuffer to be patched? am i missing something?
       
       
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub (July 2020) Updated to Clover r5120 Updated Lilu based kexts - Lilu, ALC, WEG Added AirportBrcmFixup.kext
        Various Tweaks over Last months The main branch in my github repo is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle seems to work on Sierra, HighSierra, Mojave and Catalina. There is an OpenCore branch in the repo as an alternative to Clover. This guide was developed for a Clover implementation. But the thread has evolved to include discussion of both Clover and Opencore for these systems: T460 and T470 family of ThinkPads.
       
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (the old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By geheim19
      I’m new here and hope a lot of answers to my questions to find.
       
    • By STLVNUB
      *Put the script into its own folder as it will create other folders*
      What is BTB?
      Script file to clone and help build Clover or Opencore repos
      Script will create link to itself in /usr/local/bin/bob
      Script SHOULD fix up any stray bobs you may have.
      Then you only need to type bob. and a parameter
      "a" for ACID repo, official
      "d" for ACID repo DUET build
      "c" for CLOVER
      "e" to erase UDK Folder
      Easier typing bob than.....usual stuff
      YOU WILL NEED TO cmod+x THE SCRIPT
      Enjoy
       
×