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

Temperature not showing for M2 Air #240

Open
wrinkledeth opened this issue Oct 7, 2022 · 6 comments
Open

Temperature not showing for M2 Air #240

wrinkledeth opened this issue Oct 7, 2022 · 6 comments

Comments

@wrinkledeth
Copy link

Temperatures blank for M2 Air

image

System Info

# gotop version
kitty % gotop -v
gotop 4.2.0 (20220929T181819)

# OS Info 
% sw_vers
ProductName:	macOS
ProductVersion:	12.6
BuildVersion:	21G115

Other Details

Hardware: Mac M2 Air
Terminal: Kitty

No error files found.

@anatol
Copy link

anatol commented Jan 18, 2023

@wrinkledeth does it work now?

@mgasparUNC
Copy link

Not working on my M2 air either, I am running MacOS 14.1 and Iterm2 as my terminal.

@anatol
Copy link

anatol commented Feb 15, 2024

Does your application have access to the disk device? Did you run the application as a regular user or root?

@wrinkledeth
Copy link
Author

Hi @anatol ,

Gotop: 4.2.0
Terminal: Kitty
M2 Air running MacOS: 14.2.1

I just tried running gotop as root and i still cannot see the temps.

@anatol
Copy link

anatol commented Feb 17, 2024

I just checked the sources and see that MacOS and Unix use different codepath to fetch disk temperature. @xxxserxxx what is the reason MacOS does not use smart.go library?

@LordRusk
Copy link

LordRusk commented Sep 21, 2024

Jumping in here, on my nixos install, i moved from 4.2.0 to the latest commit, and i can confirm on my t541, i can no longer see tempuratures, whereas with version 4.2.0, i could see tempuratures. This is all the output i get...

latest commit

[~] $ gotop 
2024/09/21 14:04:28 gopsutil reports Number of warnings: 1 
2024/09/21 14:04:28 gopsutil reports Number of warnings: 1 

image

latest commit as root

[~] $ sudo gotop 
[sudo] password for shiva: 
2024/09/21 14:07:20 gopsutil reports Number of warnings: 1 
2024/09/21 14:07:20 gopsutil reports Number of warnings: 1 

image

4.2.0

2024/09/21 14:11:25 gopsutil reports Number of warnings: 1 
2024/09/21 14:11:25 gopsutil reports Number of warnings: 1 

image


more testing would need to be done, but it for sure worked on the last release without root privilege, and it does not work properly even with root privilege on the latest commit...


EDIT: forgot my specs
image

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

4 participants