Commit Graph
5206 Commits
Author SHA1 Message Date
Ondřej Lysoněk 0cb449735f libsensors: Refactor device classification into a separate function
Refactor device classification into a separate function in order to
make the code more readable and easier to maintain.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-11-23 11:33:05 +01:00
Ondřej Lysoněk 874ab9548d Merge pull request #143 from doctor64/asus_p8z68-v_lx
configs: Add ASUS P8Z68-V LX board
2018-11-19 18:03:23 +01:00
Alex Cherkayev e9e108316a configs: Add ASUS P8Z68-V LX board 2018-11-18 22:21:40 +02:00
Ondřej Lysoněk e4ff9c375e Update CHANGES
Add missing entries to the CHANGES file. Here's the list of relevant
commits:
* musl C library support: 8fb3922219
* F71868A hardwired inputs: dfa4518962
* fancontrol: save original pwm values: 34627e4666
* vt1211_pwm: use bash instead of sh: 06a57f6d54
* coverity scan fixes: 3b548b74ae, 40aa494c02, fb595f55d1,
  e0c146763b
* support for power min, lcrit, min_alarm, lcrit_alarm: dcf23676cc
* NCT6796D hardwired inputs: 64e13d5998
* Add the find-driver script: c755805cef

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-11-07 18:51:23 +01:00
Ondřej Lysoněk 012d76b978 README: Link to the lm_sensors website on hwmon wiki
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-11-07 18:03:23 +01:00
Ondřej Lysoněk 1f1f8c8a81 Merge pull request #140 from Camille019/patch-1
sensors: Fix power_common_sensors[] list
2018-11-05 10:31:48 +01:00
Camille019 c3dc727f5f sensors: Fix power_common_sensors[] list 2018-11-04 01:24:24 +01:00
Ondřej Lysoněk c755805cef Add the find-driver script
The script is meant to identify the driver and kernel module responsible
for exporting a given hardware monitoring chip.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-10-05 17:59:30 +02:00
Ondřej Lysoněk 35d2443488 Merge pull request #131 from maciejsszmigiero/two-new-mbs
add Gigabyte GA-F2A88XM-HD3 and MSI MS-7A34 (B350 TOMAHAWK) config
2018-10-02 09:16:01 +02:00
Maciej S. Szmigiero f35936bf94 configs: Add MSI MS-7A34 (B350 TOMAHAWK)
Input routing and scaling for this board was read from schematic of a
similar MSI MS-7B00 (B350 Gaming Pro Carbon) board.

temp5 on the MS-7B00 schematic is a thermistor under the B350 chip itself.
However, on my MS-7A34 board the reading is stuck at 23°C.
Judging from MS-7A34 board sensor readings that other people had posted
online the sensor seems to work properly for them, so I have left it
enabled.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2018-10-02 01:09:20 +02:00
Maciej S. Szmigiero 520e467b67 configs: Add Gigabyte GA-F2A88XM-HD3
Input routing and scaling for this board was read from its schematic,
verified on a real specimen.

This config is likely also valid for other members of GA-F2A88XM-x family,
as differences between them seem pretty minor.
It might also be valid for GA-F2A85XM-HD3 board considering that
GA-F2A88XM-HD3 schematic has the former board name as title in many places.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2018-10-02 01:08:41 +02:00
Ondřej Lysoněk 255804953e Update links to the git repo
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-29 13:02:21 +02:00
Ondřej Lysoněk 807f9b1529 README: Update with info about the mailing list archives
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-23 11:02:29 +02:00
Ondřej Lysoněk 38220cc2e9 pwmconfig: Fix a sed expression
This fixes commit 3daae37d58.
The escaping inside backticks is really kinda crazy.

