A little bit of assistance needed in adding an entry to 'DeviceProperties' (XML syntax check)

Hi all,

I have a build that's gone well, and for the first time I've followed the Dortania guide from start to finish and learned as I went. Everything works, and I'm just at the point of freezing the build by moving the EFI files to the local disk.

But one thing I wanted to do was tidy a last bit up, by moving the audio setup from boot-args to DeviceProperties. But the syntax of this xml isn't making sense to me, in terms of where I add things, specifically on 'key' and 'add'.

I wondered if someone would take a look at the below and tell me what my syntax should be?

Existing config.plist entry for "Device Properties"

<key>DeviceProperties</key> <dict> <key>Add</key> <dict> <key>PciRoot(0x0)/Pci(0x1b,0x0)</key> <dict> 

<key>layout-id</key>

<data>AQAAAA==</data>

<key>PciRoot(0x0)/Pci(0x2,0x0)</key>

<dict>

<key>AAPL,ig-platform-id</key>

<data>AwCRPg==</data>

<key>framebuffer-patch-enable</key>

<data>AQAAAA==</data>

<key>framebuffer-stolenmem</key>

<data>AAAwAQ==</data>

</dict>

 </dict> </dict> <key>Delete</key> <dict/> </dict> 

<key>DeviceProperties</key> <dict> <key>Add</key> <dict> <key>PciRoot(0x0)/Pci(0x1b,0x0)</key> <dict> 

<key>layout-id</key>

<data>AQAAAA==</data>

<key>PciRoot(0x0)/Pci(0x2,0x0)</key>

<dict>

<key>AAPL,ig-platform-id</key>

<data>AwCRPg==</data>

<key>framebuffer-patch-enable</key>

<data>AQAAAA==</data>

<key>framebuffer-stolenmem</key>

<data>AAAwAQ==</data>

</dict>

 </dict> </dict> <key>Delete</key> <dict/> </dict> 

And I need to add in an audio entry for layout 16 (decimal) for the device at:

PciRoot(0x0)/Pci(0x1F,0x3)

ProperTree doesn't seem to do this in a way that looks correct.....

(hope this is ok to ask)

TIA

Author: @its_the_terranaut