SFP modules measure the transmit power of the lazer. The sensor has
expected minimum values, and alarms when these minimams are reached.
Add support to sensors to print these.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Do command substitution in double quotes to prevent word splitting.
The issue was reported by Coverity Scan.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
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.
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>
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>