Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No CPU detection at summary #7

Open
techsolo12 opened this issue Jul 13, 2021 · 2 comments
Open

No CPU detection at summary #7

techsolo12 opened this issue Jul 13, 2021 · 2 comments

Comments

@techsolo12
Copy link

Hello,

in summary of a node where the cpu as 4 x unknown declared.
Is it possible for pimox to detect the BCM2711 from Pi4?

With best regards,
techsolo12

@semool
Copy link

semool commented Jul 18, 2021

You can patch the proxmoxlib.js to dont show unknown

@@ -897,6 +896,9 @@
 
     render_cpu_model: function(cpu) {
 	let socketText = cpu.sockets > 1 ? gettext('Sockets') : gettext('Socket');
+	if (cpu.model === "unknown") {
+	   return `${cpu.cpus} x Cortex-A72 (ARM v8) 64-bit SoC @ 2.00GHz (${cpu.sockets.toString()} ${socketText})`;
+	}
 	return `${cpu.cpus} x ${cpu.model} (${cpu.sockets.toString()} ${socketText})`;
     },

@techsolo12
Copy link
Author

Thank you for your help. Its a workaround till the port detect the cpu from it self.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants