2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00
Commit Graph

5221 Commits

Author SHA1 Message Date
Ondřej Lysoněk
3b548b74ae Fix a use after free()
The issue was reported by Coverity Scan.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-05-14 08:49:01 -07:00
Guenter Roeck
1c48b191c8 Update CHANGES to reflect support for Fam 15h model 70+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-10 07:58:54 -07:00
Guenter Roeck
b4923f19eb sensors-detect: 0x15b3 is a Family 15h chip, not 17h
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-10 07:52:25 -07:00
Guenter Roeck
e0a0238d90 sensors-detect: Add detection of AMD Ryzen Zen+ series chips
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-08 06:40:55 -07:00
Ondřej Lysoněk
c874e11639 Add detection of AMD Ryzen w/ Vega graphics
Kernel support was added in commit
https://github.com/torvalds/linux/commit/877d8948d0aa402fb
2018-05-03 06:15:09 -07:00
Leigh Brown
6d970e5eb1 Add .gitignore file
Add .gitignore file appropriate to the lm-sensors generated files.

gitignore: consolidate into a single .gitignore file
2018-03-18 15:37:58 -07:00
Leigh Brown
093f0c4663 configs: Add Z85-G45 Gaming Motherboard
Tested with Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz CPU
2018-03-18 15:35:32 -07:00
Leigh Brown
dc4973c09f configs: Add Asus P8B75-V Motherboard
Tested with Intel i3 3220 CPU.
2018-03-17 18:24:21 -07:00
Leigh Brown
ca9ffac45f configs: Add HP MicroServer N40L
This configuration should also work with the HP MicroServer N54L (untested).
2018-03-17 18:24:21 -07:00
Leigh Brown
90cf5c0a3b configs: Add ASRock AB350 Pro4 Motherboard
Tested with Ryzen 1600 CPU.
2018-03-17 18:24:21 -07:00
jschwender
219008be26 Update H170+D3.conf
Changes refer to issue #88. This change is backward compatible and is only a suggestion, a reference how the dmi and other information could be simply added into the config file for a board.
2018-03-16 06:15:11 -07:00
jschwender
3b72098e87 Delete H55M-D2H
this is a duplicate. file still exists renamed to *.conf
2018-03-16 06:14:17 -07:00
jschwender
c36a777129 Delete H170+D3
this is a duplicte, same config renamed to *.config still exists
2018-03-16 06:14:01 -07:00
jschwender
06a57f6d54 Update vt1211_pwm
the script uses bashisms that work only if sh is bash. if not this will fail. Consequently shebang should be bash, not sh.
2018-03-14 21:08:37 -07:00
Guenter Roeck
e7e3172f26 Update CHANGES
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-13 11:06:47 -07:00
Maciej S. Szmigiero
8241e47dae sensors.conf.default: Add hardwired Nuvoton NCT6795D inputs
It looks like Nuvoton NCT6795D has the same hardwired inputs as other
members of its family, so let's add it to the appropriate section of
sensors.conf.default.

This was determined experimentally on a MSI MS-7A34 (B350 TOMAHAWK) board.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2018-03-13 11:05:21 -07:00
jschwender
5c01279416 Create H55M-D2H
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-13 09:28:05 -07:00
jschwender
e4697d8a53 Create H170+D3
should be pretty accurate. Beware that Vcore varies with different processor.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-13 09:25:05 -07:00
jschwender
bfe926add9 Create ZBOX-ID18
not easy to figure out these values, voltages are more or less guessed

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-13 09:25:02 -07:00
Guenter Roeck
25e13cc3fd Update CHANGES
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-13 09:24:30 -07:00
jschwender
0e255d895f pwmconfig: fix missing "
introduced in #3daae37

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-13 09:18:55 -07:00
Guenter Roeck
db16ade1e9 Add configuration file for GA-AB350-GAMING.conf
Provided by jranke.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-11 09:49:09 -07:00
Guenter Roeck
d40897f4e9 GA-AB350-GAMING3.conf: Updates from jranke
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-11 09:48:30 -07:00
jschwender
2d236fbb96 Update vt1211_pwm
replaced deprecated sub shell syntax

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-11 09:45:03 -07:00
jschwender
3daae37d58 Update pwmconfig
replaced deprecated sub shell syntax

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-11 09:45:03 -07:00
jschwender
33463a1c77 Update fancontrol
replaced deprecated sub shell syntax and replaced deprecated egrep by grep -E

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-11 09:45:03 -07:00
jschwender
6842a129c8 Update fancontrol.8
fix incorrect alg description

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-11 09:45:03 -07:00
Jakub Wilk
8c2a6ebc22 Fix typos in documentation
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-03-02 11:07:26 -08:00
Guenter Roeck
df96b0bb4d sensors-detect: Support detection of NCT6796D
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-02-21 13:04:55 -08:00
Roland Ramthun
34627e4666 Update fancontrol to save original pwm values
Update fancontrol script to save the values of pwmN_enable and pwmN
when it starts and restore the values, when it exits.
Closes groeck/lm-sensors#47.

Signed-off-by: Roland Ramthun <bts@roland-ramthun.de>
[groeck: Split description into multiple lines]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-02-04 08:56:58 -08:00
Tele42
7547870646 configs: Bulk config recovery from archive.org (Part 2)
This is a bulk recovery of the sensor configs found at
https://web.archive.org/web/20150901092438/http://www.lm-sensors.org:80/wiki/Configurations