Fixes #126

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-20 21:19:11 +02:00
Ondřej Lysoněk bcc5c67eff Merge pull request #120 from pudh4418/nct6796d
sensors.conf.default: Add hardwired NCT6796D inputs
2018-09-20 19:30:32 +02:00
Ondřej Lysoněk 03477cc9dc Merge pull request #119 from rigred/master
MSI P35 Neo 3 & ASRock X370 Gaming K4 sample configs
2018-09-11 09:10:56 +02:00
rigred 310ce4e95c ASRock X370 Gaming K4
Values as per nuvoton nct6779D datasheetSection 8.5 Analog Inputs (Page 54,55).

Is based on nct6779 which uses a 2.048V input range, all inputs above that are scaled using a voltage divider.
Specific inputs like the ADC, AVCC, VBAT, 3VSB and 3VCC utilize an integrated voltage divider.

Signed-off-by: Rigo Reddig <rigo.reddig@gmail.com>
2018-09-10 21:11:41 +02:00
rigred eb2a435de1 MSI P35-Neo3 MS-7395
Values pulled from: https://www.alldatasheet.com/datasheet-pdf/pdf/257913/FINTEK/F71882FG.html
See "Application circuit section page 122"

Signed-off-by: Rigo Reddig <rigo.reddig@gmail.com>
2018-09-10 21:00:29 +02:00
Ondřej Lysoněk c52ce346d4 Update README to say all configs are now imported from lm-sensors.org
The import has been done in commit 1398ef020.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:45:02 +02:00
Ondřej Lysoněk 8f54fe85e8 Update lm_sensors.lsm to reflect the new home of lm_sensors
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:45:24 +02:00
Ondřej Lysoněk 17d62bd318 Update release_checklist to reflect the new home of lm_sensors
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:45:02 +02:00
Ondřej Lysoněk be3679ae06 Mention the new mailing list in README
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:39:03 +02:00
Ondřej Lysoněk 6413b80847 Fix stale links
Fixes #8

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:38:55 +02:00
Roy Zhang 64e13d5998 sensors.conf.default: Add hardwired NCT6796D inputs
It seems Nuvoton NCT6796D also has the same hardwired inputs.

This was determined experimentally on an ASUS PRIME B360M-A board.

Signed-off-by: Roy Zhang <pudh4418@gmail.com>
2018-08-22 16:44:04 +08:00
Ondřej Lysoněk 2ddf3e5ad5 Revert "README: Add removal notice"
This reverts commit 3dc5358dcb.

Guenter Roeck's repo got migrated to
https://github.com/lm-sensors/lm-sensors

I am the new maintainer.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-08-20 19:16:45 +02:00
Guenter Roeck 09a60b9065 libsensors: Add support for SENSORS_BUS_TYPE_SCSI
Upcoming kernel drivers may add SCSI bus based sensors.
Add support for it to libsensors.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-08-11 11:59:14 -07:00
Guenter Roeck fde815c4fb README: Add 'TROUBLESHOOTING' section
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-08-07 14:09:12 -07:00
Hannes Haberl e77fe8c59e Fix voltage limits, correct motherboard name 2018-08-07 10:08:39 -07:00
Hannes Haberl 71005a00a2 configs: Add Gigabyte GA-AX370-DS3H Motherboard 2018-08-07 10:08:39 -07:00
Guenter Roeck 3dc5358dcb README: Add removal notice
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-08-07 09:13:17 -07:00
Andrew Lunn dcf23676cc sensors: Add support for power min, lcrit, min_alarm, lcrit_alarm
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>
2018-06-29 12:29:46 -07:00
Elliott Johnson 70f7e08484 Adding documentation of the chip_name to bus_id relationship. 2018-05-24 14:55:27 -07:00
Ondřej Lysoněk e0c146763b pwmconfig: Declare TMP1 and TMP2 on a separate line
Declare TMP1 and TMP2 on a separate line to make Coverity Scan happy.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-05-14 08:49:01 -07:00
Ondřej Lysoněk fb595f55d1 fancontrol: Do command substitution in double quotes
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>
2018-05-14 08:49:01 -07:00
Ondřej Lysoněk 40aa494c02 Remove superfluous call to get_input_value()
It is already called in the line above.
Discovered thanks to a Coverity Scan warning.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-05-14 08:49:01 -07:00
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