Jump to content
ErmaC

Clover General discussion

19,119 posts in this topic

Recommended Posts

16 hours ago, Cyberdevs said:

Clover r4498 broke my audio. ALC1150. Any idea why? I reverted back to clover r4492 and it works as it supposed to.

 

Using AppleALC v.1.2.6 and Lilu v.1.2.3

 

15 hours ago, iCanaro said:

Clover 4497 and 4498  not load the ID layout (layout 0) tested my hack 1 and 2

 

14 hours ago, wyhtc said:

Hi,the AppleALC injector doesn't work since I update the version of clover to r4497,and this problem is also been found in r4498  or r4499,but it works in r4496. Could you please fix it and test that? My Audio Codec is Realtek ALC1220, works with layout ID=11.

 

best regards

Yes, file Settings.c lines 5048 and 5051 should be added

gSettings.HDAInjection = TRUE;
Previously this was by default, but since 4497 I don't want any default injection because Properties will be full enough.

Share this post


Link to post
Share on other sites
Advertisement

While I do agree that this is a problem on Clover side (and now I know why), this doesn't seem to occur on my Skylake system (ALC 1150)... Which is weird...

 

The config is slightly different than my home setup (the one in the signature), of course, but the Audio injection is set up pretty much the same way. So...not sure why it works for the Skylake build, but not for the Haswell build, with the exact same kexts (Lilu & AppleALC).

 

@Slice personally I'm a bit confused regarding your explanation. Are you saying, staring with 4497 we won't have audio again, unless we (I mean the users in general) change that line in Settings.c...? Cause, I'm pretty sure most of the users either don't know how to do that, or simply won't do that.

Also, I'm still not sure how does it work on my Skylake build though. With the same Clover 4497.

 

Is there something we can do from config in order to have sound? Cause I thought adding the Layout ID (in my case "1") is what we have to do. If that's not necessary anymore, and we can still have sound another way, could you, please, tell me what to do to get that done?

 

For now, I simply reverted to previous version. But...I would like to be able to upgrade to the newer versions in the future, without losing sound.

 

So, I guess my question is simple: is there another way to get sound back, other than editing that line in Settings.c which...I suppose would also mean re-compiling Clover by ourselves?

Edited by arsradu

Share this post


Link to post
Share on other sites
8 minutes ago, SavageAUS said:

I havnt tested audio on my skylake build but on my haswell laptop i have audio.

I guess its working because audio layout is set in DSDT?

 

Bingo!

 

FixHDA in DSDT Fixes...is what makes it work on my Skylake build. I'm pretty sure that's not enabled on my Haswell build.

 

So, I would suggest anyone with this issue to just enable FixHDA in DSDT Fixes and...that should be it. Everything else stays the same.

 

Thank you very much! :)

 

@Slice all good, man. Thank you! :)

Edited by arsradu

Share this post


Link to post
Share on other sites
1 hour ago, Slice said:

 

 

Yes, file Settings.c lines 5048 and 5051 should be added

gSettings.HDAInjection = TRUE;
Previously this was by default, but since 4497 I don't want any default injection because Properties will be full enough.

Thank you,Slice. I will try.

Share this post


Link to post
Share on other sites

 

 

what about this? Did you arrange Clover only UEFI now?

Several problems Booting Legacy (ESP)  last revision clover 4498 and 4499 BUILD UDK2018
I can not say what revision it was to break?

1510971873_screenshot4.thumb.png.28284abb420341a5851dcbac42f9faf0copie.png.4f99d4eebf6e9d94d44b98cf9e9c4345.png

Edited by chris1111

Share this post


Link to post
Share on other sites
1 hour ago, SavageAUS said:

I havnt tested audio on my skylake build but on my haswell laptop i have audio.

I guess its working because audio layout is set in DSDT?

I don't use DSDT on my SkyLake rig anymore.

 

1 hour ago, arsradu said:

 

Bingo!

 

FixHDA in DSDT Fixes...is what makes it work on my Skylake build. I'm pretty sure that's not enabled on my Haswell build.

 

So, I would suggest anyone with this issue to just enable FixHDA in DSDT Fixes and...that should be it. Everything else stays the same.

 

Thank you very much! :)

