Merge pull request #105 from CrazyIvan359/fix-amdgeneric
Fix generic amd not returning a chip
This commit is contained in:
commit
82d923e9ac
1 changed files with 3 additions and 0 deletions
|
|
@ -161,6 +161,9 @@ class Chip:
|
||||||
linux_id = chips.RYZEN_V1202B
|
linux_id = chips.RYZEN_V1202B
|
||||||
if "RYZEN EMBEDDED V1605B" in model_name:
|
if "RYZEN EMBEDDED V1605B" in model_name:
|
||||||
linux_id = chips.RYZEN_V1605B
|
linux_id = chips.RYZEN_V1605B
|
||||||
|
else:
|
||||||
|
linux_id = chips.GENERIC_X86
|
||||||
|
## print("linux_id = ", linux_id)
|
||||||
elif vendor_id == "GenuineIntel":
|
elif vendor_id == "GenuineIntel":
|
||||||
model_name = self.detector.get_cpuinfo_field("model name").upper()
|
model_name = self.detector.get_cpuinfo_field("model name").upper()
|
||||||
## print('model_name =', model_name)
|
## print('model_name =', model_name)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue