Commit Graph
5147 Commits
Author SHA1 Message Date
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
Maciej S. Szmigiero dfa4518962 sensors.conf.default: Add hardwired Fintek F71868A inputs
This adds Fintek F71868A inputs that are hardwired inside the chip (in0,
in7, in8, in9) to sensors.conf.default with appropriate scaling values.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-07-21 19:57:58 -07:00
Andrew Lunn 0880db23b9 Add support for MDIO busses
Marvell Ethernet PHYs can contain a temperature sensor, which the kernel
exports as an HWMON device. The PHY is on an MDIO bus. Add support for
this bus types to libsensors. The sensor is then displayed by sensors(1):

socaipsbus02100000ethernet02188000mdioswitch0mdio01-mdio-1
Adapter: MDIO adapter
temp1:        +54.0°C  (crit = +100.0°C)

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
2017-07-08 20:19:13 -07:00
Guenter Roeck 0d5ccf640d Add detection of DDR4 SPD
DDR4 SPD is quite similar to DDR3 SPD. Key difference for detection is
the DDR type, which is 0x0c or 12 for DDR4.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-05-01 20:13:34 -07:00
David Frey 7035d7bec4 Make include guards consistent in libsensors
Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-04-14 08:11:01 -07:00
Guenter Roeck 3954f1035c CHANGES: Document sensors command enhancements
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-04-14 08:05:45 -07:00
Matthew Tiffany 1b36ea4299 Added feature to sensors to allow json output.
* Added -j option to sensors that outputs json.
* -j option overrides raw option

Signed-off-by: Matthew SL Tiffany <shadethedemon@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-04-14 08:03:49 -07:00
Guenter Roeck 90f7e3c069 sensors-detect: Add detection of Nuvoton NCT6795D
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-03-25 18:45:52 -07:00
Guenter Roeck 8aa117ffd7 sensors-detect: Add detection of various ITE Super-IO chips
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-03-25 18:41:53 -07:00
Guenter Roeck 45ffa15cf0 sensors-detect: Fix syntax error
elseif should be elsif

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-25 13:19:00 -07:00
Guenter Roeck 6a368f70ea sensors-detect: Fix detection of NCT6793D
The Chip ID for NCT6793D is 0xD12x, not 0xD11x.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:32:13 -07:00
Guenter Roeck e39dbd3e56 Updated CHANGES file to reflect that MCP9808 is now detected
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:27:12 -07:00
Guenter Roeck ff36ee04b8 sensors-detect: Mark F81866D as supported by the f71882fg driver
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:25:40 -07:00
Guenter Roeck feabab994e sensors-detect: Mark F81768D as supported by the f71882fg driver
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:25:40 -07:00
Guenter Roeck 5a71627a80 sensors-detect: Mark F71868A as supported by the f71882fg driver
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:25:40 -07:00
Guenter Roeck eb3910bdf4 Merge pull request #6 from AlisonSchofield/master
update sensors-detect for Microchip MCP9808
2016-07-16 10:24:27 -07:00
AlisonSchofield 5ea7fefee4 update sensors-detect for Microchip MCP9808 2016-07-15 14:03:49 -07:00
Guenter Roeck 21e256095c Add detection of Nuvoton NCT6793D 2015-08-31 07:47:39 +00:00
Jean Delvare 8fb3922219 isadump: Fix compilation under musl
From Brendan Heading:

You may be aware of the musl C-library implementation, which tries to
be strictly standards compliant, avoids non-standard extensions, etc.
Some distributions have adopted it as their standard C library, in
others (such as buildroot) it is a configuration alternative.

Vanilla lm-sensors does not compile under musl, due to the following
excerpt which appears in four different places. The code is checking
that the glibc version is greater than 2.0.

#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
#include <sys/io.h>
#else
#include <asm/io.h>
#endif

This fails under musl does not define __GLIBC__ (in fact, by design,
it doesn't provide any way to identify itself at all) - which causes
it to try to include <asm/io.h> rather than <sys/io.h>.

It's a long time since glibc 2.0.1 was released - 1997. Accordingly,
it seems to make little sense at this stage to try to retain
compatibility with very old libcs - so maybe it should be removed
entirely.
2015-08-31 07:34:51 +00:00
Jean Delvare 6507372685 sensors-detect: Only probe I/O ports on x86
Contributed by Aurelien Jarno.
2015-08-10 09:04:53 +00:00
Jean Delvare 991c8d5f9a sensors.1: Add reference to sensors-detect
Contributed by Aurelien Jarno.
2015-08-10 08:23:41 +00:00
Jean Delvare 76e050dc2f sensors-detect: Add detection of Fintek F81768 2015-07-06 12:11:15 +00:00
Jean Delvare b26a85f06c sensors-detect: Fix systemd paths 2015-07-06 11:51:24 +00:00
Jean Delvare 75dbc240d9 Fix URL format 2015-07-06 11:50:45 +00:00
Jean Delvare 580149a3ab Post-release version update. 2015-06-25 11:47:43 +00:00