Open Titaniumtown opened 4 years ago
Does anyone know what could be causing the issue?
My guess would be that /proc/cpuinfo exists on the system, but the file is empty. Can you show me the results of cat /proc/cpuinfo
and cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
?
cat /proc/cpuinfo: `processor : 0 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 1 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 2 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 3 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
Hardware : BCM2835 Revision : c03111 Serial : 1000000066d1aaf4 Model : Raspberry Pi 4 Model B Rev 1.1`
/sys/devices/system/cpu/cpu0/cpufreq Doesn't exist.
The reason paleofetch isn't detecting your cpu is because your cpuinfo doesn't have a model name
field. Does neofetch accurately display your CPU?
No, it's completely blank
that's a screen shot :)
latest commit should make it behave like neofetch in your situation
Neofetch displays: (btw I installed bedrock linux on it now)
It shows my cpu!
neofetch has several fallback methods to get a name for the CPU:
model name|Hardware|Processor|^cpu model|chip type|^cpu type
I suppose we could just look for the Hardware:
entry in /proc/cpuinfo, if model name:
is not available.
Don't know how to get the frequency of the Raspberry Pi though. Needs further investigation if even neofetch does not give this information.
I'm on arch linux arm w/ a raspberry pi 4. And now when I run paleofetch, the cpu stats are displayed as:
CPU: (0) @ 0MHz