Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOKit + display models



I'd like to figure out how to get from the IOKit call-equivalent of:

[Sond] reynolda$ ioreg -c AppleDisplay | grep DisplayVendorID
     | |     |           "DisplayVendorID" = 1552
     | |     |           "DisplayVendorID" = 4268
[Sond] reynolda$

to the corresponding list of the two monitor models connected to my machine,
which the Display system preference says are an "Apple Studio Display" and a
"Dell 1504FP".

The files in /System/Library/Displays/Overrides/DisplayVendorID-610 are not in
a
consistent format as far as the information they return. I'll bet that isn't
where this information is kept anyway.

There's an entry in there that matches 1552 to an Apple Studio Display but I
can't find anything for non-Apple displays (e.g. matching the 4268 entry to the
Dell display). 

(This table must be *somewhere* if the Display system preference knows it.)

Does anyone know how to bend IOKit's ear to return this information?

TIA,
Alex
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.