Jump to content

Latitude 7400 2-in-1: config help


wing

Recommended Posts

Hi

 

I purchased the Latitude 2 in 1 because I always gravitated towards the ipads but the lack of a full unfeathered OS on it kept me from purchasing one... I have a desktop setup so I do not need a powerful on-the go machine and this laptop provides the sufficent computing power with the portability and useability of a tablet.

 

I have gotten to a level where the laptop is functionally useable (about 90% there) but the remaining 10% will make the difefrence between a hacky system and a dream machine that apple never built...

 

My model is an i5-8365U 16Gb LPDDR3-2100, 256Gb Kioxia SSD model with a UHD620 iGPU

 

Cconsidering my hardware I went with the MacBookPro15,1 SMBIOS and have installed the latest Ventura using OpenCore 0.9.3 (the latest version at the time of writing)

 

Current State:

1.) Graphics Acceleration

2.) CPU Power Management

3.) Replaced  built in intel wifi card with a BCM94352Z Lenovo card. (AirportBrcmFixup + BrcmPatchRAM3) wifi recognised 100% ok, the BT is recognised as 3rd party card (AIrpods are not playing ball with apple music)

4.) Soundcard (ALC295 aka ALC3254) works on the built in speakers but headphone jack with combo headphones playes a mono/garbled sound only

5.) I do not have a thunderbolt 3 device to test the thunderbolt, so I can't confrim or deny whether that works...

6.) HDMI port works (sort of) --> by that I mean, that if I plug a monitor into the HDMI it get's recognised, sound works but the refresh rate is only 30Hz (regardless whether it is a 1080p, 2K or 4K resolution) also if I disconnect the HDMI port the internal screen freezes up, no control (music keeps playing on the speakers if it was playing before, so not a complet lock-up situation) and I have to do a 6second pwrbutton shutdown. there is no other way to regain control.

7.) USB C (upper or the first one if you are looking at the side of the laptop) works fine with USB-C display port (hotplug works with 2K 60Hz) USB-C to HDMI converter also works in this port but the refresh rate is 30Hz here as well... (at least the hotplug works just fine, no lock-ups with the converter)

8.) keyboard using VoodooPS2 controller works fine, brightnes controll buttons require the Fn key to be pressed to work, sound control buttons work natively and the keyboard brightness also works (but the os isn't aware of it like it is with the sound or brightness)

     Also keyboard gets shut off when in tablet mode only when the screen is turned 170degrees (saying this, as I noticed, that it shuts off just a few degrees before completly opening/closing it to tablet mode position)

9.) Trackpad and TouchScreen works flawlessly with VoodooI2C. all gestures work just fine.

10.) Built in Web-cam works fine

11.) Built in microSD card reader works, but I wasn't able to read cards larger than 16Gb (haven't investigated it beyond that, as I consider that a nice to have feature at the moment..)

12.) Fan control is sort-of working via iStat menu's setting, but sometimes the fan gets stuck at a certain rpm and no matter what I do it stays there...

 

What does NOT work:

1.) Sleep -- it goes into sleep but when it wakes, it displaysthe DELL logo, and gets stuck there. (need a 6sec power button shutdown..)

2.) Charging via the USB-C display cable (the monitor can supply 65W of power) but the system does not accpet/uses it. Charging via normal USB-C charger works just fine, so will consider this as a nice to have as well.

3.) Not sure if this is even possible... auto screen rotate in tablet mode. (this would be the icing on the cherry really.. :) )

4.) Light sensor

5.) Location Services for the system (for weather, time setting, FindMy device location ... determining location in browser for 3rd party online services do work)

 

My priorities in terms of what I would like to get working are:

 

1.) Sleep

2.) HDMI 60Hz + hotplug

3.) Sensors & Fan control

4.) Audio Jack working

5.) Location Services (can't find any solution to this)

6.) Changing the Brightness keys so I do not have to press Fn key (I think I will be able to do this with debug VoodoPS2 kext)

7.) Realtek card reader to work with 16Gb+ cards as well...

 

What I have done so far:

1.) for the GPU I have used the PCI add "alldata" method to get them working, but I have clearly missed something (30Hz HDMI only) (after trying a lot of settings and combinations)

2.) tried the ALCPlugFix-Swift to get the audio jack working using the configuration in this post to no avail.

3.) for the SDcard reader I am using this repo     but as mentioned earlier some cards are simply not recognised...

 

