Commit Graph
4672 Commits
Author SHA1 Message Date
Jean Delvare 39b48545a0 Update the relase checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5349 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 16:40:03 +00:00
Jean Delvare 9a3e3855b8 Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5348 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 16:35:29 +00:00
Jean Delvare 334a4fcf27 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5346 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 15:48:57 +00:00
Jean Delvare 5f269d0f10 Don't choke on missing name attribute. Drivers shouldn't do that, but
we can live without the name attribute, so there's no point in failing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5345 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 15:22:44 +00:00
Jean Delvare 66130a9630 Update pwmconfig manual page.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5344 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 08:18:29 +00:00
Jean Delvare f7ccb96a7c Add support for drivers that place the hwmon attributes in the hwmon
class device directory rather than directly in the device directory.
This is what virtual devices have.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5343 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-27 15:35:47 +00:00
Jean Delvare 7d3970e186 Recognize it87 thermal sensor type 4 as thermistor. This is the
standard value in the sysfs interface, and the it87 driver in kernels
2.6.28 and later will use that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5342 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-27 10:39:41 +00:00
Jean Delvare 6d7e8cca2a Typo fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5341 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 14:55:56 +00:00
Jean Delvare 5b218864d0 Typo fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5340 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 14:54:32 +00:00
Jean Delvare 1d13df0109 Drop stray reference to temp3_over in comment.
Drop stray reference to lib/chips.c in comment.
Drop outdated comment about feature names starting with a number.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5339 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 08:44:25 +00:00
Jean Delvare 118a102198 Add a script that provides manual control of the vt1211 PWM outputs.
This script puts the vt1211 in automatic PWM mode and fools the chip
into believing that there is a temp change to force the PWM outputs to
specified values. This is necessary since the standard manual mode of
the vt1211 doesn't seem to work.
Patch from Juerg Haeflinger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5338 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-21 15:25:39 +00:00
Jean Delvare f1c80ef5aa Add MAX1618 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5337 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-19 15:05:28 +00:00
Jean Delvare 2ea1dd208c Change default for MINTEMP from 0 to 20 degrees C. Computers never run
below 20 degrees C, so setting MINTEMP to 0 uselessly reduces the control
range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5336 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:35:44 +00:00
Jean Delvare e03e8f12a7 Indentation fixes, drop trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5335 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:33:05 +00:00
Jean Delvare bdaefa5efa W83627DHG has no subclients.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5334 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:30:12 +00:00
Jean Delvare 869a6b7f81 Prevent misdetection of W83627DHG (and more generally, Winbond chips)
on I2C as LM78.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5333 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:28:17 +00:00
Jean Delvare 8827e4bac6 W83627DHG has no subclients.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5332 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:24:46 +00:00
Jean Delvare 6cf8b4be86 Prevent misdetection of W83627DHG (and more generally, Winbond chips)
on I2C as LM78.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5331 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:22:06 +00:00
Jean Delvare 8f9a67f5bd Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5330 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 16:18:27 +00:00
Jean Delvare 78e6d49180 Change default for MINTEMP from 0 to 20 degrees C. Computers never run at
below 20 degrees C, so setting MINTEMP to 0 uselessly reduces the control
range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5329 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 13:18:48 +00:00
Jean Delvare 012aae9b58 Skip MINSTOP and MINSTART tests if fan can't stop.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5328 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 13:15:04 +00:00
Jean Delvare 346159764f Determine MINSTOP automatically.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5327 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 12:14:28 +00:00
Jean Delvare c0645f4011 Detect and report obviously incorrect fan speeds.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5326 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 09:30:38 +00:00
Jean Delvare 0277bca881 Print the revision and date at start-up.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5325 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 07:26:51 +00:00
Jean Delvare 7ca1c39b92 Use the same step values for the MINSTOP test as we do for the detailed
correlation. That is, 15 above 31 and 2 below 31. This makes more sense
than using 10 all the time, as changes in low PWM values tend to have a
greater effect on fan speeds than changes in high PWM values.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5324 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 13:51:22 +00:00
Jean Delvare 5f9008ddf3 Test MINSTOP before MINSTART. We know that MINSTART can't be less than
MINSTOP, so we can use MINSTOP as the initial value for the MINSTART test.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5323 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 12:21:20 +00:00
Jean Delvare 01e44478ce Only mention gnuplot if X is running.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5322 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 12:03:17 +00:00
Jean Delvare 38b2843d60 Add a utility function to filter configuration file variables.
Remove unneeded escapes. This makes the code slightly easier to read.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5321 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 12:01:16 +00:00
Jean Delvare bf094bc123 Coding-style cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5320 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 10:37:28 +00:00
Jean Delvare bc0b859f04 Fix MINSTOP and MINSTART test functions. PWM must be enabled for the duration
of the test, and disabled again afterwards. Bug reported by Philippe Roubach.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5319 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 09:52:55 +00:00
Jean Delvare 1bf9b248b0 Fix MINSTOP and MINSTART test functions. PWM must be enabled for the duration
of the test, and disabled again afterwards. Bug reported by Philippe Roubach.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5318 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 09:49:13 +00:00
Jean Delvare f9dbe31f15 Tell the user about gnuplot if isn't installed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5317 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-01 11:58:30 +00:00
Jean Delvare c3c285d617 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5316 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:04:07 +00:00
Jean Delvare fa119667ec Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5315 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:03:52 +00:00
Jean Delvare eedc452efa An updated TMP411 datasheet actually shows that this chip has different
device IDs than the TMP401.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5314 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:02:22 +00:00
Jean Delvare 48df11e309 An updated TMP411 datasheet actually shows that this chip has different
device IDs than the TMP401.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5313 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 17:58:03 +00:00
Jean Delvare 6068029628 The TI TMP411 has the same device ID as the TMP401.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5312 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 11:27:43 +00:00
Jean Delvare aa7b260b09 The TI TMP411 has the same device ID as the TMP401.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5311 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 11:25:47 +00:00
Jean Delvare 4e1862cfa7 The Maxim MAX6646, MAX6647 and MAX6649 will be supported by the lm90
driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5310 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-19 15:33:44 +00:00
Jean Delvare 023bfee4e1 Add ITE IT8720 detection. No datasheet available yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5309 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-09 12:54:49 +00:00
Jean Delvare 790bd11ca3 Add ITE IT8720 detection. No datasheet available yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5308 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-09 12:52:05 +00:00
Jean Delvare 20c2b6de11 Properly report bus arbitration lost.
Backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5307 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-15 21:09:38 +00:00
Jean Delvare 9a166de2c2 Dumping the register values before and after every transaction was
useful during driver development but now it's only spamming the log.
Backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5306 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-15 21:06:46 +00:00
Jean Delvare 428e71b48e Minor cleanups to the i2c-piix4 driver, backported from Linux 2.6:
* Delete unused structure.
* Delete needless forward function declaration.
* Spell it SMBus not SMB.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5305 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-15 21:04:22 +00:00
Jean Delvare 5bd4f1dd99 Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
Patch from Juerg Haefliger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5304 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 18:29:21 +00:00
Jean Delvare 744a5d0178 Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
Patch from Juerg Haefliger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5303 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 18:25:46 +00:00
Jean Delvare 9fcfb654af The free_expr() function is no longer static in lib/init.c (it is also
used in lib/conf-parse.y), and therefore must be renamed according to
the libsensors naming conventions.
Based on an original patch from Sergey Vlasov.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5302 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 16:21:48 +00:00
Jean Delvare 389555eda3 The free_expr() function is no longer static in lib/init.c (it is also
used in lib/conf-parse.y), and therefore must be renamed according to
the libsensors naming conventions.
Patch from Sergey Vlasov.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5301 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 16:15:07 +00:00
Jean Delvare a03f51bbcb Add Maxim MAX6646, MAX6647 and MAX6649 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5300 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-07 11:21:15 +00:00
Philip Edelbrock feee4d9309 Put back some SVN related version info.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5299 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-01 19:03:40 +00:00