Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Thunderbolt 3 Patch from pierpaolodimarzo #164

Open
Pete466 opened this issue Oct 22, 2024 · 15 comments
Open

Integrate Thunderbolt 3 Patch from pierpaolodimarzo #164

Pete466 opened this issue Oct 22, 2024 · 15 comments

Comments

@Pete466
Copy link

Pete466 commented Oct 22, 2024

I want to ask whether the Thunderbolt 3 Patch from here: https://github.com/pierpaolodimarzo/ThinkPad-T480
can be integrated into the EFI. On my system this patch works on Sequoia and I can provide my EFI if there is an interest in that.

@cyberfunk
Copy link

I just bought one and wondering if I can get this working. I'm using MacOS Ventura if that makes any difference. Are you using the Thuderbolt 3 patch with a T480?

@Pete466
Copy link
Author

Pete466 commented Nov 3, 2024

yes sir, I can provide the EFI. The crucial thing is, that the Thunderbolt-Firmware is updated to the most recent version. That's also due to the fact, that else the Thunderbolt-Port will eventually break. That's a design flaw by Lenovo. Once you have done that, I can upload my EFI and then it will work in principle, just that it may needs to be optimized (I have no deeper knowledge to understand what makes it actually work or not). The Thunderbolt-Port is the one facing you btw., the other one won't work

@cyberfunk
Copy link

Great please upload and thank you!

@Pete466
Copy link
Author

Pete466 commented Nov 3, 2024

Here you go: https://anonymfile.com/Y1kAR/efi.zip
Hope it works for you and if you happen to be able to improve on it, would love to hear from you!

@cyberfunk
Copy link

Thanks!

@cyberfunk
Copy link

@Pete466 Do you have a stable build? Im running macos ventura and having loads of issues. My external monitor will not boot or wake from sleep without being switched on or off and on while the laptop is open. The whole system will crash out of nowhere and the computer just shut off like someone pulled the plug. Also the track pad will not respond when waking the laptop. It seems super unstable and unpredictable.

@Pete466
Copy link
Author

Pete466 commented Nov 4, 2024

I haven't been running Ventura on it, but Sonoma and Sequoia. It's semi-stable, as in no crashes, trackpad works fine as long as you don't put it into sleep. I never put the laptop into sleep because that causes - as you are saying - lots of issues. For example the laptop will randomly wake up from sleep and the Thunderbolt will stop working. Thunderbolt in my implementation works, if you start the laptop with the monitor being on. As soon as you disconnect it however, it fails to reconnect etc. For me it's a "better than no Thunderbolt at all" kind of solution and I don't have the knowledge to do it better. Maybe @valnoxy can help us out on this one

@lolipuru
Copy link

lolipuru commented Nov 5, 2024

image

+1 for pierpaolodimarzo's thunderbolt patch, but iirc hotplug isn't working, i might prolly trying thunderbolt patches from https://github.com/tylernguyen/x1c6-hackintosh (for proper hotplug and 3.1 support) later when i have time

@cyberfunk
Copy link

cyberfunk commented Nov 5, 2024

UPDATE: I switched to the non-touch EFI-i5.8250u.zip build from https://github.com/pierpaolodimarzo/ThinkPad-T480

I have a T480 i7 8650U with 64GB RAM

So far everything seems to be working and Thunderbolt is operating. I don't have any thunderbolt peripherals to test but my usb-c external hard drive mounts when connecting to the thunderbolt port. I had to do the FW 23 update from a windows boot drive to get macos to even see the Thunderbolt port.

My only issue now is external HDMI monitor will not wake from sleep and you cannot boot in clamshell mode as external monitor will not be activated without turning it on or plugging it in with the laptop lid open.

@Pete466
Copy link
Author

Pete466 commented Nov 5, 2024

yea, if you remain on Ventura that makes the most sense. I wanted to use recent versions, thus the attempt to update it. @lolipuru if you have success, please share it with us, that'd be awesome

@vanillaogsky
Copy link

I want to ask whether the Thunderbolt 3 Patch from here: https://github.com/pierpaolodimarzo/ThinkPad-T480 can be integrated into the EFI. On my system this patch works on Sequoia and I can provide my EFI if there is an interest in that.

are you using this EFI? is this working without heliport?

@Pete466
Copy link
Author

Pete466 commented Nov 16, 2024

I made my own, see the link, by trying to mix them with limited understanding. The Thinkpad was running on Sequoia and now on Sonoma, because I couldn't get Heliport to work at all (app refused to start, currently I use airportwltm). Thunderbolt worked, with the limitation of sleep / disconnect and reconnect then it would stop to work till reboot and cause temporary boot issues

@lolipuru
Copy link

I made my own, see the link, by trying to mix them with limited understanding. The Thinkpad was running on Sequoia and now on Sonoma, because I couldn't get Heliport to work at all (app refused to start, currently I use airportwltm). Thunderbolt worked, with the limitation of sleep / disconnect and reconnect then it would stop to work till reboot and cause temporary boot issues

technically, you can get airportltwm running on sequoia by spoofing intel wifi card to boardcom, then run oclp patch

UPDATE: I switched to the non-touch EFI-i5.8250u.zip build from https://github.com/pierpaolodimarzo/ThinkPad-T480

I have a T480 i7 8650U with 64GB RAM

So far everything seems to be working and Thunderbolt is operating. I don't have any thunderbolt peripherals to test but my usb-c external hard drive mounts when connecting to the thunderbolt port. I had to do the FW 23 update from a windows boot drive to get macos to even see the Thunderbolt port.

My only issue now is external HDMI monitor will not wake from sleep and you cannot boot in clamshell mode as external monitor will not be activated without turning it on or plugging it in with the laptop lid open.

unfortunately, my hdmi monitor is dead. so i don't have any changes to try fix it properly yet.

@lolipuru
Copy link

image

a pretty funny thing when i replaced with x1c6 hotplug patch is, thunderbolt port now return as expresscard instead....

i think i might need to fix a little bit for TB to be properly loaded in PCI (i don't have any thunderbolt devices support, so i can't properly test it)

@Pete466
Copy link
Author

Pete466 commented Nov 18, 2024

I could assist with the testing bit, as the laptop is currently running macOS still. Regarding Airport you're right, I saw that earlier, but haven't found the time to try implementing it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants