mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Add built-in device property for network devices and storage controllers
This commit is contained in:
@@ -62,7 +62,8 @@
|
||||
- Allow flexible iGPU configuration between headless and driving a display when a supported discrete GPU is present.
|
||||
- Force Intel GPUs into VESA mode with HDMI and DVI connectors to simplify installation process.
|
||||
- Use random layout IDs have comment based on author or motherboard brand for better sound quality.
|
||||
- Provide configuration required for using OpenCore Legacy Patcher
|
||||
- Provide configuration required for using OpenCore Legacy Patcher.
|
||||
- Add built-in device properties for network devices (fix 'Could not communicate with the server' when using iServices) and storage controllers (fix internal drives shown as external).
|
||||
|
||||
and more...
|
||||
|
||||
|
||||
@@ -288,6 +288,16 @@ class ConfigProdigy:
|
||||
"model": gpu_name
|
||||
}
|
||||
|
||||
|
||||
network_items = hardware_report.get("Network", {}).items()
|
||||
storage_controllers_items = hardware_report.get("Storage Controllers", {}).items()
|
||||
|
||||
for device_name, device_props in list(network_items) + list(storage_controllers_items):
|
||||
if device_props.get("PCI Path") and not device_props.get("ACPI Path"):
|
||||
deviceproperties_add[device_props.get("PCI Path")] = {
|
||||
"built-in": self.utils.hex_to_bytes("01")
|
||||
}
|
||||
|
||||
for key, value in deviceproperties_add.items():
|
||||
for key_child, value_child in value.items():
|
||||
if isinstance(value_child, str):
|
||||
|
||||
Reference in New Issue
Block a user