LCD model number or disabling discrete GPU for MacBook Pro 15 Retina 2012-2013
Solution 1:
Unfortunately, you cannot get the LCD panel model number from the command line as it's not stored in firmware as part of the monitor's EDID.
For example, I had to replace the the LCD of my 27" iMac due to an unfortunate incident involving a disobedient child and a fidget spinner. The model number for the panel was "LM270WQ1" where as the Apple PN# was "661-7169." Those numbers aren't present in any of the EDID data. See below
Using the system_profiler
command:
$ system_profiler SPDisplaysDataType
Displays:
iMac:
Display Type: LCD
Resolution: 2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
UI Looks like: 2560 x 1440
Framebuffer Depth: 24-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes
Automatically Adjust Brightness: No
Connection Type: Internal
DELL U2312HM:
Resolution: 1080 x 1920
UI Looks like: 1080 x 1920 @ 60 Hz
Framebuffer Depth: 24-Bit Color (ARGB8888)
Display Serial Number: T9MJ318O630L
Mirror: Off
Online: Yes
Rotation: 90
Automatically Adjust Brightness: No
Connection Type: Thunderbolt/DisplayPort
Using the ioreg
command to get EDID
$ ioreg -lw0 -r -c "IODisplayConnect" -n "display0" -d 2 | grep IODisplayEDID | sed "/[^<]*</s///" | xxd -p -r | strings -6
s@L036"
q8-@X,E
T9MJ318O630L
DELL U2312HM
Neither have the actual panel info model because that's typically not put in by the display manufacturer. For this, you need to (unfortunately) disassemble the display and get the LCD panel model off the back. I recently replaced the LCD in a Mid-2007 MacBook (white) and it was imperative that I replace it with a compatible panel. I was inadvertently sent a panel for a later MacBook (2008) and while it physically fit and the LVDS connectors were compatible, the panel simply didn't work.