FixHDA also don't fix my problem.

 

2 hours ago, Slice said:

 

 

Yes, file Settings.c lines 5048 and 5051 should be added

gSettings.HDAInjection = TRUE;
Previously this was by default, but since 4497 I don't want any default injection because Properties will be full enough.

Is there a way to add those properties in the config.plist? can you please clarify your statement a little more on how to add those properties without having to edit the settings.c?

Share this post


Link to post
Share on other sites
1 hour ago, arsradu said:

While I do agree that this is a problem on Clover side (and now I know why), this doesn't seem to occur on my Skylake system (ALC 1150)... Which is weird...

 

The config is slightly different than my home setup (the one in the signature), of course, but the Audio injection is set up pretty much the same way. So...not sure why it works for the Skylake build, but not for the Haswell build, with the exact same kexts (Lilu & AppleALC).

 

@Slice personally I'm a bit confused regarding your explanation. Are you saying, staring with 4497 we won't have audio again, unless we (I mean the users in general) change that line in Settings.c...? Cause, I'm pretty sure most of the users either don't know how to do that, or simply won't do that.

Also, I'm still not sure how does it work on my Skylake build though. With the same Clover 4497.

 

Is there something we can do from config in order to have sound? Cause I thought adding the Layout ID (in my case "1") is what we have to do. If that's not necessary anymore, and we can still have sound another way, could you, please, tell me what to do to get that done?

 

For now, I simply reverted to previous version. But...I would like to be able to upgrade to the newer versions in the future, without losing sound.

 

So, I guess my question is simple: is there another way to get sound back, other than editing that line in Settings.c which...I suppose would also mean re-compiling Clover by ourselves?

I will make the change in Clover sources today evening.

And I think the problem is

<key>Inject</key>

<string>19</string>

 

but no problem with

<key>Inject</key>

<integer>19</integer>

Share this post


Link to post
Share on other sites
4 minutes ago, Cyberdevs said:

I don't use DSDT on my SkyLake rig anymore.

I still do and with Clover 4499 i have audio without FixHDA, AppleALC 1.2.6, Lilu 1.2.3

Share this post


Link to post
Share on other sites

So 4400 works good for old Mac (ESP Legacy) install :hysterical: it is not made for UEFI Only :wink_anim:

Any one have a issue with latest Clover on Old macOS . I recommend to used Clover 4400 for (Legacy ESP)

 

1823536804_Sanstitre.thumb.png.810e16c214b74c7446662d91cc262e98.png

 

i can not say where the code was broken for OLD Mac in Legacy ESP because i had been using my Snow and Lion for a month but i know that 4400 is working well :angel:

Edited by chris1111

Share this post


Link to post
Share on other sites
34 minutes ago, SavageAUS said:

I still do and with Clover 4499 i have audio without FixHDA, AppleALC 1.2.6, Lilu 1.2.3

Is it the same DSDT that we used on Sierra? or it's been improved and optimized for High Sierra?

Share this post


Link to post
Share on other sites
1 minute ago, Cyberdevs said:

Is it the same DSDT that we used on Sierra? or it's been improved and optimized for High Sierra?

Still using the same one. Maybe @MaLd0n could help with improvements if needed for high sierra?

Share this post


Link to post
Share on other sites

i can not say where the code was broken for OLD Mac in Legacy ESP because i had been using my Snow and Lion for a month but i know that 4400 is working well :angel:

Now I install it on the SSD Snow what I did not do before, I had only Clover on my Main disk HS but I have no choice and anyway
it lets me know what revision works for old Macs

Edited by chris1111

Share this post


Link to post
Share on other sites
1 minute ago, chris1111 said:

i can not say where the code was broken for OLD Mac in Legacy ESP because i had been using my Snow and Lion for a month but i know that 4400 is working well :angel:

There is no official release with such number. It looks like special version :wink_anim:

Share this post


Link to post
Share on other sites
12 minutes ago, Slice said:

There is no official release with such number. It looks like special version :wink_anim:

It is compile from source and I know some Clover after this one works. I do not know what works and I don't have, I have this one on my Lion SSD 

Capture.png.8182a57d059224aed5cb23a14e8cc708.png

Edited by chris1111

Share this post


