Commit Graph
5291 Commits
Author SHA1 Message Date
Konomi 4e89c0e330 configs: Add DMI information for GA-AB350N-Gaming WIFI (rev. 1.0) 2020-06-26 20:17:10 +10:00
Ondřej Lysoněk 33e666167c Merge pull request #245 from gaul/thinkpad-x1-carbon
Add config for Lenovo ThinkPad X1 Carbon
2020-06-25 15:49:13 +02:00
Andrew Gaul 080b07d4e7 Add config for Lenovo ThinkPad X1 Carbon 2020-06-25 22:37:01 +09:00
Ondřej Lysoněk 3b1cd0c7f8 Merge pull request #237 from konomikitten/master
configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0)
2020-06-25 15:00:18 +02:00
Ondřej Lysoněk af8f4a3850 Merge pull request #235 from dokutan/master
configs: Add Gigabyte GA-H170M-D3H
2020-06-25 13:56:59 +02:00
Ondřej Lysoněk 60d3c6be94 Merge pull request #226 from puneetse/fix-systemd-pidfile-warning
Change PIDFile path from /var/run to /run in systemd service units
2020-06-25 12:49:49 +02:00
Daniel B 637fcf9db6 Add config for ASRock Fatal1ty B450 Gaming-ITX/ac (#213)
Add a config for ASRock Fatal1ty B450 Gaming-ITX/ac.

v2: corrected fan settings

[olysonek] squashed commits, edited description.
2020-06-19 11:58:22 +02:00
Jean Delvare 97b07b2d86 sensors-detect: Move Winbond WPCD377I to the non-hwmon table
Move the detection entry for the Winbond WPCD377I to the
@non_hwmon_chip_ids table, where it belongs. This saves one line, and
more importantly prevents "not-a-sensor" from being accidentally
added to the list of kernel drivers.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
2020-05-13 11:02:42 +02:00
Jean Delvare 23c53b4574 sensors-detect: Fix the driver for Nuvoton W83677HG-I
Originally, support for the Nuvoton W83677HG-I and derivatives was
first added to the w83627ehf driver, so that's the driver recommended
by sensors-detect. Later, support for the same device was added to
the nct6775 driver. In kernel v5.6, support was removed from the
w83627ehf driver to get rid of the duplicate code.

So sensors-detect should now point users of this device to the
nct6775 driver. We can't do that for very old kernels though, as this
driver did not exist back then. I chose v3.10 for the cut-over, as
this is when support for the Nuvoton W83677HG-I was finalized in the
nct6775 driver, at least according to git log.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
2020-05-12 17:19:01 +02:00
KonomiKitten a1d2a35c1a configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0) 2020-04-30 03:35:08 +10:00
dokutan e5c49b39f3 configs: Add Gigabyte GA-H170M-D3H 2020-04-23 16:25:01 +02:00
puneetse 25f4f87937 Change PIDFile path from /var/run to /run
/var/run is considered a legacy directory by systemd 239+ and having it in unit files causes a warning to be emitted to the journal.
2020-03-11 09:36:51 -07: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