vector sigma Posted January 25, 2020 Share Posted January 25, 2020 (edited) 46 minutes ago, Andrey1970 said: But it doesn't work in v2.5.1beta from The value isn't Data type? Ok, let me take a look. Please dump the nvram: nvram -xp > ~/Desktop/nvram.plist remove sensible data and post it please. May be the encoding is not utf8 but else.. Edited January 25, 2020 by vector sigma Link to comment Share on other sites More sharing options...
ctich Posted January 25, 2020 Share Posted January 25, 2020 32 minutes ago, vector sigma said: The value isn't Data type? Ok, let me take a look. Please dump the nvram: nvram -xp > ~/Desktop/nvram.plist remove sensible data and post it please. May be the encoding is not utf8 but else.. ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product System Product Name ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor ASUSTeK COMPUTER INC. ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board PRIME Z270-P ctich@iMac-Sergey ~ % nvram.plist.zip PRIME Z270-P.plist.zip 2 Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 51 minutes ago, vector sigma said: The value isn't Data type? Ok, let me take a look. Please dump the nvram: nvram -xp > ~/Desktop/nvram.plist remove sensible data and post it please. May be the encoding is not utf8 but else.. It not APPLE_BOOT_VARIABLE_GUID It OC_VENDOR_VARIABLE_GUID Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 Just now, Andrey1970 said: It not APPLE_BOOT_VARIABLE_GUID It OC_VENDOR_VARIABLE_GUID I think I found how to show sections . I'm working on it.. 1 Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 @vector sigma SMCSuperIO.kext from master 1 Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 (edited) On 1/25/2020 at 4:44 PM, Andrey1970 said: @vector sigma SMCSuperIO.kext from master Ok, I'll look into it later. Now please test the autodetection from hidden GUIDS: [REMOVED] Edited February 2, 2020 by vector sigma Beta app removed Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 12 minutes ago, vector sigma said: Ok, I'll look into it later. Now please test the autodetection from hidden GUIDS: HWMonitorSMC2.app_v2.5.2_test_OC.zip Doesn't work, but the name of the motherboard is written truly. Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 1 hour ago, ctich said: ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product System Product Name ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor ASUSTeK COMPUTER INC. ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board PRIME Z270-P ctich@iMac-Sergey ~ % nvram.plist.zip PRIME Z270-P.plist.zip Please test this one: PRIME Z270-P.plist.zip multi is 1 as default, so there is no need to set it as 1. name, when is already the same there is no need to be set. Additionally, are you sure you want to live some VINx as is? ... you can hide them using skip=true. Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 1 minute ago, Andrey1970 said: Doesn't work, but the name of the motherboard is written truly. Then it is working, but in the middle of "ASUSTeK COMPUTER INC." there is some special character and for this doesn't match this: func getOEMVendorShort() -> String? { if let vendor = getOEMVendor() { switch vendor { case "ASRock": fallthrough case "Alienware": fallthrough case "ECS": fallthrough case "EVGA": fallthrough case "FUJITSU": fallthrough case "IBM": fallthrough case "Intel": fallthrough case "Shuttle": fallthrough case "TOSHIBA": fallthrough case "XFX": return vendor case "Apple Inc.": return "Apple" case "ASUSTeK Computer INC.": fallthrough case "ASUSTeK COMPUTER INC.": return "ASUS" case "Dell Inc.": return "Dell" case "DFI": fallthrough case "DFI Inc.": return "DFI" case "EPoX COMPUTER CO., LTD": return "EPoX" case "First International Computer, Inc.": return "FIC" case "FUJITSU SIEMENS": return "FUJITSU" case "Gigabyte Technology Co., Ltd.": return "Gigabyte" case "Hewlett-Packard": return "HP" case "Intel Corp.": fallthrough case "Intel Corporation": fallthrough case "INTEL Corporation": return "Intel" case "Lenovo": fallthrough case "LENOVO": return "Lenovo" case "Micro-Star International": fallthrough case "MICRO-STAR INTERNATIONAL CO., LTD": fallthrough case "MICRO-STAR INTERNATIONAL CO.,LTD": fallthrough case "MSI": return "MSI" case "To be filled by O.E.M.": break default: return vendor } } return nil } so "ASUS" is not returned as it should. (So i guess the same will happen for the board). ...I need to think.. 1 Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 2 minutes ago, vector sigma said: Then it is working, but in the middle of "ASUSTeK COMPUTER INC." there is some special character and for this doesn't match this: func getOEMVendorShort() -> String? { if let vendor = getOEMVendor() { switch vendor { case "ASRock": fallthrough case "Alienware": fallthrough case "ECS": fallthrough case "EVGA": fallthrough case "FUJITSU": fallthrough case "IBM": fallthrough case "Intel": fallthrough case "Shuttle": fallthrough case "TOSHIBA": fallthrough case "XFX": return vendor case "Apple Inc.": return "Apple" case "ASUSTeK Computer INC.": fallthrough case "ASUSTeK COMPUTER INC.": return "ASUS" case "Dell Inc.": return "Dell" case "DFI": fallthrough case "DFI Inc.": return "DFI" case "EPoX COMPUTER CO., LTD": return "EPoX" case "First International Computer, Inc.": return "FIC" case "FUJITSU SIEMENS": return "FUJITSU" case "Gigabyte Technology Co., Ltd.": return "Gigabyte" case "Hewlett-Packard": return "HP" case "Intel Corp.": fallthrough case "Intel Corporation": fallthrough case "INTEL Corporation": return "Intel" case "Lenovo": fallthrough case "LENOVO": return "Lenovo" case "Micro-Star International": fallthrough case "MICRO-STAR INTERNATIONAL CO., LTD": fallthrough case "MICRO-STAR INTERNATIONAL CO.,LTD": fallthrough case "MSI": return "MSI" case "To be filled by O.E.M.": break default: return vendor } } return nil } so "ASUS" is not returned as it should. (So i guess the same will happen for the board). ...I need to think.. At me Gigabyte. Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 (edited) On 1/25/2020 at 5:50 PM, Andrey1970 said: At me Gigabyte. Same problem. What's the output of this command line? [REMOVED] EDIT I need to know what characters I need to remove. In Clover I hade to clean all the null char in the middle (\0).... Edited February 2, 2020 by vector sigma [REMOVED] Link to comment Share on other sites More sharing options...
ctich Posted January 25, 2020 Share Posted January 25, 2020 (edited) 16 minutes ago, vector sigma said: Please test this one: PRIME Z270-P.plist.zip Does not work. Later I will hide how everything will work, now it does not matter. update: ctich@iMac-Sergey ~ % /Users/ctich/Downloads/OEMInfoOC ASUSTeK COMPUTER INC. PRIME Z270-P System Product Name ctich@iMac-Sergey ~ % Edited January 25, 2020 by ctich Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 4 minutes ago, vector sigma said: Same problem. What's the output of this command line? OEMInfoOC.zip Last login: Sat Jan 25 19:52:45 on ttys000 andrey@iMac-Andrej ~ % /Users/andrey/Downloads/OEMInfoOC ; exit; Gigabyte Technology Co., Ltd. Z87X-UD4H-CF Z87X-UD4H Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 1 minute ago, Andrey1970 said: Last login: Sat Jan 25 19:52:45 on ttys000 andrey@iMac-Andrej ~ % /Users/andrey/Downloads/OEMInfoOC ; exit; Gigabyte Technology Co., Ltd. Z87X-UD4H-CF Z87X-UD4H in order: print(getNVRAM(variable: "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor") ?? "oem-vendor not found") print(getNVRAM(variable: "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board") ?? "oem-board not found") print(getNVRAM(variable: "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product") ?? "oem-product not found") The strings doesn't match even if looks the same.. Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 9 minutes ago, vector sigma said: in order: print(getNVRAM(variable: "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor") ?? "oem-vendor not found") print(getNVRAM(variable: "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board") ?? "oem-board not found") print(getNVRAM(variable: "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product") ?? "oem-product not found") The strings doesn't match even if looks the same.. Last login: Sat Jan 25 20:10:17 on ttys000 andrey@iMac-Andrej ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-vendor Gigabyte Technology Co., Ltd. andrey@iMac-Andrej ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-board Z87X-UD4H-CF andrey@iMac-Andrej ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product Z87X-UD4H andrey@iMac-Andrej ~ % Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 (edited) @Andrey1970, try this: [REMOVED] Edited February 2, 2020 by vector sigma Beta app removed Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 2 minutes ago, vector sigma said: @Andrey1970, try this: HWMonitorSMC2.app_v2.5.2_test_OC.zip No Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 3 minutes ago, vector sigma said: And this: HWMonitorSMC2.app_ascii.zip? No Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 Manually removed from bytes all the occurences of 0x00, tried ascii, utf8...... there is a trailing or leading space?? OEMInfoOC.zip Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 ascii code Gigabyte Technology Co., Ltd. from copy-paste terminal 09476967616279746520546563686e6f6c6f677920436f2e2c204c74642e 4 minutes ago, vector sigma said: Manually removed from bytes all the occurences of 0x00, tried ascii, utf8...... there is a trailing or leading space?? OEMInfoOC.zip Last login: Sat Jan 25 20:45:02 on ttys001 andrey@iMac-Andrej ~ % /Users/andrey/Downloads/OEMInfoOC ; exit; 'Gigabyte Technology Co., Ltd.' 'Z87X-UD4H-CF' 'Z87X-UD4H' Link to comment Share on other sites More sharing options...
ctich Posted January 25, 2020 Share Posted January 25, 2020 3 minutes ago, vector sigma said: Manually removed from bytes all the occurences of 0x00, tried ascii, utf8...... there is a trailing or leading space?? OEMInfoOC.zip ctich@iMac-Sergey ~ % /Users/ctich/Downloads/OEMInfoOC-2 'ASUSTeK COMPUTER INC.' 'PRIME Z270-P' 'System Product Name' ctich@iMac-Sergey ~ % Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 2 minutes ago, ctich said: ctich@iMac-Sergey ~ % /Users/ctich/Downloads/OEMInfoOC-2 'ASUSTeK COMPUTER INC.' 'PRIME Z270-P' 'System Product Name' ctich@iMac-Sergey ~ % System Product Name??? Link to comment Share on other sites More sharing options...
vector sigma Posted January 25, 2020 Share Posted January 25, 2020 Andrey, can you post a screen shot of the Preferences window? Link to comment Share on other sites More sharing options...
ctich Posted January 25, 2020 Share Posted January 25, 2020 4 minutes ago, vector sigma said: System Product Name??? yes ctich@iMac-Sergey ~ % nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oem-product System Product Name ctich@iMac-Sergey ~ % Link to comment Share on other sites More sharing options...
Andrey1970 Posted January 25, 2020 Share Posted January 25, 2020 2 minutes ago, vector sigma said: Andrey, can you post a screen shot of the Preferences window? Link to comment Share on other sites More sharing options...
Recommended Posts