This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Add CPU temp file for Raspberry Pi/linux and fix CPU detection for Raspberry Pi devices#1961
Closed
satmandu wants to merge 2 commits intodylanaraps:masterfrom
Closed
Add CPU temp file for Raspberry Pi/linux and fix CPU detection for Raspberry Pi devices#1961satmandu wants to merge 2 commits intodylanaraps:masterfrom
satmandu wants to merge 2 commits intodylanaraps:masterfrom
Conversation
Author
|
The test for a Raspberry Pi is based upon the discussion here: https://forums.raspberrypi.com/viewtopic.php?t=34678 |
|
Hi. I have tested it on an RPI 4B with Raspbian 11. When I use neofetch --cpu_temp C it doesn't show the temp next to the CPU. How can I get this to work. Sorry for asking. |
hykilpikonna
added a commit
to hykilpikonna/hyfetch
that referenced
this pull request
Aug 1, 2022
…aspberry Pi/linux and fix CPU detection for Raspberry Pi devices Upstream PR: dylanaraps/neofetch#1961 Thanks to @satmandu Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1960
Description
Add the location for
/systree CPU temperature file for Raspberry Pi devices.Tested on a Raspberry Pi 4B (works), and also on a x86_64 machine (no errors), with
neofetch --cpu_temp C.Also fixed CPU detection, since
/proc/cpuinforeports BCM2835 for all Raspberry Pi devices when booted into 64-bit mode as per raspberrypi/linux#3022 (comment) and raspberrypi/linux#3022 (comment) .