Mac Hardware Information

(imported topic written by Boon91)

Hi

I noticed that the RAM reported on Mac Hardware Information will be incorrect, if RAM exceeds 2GB.

For e.g.

4GB Ram was reported as 2GB

2.5GB Ram was reported as 1.5GB

Is there a way to make it report correctly?

Another issue is I like to display the monitor used by Mac? How can I retrieve the information.

Thank you.

(imported comment written by BenKus)

Thanks Boon… my guess is that there is an interger overflow bug and we will take a look at it…

We have a Hardware Information for Mac OSX on the BES Inventory and License site, but it doesn’t have the Monitor info… I will check and see if there is a good way to get this info…

Ben

(imported comment written by juancb91)

The information you are looking for is stored in the IOKit registry as a raw E-EDID block pulled from the monitor itself. The easiest way to get at this information is by extracting the IOKit node path from the com.apple.windowserver.plist and then using the IOKit inspectors to access the corresponding E-EDID data. Since the EDID data is stored as raw hex, we have to filter out the Model Name, which will be preceded by FCh and is 13 bytes long. The string will be terminated by 0ah and any unused bytes will be padded with 20h.

Here are some bits of relevance to pull that information, the first example checks in /Library/Preferences for the com.apple.windowserver.plist and the second checks in the user’s ~/Library/Preferences/ByHost/ folder.

Sample Relevance:

Q: preceding text of last “%0a” of (following text of first “%00” of (preceding text of position 13 of (following text of first “%fc” of (data “IODisplayEDID” of dictionary of node (string “IODisplayLocation” of dictionary 0 of array 0 of array “DisplaySets” of dictionary of file “/Library/Preferences/com.apple.windowserver.plist”) of iokit registry))))

A: DELL 1707FP

Q: preceding text of last “%0a” of (following text of first “%00” of (preceding text of position 13 of (following text of first “%fc” of (data “IODisplayEDID” of dictionary of node (string “IODisplayLocation” of dictionary 0 of array 0 of array “DisplaySets” of dictionary of file whose (name of it contains “com.apple.windowserver.” and name of it contains “.plist”) of folder “ByHost” of folder “Preferences” of folder “Library” of folder whose (name of it is name of current user) of users folder) of iokit registry))))

A: DELL 1707FP

(imported comment written by BenKus)

Also… our Mac developer has told me the 2GB limit on RAM is fixed in the BigFix 7.1 Mac Agent.

Ben