Commit Graph
5280 Commits
Author SHA1 Message Date
KonomiKitten a1d2a35c1a configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0) 2020-04-30 03:35:08 +10:00
Artem S. Tashkinov 248d4a17a5 Create TUF-GAMING-X570-PLUS.conf
This is actually a config for TUF GAMING X570-PLUS (Wi-Fi) but I'm
quite sure these two motherboards share sensors configuration.

[olysonek: reformatted description, replaced the config with the
 version from
 https://github.com/lm-sensors/lm-sensors/pull/216#issuecomment-589585372]
2020-02-21 11:42:17 +01:00
Ondřej Lysoněk 5066426c33 Merge pull request #205 from chris-est/master
sensors-detect: add support for FSC Teutates Chip
2019-10-30 09:24:18 +01:00
chris-est d5365edf20 sensors-detect: add support for FTS Teutates Chip
This patch adds support for the FTS Teutates Chip,
used on Fujitsu Mainboards for Intel Skylake and later Chipsets.
It is based on a patch from Fujitsu and was tested on a D-3446-S Mainboard.

The corresponding kernel module can be found here [1].

This is a revised version of an earlier pull request [2].

[1]: https://github.com/torvalds/linux/blob/master/drivers/hwmon/ftsteutates.c#L711
[2]: https://github.com/lm-sensors/lm-sensors/pull/9
2019-10-29 19:32:04 +01:00
Ondřej Lysoněk 6ac7554d69 sensors-detect: Document the --stat option in the man page 2019-10-25 12:16:05 +02:00
Ondřej Lysoněk 207e426d01 Merge pull request #177 from bacher09/p10s
Add configs for ASUS MB P10S-M WS
2019-10-22 09:54:01 +02:00
Slava Bacherikov 3b4e53f177 Add configs for ASUS MB P10S-M WS 2019-10-19 16:27:45 +03:00
Ondřej Lysoněk c31efbbbab Append the "+git" post-release marker to LM_VERSION 2019-10-18 10:14:11 +02:00
Ondřej Lysoněk 1667b850a1 Update LM_VERSION for the 3.6.0 release V3-6-0 2019-10-17 17:43:18 +02:00
Ondřej Lysoněk a96549f03d Update lm_sensors.lsm for the 3.6.0 release 2019-10-17 17:39:46 +02:00
Ondřej Lysoněk 1362af398e Update CHANGES for the 3.6.0 release 2019-10-17 17:08:48 +02:00
Ondřej Lysoněk f1e1a7607c Rename LM_SENSORS_VER to LM_VERSION
Rename LM_SENSORS_VER to LM_VERSION to match the version constant in
version.h. Also, use the "+git" suffix in the version as we are
between releases.
2019-10-17 16:18:23 +02:00
Ondřej Lysoněk 5c900c7e85 Replace svn keywords with LM_SENSORS_VER constant
The keywords Revision, Date and Id were being expanded by Subversion
way back when the project was being maintained in Subversion. Now when
the project is maintained in git, the keywords are no longer expanded
and appear e.g. in the output of sensors-detect literally.

Drop the keywords, or replace them with LM_SENSORS_VER where
applicable.

The value of the constant will have to be updated manually every time
a new release is made.

Inspired by a similar change in i2c-tools (commit daa430031ffd;
thanks, Jean).
2019-10-17 15:29:58 +02:00
Ondřej Lysoněk c28d20d19d sensors-detect: Fix printing CPU info on ppc and arm
The format of /proc/cpuinfo on other arches is different from the
format on x86. Modify the print_cpu_info function to handle arm and
ppc.

This change also eliminates Perl warnings caused by non-existent
elements in the %cpu hash:
Use of uninitialized value in concatenation (.) or string at
./prog/detect/sensors-detect line 3124.

Based on a patch from Changqing Li <changqing.li@windriver.com>,
GitHub PR: https://github.com/lm-sensors/lm-sensors/pull/168
2019-10-17 10:07:21 +02:00
Ondřej Lysoněk 2b5e364e0a Merge branch 'magnuspub-master'
Merge branch with squashed commits based on
https://github.com/magnuspub/lm-sensors/tree/master

GitHub PR:
https://github.com/lm-sensors/lm-sensors/pull/174
2019-10-15 12:56:16 +02:00
Federico Magnani 1178783409 Add MSI X470 GAMING PRO config
[olysonek: squashed commits]
2019-10-15 12:54:47 +02:00
Ondřej Lysoněk 94a04b8829 Merge branch 'clipo1979-master'
Merged a fixed up branch based on
https://github.com/clipo1979/lm-sensors/tree/master

GitHub PR:
https://github.com/lm-sensors/lm-sensors/pull/170
2019-10-15 11:59:54 +02:00
clipo1979 24cfa4d3e2 Create GA-M56S-S3.conf
[olysonek: squashed commits]
2019-10-15 11:56:32 +02:00
Ondřej Lysoněk e78cc7e9c7 Merge branch 'patch-1'
Merged a fixed up branch based on
https://github.com/merlinschumacher/lm-sensors/tree/patch-1

GitHub PR:
https://github.com/lm-sensors/lm-sensors/pull/150
2019-10-15 09:59:28 +02:00
Merlin Schumacher 4d226d76cf Config for MSIs X370 SLI Plus
This adds a config file for the MSI X370 SLI Plus. Similiar models may
work with derived configurations.

[olysonek: fixed up 'compute in3' statement, fixed up whitespace,
           reformatted description]
2019-10-15 09:55:59 +02:00
Ondřej Lysoněk 735f8f9216 Merge pull request #141 from karolgrudzinski/X470-ULTRA-GAMING
configs: add support for X470 ultra gaming (WIP)
2019-10-15 09:32:48 +02:00
Ondřej Lysoněk e4083ae3a5 Merge pull request #184 from bugparty/master
add ASRock X370 Taichi config
2019-10-15 09:07:28 +02:00
Ondřej Lysoněk e9a86d67de Merge branch 'patch-1'
Github PR: https://github.com/lm-sensors/lm-sensors/pull/203
2019-10-11 10:14:25 +02:00
pablow1422 af13af759b Better scaling for +12V reading
Apparently, Gigabyte uses a 8kOhm and a 2.7kOhm resistor for the
voltage divider (both are commercially available SMD resistors). It
matches my BIOS reading.

Applied from PR
https://github.com/lm-sensors/lm-sensors/pull/203

[olysonek: squashed commits, updated description]
2019-10-11 10:09:57 +02:00
Ondřej Lysoněk ec0e30ccc8 Merge pull request #196 from HorlogeSkynet/master
Fixes Fahrenheit missing conversion for JSON and RAW output modes
2019-10-08 09:13:25 +02:00
Samuel FORESTIER ab69812631 Fixes missing Fahrenheit conversion with raw output enabled 2019-10-07 19:30:11 +02:00
Jean Delvare 4ab7331755 libsensors: Prevent warning with glibc >= 2.20
Since glibc 2.20, the usage of _BSD_SOURCE is deprecated. Fix it like
described here:

https://sourceware.org/glibc/wiki/Release/2.20#Deprecation_of__BSD_SOURCE_and__SVID_SOURCE_feature_macros

Inspired from a similar patch by Wolfram Sang for i2c-tools.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
2019-09-02 13:42:00 +02:00
Samuel FORESTIER 10c4f2afdf Fixes Fahrenheit missing conversion when data are JSON-formatted 2019-08-21 19:20:46 +02:00
Ondřej Lysoněk 7478a7da14 Merge pull request #192 from lucasrangit/use-toolchain-target-arch
makefile: use compiler target arch when determining what programs to compile
2019-08-08 16:25:16 +02:00
Lucas Magasweran 0863eff8fa makefile: use target arch when determining what programs to compile
To better support cross-compilation, the Makefile should detect the
compiler's target architecture instead of using `uname -m`, which
returns the host architecture. This approach uses the `gcc`/`clang`
compatible `-dumpmachine` option.

Cross-compilation worked but because of this bug, `isadump` and
`isaset` x86 ISA specific tools were built for PCC and ARM.

This run-time issue became a compile-time issue when `glibc` 2.30
removed the `sys/io.h` I/O port functions on ARM.

Also renamed `MACHINE` to `ARCH` to match cross-compiler conventions
for specifying the target architecture. For example,

`make ARCH=arm CC=arm-linux-gnueabi-gcc AR=arm-linux-gnueabi-ar`

Fixes #190

Signed-off-by: Lucas Magasweran <lucas.magasweran@ieee.org>
Reported-and-tested-by: Millhouse <milhouse@libreelec.tv>
2019-08-08 15:26:30 +02:00
Karol Grudziński d13256e7fe Changed "Temp 2" label to "EC_TEMP"
This motherboard supports one external temperature sensor. When there isn't
anything connected it shows very low values (e.g. -55C in my case).

Signed-off-by: Karol Grudziński <krlgrudzinski@gmail.com>
2019-08-02 15:40:21 +02:00
Karol Grudziński 70f3a0d9ce Added initial config for Gigabyte X470 AORUS ULTRA GAMING
https://www.gigabyte.com/Motherboard/X470-AORUS-ULTRA-GAMING-rev-10

This config is based on:
  - GA-AB350-GAMING3.conf
  - GA-AX370-GAMING5.conf
  - output of HWiNFO64 Sensor Status program on Windows

Signed-off-by: Karol Grudziński <krlgrudzinski@gmail.com>
2019-08-02 15:40:21 +02:00
Ondřej Lysoněk 5573d9d942 Merge pull request #189 from luca020400/master
Add support for Nuvoton NCT6112D/NCT6114D/NCT6116D Super IO Sensors
2019-07-30 11:37:54 +02:00
Luca Stefani 819786cb8d Add support for Nuvoton NCT6112D/NCT6114D/NCT6116D Super IO Sensors
* See https://patchwork.kernel.org/patch/11044521/#22774197 for reference
2019-07-30 11:35:58 +02:00
Ondřej Lysoněk d20ecfd4e8 Fix coding style
Let's use the kernel coding style in lm_sensors.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-29 10:38:22 +02:00
Ondřej Lysoněk 6e1cff65fb Merge pull request #180 from michalsimek/master
sensors: Scale voltage and current values
2019-07-29 10:32:34 +02:00
Ondřej Lysoněk eba5bf0714 sensors-detect: Reorder Nuvoton chips to match the kernel ordering
Reorder Nuvoton chips in the superio_ids_winbond array to match the
order in the kernel to make lookup easier. No functional change.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-29 09:57:28 +02:00
Ondřej Lysoněk 6ead226a2c sensors-detect: Update devid_mask for devices supported by nct6775
Since mainline commit 0599682b826ff7bbf, the nct6775 driver uses a
0xfff8 mask when scanning for devices. Update our detection to match
the kernel.

Fixes #188

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-29 09:42:40 +02:00
Ondřej Lysoněk ef0d2a393d Merge pull request #188 from luca020400/master
Add new Nuvoton Super IO Sensors
2019-07-29 09:33:05 +02:00
Luca Stefani 079064472f Add support for Nuvoton NCT6798D Super IO Sensors 2019-07-26 14:56:12 +02:00
Luca Stefani ed56004740 Add support for Nuvoton NCT6797D Super IO Sensors 2019-07-25 23:52:47 +02:00
Ondřej Lysoněk 00e7d37b35 sensors-detect: Add detection of AMD family 17h, model 70h
k10temp support was added in groeck/hwmon-next commit
22cac1016a4831922d2.

Fixes #187

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-23 11:54:22 +02:00
Ondřej Lysoněk 7daa6c5ed5 Merge pull request #181 from Leo-PL/X7DCL_fix_VTT
configs: fix Supermicro X7DCL VTT limits
2019-07-05 12:29:31 +02:00
Ondřej Lysoněk 77a75f1e02 Merge pull request #182 from Prism019/patch-1
Add driver for Fintek F75387SG/RG to sensors-detect
2019-07-05 12:15:21 +02:00
bowman 5056b5bd0a add ASRock X370 Taichi config 2019-06-24 22:30:52 +08:00
Prism Tutaj d03b3e3156 Add driver for Fintek F75387SG/RG to sensors-detect
Support for the Fintek F75387SG/RG was added to driver f75375s back in 2013.
2019-06-24 01:19:25 -05:00
Lech Perczak f371624531 configs: fix Supermicro X7DCL VTT limits
According to:
"Quad-Core Intel® Xeon(R) Processor 5400 Series Electrical Specifications"
(table 2-12), FSB termination voltage of the CPUs (VTT) is 1.1V +/-5%.
Initial configuration set it to 1.2V - fix that.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2019-06-23 23:57:23 +02:00
Michal Simek 1b8b1bce9e sensors: Scale voltage and current values
scale_value is generic function for scaling values. There is a lower
resolution then json format provides for voltage and current.
The patch is calling scale_value() and showing values with higher
resolution.
For example on Xilinx ZynqMP platform:
ina226-i2c-3-41
Adapter: i2c-0-mux (chan_id 0)
in0:           2.00 mV
in1:         848.00 mV
power1:      287.50 mW
curr1:       330.00 mA

Signed-off-by: Michal Simek <monstr@monstr.eu>
2019-06-20 13:31:52 +02:00
Ondřej Lysoněk 2c8cca3d6c sensors: json: Do not print a stray comma
Previously, if an error happened when reading the value of a subfeature,
subCnt would get incremented and a stray comma would get printed in the
following iteration, even though nothing was printed in the previous
iteration. This would produce a syntactically incorrect JSON.

This is based on a patch from the su8 user on GitHub.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-05-05 11:43:44 +02:00
Ondřej Lysoněk 50f227dafe sensors: json: Skip printing an unnecessary newline
Don't print a newline if no features were printed.

This is based on a patch from the su8 user on GitHub.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-05-05 11:43:44 +02:00