Mac 提取 EDID
ioreg -lw0 | grep -i "IODisplayEDID" | sed -e 's/.*<//' -e 's/>//'
显示
00ffffffffffff003325871700000000011a0104a5221378021bbba658559d260e4f55000000010101010101010101010101010101019c3b803671383c403020360058c21000001a000000000000000000000000000000000000000000fe00424f452043510a202020202020000000fe004e5631353646484d2d4e36310a001b
获取 VendorID
ioreg -l | grep "DisplayVendorID"
获取 ProductID
ioreg -l | grep "DisplayProductID"