I have attached both the EFI folder with the IOReg export.

 

Any help to get the last 10% across the finishline would be greatly appreciated.

 

EFI.zip MacBook Pro IOREG.zip

Link to comment
Share on other sites

Update 1:

 

I have installed a BCM94360CS2 card with an adapter but that did not solve the music streaming and the location services either.

I cut off half of the adapter card (length wise) and managed to fit it in place without obstructing the bottom shell at all....

 

I figured, that the Music streaming is something that I might not be able to resolve completly as due to the DRM changes that apple made... as a laptop system with iGPU only there does not seem a proper solution. (>details<)

Workarounds that I found is to use the Web Apple Music... streams without a hitch in Firefox... and or using loopback to "monitor" the output via the airpod.

 

Location services: I have reset the nvram, logged out of Icloud, then logged back in again, but same thing... the device seem to be clueless about it's location... the research continues...

Link to comment
Share on other sites

Further update:

Managed to unlock the CFG lock, using the Dortania guide which resulted in getting a garbled/strange colourd screen after wake (instead of the DELL logo that I previously got)

The system took a few seconds to come back to life, and the Trackpad was working in a very choppy way. I had to result to use a wired mouse to navigate the system.

 

Overall this feels a step in the right direction and since the screen looks exactly like when I disconnect the HDMI cable, I suspect the issue will be with the iGPU config...

Link to comment
Share on other sites

Update 3:

 

Completing an EDID patch resolved the Wake issue. Although it takes about 10-20sec for the screen to wake, but it does at least... The only thing is now, that the trackpad works in a choppy way, meaning it moves the cursor for 2-4 sec, then stays in one place and then moves again. Touch screen is completly gone after sleep, so I guess I wil need to troubleshoot the GPIO patch (?) but it is something to do with the I2C part of the config....

Link to comment
Share on other sites

This is becoming a whacamole...

Just when I thoutght I had most thnigs done I realised that my USB (although I considered it mapped) started behaving wierd...

If I plugged a USB3 device into the thunderbolt port than that device was discovered in the OS, but if I did not plug into any USB3 device, then it only detected USB2 devices. USB3 devices plugged in only after MacOS booted resulted in ... well .. nothing.. the item was not discovered at all.

I suspect this is down to the "Thunderbolt" setting in the BIOS and that I checked the "Enable Thunderbolt Boot Support"

 

I have reset it to "Thunderbolt" enabled "No Security" and the rest left unchecked/turned off.

 

And back to square one with the usb mapping.

 

If anyone out there has a working Ventura on the Latitude 7400 2 in 1, please come forward! :)

Link to comment
Share on other sites

Hi 

 

I got my 7400 2-in-1 about a week ago, I tried using my 7400 EFI (i5 8th gen, touch screen) and couldn't get to the installer, it would always hit 'stop' sign.  After much googling I eventually came across your thread!  I used your EFI and it booted 1st time, I didn't have wifi because I was using intel wifi, when I tried to swap out Broadcom kext for intel wifi kext I would get stop sign all the time, then I remembered I have MacBook wifi card and adapter in my drawer that I didn't use because they didn't fit in the 7400 (or maybe the 7390, whatever I was using at the time) so got them out, cut the adapter down as you did and now fully working wifi!

 

I'm not sure I'll be much help with the missing pieces to the 100% perfect 7400 2-in-1 hackintosh but just want to say a massive thanks for providing your EFi, very much appreciated! 

Link to comment
Share on other sites

  • Administrators

Re: 4K over HDMI and/or 4K@60Hz, you'll have to patch your BIOS and set DVMT to 64MB since it probably sits at 32MB at present. See our FAQ section on this matter, you'll find a couple of threads there.

Link to comment
Share on other sites

I was never able to achieve 4K@60Hz with my Latitude 7400 even after setting the DVMT to 64MB. Whatever I try it's always 4K@30Hz. Same result in Windows. I also have the Dell WD19S docking station, everything's working great but still 4K@30Hz. Some people report that they were able to hit 4K@60Hz through a TB docking station and DP. 

 

@wing - I have working location services with Intel 9560NGW and the latest Airportitlwm.kext, Bluetooth also works just fine. Here's my EFI if you are interested to give a try. Everything's working on my side.

 

Dell 7400 OC Intel Ventura

Link to comment
Share on other sites

  • Administrators

