Update fancontrol script to save the values of pwmN_enable and pwmN
when it starts and restore the values, when it exits.
Closesgroeck/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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.