Link to post
Share on other sites
24 minutes ago, iCanaro said:

@Cyberdevs idem

FixHDA also don't fix my problem. (AppleALC 1.2.6, Lilu 1.2.3) hack 2

 

hack 1 solved with SSDT @gengik84

 

Yes using a SSDT solves the issue I have sound with no extra settings being added to the config.plist.

Share this post


Link to post
Share on other sites
13 minutes ago, Cyberdevs said:

Yes using a SSDT solves the issue I have sound with no extra settings being added to the config.plist.

What ssdt are you using for sound? Does it need to be in sorted order section with SSDT-UIAC SSDT-USBX etc

Edited by SavageAUS

Share this post


Link to post
Share on other sites
1 minute ago, SavageAUS said:

What ssdt are you using for sound?

This one which is included in our topic which MaLd0n provided.

Spoiler

 

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20161210-64(RM)
 * Copyright (c) 2000 - 2016 Intel Corporation
 * 
 * Disassembling to non-symbolic legacy ASL operators
 *
 * Disassembly of iASLpJ1m55.aml, Fri May 25 15:59:15 2018
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x00000188 (392)
 *     Revision         0x01
 *     Checksum         0x66
 *     OEM ID           "MaLd0n"
 *     OEM Table ID     "HDEF"
 *     OEM Revision     0x00003000 (12288)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20160422 (538313762)
 */
DefinitionBlock ("", "SSDT", 1, "MaLd0n", "HDEF", 0x00003000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.HDAS._ADR, UnknownObj)    // (from opcode)

    Scope (\_SB.PCI0)
    {
        Name (HDAS._STA, Zero)  // _STA: Status
        Device (HDEF)
        {
            Name (_ADR, 0x001F0003)  // _ADR: Address
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                Store (Zero, \_SB.PCI0.HDAS._ADR)
            }

            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                           
                    })
                }

                Return (Package (0x10)
                {
                    "AAPL,slot-name", 
                    "Built In", 
                    "name", 
                    "Realtek Audio Controller", 
                    "model", 
                    Buffer (0x21)
                    {
                        "Realtek ALC1150 Audio Controller"
                    }, 

                    "device_type", 
                    Buffer (0x11)
                    {
                        "Audio Controller"
                    }, 

                    "layout-id", 
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                         
                    }, 

                    "MaximumBootBeepVolume", 
                    Buffer (One)
                    {
                         0x01                                           
                    }, 

                    "PinConfigurations", 
                    Buffer (Zero) {}, 
                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }
                })
            }
        }
    }
}

 

 

Share this post


Link to post
Share on other sites
8 minutes ago, SavageAUS said:

What ssdt are you using for sound? Does it need to be in sorted order section with SSDT-UIAC SSDT-USBX etc

No not necessarily I just added to the Clover/ACPI/patched folder and it works, I use SSDT-HDEF.aml, SSDT-HDMI-NVIDIA-PEG0.aml and SSDT-UIAC.aml and I didn't sort them in the config.plist.

Share this post


Link to post
Share on other sites
12 minutes ago, Cyberdevs said:

No not necessarily I just added to the Clover/ACPI/patched folder and it works, I use SSDT-HDEF.aml, SSDT-HDMI-NVIDIA-PEG0.aml and SSDT-UIAC.aml and I didn't sort them in the config.plist.

In our topic can you plz link audio ssdt. I can't seem to find it.

Share this post


Link to post
Share on other sites

Hi MR Slice

The most recent I've found and that works for old mac in (Legacy ESP) is Clover r4452

Hope you can find where is the solution

4452.thumb.png.edbaa122d85b63d6b4625bfb244d2636.png

Share this post


Link to post
Share on other sites

Updated to latest release on source forge and now clover takes much longer to start.

 

Here's an extract from bdmesg:

3:241  0:000  === [ ScanLoader ] ========================================
3:241  0:000  - [02]: 'EFI'
3:264  0:022          AddLoaderEntry for Volume Name=EFI
3:264  0:000          skipped because entry is hidden
3:264  0:000  - [05]: 'Data HFS'
3:277  0:013  - [06]: 'Shared'
15:904  12:626  - [07]: 'Preboot'
15:907  0:003          AddLoaderEntry for Volume Name=Preboot
15:911  0:004      Check if volume Is Hibernated:

