RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,007
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Technically integer's are supported (they will convert to 4 byte data internally) but data is the recommended way.
I looked in the WhateverGreen code and didn't see any handling for OSNumber.
Didn't realize that Clover was doing some conversion here.
Of course, if you inject with ACPI, you can inject as integer (Number as seen in ioreg), and since there is no handling in WhateverGreen, it won't work.
So technically, WhateverGreen cannot deal with integers that it finds in ioreg... but integers you put in config.plist/Devices/Properties will be converted to 32-bits of Data type.
Good to know...
That said, it is a bit more readable using integers:
(example from my NUCi7KYK)
Note result in ioreg is still Data, which is why it works (conversion done before WhateverGreen deals with it):