Commit Graph
3476 Commits
Author SHA1 Message Date
Jean Delvare ddd9ba2baf sensord: Add support for the k8temp driver and for the voltage inputs
of the w83627ehf driver. Patch from Dave Platt.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4281 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-06 08:49:59 +00:00
Jean Delvare 55e8649c0d pwmconfig, fancontrol: Gracefully handle errors when writing to
sysfs files, as bash 3.1 otherwise displays them and this tends to
frighten the user.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4280 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-05 16:34:32 +00:00
Jean Delvare ac08de0cd3 Fix typo: successful.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4278 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:42:54 +00:00
Jean Delvare e0dfabe9f2 bmcsensors: Fix fragile structure initialization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4277 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:41:52 +00:00
Jean Delvare 4a82f3e86c bmcsensors: Fix several compilation warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4276 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:35:41 +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
Mark M. Hoffman b5ff067425 Modify libsensors scanner build flags...
* add -8
When using -Cf, flex defaults to generating a 7-bit scanner instead of 8-bit.
That's a bug, since we want the scanner to handle any character.  Using -8 restores
the proper behavior.

* change -Cf to -Cfe
This allows a nice reduction in object size (from ~60KiB to ~15KiB) with almost
no impact to speed (adds < 100 cycles to scanner, where total cycles is > 1M).



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4272 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-29 21:07:24 +00:00
Rudolf Marek c34c264f97 The PCI device for AMB is not accessible directly from PCI bus, gateway must be used. Ticket #2143
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4271 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-26 11:53:20 +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 0639e23317 sensors-detect: The ATI SB600 appears to be compatible with the IXP400
and will be supported by the i2c-piix4 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4269 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-22 20:35:18 +00:00
Jean Delvare 4fd6f58ff4 Improve ADM1029 detection again.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4268 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-21 17:56:43 +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 5d9df247af 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@4265 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-18 12:22:35 +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
Jean Delvare 84d4715bc6 f71805f: Fix the device address decoding
The lowest 3 bits are ignored, and the chip decodes all 8 addresses,
not only the 2 it needs. This is a backport from Linux 2.6.20.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4263 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-15 09:25:45 +00:00
Rudolf Marek 16df5f0bb4 Update the sensors-detect entry.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4262 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 20:56:57 +00:00
Rudolf Marek 37fa5a4151 Add the detection of Intel AMB FB-DIMM thermal sensor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4261 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 20:55:06 +00:00
Jean Delvare b262873b20 sensors-detect: Improve ADM1029 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4260 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 13:50:54 +00:00
Jean Delvare dc3d6163f5 Keep the manufacturer ID list sorted.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4259 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 13:25:00 +00:00
Rudolf Marek bfde8c3975 Use die code to increase confidence for aSC7511
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4258 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 10:55:01 +00:00
Rudolf Marek 55ece3310d Add Andigilog chips detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4257 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-09 21:19:20 +00:00
Jean Delvare 8afee51d60 prog/dump/*: More robust user input handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4256 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-09 19:20:00 +00:00
Rudolf Marek 6cb6e13159 Update manufacturer list to JEP106U.01, rename two companies
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4255 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-09 19:05:53 +00:00
Rudolf Marek 0751a8c03c Change Ruik's mail
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4254 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-06 19:22:04 +00:00
Mark M. Hoffman 567daeb3ad Add trac/milestone maintenance to the list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4253 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-03 18:32:31 +00:00
Jean Delvare f298680633 Add Intel ICH9 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4252 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-03 15:08:15 +00:00
Jean Delvare 78ba196ad2 Update doc/fan-divisors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4251 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-03 10:02:09 +00:00
Jean Delvare 63ad029a86 Add Maxim MAX6648/MAX6692 detection. These seem to be somewhat similar
to the MAX6657/MAX6658/MAX6659.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4250 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-02 22:05:42 +00:00
Jean Delvare be87358ae0 Minor ICH names update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4249 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-02 19:56:27 +00:00
Jean Delvare aea173b9cd Add vt1211 support to sensord. Original patch from ticket #2150.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4248 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-02 15:51:46 +00:00
Jean Delvare cfded02305 Drop outdated (and not particularly relevant) comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4247 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-02 15:36:46 +00:00
Rudolf Marek 13638cc854 Add Andigilog chip ID.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4244 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-25 15:57:51 +00:00
Rudolf Marek 4a37028ccf Add to-be-tested for: ATI SB600, nVidia MCP61, MCP65 and Intel PIIX5. Add detection for ICH9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4243 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-25 12:41:53 +00:00
Jean Delvare dbf34661ae Sort the Fintek Super-I/O entries.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4242 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-17 07:57:37 +00:00
Jean Delvare c913c62429 Add Fintek F71882FG detection. The EPoX EP1308 appears to be a clone
of this chip (same ID, same register map.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4241 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-17 07:28:22 +00:00
Jean Delvare 91c0a32585 Less confusing algorithm names. We'll drop this field soon anyway.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4240 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-14 13:06:35 +00:00
Jean Delvare 6556dfd786 Prevent misdetection of MAX6633/MAX6634/MAX6635.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4239 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-14 13:04:41 +00:00
Jean Delvare 74053ce8b5 Display the i2c bus number next to the bus name. This should help us
when we want a reporting user to run i2cdump on a given address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4238 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-14 13:00:36 +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
Jean Delvare 8ec76d7ed7 prog/eepromer/eepromer: Enable warnings, and fix most of them.
The code of this program was really ugly (and still is), its author
should be ashamed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4231 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-10 09:38:56 +00:00
Jean Delvare 7e11801913 The I2C_FUNCS ioctl expects an unsigned long.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4230 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-10 09:22:12 +00:00
Jean Delvare d3d7118778 Preallocate memory for the I2C_FUNCS ioctl. This should fix ticket #2138.
It might as well be a bug in Fedora Core 3's perl, but the workaround is
cheap anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4229 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-10 09:19:48 +00:00
Mark M. Hoffman c9d758c669 Don't create lex.backup unless DEBUG is enabled.
Also, delete it during 'make clean'.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4228 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-05 14:41:34 +00:00