Macbook Pro, UEFI Windows, no sound, SETPCI





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















can someone help understand the differences with how PCI devices are enumerated during UEFI boot for Linux vs Windows --- it is a known issue that booting Windows UEFI on MacBook Pro 2011 will result in no sound - a flag by intel HD audio controller in device manager---but linux, freebsd etc all can see the audio subsystem -- I am wondering if using SETPCI in grub before windows boots can fix the problem or using a UEFI shell to set pci registers can fix it -- but that is not IT strength -- so any ideas, pointers, explanations would be so useful - would be willing to contract out labor to help with this as well-










share|improve this question





























    0















    can someone help understand the differences with how PCI devices are enumerated during UEFI boot for Linux vs Windows --- it is a known issue that booting Windows UEFI on MacBook Pro 2011 will result in no sound - a flag by intel HD audio controller in device manager---but linux, freebsd etc all can see the audio subsystem -- I am wondering if using SETPCI in grub before windows boots can fix the problem or using a UEFI shell to set pci registers can fix it -- but that is not IT strength -- so any ideas, pointers, explanations would be so useful - would be willing to contract out labor to help with this as well-










    share|improve this question

























      0












      0








      0








      can someone help understand the differences with how PCI devices are enumerated during UEFI boot for Linux vs Windows --- it is a known issue that booting Windows UEFI on MacBook Pro 2011 will result in no sound - a flag by intel HD audio controller in device manager---but linux, freebsd etc all can see the audio subsystem -- I am wondering if using SETPCI in grub before windows boots can fix the problem or using a UEFI shell to set pci registers can fix it -- but that is not IT strength -- so any ideas, pointers, explanations would be so useful - would be willing to contract out labor to help with this as well-










      share|improve this question














      can someone help understand the differences with how PCI devices are enumerated during UEFI boot for Linux vs Windows --- it is a known issue that booting Windows UEFI on MacBook Pro 2011 will result in no sound - a flag by intel HD audio controller in device manager---but linux, freebsd etc all can see the audio subsystem -- I am wondering if using SETPCI in grub before windows boots can fix the problem or using a UEFI shell to set pci registers can fix it -- but that is not IT strength -- so any ideas, pointers, explanations would be so useful - would be willing to contract out labor to help with this as well-







      audio uefi macbook-pro






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 31 at 20:23









      thisguyiknowthisguyiknow

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I solved it -



          https://apple.stackexchange.com/questions/278518/macbook-pro-late-2011-sound-issues-in-windows-10-no-bootcamp/350469#350469



          the link will give you some pictures
          below is a copy of the text



          If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:



          https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/



          essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-



          The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -



          So what was windows doing different?



          I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*



          I had tried to pass SETPCI commands from grub into Windows 10- no luck*



          A quote from the link above got my brain spinning



          "A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"



          So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.



          As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......



          A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*



          If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-



          newly added qword section



          I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows



          holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover



          for the exact Clover configuration send me a message



          After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-



          audio devices in device manager



          I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared



          memory map



          And low and behold the address range for the 'large memory section' contained the range for the hd audio controller



          enter image description here



          I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --



          it did, which allowed me to boot directly into windows without the help of clover --



          *NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)



          I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400741%2fmacbook-pro-uefi-windows-no-sound-setpci%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I solved it -



            https://apple.stackexchange.com/questions/278518/macbook-pro-late-2011-sound-issues-in-windows-10-no-bootcamp/350469#350469



            the link will give you some pictures
            below is a copy of the text



            If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:



            https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/



            essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-



            The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -



            So what was windows doing different?



            I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*



            I had tried to pass SETPCI commands from grub into Windows 10- no luck*



            A quote from the link above got my brain spinning



            "A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"



            So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.



            As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......



            A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*



            If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-



            newly added qword section



            I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows



            holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover



            for the exact Clover configuration send me a message



            After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-



            audio devices in device manager



            I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared



            memory map



            And low and behold the address range for the 'large memory section' contained the range for the hd audio controller



            enter image description here



            I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --



            it did, which allowed me to boot directly into windows without the help of clover --



            *NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)



            I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'






            share|improve this answer




























              0














              I solved it -



              https://apple.stackexchange.com/questions/278518/macbook-pro-late-2011-sound-issues-in-windows-10-no-bootcamp/350469#350469



              the link will give you some pictures
              below is a copy of the text



              If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:



              https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/



              essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-



              The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -



              So what was windows doing different?



              I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*



              I had tried to pass SETPCI commands from grub into Windows 10- no luck*



              A quote from the link above got my brain spinning



              "A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"



              So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.



              As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......



              A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*



              If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-



              newly added qword section



              I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows



              holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover



              for the exact Clover configuration send me a message



              After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-



              audio devices in device manager



              I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared



              memory map



              And low and behold the address range for the 'large memory section' contained the range for the hd audio controller



              enter image description here



              I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --



              it did, which allowed me to boot directly into windows without the help of clover --



              *NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)



              I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'






              share|improve this answer


























                0












                0








                0







                I solved it -



                https://apple.stackexchange.com/questions/278518/macbook-pro-late-2011-sound-issues-in-windows-10-no-bootcamp/350469#350469



                the link will give you some pictures
                below is a copy of the text



                If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:



                https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/



                essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-



                The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -



                So what was windows doing different?



                I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*



                I had tried to pass SETPCI commands from grub into Windows 10- no luck*



                A quote from the link above got my brain spinning



                "A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"



                So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.



                As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......



                A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*



                If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-



                newly added qword section



                I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows



                holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover



                for the exact Clover configuration send me a message



                After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-



                audio devices in device manager



                I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared



                memory map



                And low and behold the address range for the 'large memory section' contained the range for the hd audio controller



                enter image description here



                I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --



                it did, which allowed me to boot directly into windows without the help of clover --



                *NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)



                I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'






                share|improve this answer













                I solved it -



                https://apple.stackexchange.com/questions/278518/macbook-pro-late-2011-sound-issues-in-windows-10-no-bootcamp/350469#350469



                the link will give you some pictures
                below is a copy of the text



                If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:



                https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/



                essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-



                The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -



                So what was windows doing different?



                I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*



                I had tried to pass SETPCI commands from grub into Windows 10- no luck*



                A quote from the link above got my brain spinning



                "A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"



                So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.



                As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......



                A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*



                If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-



                newly added qword section



                I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows



                holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover



                for the exact Clover configuration send me a message



                After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-



                audio devices in device manager



                I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared



                memory map



                And low and behold the address range for the 'large memory section' contained the range for the hd audio controller



                enter image description here



                I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --



                it did, which allowed me to boot directly into windows without the help of clover --



                *NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)



                I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 3 at 20:57









                thisguyiknowthisguyiknow

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400741%2fmacbook-pro-uefi-windows-no-sound-setpci%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                    Alcedinidae

                    RAC Tourist Trophy