在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):bavariancake/XPS9570-macOS开源软件地址(OpenSource Url):https://github.com/bavariancake/XPS9570-macOS开源编程语言(OpenSource Language):Rich Text Format 73.7%开源软件介绍(OpenSource Introduction):OverviewRun macOS Mojave (10.14) or Catalina (10.15) on a Dell XPS 9570. Most pieces are fully supported, and this setup can be used as your main machine. A few pieces are missing (and some will probably never be supported); see Known Problems/Caveats in the Hardware section. The EFI folder can be used to boot into a USB installer, or for regular booting. Tested hardware configuration
Tested software configurations
HardwareGraphicsIntegrated Intel UHD Graphics 630 support is handled by WhateverGreen, and configured in the
Choose a DPCD maximum link rate for your display, where 4K=0x14 (default) or 1080p=0x0a. To determine if Intel GPU (IGPU) acceleration is working, check: The default BIOS DVMT pre-alloc value of 64MB is sufficient and does not need to be changed. The IGPU supports up to 3 displays simultaneously, including the internal LCD. The type C port supports up to two DisplayPort connections with an adapter. Even though you could connect three external displays (HDMI + 2 DisplayPort via type C), one of these displays would remain powered off. This is a limitation of IGPU, which has 3 pipelines for driving displays, one per display. Enabling acceleration
Enabling backlight control via slider in Sys. Prefs. -> Displays
Enabling external display supportWithout any options passed to WhateverGreen, a KP will occur whenever an HDMI device is attached. @0xFireWolf provided HDMI output support (HDMI 1.4 and 2.0) by adding LSPCON support to WhateverGreen. Up to two 4k@60Hz DisplayPort connections are supported via type C with adapter, and HDMI can also be connected. However, the internal display will turn off if three external displays are connected (see Intel GPU limitation above). Connector 0 is the internal LCD, connectors 1 and 2 are DisplayPort via type C, and connector 3 is
HDMI. The boot argument Enabling HDMI 1.4/2.0 and DisplayPort via type C connector
Known problems/caveats
PS/2 KeyboardThe internal keyboard is a PS/2 device, but macOS does not support PS/2. This can be implemented with VoodooPS2Controller. Installation
Debugging key codes
Known problems/caveats
Wi-Fi/BluetoothBased on Broadcom Wi-Fi Bluetooth Guide, and see threads one and two. One possible replacement card is the Dell DW1830, based on the Broadcom BCM943602BAED. I’ve used this card here (purchased on EBay), although it’s currently a bit expensive at around $50. Dell no longer offers this card directly. This card has three antennas, while the XPS 9570 has only two antennas in the display. To get full
Wi-Fi speed, a third antenna with a Connectors J0, J1, J2 should be connected as follows (see installation example):
The DW1830 Wi-Fi card is based on the Broadcom BCM943602BAED, using BCM43602 for Wi-Fi and BCM20703 for Bluetooth. While Wi-Fi works by default, it shows up as a “Third-Party Wireless Card” in System Information unless AirportBrcmFixup is installed, and Bluetooth requires kexts from OS-X-BrcmPatchRAM. Side note: romton843 explains that U.FL connectors are 2mm and white, while MHF4 are 1.5mm and black. Installation
Testing Wi-Fi speedBy default, AirportBrcmFixup seems to limit Wi-Fi channel width for 802.11ac to 40MHz instead of
80MHz, even though the country code defaults to US. The workaround is to disable the country code
setting with the boot flag If you have an 802.11ac capable access point, place the XPS 9570 next to it and option-click on the
Wi-Fi icon. After a few minutes, you should see a line like Messages and FaceTime setupThe above installation steps prepare the way for Messages and FaceTime to work as well, but there are more in-depth guides to Messages here and here if needed. If there are issues with continuity (switching calls between macOS and iPhone for example), BT4LEContiunityFixup.kext may help fix those, but seems to not be needed for the DW1830. Remove stale Messages and FaceTime data: rm -rf ~/Library/Caches/com.apple.Messages
rm -rf ~/Library/Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent
rm -rf ~/Library/Caches/com.apple.iCloudHelper
rm -rf ~/Library/Preferences/com.apple.iChat*
rm -rf ~/Library/Preferences/com.apple.icloud*
rm -rf ~/Library/Preferences/com.apple.ids.service*
rm -rf ~/Library/Preferences/com.apple.imagent.plist
rm -rf ~/Library/Preferences/com.apple.imessage*
rm -rf ~/Library/Preferences/com.apple.imservice* Known problems/caveats
Battery statusInstall SMCBatteryManager.kext that comes with VirtualSMC to get battery status. Ensure that you have removed ACPIBatteryManager if you’ve installed it previously. AudioAudio on the XPS 9570 is based on the Realtek ALC298 audio codec, referred to by Dell as “ALC3266-CG
with Waves MaxxAudio Pro”. The ALC298 is not supported on macOS by default, so we use AppleALC to
enable it. Audio pipelines on laptops appear to have unique amplifier and gain setups, so we need to
pass a HDMI audio output probably requires SSDT-HDEF and FakePCIID_Intel_HDMI_Audio.kext, but is not implemented yet since it depends on a graphics fix. Installation
Known problems/caveats
USBThe XPS 9570 DSDT table has a few incorrect USB properties, but we can inject the correct properties via USBInjectAll with SSDT-UIAC.dsl. The DSDT patch corresponds to the actual hardware config of the XPS 9570, which is as follows:
(*) “Set if the device connection point can be seen by the user without disassembly” according to ACPI 6.2 A, 6.1.8, _PLD (Physical Location of Device) Based on USB guide and companion guide. Implementing USB port fixes and removing unused ports
Known issue: left side type C port only works in HS mode, not SSWill likely work when USB type C and/or Thunderbolt fixes are added. USB power property injectionTo-Do: AddThunderbolt 3Thunderbolt 3 can be made to work if “BIOS assist enumeration” is enabled for Thunderbolt in the BIOS. Install the latest Thunderbolt firmware update from Dell, then boot into Windows with TB peripheral attached. Set device to “always allow”. TB device will work in macOS when attached prior to boot, but will lose functionality when hotplugged. Touch ID / Goodix fingerprint sensorIt’s not possible to use fingerprint sensor for Touch ID according to RehabMan. Perhaps the integrated Goodix fingerprint sensor can be used, and enabled with PAM (TBD). Since we’re using the Trackpad and touchscreenBoth the Synaptics trackpad and Wacom touchscreen are I2C devices that can be driven with VoodooI2C. VoodooPS2Controller also provides basic trackpad support, but the quality is not as good. Installation
Power managementNote: There is some information in power management guides that only applies pre-Coffee Lake. See section below to avoid unnecessary changes. Based on the laptop power management guide by RehabMan, as well as macOS native power management by toleda. Set up power managemnt
Items that are no longer relevant to Coffee Lake (DO NOT USE)
Testing power management (WIP)
VirtualSMC/FakeSMCEither VirtualSMC or FakeSMC is required to boot macOS, since PCs don’t have Apple SMC hardware. VirtualSMC is newer and actively maintained. Installation
Windows compatibilityReal-time clockmacOS sets BIOS clock to UTC, but Windows sets clock to local time. The solution is to set Windows
to use UTC as well, with
Sharing Bluetooth devicesYou may have noticed you need to re-pair a Bluetooth devices when booting between macOS <-> Windows, because the 128 bit device link key changes. This can be fixed by exporting macOS’s BT keys, and importing them in Windows. See BT-LinkkeySync for instructions, and BT-LinkkeySync.py in this repo (updated for Mojave). Known problems/caveats
ACPI DSDT/SSDT patchingMost of the ACPI patching info is based on the laptop DSDT/SSDT guide and hotpatching guide. The ACPIBatteryManager (no longer used) guide includes good step-by-step tutorial on how to make DSDT edits with MaciASL. Many ACPI patches depend on starting out with a working set of ACPI tables (accomplished via patching if needed), so it’s useful to test if this is the case and fix any errors before attempting further changes. To do this, we can look through the macOS boot logs for ACPI errors, dump the unmodified ACPI tables, and dump the ACPI tables as modified by Clover. Making changes as needed, rebooting, and re-inspecting system logs, we can iterate until there are no more ACPI problems as seen by macOS. Note: this process wasn’t clear to me from reading the patching guides initially, but it may not be the best way to do it - caveat emptor.
Installation and system updatesInstallation from scratchPreparing the XPS 9570This setup dual-boots Windows 10, which is nice to have for games, since we can actually use the Nvidia GTX 1050, unlike in macOS. Begin with the default Windows 10 installation (or install Windows 10 if using a new drive).
全部评论
专题导读
上一篇:leits/MeetingBar: 发布时间:2022-08-18下一篇:KrisYu/swift14macOSApps: approaching macOS development using swift with 14 mini ...发布时间:2022-08-18热门推荐
热门话题
阅读排行榜
|
请发表评论