Jean Delvare
76c0970e3b
Update the note about libsensors license. libsensors is released
...
under the LGPL now, thanks Guenter for pointing out the overlook.
2014-11-27 10:35:06 +00:00
Jean Delvare
f09b1c6483
libsensors: Add support for temp[1-*]_min_hyst and temp[1-*]_lcrit_hyst
...
Add support for sysfs attributes temp[1-*]_min_hyst (already
implemented by drivers adt7x10, lm77 and lm92) and
temp[1-*]_lcrit_hyst (no known users yet.)
2014-04-22 08:05:14 +00:00
Jean Delvare
eb5cf8b2ec
Update my e-mail address and copyright years
2014-03-20 10:23:35 +00:00
Jean Delvare
883f4e49a3
libsensors: Get rid of arbitrary limit on per-type sensor count
...
When gathering the attributes of each hwmon chip, libsensors uses a
temporary structure in memory to order and group all the attributes
into features. This temporary structure used to be a single array with
room for every possible attribute/subfeature. While simple, this
approach required to predefine a maximum number of per-type sensor
that could be handled.
In order to get rid of this arbitrary limit, which we hit and had to
raise three times already, I changed the temporary structure to an
array of dynamically allocated per-type subattribute arrays. This lets
us not allocate any memory for types which aren't implemented by a
given chip, and more importantly, this lets us reallocate room for
more attributes of a given type as needed.
I decided to allocate chunks of 8 attributes at a time, as this seemed
a good compromise between two frequent reallocations and
over-provisioning. It could be tweaked if needed.
Icing on the cake, I benchmarked this change on two different systems
and it results in performance gains. The total heap usage as reported
by valgrind is down by 50% on average, with peak memory consumption
(as reported by valgrind's massif) also down by 43% on average. The
total instructions count (as reported by valgrind's callgrind) is down
by 11% on average, with measured execution time also down by a few
percents. Valgrind rocks, BTW.
I have some ideas to optimize the memory allocations further, but I do
not expect such a huge gain from them. They may not even improve peak
memory consumption as massif shows the peak is somewhere else now at
least in some cases.
2014-01-29 09:25:31 +00:00
Jean Delvare
f8cdcc35bf
Prepare for release.
2014-01-22 08:11:15 +00:00
Guenter Roeck
b0e1a6333e
smbus_company_id: Add manufacturer IDs for JC 42.4 compliant temperature sensors
2013-06-07 20:18:02 +00:00
Jean Delvare
91fa8d0694
Reorder post-release items in the order I actually do them.
2013-05-28 08:36:56 +00:00
Jean Delvare
c70bea4f9c
Prepare for release.
2013-05-27 10:33:26 +00:00
Jean Delvare
74252b1dd3
Move SMBus company ID list to a better place.
2013-05-01 11:48:38 +00:00
Jean Delvare
c28d953cd8
Drop all outdated or redundant information from document chips/SUMMARY.
2013-05-01 11:46:36 +00:00
Jean Delvare
da22a37aec
Delete outdated document chips/MODPARMS.
2013-05-01 11:40:43 +00:00
Jean Delvare
d5ffa33d39
Update the dead items that went to trash.
2013-03-14 08:58:47 +00:00
Jean Delvare
f8e6c7fd6e
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6087 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 20:10:47 +00:00
Jean Delvare
f0af8775a1
Update fan-divisors: fan divisors are optional, recent monitoring chips
...
don't have them so the document doesn't apply to these chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6071 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-09-14 11:35:43 +00:00
Jean Delvare
91bf1d30cc
Update release checklist.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6039 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-29 07:54:05 +00:00
Jean Delvare
ae877a1e55
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6035 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-14 07:43:39 +00:00
Jean Delvare
7a4273e763
Motherboard donated by Winbond that I thought was dead has miraculously
...
resurrected.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6034 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-13 19:30:30 +00:00
Jean Delvare
a3e40509e0
Add support for fan[1-*]_max, fan[1-*]_min_alarm and fan[1-*]_max_alarm
...
attributes. These are defined in the standard sysfs interface for quite
some time, and at least three drivers (max6650, lm63 and applesmc)
implement them so we should support them.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6029 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:34:13 +00:00
Jean Delvare
847dc0b454
Add recent donation of a fanless graphics card by AMD.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6009 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 08:24:23 +00:00
Guenter Roeck
273102f2c9
Add support for additional sysfs attributes to libsensors and to sensors command
...
inX_average
inX_lowest
inX_highest
tempX_lowest
tempX_highest
currX_average
currX_lowest
currX_highest
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6007 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-09 17:30:10 +00:00
Jean Delvare
796c38a138
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5986 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-21 20:36:42 +00:00
Jean Delvare
28a1677669
Major kernel version number was bumped to 3.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5985 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-21 19:38:10 +00:00
Jean Delvare
159cceaa24
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5949 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-28 07:02:37 +00:00
Guenter Roeck
eaf86b0c49
Added support for SENSORS_SUBFEATURE_FAN_PULSES to libsensors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5938 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-04 20:37:43 +00:00
Guenter Roeck
c618c56023
Added support for humidity sensors to libsensors
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5918 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-02-13 18:55:09 +00:00
Guenter Roeck
fb325cf089
Add support for recently added sysfs ABI attributes
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5917 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-02-09 19:25:22 +00:00
Guenter Roeck
038f69f198
Added donation information
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5912 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-02-05 17:59:28 +00:00
Jean Delvare
7f35e8ed06
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5903 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-01-18 10:19:15 +00:00
Jean Delvare
b1a7827166
Only the Intel D865GSA board is dead, the CPU and memory module are
...
still working OK.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5899 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-01-12 09:34:55 +00:00
Guenter Roeck
443b54b325
Added support for new sysfs attributes
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5898 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-12-14 20:26:27 +00:00
Jean Delvare
05a24e5bb2
libsensors: Add support for intrusion detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5879 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-03 13:00:59 +00:00
Jean Delvare
0cd903b72c
Update release checklist.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5866 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-14 12:25:16 +00:00
Jean Delvare
f292e9f408
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5863 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-10 19:15:54 +00:00
Jean Delvare
6c6376a12d
Thanks to Asus for the donation of a server board with 2 CPUs
...
and 2 memory modules. Will be used for Winbond/Nuvoton W83795G
support and possibly more.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5834 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-05-03 15:10:29 +00:00
Jean Delvare
6e78c8c779
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5819 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-02 20:14:53 +00:00
Jean Delvare
7c37bd44ac
Add support for HID devices.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5786 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-18 12:05:16 +00:00
Jean Delvare
183947c528
Update the sysfs path to i2c adapters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5778 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 08:32:33 +00:00
Jean Delvare
c2646f2e6a
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5742 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-21 15:22:06 +00:00
Jean Delvare
78f496ca62
libsensors: New method to free the memory allocated for the internal
...
representation of chip names.
sensord, sensors: Fix a memory leak when one or more chip names are
provided on the command line.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5740 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-20 10:04:52 +00:00
Jean Delvare
b665a55272
Update hardware status.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5731 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-06 09:16:18 +00:00
Jean Delvare
dee604c8e9
Add support for absolute path to hwmon devices.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5717 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-09 11:43:06 +00:00
Jean Delvare
edcfa23f50
Update branch reference.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5671 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-28 21:00:51 +00:00
Jean Delvare
b9a0b8511f
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5669 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-28 20:55:15 +00:00
Jean Delvare
0ffa44331c
Set library version to 4.1.0.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5663 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-25 07:47:13 +00:00
Jean Delvare
0efe346b80
Include the configuration file name when reporting parse errors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5649 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-15 17:26:57 +00:00
Jean Delvare
15218a5e02
Mention the stand-alone nature of sensors-detect, as suggested by
...
Matt Roberds.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5643 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-14 09:10:41 +00:00
Jean Delvare
b0f50d0788
Drop stray references to procfs interface.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5631 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-29 08:58:36 +00:00
Jean Delvare
cf09a7e43a
There can be more than 6 VID pins.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5626 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-27 12:59:42 +00:00
Hans de Goede
11eec21555
Add ACPI bus
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5593 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-13 08:06:32 +00:00
Jean Delvare
c80aefd222
Detect excessive recursion depth during expression evaluation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5582 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-11 12:19:32 +00:00