Jump to content
35 posts in this topic

Recommended Posts

I've installed Monterey successfully on an 10 years old ACER E5-571, iGPU Haswell, SMBIOS MacBookPro14,1. All is working except Bluetooth but this is not my query here.

I've prepared an USB install key for Ventura with relevant kexts in EFI's OC.

Opencore start loading the install process, and some seconds later I'll get the error message repeated:

 

[AHCI][PRT][001F0210] AbortCommands::5381:Port 1 - called, DeviceWithError 0, ErrCode = 0xe0030005

 

On this machine, Sata Port 1 is DVD device.

How to disable this port for the install process ?

I need the device later and don't want to open the Laptop.

 

What I've try without success :

Disable via ssdt:

DefinitionBlock ("", "SSDT", 2, "OEMID", "SATAODD", 0x00000000)
{
    External (\_SB.PCI0.SAT0, DeviceObj)
    External (\_SB.PCI0.SAT0.PRT1, DeviceObj)

    Scope (\_SB.PCI0.SAT0)
    {
        Device (PRT1)
        {
            Name (_ADR, 0x00000001)   /* PRT1@1 -> ADR = 0x01 */
            Method (_STA, 0, NotSerialized)
            {
                Return (Zero)
            }
        }
    }
}

 

Disable DVD hotplug via config.plist → Kernel → Patch

<dict>
    <key>Comment</key>
    <string>Disable Hotplug Port 1 (DVD)</string>
    <key>Count</key>
    <integer>1</integer>
    <key>Find</key>
    <data>QGACAA==</data>
    <key>Identifier</key>
    <string>com.apple.driver.AppleAHCIPort</string>
    <key>Replace</key>
    <data>AAAAAA==</data>
</dict>

 

Ahh, I've try to change SMBIOS for MacPro7,1 with same result .

Edited by Thebes Knossos

@Thebes Knossos Not sure I completely understand, but have you tried temporarily disabling the DVD/Sata port in BIOS?

Of course I was in bios, forgot to mention it, no options there. It's a simplified Insdide UEFI Bios Insyde V1.32 in text mode from 2015, no option to disable it.

Edited by Thebes Knossos

@Thebes Knossos Yes, I'm sure you did check BIOS. If you temporarily place a CD or DVD in the drive, does that help?

Edited by deeveedee

Good Idea. With a CD inside, no message for long seconds at this stage.. and then it repeats a long sequence with no real progress. At end of each sequence it gives Sandbox restriction for bluetoothd.

BT is a Foxcon / Hon Hai on USB 002 device 005 ID 0489:e04e (Linux identification ). He's not working under Monterey (this vas in my first post) but was working for Big Sur with correct Kexts (Ath3kBT and injector) . The idea here is perhaps to blacklist it ?

Edited by Thebes Knossos

@Thebes Knossos I think if done properly, your ACPI patch should have worked. Are you certain of the following:

1. Your SATA ACPI path is correct

2. Your SATA Device ACPI does not already have a method _STA (requiring you to rename it)

 

If you're not certain, post your extracted original ACPI so we can inspect it.

Edited by deeveedee

Thanks for boths answers

@deveedee no for my attempts in post 1 it was correct pats, but not sur I had correct syntax at all

@LockDown I use UsbInjectAll.kext version 1.0 2015 @ RehabMan (Not sure it is the correct one for the situation). I see HS05 section in he's Info.plist, it's the matching BT port. Can I blacklist here above a given Kernel version ?

 

Edit

I have removed the USB port for bluetooth with : https://github.com/chriswayg/Opencore-Visual-Beginners-Guide/blob/master/step-by-step/install-postinstall/usb-port-mapping.md 

-uia_exclude_hs uia_include=HS03 added to boot-args (my USB key map) but still same message loop. USB port for Bluetouth USB port is well removed (Hackintool)

Something else is wrong.

Edited by Thebes Knossos

@Thebes Knossos without  your extracted original ACPI and your EFI, our hands are tied behind our backs.  Will be able to look again tomorrow. If you haven't figured it out, post original extracted ACPI and your EFI.

Edited by deeveedee

OC folder you mean ? F4 extraction via Opencore dit not work. Thanks for your help.

Edit

Dumped with MaciASL, I don't know if it can help:

System_DSDT.aml

Copy of IORegistryExplorer:

 

DVDWritter.png

Edited by Thebes Knossos
Il y a 14 heures, verdazil a dit :

