AskDavis / LG-Gram-17Z90N

39 stars 5 forks source link

USB-C to HDMI Working #14

Open 1OldSWguy opened 2 years ago

1OldSWguy commented 2 years ago

Thanks to @thaiiy for sharing EFI of Dell XPS Ice Lake laptop. I modified the USBMap kext to add the TXHC (USB-C 3.1 port). I also made some changes to the IGFX and HDA properties (see attached screenshot). Most notable is that ICL graphics does not work with HDEF audio (apparently crashes AppleHDA kext). So USB-C to HDMI output does work; however, the digital audio does not. Hope this helps.

USBMap-17Z90N-2022-03-30.zip Screenshot_USB-C_to_HDMI

downle commented 2 years ago

Thanks, works great

I also tested the usb-c as display port to connect to the external display, it also works

thaiiy commented 1 year ago

That's awesome @1OldSWguy ! great that you figured it out. I've sold the Dell XPS but haven't been able to get hold of this LG Gram 17 to try it yet.

How's your battery life on the LG? I'm currently running Big Sur on a ThinkPad X1 Yoga and battery life is pretty terrible on Mac but great on Windows.

1OldSWguy commented 1 year ago

I don't drive an HDMI display when using my laptop. Other users might have better information on battery life as I don't use macOS much. When using it to run Cricut software, it hardly drains the battery but I don't use it for longer than 2 hours at a time. I'd say that macOS battery life is comparable to Windows 10. I use Linux the most on my LG and it drains the battery with 4 to 5 hours of steady, low CPU, use.

thaiiy commented 1 year ago

So I finally got hold of an LG Gram 17 and so far it is fantastic!

I managed to combine the linked EFI by @rich1111 with the one from @1OldSWguy to get the following EFI (attached, spread over three threads due to size limit).

Now I have upgraded to Monterey with the following remaining issues, which each ACPI version fixes but I can't get it all working.

With the ACPI containing DSDT.aml only:

brightness keys work clamshell mode works - internal display disabled and your desktop is moved to your external monitor SLEEP WAKE failure With ACPI containing SSDTs:

brightness keys DO NOT work - but strangely work on external Mac keyboard clamshell mode DOES NOT work - internal display goes off but is still online, so desktop is not transferred to external monitor. You can still see the internal display in System Preferences, Display arrangements. Sleep Wake is WORKING On either ACPI, almost everything else appears to work: Bluetooth, WiFi, FaceTime, display brightness (software controlled), audio, microphone.

USB ports might need fixing as left-side USB-A port isn't working.

I think the answer is all there but it requires a better brain than mine to solve it. I would appreciate your input.

Files are on the Monterey issues thread started by rich1111.

jasonbrowne44 commented 1 year ago

Hi @downle. Can you tell me a little more about your USB-C to display port connection? Did you use an adapter? Was it on the Dell laptop or the LG Gram 17Z90N? I have the LG Gram. Which monitor did you use? I'm trying to get the same setup. I am now using the USB32HD4K and that is working well, but a USB-C to DP monitor would be great and allow me to connect more monitors to my laptop. I use it for development so multiple monitors help a lot.