5T33Z0 / Thinkpad-T490-Hackintosh-OpenCore

OpenCore EFI folder for running macOS Sequoia on the Lenovo ThinkPad T490.
90 stars 5 forks source link

USB-C ports won't work with USB 2.0 devices #18

Closed prppedro closed 6 months ago

prppedro commented 6 months ago

Hello, ST33Z0

In first place, I'd like to thank you for all the effort in putting this package together. After some back and forth, I managed to successfully boot Mac OS Ventura. Yay!

However, I have a very intriguing issue (and, judging by some search results on Google, I'm not alone): after plugging back my Dell WD15 dock, PD, display and network all worked great. Nice. But the not keyboard, nor the mouse.

After fiddling a little more, I narrowed down the issue to the USB-C ports: it seems they simply won't recognize any USB 2.0 device, even if directly connected to them. USB 3.0 devices do work, though (like the dock's Ethernet MAU and a USB 3.0 thumb drive.)

Seems like a mapping issue... Should I try to remap? I see people recommending that tool. But since you advised that changing those configs. may break NVRAM and product spec., I'd like to ask you on what would be the best course of action.

Thanks! -trp

5T33Z0 commented 6 months ago

My ports are mapped via ACPI.

So you either have to edit the Ports.aml file or use the usbport.kext located in my repo in the additional diles section.

Make sure to disable the usb port ACPI table (ACPI/Add) and the drop rule (under ACPI/delete) when using the kext.

02.03.2024 09:10:45 Pedro T. R. Pinheiro @.***>:

Hello, ST33Z0

In first place, I'd like to thank you for all the effort in putting this package together. After some back and forth, I managed to successfully boot Mac OS Ventura. Yay!

However, I have a very intriguing issue (and, judging by some search results on Google, I'm not alone): after plugging back my Dell WD15 dock, PD, display and network all worked great. Nice. But not keyboard and mouse.

After yet more back and forth, I narrowed down the issue to the USB-C ports: it seems they simply won't recognize any USB 2.0 device, even if directly connected to them.

Seems like a mapping issue... Should I try to remap? I see people recommending that tool[https://github.com/USBToolBox/tool]. But since you advised that changing those configs. may break NVRAM and product spec., I'd like to ask you on what would be the best course of action.

Thanks! -trp

— Reply to this email directly, view it on GitHub[https://github.com/5T33Z0/Thinkpad-T490-Hackintosh-OpenCore/issues/18], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ASKOAEJKCFADQVUFKY5PE6DYWGCQLAVCNFSM6AAAAABEC5DNJKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DINRZGUYTMMY]. You are receiving this because you are subscribed to this thread. [Verfolgungsbild][https://github.com/notifications/beacon/ASKOAEPKZINBVSZWMGWZ6RTYWGCQLA5CNFSM6AAAAABEC5DNJKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHICBVAPM.gif]

prppedro commented 6 months ago

Hey, thanks for the prompt response!

It seems to me that editing the AML looks like the most fool-proof approach (this is my very first Hackintosh, mind you). The problem is: how do I know what are the missing ports and their addresses?

-trp

5T33Z0 commented 6 months ago

If you are unfamiliar with mapping usb ports and editing ACPI tables, I suggest you use the kext method  instead. Because my acpi table affects all OSes.

02.03.2024 10:28:23 Pedro T. R. Pinheiro @.***>:

Hey, thanks for the prompt response!

It seems to me that editing the AML looks like the most fool-proof approach (this is my very first Hackintosh, mind you). The problem is: how do I know what are the missing ports and their addresses?

-trp

— Reply to this email directly, view it on GitHub[https://github.com/5T33Z0/Thinkpad-T490-Hackintosh-OpenCore/issues/18#issuecomment-1974745054], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ASKOAEPUVFD5CKRO5QQ37O3YWGLTPAVCNFSM6AAAAABEC5DNJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUG42DKMBVGQ]. You are receiving this because you commented. [Verfolgungsbild][https://github.com/notifications/beacon/ASKOAEJ6ZALGYS3ZFJOUHOLYWGLTPA5CNFSM6AAAAABEC5DNJKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTVWQ354.gif]

5T33Z0 commented 6 months ago

Helpful Resources: https://github.com/5T33Z0/OC-Little-Translated/tree/main/03_USB_Fixes

prppedro commented 6 months ago

Alright... I'll try that later this day and report back. I once again thank you for your prompt support.

-trp

prppedro commented 6 months ago

Generating Kext with USBToolBox solved the issue. Thanks for the support!

Screenshot 2024-03-03 at 14 26 39

prppedro commented 6 months ago

The only thing not working now is the WD15 Realtek audio. But this might be not Hackintosh realated.

5T33Z0 commented 6 months ago

The audio issue is related to usb for some odd reason. You can try my USB kext: https://github.com/5T33Z0/Thinkpad-T490-Hackintosh-OpenCore/blob/main/Additional_Files/USB/USBMap.kext.zip