The config sections themselves are unaltered, but I've selectively added
some, but not all of the extra info around them. Anywhere there's been
extra info added, it should be in comments at the top of the config,
followed by a double newline to indicate the separation. Attribution has
been retained where possible, but links to the mailing list are hosed,
so goto the above archive.org link to check if a config has extra origin
notes.

[groeck: reformatted description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-21 07:36:09 -08:00
Tele42
1398ef0201 configs: Bulk config recovery from archive.org (Part 1)
This is a bulk recovery of the sensor configs found at
https://web.archive.org/web/20150901092438/http://www.lm-sensors.org:80/wiki/Configurations

The config sections themselves are unaltered, but I've selectively added
some, but not all of the extra info around them. Anywhere there's been
extra info added, it should be in comments at the top of the config,
followed by a double newline to indicate the separation. Attribution has
been retained where possible, but links to the mailing list are hosed,
so goto the above archive.org link to check if a config has extra origin
notes.

[groeck: reformatted description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-21 07:34:59 -08:00
jschwender
24dab30d23 README: fix outdated information
Although this may not be perfect or comprehensive, it is to my best
knowledge. Hope it is correct.

[groeck: Some minor corrections}
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-19 14:14:07 -08:00
Guenter Roeck
e0e2d2d787 Replace svn documentation with git
The package is no longer maintained in svn.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-19 14:13:55 -08:00
jschwender
4bc6ae4b8f Documentation: fix reference to deprecated url
http://www.lm-sensors.org/wiki/UsefulLinks no longer exists.
Replace the link with working references.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-19 14:13:42 -08:00
jschwender
a4c0ba9986 configs: Create entry for Gigabyte H55M-D2H
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 17:14:55 -08:00
Guenter Roeck
916a1872cf configs: Add entry for GA-AB350-GAMING3
1st Super-IO chip only.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:38:30 -08:00
Guenter Roeck
77c1cfa959 configs: Add entry for Gigabyte GA-AX370-GAMING5
Information provided by chinf@.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:27:12 -08:00
Guenter Roeck
d8707037ef configs: Rename new configuration files
Configuration file names should end with ".conf".

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:22:53 -08:00
jschwender
c4fcf45157 configs: Add entry for Gigabyte C1037UN-EU
Compared with values in EFI/BIOS factors should be pretty precise.
A Vcore in not specified in the CPU data sheet, therefore
these alarm values are pure guess.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:14:18 -08:00
jschwender
7342edf5dc configs: Add entry for ASUS Q1900-ITX
Best effort values.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:12:40 -08:00
jschwender
ff6da04058 configs: Add entry for Gigabyte H170+D3
should be pretty accurate. Beware that Vcore varies with different processor.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:11:28 -08:00
jschwender
0b68506770 configs: Create entry for Zotac ZBOX-ID18
not easy to figure out these values, voltages are more or less guessed

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-01-14 10:10:47 -08:00
Guenter Roeck
df12836f48 Add detection of AMD Family 15h Model 60+ temperature sensors
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-27 09:52:14 -08:00
Maciej S. Szmigiero
3b4a15d898 configs: Add Axiomtek CAPA800 config file
This commit adds board configuration file for Axiomtek CAPA800 Intel Atom
single board computer, which uses Winbond W83627UHG as its Super I/O.

Input routing and scaling on this board is mostly based on SIO datasheet
recommended setup, small differences were determined experimentally by
comparing sensors output with a BIOS screen.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-12-15 11:44:23 -08:00
Guenter Roeck
3613422167 Add detection of various JC42.4 chips
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-12 00:31:44 -08:00
Guenter Roeck
915fc2fb78 sensors-detect: Detect various Intel SMBus controllers
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-12 00:10:38 -08:00
Guenter Roeck
9d155f3bd9 sensors-detect: Detect AMD Family 17h temperature sensor and other changes
Detect AMD Family 17h temperature sensor
Detect AMD KERNCZ SMBus controller
Fix NCT6795D detection

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-11 23:54:10 -08:00
Maciej S. Szmigiero
83cafd29f2 Add 'configs' directory where sample configurations can be stored
Most mainboards need a config file which describe which input of a
monitoring chip is connected to which voltage rail, what are scaling
factors of voltages that can't be measured directly by the chip, which
part of the board has each temperature sensor, which fan is connected to
which tachometer input of the chip, etc.

All these data need to be determined either from a board schematic (if
available) or by a trial-and-error method.

This can be a time consuming and error-prone work, fortunately, it needs to
be done just once per mainboard.
Currently, however, there is no standard mechanism to share such
configurations so multiple users of the same board don't basically waste
their time reinventing the wheel (or recreating the same configuration
again and again).

Previously, a wiki on an old lm-sensors site had a 'Configurations' page
where contributors could submit their configurations.

Since this site is down for two years now and it does not look like it is
coming back we need to find an another solution.

Let's use a 'configs' directory in project repository for these files, so
we can benefit from SCM infrastructure for managing them.
Also, add a reminder in documentation asking people to contribute these
files for benefit of the whole community and configurations for 3
mainboards for a starter.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-09-02 16:46:55 -07:00
Guenter Roeck
8d510a7d75 sensors-detect: Support detection of IT8987D
IT8987D is an embedded controller from ITE, used on some Intel NUC boards.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-08-29 06:27:51 -07:00