@Thebes Knossos , j'ai rencontré une erreur similaire sur l'un de mes ordinateurs, mais elle n'a pas perturbé le démarrage ni le fonctionnement du système. Vous avez peut-être un autre problème d'installation, sans rapport avec le DVD.

Yes, possible something is missing specificly for Haswell HD 4400. Usb stick is booting correctly on second computer with UHD630.

Attached my  OC folder if it can help someone :

OC.zip

Edited by Thebes Knossos

New try this moning with ISO Ventura 13.0 , no messages with it. But il could be interessant to disable messages via PRT1 if latest ISO must be used.

My install problem remains, possible it's Bluetoothd related, I have disabled corresponding USB port (no more present in Hackingtool's USB tab under Monterey) but still a false Bluetooth device in System information (BCM_4350C2)

Thanks. Did not help. I Have filmed the sequence just after loading basesystem.dmg, text is moving fast... In fact I have a lot of 'failed to bootstrap path' errors, so some modules are not loaded. Bluethooth is on on them, it is the last on the list before new loop, it't the only one I'd see without filming. Sorry for wrong diag.

 

EDit:

The DVD problem remains.

For install problem I'll opened a new tread here this morning :

 

Edited by Thebes Knossos

@Thebes Knossos I don't think that opening a new thread was necessary, since you're still trying to diagnose problems with the same hack.  Continuing to solve in this thread is fine.  I'm sorry that I haven't added anything, but I realized that after not being able to help you with your iGPU frame buffer patching in another thread and not being able to follow the issues in this thread, I'm not able to help.  I hope you figure it out.

Edited by deeveedee

@deeveedee: all subjects are different and different machines, that's because I have open different threads. This one concerns DVD detection problem on latest Ventura ISO (not for the first 13.0 one), the above linked thread concerns Ventura install problem, and the first one concerns the other machine, havent find the solution, I shut down monitor's power at boot for dual monitor usage. As you can see, I have 2 machines and priority goes to the Laptop. FYI the laptop is working with 3 monitors at cold boot. It is perfect under Bigsur , all is working on it including Atheros wifi + Bluetooth, It is Metal 1 , DRM Is working under Firefox an partially under Kodi .( DRM is 100 % working on UHD 630 Desktop). Under Monterey I had to apply OLCP for Wifi, no solution for Blutooth at now.

I want upgard it to Ventura because I think DRM is linked with OS.

Edited by Thebes Knossos

Problem solved, see second tread. For this tread, messages for DVD reader port don't care, including for latest Ventura ISO.

Edited by Thebes Knossos
2 hours ago, Thebes Knossos said:

Ventura installed, now wifi and Hd graphics patch with olcp-mod

OCLP-Mod for Ventura? Interesting.

Yes, OLCP standard did find nothing to patch.  Patch done, Métal 2 now on this old machine, Wifi 5G back (200 Mbits with speed test):

 

VideoCard.png

Wifi.png

Edited by Thebes Knossos

I am surprised and am learning something new. Why do you think OCLP (original) was unable to find patches for Ventura, but OCLP-Mod was able to find patches?

 

I assume you tried OCLP 1.5.0 or later version.

Edited by deeveedee

OLCP standard detect an AcerE5-571 (not a MacBookPro14,1) and blocks here. I haven't investigate more. Olcp-mod gives possibility to patch directly, no more need to handle with sources from OLCP like here : (look complete first video at post 2).

Ventura is full ready now. Good news Kodi have DRM enabled now at all :) . I think next year Sonoma is need for DRM with MacOS, under Linux and Windows 10 (triple boot on my computers) no such problem..

Concerning the message for port1  PRT1, It remains, including for normal boot and a new fresh Sonoma prepared USB install stick.

I think i loose seconds at startup...

 

Many have been patching their hacks with OCLP (original) until Tahoe. I'm surprised that OCLP (original) doesn't work for you, but it seems that nothing about your hack was standard. Glad you figured it out. It appears that you have accomplished what no one else could.

OLCP is mainly for real olds Macs, OLCP-MOD for Hackintoshs. Problem with OLCP or OLCP-Mod are updates. So i wait EOL for Sonama for next DRM step, but i will prepare, not install. Tahoe not on this laptop, It's sreen resolution is only 1366 pix wide, Tahoe's windows boxes are not adapted I find.

OLCPModDone.png

Edited by Thebes Knossos
×
×
  • Create New...