gadreel Posted September 8, 2019 Share #151 Posted September 8, 2019 On 9/8/2019 at 7:10 PM, FOXBI said: Can you show me command result “dmidecode -t process”. I think... may be script running first “dmidecode” after refer “/proc/cpuinfo”. Here it is: root@DS3615xs:~# dmidecode -t processor # dmidecode 3.2 Scanning /dev/mem for entry point. SMBIOS 2.8 present. Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: CPU 0 Type: Central Processor Family: Other Manufacturer: QEMU ID: EA 06 09 00 FF FB 8B 0F Version: pc-q35-3.1 Voltage: Unknown External Clock: Unknown Max Speed: 2000 MHz Current Speed: 2000 MHz Status: Populated, Enabled Upgrade: Other L1 Cache Handle: Not Provided L2 Cache Handle: Not Provided L3 Cache Handle: Not Provided Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 2 Core Enabled: 2 Thread Count: 1 Characteristics: None 1 Quote Link to comment Share on other sites More sharing options...
NooL Posted September 12, 2019 Share #152 Posted September 12, 2019 (edited) What am I doing wrong? I keep getting: Invalid entry length (3). DMI table is broken! Stop. Invalid entry length (3). DMI table is broken! Stop. Invalid entry length (3). DMI table is broken! Stop. Invalid entry length (3). DMI table is broken! Stop. Also it seems broken in control panel now. Edited September 13, 2019 by NooL addition 1 Quote Link to comment Share on other sites More sharing options...
FOXBI Posted September 14, 2019 Author Share #153 Posted September 14, 2019 On 9/8/2019 at 9:40 PM, gadreel said: Version: pc-q35-3.1 On 9/13/2019 at 8:35 AM, NooL said: Invalid entry length (3). DMI table is broken! Stop. two case is dmidecode is wrong. i make ch_cpuinfo refer to 1st dmidecode after 2nd /proc/cpuinfo. i'll modify source change to procedure ch_cpuinfo next version. Thank you!! Quote Link to comment Share on other sites More sharing options...
Whatsinaname Posted September 14, 2019 Share #154 Posted September 14, 2019 Nice!! Thank you Foxbi for your efforts. 1 Quote Link to comment Share on other sites More sharing options...
NooL Posted September 16, 2019 Share #155 Posted September 16, 2019 On 9/14/2019 at 5:51 AM, FOXBI said: two case is dmidecode is wrong. i make ch_cpuinfo refer to 1st dmidecode after 2nd /proc/cpuinfo. i'll modify source change to procedure ch_cpuinfo next version. Thank you!! Sounds good, in my case i think i accidently overwrite the backup file too, so cant restore or anything When do you expect the new version to be ready? Awesome work! 1 Quote Link to comment Share on other sites More sharing options...
mervincm Posted September 30, 2019 Share #156 Posted September 30, 2019 Works fine for me on i3-8350K, 6.2.2U3 1 Quote Link to comment Share on other sites More sharing options...
Xeno Posted October 28, 2019 Share #157 Posted October 28, 2019 FOXBI thank so much for all you hard work. This is one the coolest mod ever. THANK YOU VERY MUCH! 1 Quote Link to comment Share on other sites More sharing options...
viktortrass Posted October 28, 2019 Share #158 Posted October 28, 2019 (edited) hello, first of all thanks for the great effort. I have a problem, I executed the script on my previous cpu and worked well but now I have changed it to Intel Xeon E3-1265LV2, I choose the redo option but nothing happens, tried to delete \root\xpenology and do first run but still nothing, it shows the same as before. what can I do friend? Edited October 28, 2019 by viktortrass Quote Link to comment Share on other sites More sharing options...
FOXBI Posted October 29, 2019 Author Share #159 Posted October 29, 2019 8 hours ago, viktortrass said: hello, first of all thanks for the great effort. I have a problem, I executed the script on my previous cpu and worked well but now I have changed it to Intel Xeon E3-1265LV2, I choose the redo option but nothing happens, tried to delete \root\xpenology and do first run but still nothing, it shows the same as before. what can I do friend? when i made ch_cpuinfo, i think ed about only DSM version upgrade. but, may be don't thinked about hardware change. if you can find path file location "/usr/syno/synoman/webman/modules/AdminCenter/admin_center.js" ""/usr/syno/synoman/webman/modules/AdminCenter/admin_center.js.gz" after extract original file in DSMxxx.pat, copy to overwrite location. or edit by vi tool source. and then you do run again. Quote Link to comment Share on other sites More sharing options...
viktortrass Posted October 31, 2019 Share #160 Posted October 31, 2019 sorry but I don't understand what I have to do exactly, I have the original DSM pat of my actual installed version but I don't find anything about this two files Quote Link to comment Share on other sites More sharing options...
FOXBI Posted November 5, 2019 Author Share #161 Posted November 5, 2019 On 11/1/2019 at 8:19 AM, viktortrass said: sorry but I don't understand what I have to do exactly, I have the original DSM pat of my actual installed version but I don't find anything about this two files do use 7zip 1. extract DSMxxx.pat check of hda1.tgz file 2. extract hda1.tgz check of hda1 follder 3. extract hda1 check of hda1~ folder eg.) c:\DSM_DS3615xs_24922\hda1\hda1~\usr\syno\synoman\webman\modules\AdminCenter 4. you can find original admin_center.js & admin_center.hs.gz 5 do use sftp, upload and overwite two files. After checking back your DSM information and then you do run again. Quote Link to comment Share on other sites More sharing options...
viktortrass Posted November 20, 2019 Share #162 Posted November 20, 2019 On 11/5/2019 at 6:02 AM, FOXBI said: do use 7zip 1. extract DSMxxx.pat check of hda1.tgz file 2. extract hda1.tgz check of hda1 follder 3. extract hda1 check of hda1~ folder eg.) c:\DSM_DS3615xs_24922\hda1\hda1~\usr\syno\synoman\webman\modules\AdminCenter 4. you can find original admin_center.js & admin_center.hs.gz 5 do use sftp, upload and overwite two files. After checking back your DSM information and then you do run again. thank you very much I will do that tomorrow! Quote Link to comment Share on other sites More sharing options...
S__M Posted November 30, 2019 Share #163 Posted November 30, 2019 (edited) Hi all. I have this ...😫 not work. some errors Edited November 30, 2019 by S__M Quote Link to comment Share on other sites More sharing options...
ssuper2k Posted December 25, 2019 Share #164 Posted December 25, 2019 Works like a charm!! Thanks! Quote Link to comment Share on other sites More sharing options...
Pavlodar Posted December 30, 2019 Share #165 Posted December 30, 2019 Thank you very much, everything shows perfectly!!! Quote Link to comment Share on other sites More sharing options...
ooooooh Posted January 3, 2020 Share #166 Posted January 3, 2020 works perfect. Quote Link to comment Share on other sites More sharing options...
htanh034 Posted January 9, 2020 Share #167 Posted January 9, 2020 Works perfect 😀 Quote Link to comment Share on other sites More sharing options...
ooooooh Posted January 12, 2020 Share #168 Posted January 12, 2020 Question: Will this work with AMD Ryzen CPU's aswell ? Quote Link to comment Share on other sites More sharing options...
binders Posted February 4, 2020 Share #169 Posted February 4, 2020 I have two E5-2696 v4 after the patch appeared 8 Cores (1 CPU / 8 Cores | 8 Threads) Then I went to edit manually. Here is a piece of code Цитата ("support_mtd_serial")=="yes"){q.push([_T("common","ds_serial"),h.serial])}q.push([_T("common","ds_model"),h.model]);h.cpu_vendor="Intel";h.cpu_family="Xeon";h.cpu_series="E5-2696 v4";h.cpu_cores="22 Cores (2 CPU/44 Cores | 44s Threads)";h.cpu_detail="<a href='https://ark.intel.com/content/www/us/en/ark/search.html?_charset_=UTF-8&q=E5-2696 v4' target=_blank>detail</a>";if(Ext.isDefined(h.cpu_vendor)&&Ext.isDefined(h.cpu_family)&&Ext.isDefined(h.cpu_series)){q.push([_T("status","cpu_model_name"),String.format("{0} {1} {2} {3} {4} {5} {6} {7} {8} {9} {10} {11} {12} {13} {14} {15} {16} {17} {18} {19} {20} {21}",h.cpu_vendor,h.cpu_family,h.cpu_series,h.cpu_detail)])}if(Ext.isDefined(h.cpu_clock_speed)){if(h.cpu_clock_speed<1000){k=Math.round(h.cpu_clock_speed);q.push([_T("status","cpu_clock_speed"),k+" MHz"])}else{k=Math.round(h.cpu_clock_speed/10)/100;q.push([_T("status","cpu_clock_speed"),k+" GHz"])}}if(Ext.isDefined(h.cpu_num)){q.push([_T("status","cpu_num"),h.cpu_num])}if(Ext.isDefined(h.cpu_cores)){q.push([_T("status","cpu_cores"),h. And in the application the whole admin_center (1).js Quote Link to comment Share on other sites More sharing options...
vrm42 Posted February 14, 2020 Share #170 Posted February 14, 2020 Hi, I got sed: unmatched '/' and CPU info remains old. I'm on DSM 5.2 with Ryzen. Is it an unsupported configuration? Thanks, vrm Quote Link to comment Share on other sites More sharing options...
nemesis122 Posted April 19, 2020 Share #171 Posted April 19, 2020 (edited) CPU Info is not working anymore since DSM Version: 6.2.3-25423 https://www.synology.com/de-de/releaseNote/DS3615xs#ver_25423 Could you help me in this case? thanks Edited April 19, 2020 by nemesis122 Quote Link to comment Share on other sites More sharing options...
ramzes508 Posted April 19, 2020 Share #172 Posted April 19, 2020 2 часа назад, nemesis122 сказал: CPU Info is not working anymore since DSM Version: 6.2.3-25423 https://www.synology.com/de-de/releaseNote/DS3615xs#ver_25423 Could you help me in this case? thanks Hello! I also have problems with version DSM 6.2.3-25423. Quote Link to comment Share on other sites More sharing options...
yuyuko Posted April 20, 2020 Share #173 Posted April 20, 2020 hello ,I have problem with DSM 6.2.3-25423. It can't work with DSM 6.2.3,i checked fiels and found DSM6.2.3 changed format from h.cpu to g.cpu in web style. hope dev can slove this QAQ. Quote Link to comment Share on other sites More sharing options...
Flint Posted April 26, 2020 Share #174 Posted April 26, 2020 For 6.2.3 in ch_cpuinfo.sh replace: string 178: form sed -i "s/${dt}.model]);/${dt}.model]);${cpu_info}/g" $BKUP_DIR/admin_center.js to sed -i "s/${dt}.model])\}/${dt}.model])\}${cpu_info}/g" $BKUP_DIR/admin_center.js string 659: from dt=h to dt=g This workaroung will fix web view but break backward compatibility of script. Use it only with 6.2.3. How to fix mobile view idk yet... 3 1 Quote Link to comment Share on other sites More sharing options...
yuyuko Posted April 26, 2020 Share #175 Posted April 26, 2020 47 minutes ago, Flint said: For 6.2.3 in ch_cpuinfo.sh replace: string 178: form sed -i "s/${dt}.model]);/${dt}.model]);${cpu_info}/g" $BKUP_DIR/admin_center.js to sed -i "s/${dt}.model])\}/${dt}.model])\}${cpu_info}/g" $BKUP_DIR/admin_center.js string 659: from dt=h to dt=g This workaroung will fix web view but break backward compatibility of script. Use it only with 6.2.3. How to fix mobile view idk yet... thx,that works OWO hope ppl there can fix mobile view ~ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.