sebhildebrandt / systeminformation

System Information Library for Node.JS
MIT License
2.67k stars 304 forks source link

memory manufacturer name #582

Open ijamaatlou opened 2 years ago

ijamaatlou commented 2 years ago

Can we got name of memory manufacturer like Hwinfo Application? In this application show my ram info like 16 GB PC4-25600 DDR4 SDRAM Crucial Technology BL16G32C16S4B.M16FE1 with memLayout action i got manufacturer: "009C0B160000". I want to know that is there any solution to get manufacture name like Crucial Technology ?

sebhildebrandt commented 2 years ago

@ijamaatlou what platform??

ijamaatlou commented 2 years ago

@ijamaatlou what platform?? Sorry that I didn't mention platform on my first comment(I'm new on commenting github!) My platform is WINDOWS 10 Version of code is 5.8.9

sebhildebrandt commented 2 years ago

@ijamaatlou thank you, can you please try to run the following command (command line):

wmic memorychip get /value

and from PowerShell

Get-WmiObject CIM_PHYSICALMEMORY

Then I can see more of the underlying data we get back from windows. Thank you in advance!

sebhildebrandt commented 2 years ago

@ijamaatlou one more thing: I found a mapping to JEDEC IDs but there your ID "009C0B160000" would match with Samsung as a manufacturer ... can check, if the chips are maybe Samsung chips?

ijamaatlou commented 2 years ago

Response for this command wmic memorychip get /value

Attributes=2
BankLabel=BANK 0
Capacity=17179869184
Caption=Physical Memory
ConfiguredClockSpeed=2667
ConfiguredVoltage=1200
CreationClassName=Win32_PhysicalMemory
DataWidth=64
Description=Physical Memory
DeviceLocator=ChannelA-DIMM0
FormFactor=12
HotSwappable=
InstallDate=
InterleaveDataDepth=1
InterleavePosition=1
Manufacturer=009C0B160000
MaxVoltage=1200
MemoryType=0
MinVoltage=1200
Model=
Name=Physical Memory
OtherIdentifyingInfo=
PartNumber=BL16G32C16S4B.M16FE1
PositionInRow=2
PoweredOn=
Removable=
Replaceable=
SerialNumber=E356DC8B
SKU=
SMBIOSMemoryType=26
Speed=2667
Status=
Tag=Physical Memory 0
TotalWidth=64
TypeDetail=128
Version=

and response for this et-WmiObject CIM_PHYSICALMEMORY

__GENUS              : 2
__CLASS              : Win32_PhysicalMemory
__SUPERCLASS         : CIM_PhysicalMemory
__DYNASTY            : CIM_ManagedSystemElement
__RELPATH            : Win32_PhysicalMemory.Tag="Physical Memory 0"
__PROPERTY_COUNT     : 36
__DERIVATION         : {CIM_PhysicalMemory, CIM_Chip, CIM_PhysicalComponent, CIM_PhysicalElement...}
__SERVER             : DESKTOP-XXXX
__NAMESPACE          : root\cimv2
__PATH               : \\DESKTOP-XXXX\root\cimv2:Win32_PhysicalMemory.Tag="Physical Memory 0"
Attributes           : 2
BankLabel            : BANK 0
Capacity             : 17179869184
Caption              : Physical Memory
ConfiguredClockSpeed : 2667
ConfiguredVoltage    : 1200
CreationClassName    : Win32_PhysicalMemory
DataWidth            : 64
Description          : Physical Memory
DeviceLocator        : ChannelA-DIMM0
FormFactor           : 12
HotSwappable         :
InstallDate          :
InterleaveDataDepth  : 1
InterleavePosition   : 1
Manufacturer         : 009C0B160000
MaxVoltage           : 1200
MemoryType           : 0
MinVoltage           : 1200
Model                :
Name                 : Physical Memory
OtherIdentifyingInfo :
PartNumber           : BL16G32C16S4B.M16FE1
PositionInRow        : 2
PoweredOn            :
Removable            :
Replaceable          :
SerialNumber         : E356DC8B
SKU                  :
SMBIOSMemoryType     : 26
Speed                : 2667
Status               :
Tag                  : Physical Memory 0
TotalWidth           : 64
TypeDetail           : 128
Version              :
PSComputerName       : DESKTOP-XXXX
ijamaatlou commented 2 years ago

@ijamaatlou one more thing: I found a mapping to JEDEC IDs but there your ID "009C0B160000" would match with Samsung as a manufacturer ... can check, if the chips are maybe Samsung chips?

@sebhildebrandt the brand is cucial but I didn't see any samsung name in specification or any description

sebhildebrandt commented 2 years ago

@ijamaatlou thank you ... so the underlying data that we get from Windows is not really telling us more. I will think how I can integrate a search table to determine manufacturer if this is in the specific list. Will come back, as soon as I have a solution for this.

ijamaatlou commented 2 years ago

@sebhildebrandt Why didn`t you use function like getManufacturerLinux for Windows to create map for windows ?