Contribute
Register

New EDID generator, help needed

Status
Not open for further replies.
Joined
Nov 10, 2011
Messages
1,455
Motherboard
GA-H77N-WIFI F4
CPU
i7-3770
Graphics
HD 4000
Mobile Phone
  1. Android
Ok, I finally found one LCD TV to test the script and here's the result in a clean ML 10.8 installation:

Code:
Philips-MacBook-Pro:Desktop philip$ sudo bash -x ./newedid.sh
 + '[' -e /tmp/display.plist ']'
+ case `ioreg -n AppleBacklightDisplay -rxw0` in
++ ioreg -n AppleBacklightDisplay -rxw0
+ ioreg -n AppleDisplay -arxw0
+ GenEDID 0
+ /usr/libexec/PlistBuddy -c 'Print :0' /tmp/display.plist
Dict {
    IOClass = AppleDisplay
    IORegistryEntryName = AppleDisplay
    IODisplayPrefsKey = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/GFX0@2/AppleIntelFramebuffer@0/display0/AppleDisplay-30e4-1da
    IODisplayEDID = ??????0???x
?ՖYV?'PT`P0 06&??LG Display
  ?LP133WH1-TLB1U
    IOObjectClass = AppleDisplay
    IOPowerManagement = Dict {
        MaxPowerState = 3
        CurrentPowerState = 3
    }
    IOProviderClass = IODisplayConnect
    DisplaySerialNumber = 0
    IOProbeScore = 2000
    IORegistryEntryID = 4294968038
    IOServiceBusyState = 0
    IOServiceBusyTime = 77434
    IOMatchCategory = IODefaultMatchCategory
    CFBundleIdentifier = com.apple.iokit.IOGraphicsFamily
    IOServiceState = 30
    DisplayProductID = 474
    IODisplayParameters = Dict {
        bgsc = Dict {
            min = 0
            value = 65536
            max = 65536
        }
        rgsc = Dict {
            min = 0
            value = 65536
            max = 65536
        }
        ggsc = Dict {
            min = 0
            value = 65536
            max = 65536
        }
        bklt = Dict {
            min = 0
            value = 648
            max = 1808
        }
    }
    DisplayVendorID = 12516
    IODisplayAttributes = gatvsglfrloccpb cdg???glfd
    IOObjectRetainCount = 8
    IODisplayConnectFlags = 
}
+ '[' 0 -eq 0 ']'
++ /usr/libexec/PlistBuddy -c 'Print :0:IORegistryEntryName' /tmp/display.plist
+ RegName=AppleDisplay
++ /usr/libexec/PlistBuddy -c 'Print :0:IODisplayConnectFlags' /tmp/display.plist
+ DisplayFlags=$'\b'
++ /usr/libexec/PlistBuddy -c 'Print :0:DisplayVendorID' /tmp/display.plist
+ VenID=12516
++ printf '%x\n' 12516
+ VenIDhex=30e4
++ /usr/libexec/PlistBuddy -c 'Print :0:DisplayProductID' /tmp/display.plist
+ ProdID=474
++ printf '%x\n' 474
+ ProdIDhex=1da
+ GenDir=/Users/philip/Desktop/DisplayVendorID-30e4
+ GenFile=DisplayProductID-1da
++ echo AAgAAA==
++ base64 -D
+ '[' AppleDisplay == AppleBacklightDisplay -o $'\b' == $'\b' ']'
+ '[' '!' -e /Users/philip/Desktop/DisplayVendorID-30e4 ']'
+ mkdir /Users/philip/Desktop/DisplayVendorID-30e4
+ /usr/libexec/PlistBuddy -c 'Add :DisplayProductName string '\''ProBook 4x30s'\''' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
File Doesn't Exist, Will Create: /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ /usr/libexec/PlistBuddy -c 'Add :test array' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ /usr/libexec/PlistBuddy -c 'Merge /tmp/display.plist :test' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ /usr/libexec/PlistBuddy -c 'Copy :test:0:DisplayProductID :DisplayProductID' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ /usr/libexec/PlistBuddy -c 'Copy :test:0:DisplayVendorID :DisplayVendorID' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ /usr/libexec/PlistBuddy -c 'Copy :test:0:IODisplayEDID :IODisplayEDID' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ /usr/libexec/PlistBuddy -c 'Remove :test' /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ chown -R root:wheel /Users/philip/Desktop/DisplayVendorID-30e4
+ chmod 755 /Users/philip/Desktop/DisplayVendorID-30e4
+ chmod 644 /Users/philip/Desktop/DisplayVendorID-30e4/DisplayProductID-1da
+ GenEDID 1
+ /usr/libexec/PlistBuddy -c 'Print :1' /tmp/display.plist
Dict {
    IOClass = AppleDisplay
    IORegistryEntryName = AppleDisplay
    IODisplayPrefsKey = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/GFX0@2/AppleIntelFramebuffer@3/display0/AppleDisplay-4c2d-4fd
    IODisplayEDID = ??????L-?/?    ?
TL?&PT rQ? n(U?Z?R? ?(U@?Z?<D
      ?SAMSUNG
     ?#qK? !"#    ??g
                    ?-?q X,%?Z???r ,%??Z??
Њ ?->??Z?
А @1 
     @U?Z?
    IOObjectClass = AppleDisplay
    IOPowerManagement = Dict {
        MaxPowerState = 3
        CurrentPowerState = 3
    }
    IOProviderClass = IODisplayConnect
    DisplaySerialNumber = 0
    IOProbeScore = 2000
    IORegistryEntryID = 4294968046
    IOServiceBusyState = 0
    IOServiceBusyTime = 76603
    IOMatchCategory = IODefaultMatchCategory
    CFBundleIdentifier = com.apple.iokit.IOGraphicsFamily
    IOServiceState = 30
    DisplayProductID = 1277
    IODisplayParameters = Dict {
        bgsc = Dict {
            min = 0
            value = 65536
            max = 65536
        }
        pscn = Dict {
            min = 8800
            value = 10000
            max = 10000
        }
        rgsc = Dict {
            min = 0
            value = 65536
            max = 65536
        }
        ggsc = Dict {
            min = 0
            value = 65536
            max = 65536
        }
    }
    DisplayVendorID = 19501
    IODisplayAttributes = gatvsglfrloccpb cdg???glfd
    IOObjectRetainCount = 8
    IODisplayConnectFlags = 
}
+ '[' 0 -eq 0 ']'
++ /usr/libexec/PlistBuddy -c 'Print :1:IORegistryEntryName' /tmp/display.plist
+ RegName=AppleDisplay
++ /usr/libexec/PlistBuddy -c 'Print :1:IODisplayConnectFlags' /tmp/display.plist
+ DisplayFlags=
++ /usr/libexec/PlistBuddy -c 'Print :1:DisplayVendorID' /tmp/display.plist
+ VenID=19501
++ printf '%x\n' 19501
+ VenIDhex=4c2d
++ /usr/libexec/PlistBuddy -c 'Print :1:DisplayProductID' /tmp/display.plist
+ ProdID=1277
++ printf '%x\n' 1277
+ ProdIDhex=4fd
+ GenDir=/Users/philip/Desktop/DisplayVendorID-4c2d
+ GenFile=DisplayProductID-4fd
++ echo AAgAAA==
++ base64 -D
+ '[' AppleDisplay == AppleBacklightDisplay -o '' == $'\b' ']'
+ echo 'External display detected!'
External display detected!
+ GenEDID 2
+ /usr/libexec/PlistBuddy -c 'Print :2' /tmp/display.plist
Print: Entry, ":2", Does Not Exist
+ '[' 1 -eq 0 ']'
+ echo 'No display detected!'
No display detected!
+ rm -rf /tmp/display.plist




Philips-MacBook-Pro:Desktop philip$

I think it works!
 
Joined
Aug 16, 2011
Messages
1,065
Motherboard
HP-4540S
CPU
i5-3210M
Graphics
HD4000
Mac
Classic Mac
Mobile Phone
I will send you one as soon I finish installing ML
 
Joined
Mar 26, 2012
Messages
753
Motherboard
Lenovo V330-15IKB
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
  1. Android

Sorry, but I can't help because I don't have/use an external display.

P.S. When the new EDID generator will be ready, the final version of the probook installer 6 will come out, right?
This will be the only new feature?
The final version could be a nice xmas present :D
Thanks!
 
Joined
Nov 10, 2011
Messages
1,455
Motherboard
GA-H77N-WIFI F4
CPU
i7-3770
Graphics
HD 4000
Mobile Phone
  1. Android
Sorry, but I can't help because I don't have/use an external display.

P.S. When the new EDID generator will be ready, the final version of the probook installer 6 will come out, right?
This will be the only new feature?
The final version could be a nice xmas present :D
Thanks!

Yeah, it will be nice xmas present, but first I need to be sure it works. I think to make one more test, but with OS X Lion this time. Of course, any help from any of you will be appreciated.
 
Joined
Mar 26, 2012
Messages
753
Motherboard
Lenovo V330-15IKB
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
  1. Android
Yeah, it will be nice xmas present, but first I need to be sure it works. I think to make one more test, but with OS X Lion this time. Of course, any help from any of you will be appreciated.

Is there a way to help avoiding the use of an external display (I don't have it)?
If yes, tell me.. I will be more than happy to do it!
Thanks!
 
Joined
Mar 26, 2012
Messages
753
Motherboard
Lenovo V330-15IKB
CPU
i5-8250U
Graphics
UHD 620
Mobile Phone
  1. Android
Unfortunately, no. An external display with HDMI (or DVI) input is required for this test.

OK! I wrote a post in the probook installer 6 beta thread asking everybody for help! Hope it can help!
Thanks!
 
Status
Not open for further replies.
Top