Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

SystemInfoProvider CPU temperature should be standard across platforms #356

Closed
jkandasa opened this issue Aug 28, 2017 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@jkandasa
Copy link

on Raspberry PI CPU temperature returns as complete number(ex: 52.5), but in other platforms temperature received with actual temperature/1000.

SystemInfo.getCpuTemperature()

Raspberry PI: 52.5
Orange PI: 0.052

PI4J version: 1.2-SNAPSHOT

Raspberry PI

----------------------------------------------------
PLATFORM INFO
----------------------------------------------------
Platform Name     :  Raspberry Pi
Platform ID       :  raspberrypi
----------------------------------------------------
HARDWARE INFO
----------------------------------------------------
Serial Number     :  00000000385bd87d
CPU Revision      :  5
CPU Architecture  :  7
CPU Part          :  0xc07
CPU Temperature   :  55.1
CPU Core Voltage  :  1.3125
CPU Model Name    :  ARMv7 Processor rev 5 (v7l)
Processor         :  3
Hardware          :  BCM2835
Hardware Revision :  a01041
Is Hard Float ABI :  true
Board Type        :  RaspberryPi_2B
----------------------------------------------------
MEMORY INFO
----------------------------------------------------
Total Memory      :  968216576
Used Memory       :  711680000
Free Memory       :  256528384
Shared Memory     :  59109376
Memory Buffers    :  48562176
Cached Memory     :  288243712
SDRAM_C Voltage   :  1.2
SDRAM_I Voltage   :  1.2
SDRAM_P Voltage   :  1.225
----------------------------------------------------
OPERATING SYSTEM INFO
----------------------------------------------------
OS Name           :  Linux
OS Version        :  4.9.24-v7+
OS Architecture   :  arm
OS Firmware Build :  17af5814bb19dbb7c70ccd2c845b80a160943811 (clean) (release)
OS Firmware Date  :  Apr 27 2017 17:19:34
----------------------------------------------------
JAVA ENVIRONMENT INFO
----------------------------------------------------
Java Vendor       :  Oracle Corporation
Java Vendor URL   :  http://java.oracle.com/
Java Version      :  1.8.0_101
Java VM           :  Java HotSpot(TM) Client VM
Java Runtime      :  Java(TM) SE Runtime Environment
----------------------------------------------------
NETWORK INFO
----------------------------------------------------
Hostname          :  raspberrypi
IP Addresses      :  192.168.1.209
IP Addresses      :  10.8.0.1
Nameserver        :  192.168.15.1
----------------------------------------------------
CODEC INFO
----------------------------------------------------
H264 Codec Enabled:  true
MPG2 Codec Enabled:  false
WVC1 Codec Enabled:  false
----------------------------------------------------
CLOCK INFO
----------------------------------------------------
ARM Frequency     :  900096000
CORE Frequency    :  250000000
H264 Frequency    :  0
ISP Frequency     :  250000000
V3D Frequency     :  250000000
UART Frequency    :  47999000
PWM Frequency     :  38000
EMMC Frequency    :  249999000
Pixel Frequency   :  337000
VEC Frequency     :  108000000
HDMI Frequency    :  0
DPI Frequency     :  0

Orange PI Zero

----------------------------------------------------
PLATFORM INFO
----------------------------------------------------
Platform Name     :  OrangePi
Platform ID       :  orangepi
----------------------------------------------------
HARDWARE INFO
----------------------------------------------------
Serial Number     :  74007867431c2436068e
CPU Revision      :  5
CPU Architecture  :  7
CPU Part          :  0xc07
CPU Temperature   :  0.048
CPU Model Name    :  ARMv7 Processor rev 5 (v7l)
Processor         :  3
Hardware          :  sun8i
Hardware Revision :  0000
Is Hard Float ABI :  true
Board Type        :  OrangePi
----------------------------------------------------
MEMORY INFO
----------------------------------------------------
Total Memory      :  518995968
Used Memory       :  63905792
Free Memory       :  88428544
Shared Memory     :  4993024
Memory Buffers    :  366551040
Cached Memory     :  430447616
----------------------------------------------------
OPERATING SYSTEM INFO
----------------------------------------------------
OS Name           :  Linux
OS Version        :  3.4.113-sun8i
OS Architecture   :  arm
----------------------------------------------------
JAVA ENVIRONMENT INFO
----------------------------------------------------
Java Vendor       :  Oracle Corporation
Java Vendor URL   :  http://java.oracle.com/
Java Version      :  1.8.0_144
Java VM           :  Java HotSpot(TM) Client VM
Java Runtime      :  Java(TM) SE Runtime Environment
----------------------------------------------------
NETWORK INFO
----------------------------------------------------
Hostname          :  orangepizero
IP Addresses      :  192.168.11.103
FQDN              :  orangepizero
Nameserver        :  127.0.1.1
@savageautomate savageautomate self-assigned this Sep 5, 2017
@savageautomate savageautomate added this to the RELEASE 1.2 milestone Sep 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants