[2045r 이상] Devices - CloveBoot Loader Config
- Mactopia
- 1612
- 0
Mactopia님의 기기정보
<key>Devices</key>
<dict>
...
</dict>
Parameter group for tweaking setting affecting PCI devices.
Inject
<key>Inject</key>
<false/>
Enabling it will cause the automatic injection to turn off and allow the injection of a custom string fromProperties
.
Properties
<key>Properties</key>
<string>0207364862FA54HG345</string>
To create your own string you need the tool gfxutil that, for example, is bundled with DarwinDumper. You will need to create an xml file using a device path in standard notation as header and list properties, which will be injected. The example shows a file used to enable a video card:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,HasPanel</key>
<data>AQAAAA== </data>
<key>built-in</key>
<data>AA==</data>
<key>class-code</key>
<data>AAADAA==</data>
<key>device_type</key>
<data>ZGlzcGxheQA=</data>
<key>model</key>
<data>R01BIDk1MAA=</data>
</dict>
</dict>
</plist>
It is possible to obtain the currently used plist with DarwinDumper, to modify it and convert it into string form with the command:
./gfxutil ?i xml ?o hex devprop.plist devprop.hex
.. resulting in:
d30000000100000001000000c70000000500000002010c00d041030a000000000101060000027fff0400100000006d006f00640065006c0000000c000000474d4120393530001c0000006400650076006900630065005f00740079007000650000000c000000646973706c617900200000004100410050004c002c00480061007300500061006e0065006c0000000800000001000000160000006200750069006c0074002d0069006e00000005000000001a00000063006c006100730073002d0063006f006400650000000800000000000300
The result needs to be used as a value for DeviceProperties
. The same effect can be achieved by adding a _DMS method into the according section of your DSDT. It may be practical to use the string method when no DSDT is available yet.
FakeID
<key>PCI</key>
<dict>
<key>FakeID</key>
<dict>
<key>ATI</key>
<string>0x68181002</string>
<key>IntelGFX</key>
<string>0x0126</string>
<key>NVidia</key>
<string>0x0</string>
<key>LAN</key>
<string>0x436311ab</string>
<key>SATA</key>
<string>0x25628086</string>
<key>WIFI</key>
<string>0x431214E4</string>
<key>XHCI</key>
<string>0x0</string>
</dict>
</dict>
- AMDRadeonHD7850 has unsupported DeviceID=0x6819. Change to 0x6818
- Dell Wireless 1595, DeviceID=0x4315 is not supported. Change to 0x4312
- Marvell Yukon 8056, DeviceID=0x4353. Change to 0x4363.
There are other known substitutions for unsupported devices.
This substitution will work if InjectATI (Nvidia, Intel) is set. Or if FixDsdtMask set for the device.
Audio
<key>Audio</key>
<dict>
...
</dict>
Parameter group for tweaking setting affecting audio devices.
Audio / Inject
<key>Inject</key>
<string>Detect</string>
Property injection for the sound chip. Only works when the DSDT defines Device (HDEF)
. If you renamed it, you can also inject the other properties differently. Do not use this parameter with VoodooHDA. Possible options are:
No
- Injection is turned offDetect
- Automatic detection of the sound chip and injection of its ID as layout ID. Actually this is nonsense but still very popular. Does not do any harm and affects the display of sound properties in System Profiler.883
- Decimal number representing. Refers to Realtek ALC883 in this case.0x373
- Same as above in hexadecimal.
These numbers are incorrect, you will need to find the correct value and possibly replace the layout file bundled with AppleHDA to get the chip working.
USB
<key>USB</key>
<dict>
...
</dict>
Parameter group for tweaking setting affecting PCI devices.
USB / Inject
<key>Inject</key>
<true/>
Injects USB properties. You can turn it off for whatever reason, if you need. It is also disabled if theDSDT patch mask matches 0x1000
to prevent data duplication.
USB / FixOwnership
<key>FixOwnership</key>
<true/>
It is possible to leave USB injection enabled and only turn off the ownership fix.
This fix is not relevant for UEFI booting.
USB / AddClockID
<key>AddClockID</key>
<true/>
<true/>
- Enables a good, deep sleep, which cannot be exited by keyboard or mouse input.<false/>
- The PC will possibly sleep and it can be woken up by keyboard or mouse; or it will be automatically woken up by some attached device
Injects the property "AAPL,clock-id" with a unique identifier for each device. Set it to your liking.
Requires USBInjection to be enabled.
Default value is set to disabled.