4K@24/30Hz over HDMI is perfectly normal, that's the limitation of those 8th gen Whiskey Lake CPUs. See those of the i5-8365U here. 4K@60Hz is only supported over DP output. On the 7400, that'll be out of the USB-c port with a DP adapter/cable (or TB if the port supports this).

  • Like 1
Link to comment
Share on other sites

Thank you @Jazzoo and @Hervé for the update and help. I continued to try and make things work after my last post and got somewhat further.

 

First of all, thank you @Jazzoo for the EFI folder, and the feedback @molko365

 

@Hervé: Regarding the 30Hz HDMI I also came to the same conclusion, that it is a platform limitation (and even the Dell Spec sheet says 4K@30Hz for the HDMI)

I have set the DVMT to 64Mb (which is the highest available option in the latest 1.21 Bios) but strangely that for me seemed to be the same as it was by default...
I have also changed the Max GPU memory to MAX (the other 2 options were 128Mb, 256Mb or MAX)

Both of the above 2 steps were done following the Dortania guide on extracting the BIOS into a text file, and using a modified GRUB to set the values.

 

I tried to boot my laptop using Jazzoo's EFI (after swapping the wifi card back to the intel9560NGW), and the system got to the part where it tries to initialise the graphics (2nd stage of boot) but in normal mode, the screen dimmed to black and then the whole machine reset (and this continued in a loop)

I switched to verbose mode and it did the same thing when trying to initialise the graphical mode. (could not take a screenshot, as the text was flying really fast and it did not freeze with text displayed, just reset)

I was wondering which version of BIOS you are on as that might make the difference.... (I am on 1.21 (which is the latest as of now))

 

Another wiered behaviour of the laptop is that when it boots, I have to touch the touchpad or push a key for the Dell logo to switch to the OpenCore GUI and if I make a selection with the arrow keys, I have to move the tochpad again to see the "reveal" the change and see where the selection is... (also the animation that should "flow" like when selecting a drive and the focus/highlight shifts from one drive to the other only appears at the same pace as me moving the cursor) This behaviour was already there previously with my EFI config, but I thoutgh that maybe I have messed something up, but this behaviour is exactly the same with Jazzoo's EFI folder... I thought I mention this, just in case anyone else stumbles across this thread and has the same behaviour (might be just a me issue still, as I have not come across this anywhere else)

 

Since my last post I have brought the system to the "acceptably useable" level, where with the apple wifi card it is booting without a hitch my current state are:

What Works:

Graphics Acceleration (no screen dimming for 3 minutes after boot)

USB-C port ( USB-C to Display and USB-C to HDMI works fine in the upper port)

USB 3 ports work fine

Tocuhscreen, Touchpad (VoodooI2C)

Keyboard (VoodooPS2)

Wifi+Bluetooth (BCM94360CS2 + adapter cut in half due to space contrains)

 

What SORT OF works:

HDMI port can be used 1x but once you disconnect you need to hard reset the system..

Sleep is unfortunately in this category, as the Touchpad is unusuable after wake, and the touchscreen is completly gone which is most definitely down to the missing

I2C patch (which I will try to merge from Jazzoo' config) Also the Battery state gets stuck after wake

Card reader recognises only the first FAT32 (EFI) volume of a 32Gb card (formatted in GUID + HFS) and it does it only once per boot.... once I remove the card and reinsert it it does not see anyting... It happily recognises a 16GB card, but the read and write speed is criminally slow (3-5Mb/sec) (not 3-5MB which would be 24-40Mb, and the same card does around 8-15MB/sec in another card reader)

The Fan control is a hit and miss via iStat Menus...

 

What does NOT work:

headphone port... I could not get it to work, but again I feel that this is down to my lack of trying

System Location settings

 

After spending almost 5 full days in a row thinkering and trying to resolve the issues I put a pause on it. I will try to resolve the few thnigs that are not working at a slower pace and after reading the topic from Herve on the Sonoma wifi "issue" I will consider switching to the the Intel wifi card, although I am in no rush to upgrade immediately to Sonoma. I somewhat will miss the Hackintosh days where machines are (were..) possible that Apple have not created. But at the same time having a machine that "just works" (until a capcitor dails... sarcasm intended) is also a nice thing...

 

With all that I have attached my EFI as a current snapshot, and I hope that it will help others and will post if I manage to solve any of the issues.

EFI - 2in1 - 2023.07.25 - BCMwifi.zip

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...