Commit Graph
282 Commits
Author SHA1 Message Date
Mark M. Hoffman 1e5fefa045 Please use safer string handling in any code you're already touching.
http://www.gratisoft.us/todd/papers/strlcpy.html


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3057 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-16 01:16:59 +00:00
Jean Delvare 305544ae4b Limit stack usage in sensors_read_proc_chips().
Remove forgotten debug printf from previous commit.
Make getsysname static.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3053 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-14 11:42:29 +00:00
Jean Delvare 6ee626562d Support /sys/class/hwmon (Linux 2.6.14+).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3052 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-14 11:13:48 +00:00
Jean Delvare f98d12b4b5 Fix memory leak in sensors_get_label(). Reported by John Naylon.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3031 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-15 08:57:43 +00:00
Rudolf Marek b32aa3c716 Update from Huang - w83792d_driver-1.0.5.patch, alarms handling fixed
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3012 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-01 10:49:04 +00:00
Jean Delvare e43a9cdb4b Drop the separate defintions for DS1780, it's really similar to
the ADM9240. Original patch from Grant Coady.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3009 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-28 10:00:46 +00:00
Jean Delvare 5aed4be0e5 Fix common spelling errors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3000 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-15 10:06:15 +00:00
Jean Delvare 3ac9042b13 Change vid sysfs file name for adm1025, adm1026 and adm9240.
Patch from Grant Coady.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2998 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-11 17:42:24 +00:00
Jean Delvare d21508f62f EMC6D102 support. Patch from Rafael Avila de Espindola.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2957 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 15:44:53 +00:00
Jean Delvare f10ddad667 Add preliminary support for the w83627ehf.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2950 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:11:03 +00:00
Mark D. Studebaker 051881731e vt1211 2.6 support (fix uch_config)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2932 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-15 22:16:05 +00:00
Mark D. Studebaker 44c0a5bdfe bump to 3.0.8 for upcoming 2.9.1 release
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2927 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 19:24:54 +00:00
Mark D. Studebaker e25e3511f4 w83792d driver and userspace support patch from Winbond.
by Chunhao Huang <huang0@winbond.com.tw>
         submitted by <DZShen@winbond.com.tw>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2925 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 19:03:52 +00:00
Jean Delvare 163871a6b2 Userspace support for the ADT7461 (patch by James Chapman).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2920 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-03 21:05:57 +00:00
Jean Delvare 4a4dafa487 Support the Linux 2.6 lm92 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2919 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-28 19:04:39 +00:00
Mark D. Studebaker efa528b70d add support for 2.6 bmcsensors
from http://bmcsensors-26.sourceforge.net


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2888 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-02 02:57:47 +00:00
Jean Delvare fa1975835a Support the Linux 2.6 version of the gl520sm driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2874 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-27 21:13:44 +00:00
Jean Delvare ef5c0563b8 Patch from Aurelien Jarno:
Please find attached a patch to support the sis5595 with the new 2.6
driver. It should also add support for displaying in4 with a 2.4 kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2869 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-26 21:01:45 +00:00
Jean Delvare 3deac652ba Support the Linux 2.6 fscpos driver. Patch from Stefan Ott.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2856 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-20 19:52:38 +00:00
Mark D. Studebaker f3957ff416 bump to 3.0.7 for 2.9.0 release
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2807 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-23 17:37:59 +00:00
Mark M. Hoffman d57ea204c6 Name fix: lpc57b397 -> lpc47b397
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2770 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-24 04:31:40 +00:00
Mark M. Hoffman 3b64007d60 Add support for SMSC LPC57B397-NC sensor chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2769 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-23 16:20:25 +00:00
Jean Delvare 411dc06a0b Add support for Linux 2.6 lm63 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2745 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-24 20:27:55 +00:00
Jean Delvare bc177df57b Add lm63 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2727 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-13 20:56:17 +00:00
Jean Delvare 482b3c967f Fix it8712 prefix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2705 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-28 20:44:11 +00:00
Jean Delvare f09b9af8d1 it8712 support. Original patch by Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2701 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-25 11:24:12 +00:00
Mark M. Hoffman 220b15dfed Add backwards compat. code in anticipation of changing sysfs driver
interface...

	fan?_pwm => pwm?
	fan?_pwm_enable => pwm?_enable


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2700 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-23 04:04:21 +00:00
Mark D. Studebaker 51f33c9474 bump to 3.0.6
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2694 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-19 17:45:17 +00:00
Jean Delvare 26f600b2aa Fix a bug in libsensors which caused some failed feature writes
("set lines") to go unnoticed. lm78's fan3_div (which is read-only
        but stored in a R/W file in procfs) was one of them.
        Make sensors' error message in this case more explicit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2692 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-19 17:37:18 +00:00
