bashtop
bashtop copied to clipboard
Raspberry Pi temperature
Describe the bug
I am unable to display temperature on my RPi 4B.
i have vcgencmd installed and i can check the temp manually using vcgencmd measure_temp
When attempting to enable the feature via the menu it returns back to false.
To Reproduce
Install Manjaro ARM Install bashtop from repository Install raspberrypi-userland-aarch64-git (provides vcgencmd)
Expected behavior
The ability to monitor RPi4 CPU temperature using bashtop.
Screenshots
Can update if they help.
Info (please complete the following information):
- Bashtop version: 0.9.1
- (Linux) Manjaro ARM 20.04
- (Linux) psutil -true
- Terminal used: bash
- Font used: Monospace Regular
- Bash version, "bash --version" (version 4.4 or above is required): 5.0.17(1)
- Locales: en_AU.UTF-8
Additional context
New instance of bashtop version: 0.9.1 Pid: 801 stty: 'standard input': Inappropriate ioctl for device 13:25:48 ERROR: On line 291 13:25:48 ERROR: On line 291 stty: 'standard input': Inappropriate ioctl for device 13:25:48 ERROR: On line 296 /usr/bin/bashtop: line 343: ((: <80 | <24: syntax error: operand expected (error token is "<80 | <24") /usr/bin/bashtop: line 2894: ((: ==0: syntax error: operand expected (error token is "==0") /usr/bin/bashtop: line 2895: ((: <50: syntax error: operand expected (error token is "<50") /usr/bin/bashtop: line 2898: -2: substring expression < 0 stty: 'standard input': Inappropriate ioctl for device stty: 'standard input': Inappropriate ioctl for device 13:25:48 ERROR: On line 598 13:25:48 ERROR: On line 598 /usr/bin/bashtop: line 599: ((: <80 | <24: syntax error: operand expected (error token is "<80 | <24") stty: 'standard input': Inappropriate ioctl for device stty: 'standard input': Inappropriate ioctl for device 13:25:48 ERROR: On line 598 (MUTED!) 13:25:48 ERROR: On line 598 (MUTED!) /usr/bin/bashtop: line 599: ((: <80 | <24: syntax error: operand expected (error token is "<80 | <24") stty: 'standard input': Inappropriate ioctl for device
Make a proper bug report following the template. I have nothing to work with here.
Apologies, i didn't see it as a 'bug' per se, more that i may be doing something or have something configured incorrectly. It was more for advice than anything.
Since I have no information it's impossible to say if it's a bug. Follow the template: Bug Report And maybe we can get it working for you.
Olá, em meu Raspberry Pi4 também não aparece a temperatura, ao selecionar "true" retorna para "false", não retorna nenhum erro. Sistema operacional que uso é o Raspbian (Buster), não criou arquivo de erro.
Hello, on my Raspberry Pi4 the temperature does not appear, when selecting "true" it returns to "false", it does not return any error. The operating system I use is Raspbian (Buster), it did not create an error file.
@aristocratos I have updated my original post with the bug report information.
I think the bug is a result of having both vcgencmd and sensors available, bashtop then defaults to sensors instead.
I've changed so vcgencmd take precedence if available since it should only be present on arm systems.
Will be in next update, will update this issue when released.
It looks however like the build from the arch repository is a bit outdated. Latest version is 0.9.11, I would suggest you either change to the bashtop-git package from the AUR or install manually from git if you want the latest updates.
Thanks for the effort - much appreciated I will probably move to manual install.
@el1-x @OsmarSantinato Should be fixed in v0.9.12
Jumping on this issue as I too am missing temps on a Raspberry Pi 4
vcgencmd is installed and working. I do not have seonsors installed. bashtop version is 0.9.13.
I can provide a full bug report if you would like.
@mxkris
I can provide a full bug report if you would like.
That would be great.
Could you also post the output you get from running vcgencmd measure_temp and LANG=C vcgencmd measure_temp