Jean Delvare
5741c56213
Contrary to what the comment says, sensors_proc_bus_count may be a
...
perfectly valid bus number. We need to use a different value for
chip configuration entries we want to ignore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4690 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-19 15:27:14 +00:00
Jean Delvare
a692aed705
Fix a broken comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4683 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-18 06:56:06 +00:00
Jean Delvare
8901084a95
Typo and white space cleanps.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4679 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-16 17:49:50 +00:00
Jean Delvare
bd3913c04f
Fix thmc50 analog output symbol.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4654 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:39:01 +00:00
Jean Delvare
cfc5fda3c5
Fix support for the Linux 2.6 thmc50 driver. Patch from Krzysztof Helt.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4653 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:33:50 +00:00
Jean Delvare
72ffb67a83
Typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4641 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:59 +00:00
Jean Delvare
db2c145d9d
Speed up sensors_get_ignored() a bit. We can return as soon as an ignore
...
statement is found to match, even if it isn't an exact match.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4640 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:43 +00:00
Jean Delvare
5611ffe6d1
Fix a memory leak in sensors_read_one_sysfs_chip() when an error occurs.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4635 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:40:26 +00:00
Philip Edelbrock
fa9a8b9958
Bump up minor version.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4619 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-17 05:07:40 +00:00
Jean Delvare
ba665c528e
Add user-space support for it87 fan4 and fan5. Closes half of ticket #2227 .
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4565 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 15:44:28 +00:00
Hans de Goede
f7568cc281
Add fintek f71882fg support to libsensors & sensors
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4563 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 12:16:34 +00:00
Hans de Goede
b1baa82ddb
Add abituguru3 support
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4551 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 05:27:35 +00:00
Jean Delvare
2f88a8c1f6
Add missing include.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4547 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:27:42 +00:00
Jean Delvare
5e62351ed0
Kill stray semicolon.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4546 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:27:11 +00:00
Jean Delvare
810b5ff5c6
Fix harmless symbols mix between W83782D and W83783S.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4537 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 16:02:25 +00:00
Jean Delvare
e0feefa54f
Add missing logical mapping from thermal sensor types to their temperature
...
channel. Reported by Bob Schlaermann several months ago.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4536 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:58:37 +00:00
Jean Delvare
aa66e974fb
Fix harmless FAN3 symbols mix between W83781D, W83782D and W83791D.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4535 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:38:09 +00:00
Jean Delvare
2e6c728cc9
Fix the description of the mode field.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4524 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:24:23 +00:00
Jean Delvare
30f7fd825c
Cosmetic fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4475 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 11:34:41 +00:00
Jean Delvare
106eb3a3e1
Add support for the w83627ehf thermal sensor types. I made them read-only,
...
as the BIOS is supposed to set them up properly. This information makes it
easier to find out which temperature channel corresponds to the CPU.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4456 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:17:43 +00:00
Jean Delvare
971d793d02
Add support for the w83627ehf VID function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4453 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 16:50:57 +00:00
Jean Delvare
9366b73b8c
Add user-space support for the Linux 2.4 w83627ehf driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4449 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 11:42:28 +00:00
Jean Delvare
85d681d5c4
Add support for the max6680. Patch from Rainer Birkenmaier (Siemens).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4412 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-25 07:35:00 +00:00
Jean Delvare
6f2e4f0b91
Add user-space support for the applesmc driver. Patch contributed by
...
Soeren Sonnenburg.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4390 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-08 10:36:06 +00:00
Jean Delvare
5c6a3acb04
sensors.conf.8: Update the chip statement section.
...
* Drop outdated reference to /proc/sys/dev/sensors
* Bus type can be pci
* Make the examples more realistic
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4370 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-17 18:56:50 +00:00
Jean Delvare
df35b2d189
Add user-space support for the SMSC DME1737. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4355 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-27 15:46:14 +00:00
Jean Delvare
a3e5a4d228
libsensors: Clean up pwm symbol names translation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4354 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 17:08:20 +00:00
Philip Edelbrock
1f4ebca0c9
Prep for 2.10.3 release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4349 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-19 23:42:19 +00:00
Jean Delvare
11976a4391
libsensors: Fix max1619 support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4345 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:15:35 +00:00
Jean Delvare
e3f004eedc
libsensors: Fix support of Linux 2.6's max6650 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4344 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 12:57:34 +00:00
Jean Delvare
560d6cc458
library: Handle the i2c-isa case properly even after the class_dev
...
removal. In recent kernels we can detect i2c-isa devices by checking
the i2c bus number: i2c-isa always uses 9191 as its bus number.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4337 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 15:58:21 +00:00
Jean Delvare
820bd2eda7
Add support for the SMSC LPC47M292 fans.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4331 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:33:32 +00:00
Jean Delvare
a0d41dc880
libsensors: Do not skip i2c adapters with only a class device and no
...
physical device. This change is required to survive the planned struct
class_dev removal from future 2.6 kernels.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4326 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 11:58:53 +00:00
Philip Edelbrock
b71ee14a2d
Prep for 2.10.2 release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4297 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-15 23:30:51 +00:00
Mark M. Hoffman
6968eb16fe
The sensors library relied on one structure having an identical layout in
...
memory as part of another structure. This rather large patch fixes that by
making the smaller piece an explicit member of the larger.
I brought this patch into sync with the latest SVN, and tested it by comparing
objects files from the tree pre- and post- patch.
The remaining 99% of the credit goes to Bob Schlärmann <bob2@dsv.nl > for
creating the original patch... thanks Bob!
* Bob Schlärmann <bob2@dsv.nl > [2006-12-24 18:29:39 +0100]:
> The following patch changes all of the lib/chips.c entries and any function
> that uses sensors_chip_feature. Most of the conversion was done through a
> perl script, so if you don't agree with the syntax it'll be easy to change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4287 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-09 02:46:13 +00:00
Mark M. Hoffman
7bb9db17d8
Run regression tests under valgrind, if it is available.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4275 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-30 06:04:06 +00:00
Mark M. Hoffman
c510d7934f
The caller of sensors_yylex() is responsible for free()'ing NAME strings.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4274 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-30 04:43:37 +00:00
Mark M. Hoffman
a938571fc5
Fix a memory leak in the scanner that occurs when we're missing a closing quote
...
before an immediate EOF.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4273 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-30 04:08:40 +00:00
Jean Delvare
73922b2883
Add user-space support for the ADM1029. Patch contributed by
...
Corentin Labbe.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4270 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-22 21:11:07 +00:00
Jean Delvare
6af70f2828
libsensors: Get the i2c adapter names from the class device's "name"
...
attribute, falling back to the device's "name" attribute for
compatibility only. This change is needed to match ongoing cleanups in
Linux 2.6's i2c-core. i2c adapters will soon be class devices only, the
legacy i2c_adapter devices and driver are being removed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4267 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-21 08:24:01 +00:00
Jean Delvare
0a36a5daa3
Better parse error messages.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4266 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-21 07:48:08 +00:00
Jean Delvare
6310ee1f03
Add support for the w83627dhg. Original patch by David Holl.
...
This closes ticket #2157 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4264 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-18 07:43:00 +00:00
Mark M. Hoffman
72889cb191
Two minor cleanups: 1) remove the yymore() calls, they're no longer necessary;
...
and 2) make the quoted escape sequence rules a little more compact. The first
cleanup is said to yield a slight speedup according to the flex manual - I
didn't bother to measure it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4236 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-12 18:36:15 +00:00
Mark M. Hoffman
dcdd19ed72
The scanner regression test cases for error conditions in quoted strings
...
uncovered three different bugs. This changeset fixes them all. It also
updates the sensors.conf(5) man page to be unambiguous regarding the
requirement for whitespace between elements.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4235 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-12 18:24:55 +00:00
Mark M. Hoffman
68558575ad
Add error conditions for quoted names to scanner regression test.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4234 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-12 18:21:43 +00:00
Mark M. Hoffman
04cd960539
Add quoted names to scanner regression test. Note: no tests for octal
...
escapes yet... it's possible we'll just kill support for those (I hope).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4233 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-12 15:32:59 +00:00
Jean Delvare
53cb805e44
Add user-space support for the Fintek F71872F/FG (chip name f71872f).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4232 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-12 13:17:32 +00:00
Mark M. Hoffman
9c3a817633
Merge scanner-opt-branch (r4121:r4221) to trunk.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4222 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-26 11:50:27 +00:00
Rudolf Marek
2b3d98a880
Add the coretemp driver userspace support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4214 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-15 19:26:10 +00:00
Jean Delvare
6270cf381a
libsensors: Drop support for algorithm names.
...
I2C algorithms no longer have names in Linux 2.6, and anyway they are
implementation details user-space doesn't care about. No third party
application is known to have ever used this particular feature of
libsensors. "sensord" and "sensors" no longer do.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4208 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-13 19:55:41 +00:00