bashtop icon indicating copy to clipboard operation
bashtop copied to clipboard

Raspberry Pi temperature

Open el1-x opened this issue 5 years ago • 10 comments

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

el1-x avatar Jun 13 '20 05:06 el1-x

Make a proper bug report following the template. I have nothing to work with here.

aristocratos avatar Jun 13 '20 08:06 aristocratos

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.

el1-x avatar Jun 13 '20 08:06 el1-x

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.

aristocratos avatar Jun 13 '20 08:06 aristocratos

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.

OsmarSantinato avatar Jun 14 '20 16:06 OsmarSantinato

@aristocratos I have updated my original post with the bug report information.

el1-x avatar Jun 15 '20 13:06 el1-x

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.

aristocratos avatar Jun 15 '20 13:06 aristocratos

Thanks for the effort - much appreciated I will probably move to manual install.

el1-x avatar Jun 15 '20 14:06 el1-x

@el1-x @OsmarSantinato Should be fixed in v0.9.12

aristocratos avatar Jun 17 '20 19:06 aristocratos

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.

MxtressMyxx avatar Jun 20 '20 14:06 MxtressMyxx

@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

aristocratos avatar Jun 20 '20 18:06 aristocratos