"Shared" is an exfat partition. I don't have exfat efi drivers. Booting CloverEFI. Not sure why it's taking that long. Disk activity light stays on during that delay.

 

Also, when entering a boot arg in Clover GUI, the GUI freezes and disk activity light comes on for a few seconds. 

 

Edit: Downgrading to 4458 fixes the problem.

Edited by Dr. Hurt

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 AppleBytes
      OK, I've searching for days trying to gather up the tools to make my current install work correctly. I'm well on my way. But all the links to the things I currently must have were apparently nuked "during a forum upgrade". :(
      As far as EFI Studio goes; I can find many links to it. But for Insanelymac, they're broken (due to the upgrade), or for the Netkas site, they're links to either Rapidshare, or Mediafire that also no linger exist. I see many users here indicating that they used it to tweak their DSDT. But the web (google/duckduckgo), Instanelymac, and Netkas seem to have no idea where it's gone.
      Could some kind soul please share a copy, or a link? I'm a loooong time hacker, and would love to bring it back to life. In fact, I'd love to improve it -- or at least bring it up to current times. If only I knew where it was.
      Thank you for all your time, and consideration.
       
      --Chris
       
    • By SoThOr
      This was spurred on from a discussion in the Clover General thread. Where there was a debate on bcdedit being able create/read/edit (U)EFI Boot entries. I didn't think it appropriate to post all this information there and somebody may want to make use of this and its likely to get lost in that massive thread.
       
      Out of curiosity I decided to see if I could create an EFI entry using bcdedit. What can I say I like a challenge.  Whilst is not a documented method by Microsoft, as it turns out in a round about way it IS possible to create an EFI entry using bcdedit and these are the steps I went through to add UEFI Shell located on a USB stick to the EFI entries. 
       
      Third party software is available that can create and edit UEFI entries from Windows with better support and more features. I'm just making this information available in case those options are unavailable. 
       
      DISCLAIMER - This is not a supported method. Use at your own risk. I recommend backing up your BCD/Firmware variables/settings beforehand.
       
      1) Copy {bootmgr} entry.
      C:\Windows\System32>bcdedit /copy {bootmgr} /d "UEFI Shell" The entry was successfully copied to {34e8383c-73a7-11e9-9cb0-94de8078a7b5}. 2) Edit the new entry using the new GUID bcdedit generated in the copy step.
        a) Set the device and path for UEFI shell on my USB stick.
      bcdedit /set {34e8383d-73a7-11e9-9cb0-94de8078a7b5} device partition=G: bcdedit /set {34e8383d-73a7-11e9-9cb0-94de8078a7b5} path \EFI\SHELL\SHELLX64.efi   b) Clean up some of the stuff that was copied from {bootmgr} (optional as far as I can tell, just makes things tidier in bcdedit)
      3) Put the new EFI entry first in boot order. (optional)
       
      After completing the steps above, here is what "bcdedit /enum firmware" shows:
       
      I shutdown my computer and when I turned my computer back on it booted up into UEFI Shell. After exiting the shell my PC went on to boot Windows.
      Here is the resulting dump using "bcfg boot dump -v" from that shell:
       
      You may notice that the shell shows as "Windows Boot Manager" in the bcdedit output. This I believe is because of the "WINDOWS" at the beginning of the option data that bcdedit added to the EFI Boot entry. I also believe this why bcdedit shows my Windows 8 installation as "Firmware Application" because it has no option data. I don't know how to remove this data using bcdedit nor do I know how the option data, that bcdedit adds, will affect other EFI applications.

      There might be a way to create the EFI entry without copying the Windows entry but if there is I'm unable to find any documentation on how one would do so. If you use the create command then it just puts it in the BCD and I'm unaware of a way to tell it to create it in EFI instead, other than by doing the above.
    • By cvad
      Small tool to download, compile and build the latest Clover X64 package.
       
       
       

      The script inside is editable.

       
      Enjoy...
       
      Many thanks to the comrade SunKi for help with creating the script.
       
       
       
       
       
      Best thanks - click "Rate File".
       
    • By blxkspell
      Hey!
      As I have 3 Monitors connected, my RX 570 gets arround 50°C while ideling/ web browsing etc. The problem is, that this temp is apparently just the threshold, when the fans start to spin. So the fans start spinning for a minute then they stop for a while again... This is very annoying for me as the rest of my hackintosh is nearly quiet (SSD, 120mm low RPM cpu fan, nearly silent PSU,...), especially when Im using the pc to revise for school. Does somebody know wether its possible to "change" the threshold till the fans start spinning? Like it would probably not be a problem for the gpu at all, if the temp rises to 55°C but therefore be soundless....
       
       
    • By kylon
      Cloud Clover Editor allows you to manage Clover EFI and Ozmosis configs everywhere!
       
       
      WEB
      Open Cloud Clover Editor
       
      APP (MacOS - Discontinued)
      Clover flying editor ( Micky1979 )
       
       
       
       
      Sources: https://bitbucket.org/kylon/cloud-clover-editor-cce/overview


      To run CCE at home you will need:
       
      An HTTP server (Apache, Nginx, ...) PHP 5.3.3+ (latest PHP version is always recommended for better performances/security) Sqlite3 PHP extension  
       
      Some Features:
       
      Edit text in tables:
      Editable fields are marked with a text cursor.
      Double click, or tap and hold, to open the inline editor.
      You can now press Enter or click outside to save your changes.
       
       
      Tri-state checkboxes:
      There are 3 possible states for a checkbox: Checked, indeterminate and unchecked.
       
      Checked: Value is true;
      Indeterminate: Value is false;
      Unchecked: Value is not set (ie, removed from plist)
       
      Working with multiple configs:
      The right sidebar is your multitasking menu.
      Use the add button to create a new config and add it to the list.
      You can safely switch between all your configs, no changes will be lost.
      You can mix Clover EFI and Ozmosis configs.


      Config Upgrade feature:
      In the case you are using old configuration options, CCE gives you the ability to automatically upgrade your config.
       
       
      Copy to:
      You can copy patches between your configs (you will love this when you need to copy kernel and kext patches ;D ).
      You will find a yellow copy icon if that field does support the copyTo feature.
       
       
      Ozmosis Mode:
      A new setting, Cloud Clover Editor Mode, is now added in Cloud Clover Editor -> CCE Settings.
      This will let you switch from Clover EFI to Ozmosis mode.
      Changes to your current file will be lost.
       
       
      CCE Bank 2.0:
      Thanks to @cecekpawon for the idea.
       
      CCE Bank is a database where you can save/load Clover EFI and Ozmosis configs.
      You can protect your config from unwanted modifications or make a publicly editable config.
       
      To save a config in CCE Bank you only need to check the "Save to CCE Bank" option.
       
      Tick the box generate a new CID, if you don t have one.
       
      A CID (CCE ID) acts like a container and it is your authentication key.
      You can group multiple configs under the same CID or generate as many CIDs as you like.
       
      Edit Modes:
      Public: Anyone can make modifications, only the owner can change its settings. Private: Only the owner can make modifications and change its settings. MyBank: Only the owner can see this config, make modifications or change its settings.  
      MyBank is your private area.
      Change the 'view mode' to switch between the public bank and your personal bank.
       
      To manage your currently loaded config, go to Cloud Clover Editor -> Open config -> click the settings button.
       
       
      Notes:
      Locked/Private configs are marked with a padlock MyBank configs are only visibile in your private area Only the owner of a locked config can save the modifications in CCE Bank, hower you are free to do whatever you want in CCE and download the modified config If you loose your CID you can just reply or pm me No account is required!  
       
      Main Features:
      Left sidebar does support touch swipe on touch devices.
      No changes will be lost on page reload.
       
       
      Credits
      mackie100 - took some ideas from his app Clover EFI dev team Eric Slivka - new serial number Virtual1 - new serial number cecekpawon - PHP 5.3.3 patch, , help with the ACPI Loader Mode flag and more Micky1979 - Clover flying editor crusher. - Help with the ACPI Loader Mode flag Download-Fritz - Help with the ACPI Loader Mode flag Pavo - Ozmosis fields and values stehor - Ozmosis fields and values Sherlocks - General help and support gujiangjiang - General help and support Please let me know if i forgot you!
×