Mark M. Hoffman 3d08e7b625 Add missing ALARMS support for LM93 to libsensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2683 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-08 15:04:59 +00:00
Jean Delvare 0ca078c43a Fix lm87 section, will help with the 2.6 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2670 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-23 18:44:15 +00:00
Jean Delvare 76fd9cd677 Fix LM83 critical limit in Linux 2.6 (support both old temp_crit
and new temp3_crit).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2655 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-08 20:10:24 +00:00
Jean Delvare a942af3cfc Allow an alternate sysfs file name for chip features. This is
needed to provide backward compatibility when changes are made
        to the sysfs interface (policy change or driver fix).
        The first item for which this is needed is VID files. The name
        we chose, in0_ref, is bad (because motherboard manufacturers can
        use any input for VCore, regardless of the recommendations.
        Thus, the new name cpu0_vid is better. Drivers will be updated
        later.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2654 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-08 16:38:28 +00:00
Mark M. Hoffman 57320d467a first draft at a driver for LM93
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2653 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-05 03:44:30 +00:00
Jean Delvare 65df530eb5 2.6 ADM9240 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2635 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-07 19:53:51 +00:00
Jean Delvare 2d51a717de Preliminary changes for LM87 support in 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2634 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-07 14:17:02 +00:00
Jean Delvare d282a5f3be Add LM86, MAX6657 and MAX6658 support to the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2633 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 19:12:18 +00:00
Jean Delvare 144bd7c948 Missed pc87360 thermistor magnitude fixes again.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2618 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-27 19:15:27 +00:00
Jean Delvare 93aa746efe Support 2.6 adm1025 (only vid -> in1_ref was needed).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2615 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-27 17:11:36 +00:00
Jean Delvare 7aa3a1a6a9 My previous PC87366 magnitude change was incomplete, breaking
thermistor readings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2613 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-27 12:08:24 +00:00
Jean Delvare e7e4c799da Implement "make user_uninstall". Original patch contributed by
Rudolf Marek.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2604 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-20 14:18:28 +00:00
Jean Delvare 4fd3781e12 Add VID support to the pc87360 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2603 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 21:54:08 +00:00
Jean Delvare 937734ebdb Change voltage magnitude from 2 to 3, so as to limit the
rounding errors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2595 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-18 18:17:50 +00:00
Jean Delvare be77f5a4ce Initial ADM1030 and ADM1031 support. Contributed by Alexandre
d'Alton.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2573 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-03 21:32:19 +00:00
Jean Delvare d4d4cd6b5e Support 2.6 max1619. Original patch by Alexey Fisher.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2568 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-26 19:21:17 +00:00
Jean Delvare bd3d250159 Initial MAX1619 support, contributed by Alexey Fisher.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2564 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-24 20:25:13 +00:00
Jean Delvare 488b99274d pc87360 fan clock dividers are now read-only.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2562 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-23 17:35:37 +00:00
Jean Delvare e71960cfb5 Support pc87366 thermistor inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2545 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-17 19:02:47 +00:00
Jean Delvare 6707ff8c59 Support pc87366 thermistor inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2543 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-17 18:36:31 +00:00
Mark D. Studebaker 4046d36cd8 add version and date strings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2537 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-16 14:25:20 +00:00