Commit Graph
312 Commits
Author SHA1 Message Date
Jean Delvare dee3639075 Add userspace support for the smsc47m192 driver. Patch from
Hartmut Rick.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3277 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-28 21:31:16 +00:00
Jean Delvare 8212877b81 Add W83627EHF fan and temperature alarm support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3272 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 14:26:48 +00:00
Rudolf Marek 0b6ac4f953 Add the W83627EHF Voltages and voltage alarms support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3271 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 13:53:30 +00:00
Jean Delvare 70bb3c495e Fix device scan when no i2c support exists or no i2c bus driver
is loaded.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3261 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-25 21:32:26 +00:00
Jean Delvare ebbd0ba836 Bump lib version to 3.1.0 for the upcoming lm_sensors 2.10.0
release.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3253 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-11 18:54:49 +00:00
Rudolf Marek c83a8a43e8 Add back the temp1 in vt1211, patch from Juerg Haefliger <juergh@gmail.com>
This patch enables the reading of temp1 (Reading3) from the VT1211.
Reading3 returns the V1211's internal temperature.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3246 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-27 21:02:09 +00:00
Jean Delvare 7abd07cf00 Fix sysctl warnings on x86_64. Reorder includes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3244 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-23 07:48:38 +00:00
Jean Delvare b36654cb3b Add 2.4 kernel and user-space support for the Winbond W83687THF
chip. Needs testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3226 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-10 11:17:17 +00:00
Jean Delvare 337ffc5729 Add support for the new platform drivers (Linux 2.6, sysfs).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3224 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-09 19:55:18 +00:00
Jean Delvare 5cd5fde08d vt8231 cleanups, to get the 2.4 driver, libsensors and sensors
in line with the new 2.6 driver. The most important changes are temp
inputs renumbering, and conversion formulas changes, because part of the
conversions are now done by the driver as required by the interface
standard.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3194 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-19 14:55:30 +00:00
Jean Delvare 58481a6422 Fix w83627ehf temp2 and temp3 magnitude.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3170 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 09:08:26 +00:00
Jean Delvare ffdd27a3c2 Initial support for the Fintek F71805F/FG chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3169 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-04 20:59:18 +00:00
Mark M. Hoffman 72a6f0dde5 Fix bug in smsc47b397_features table, noticed by Jean Delvare.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3133 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-28 03:32:39 +00:00
Mark M. Hoffman 2c5ffc1053 A trivial cleanup for getsysname() - there's no reason for matches[]
to be an automatic, or non-const.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3116 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-02 14:55:58 +00:00
Mark M. Hoffman efb1c0d53c Minor cleanup: get rid of an unnecessary forward declaration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3115 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-01 15:38:56 +00:00
Mark M. Hoffman b4598af0aa Remove a workaround for sysfs support that is no longer needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3113 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-01 15:31:35 +00:00
Mark M. Hoffman b374291396 (mmh)
Bugfix: lib/init.c wasn't compiling properly if SYSFS_SUPPORT was turned off.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3098 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 21:24:58 +00:00
Mark M. Hoffman a116313d54 (mmh)
This patch makes optional the sysfs support in libsensors.  The default is to
*disable* sysfs support if a 2.4.x kernel is detected, for all other versions,
support will be enabled.  This can be overridden in the top-level Makefile.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3096 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:39:53 +00:00
Mark M. Hoffman 85a0c8ccb2 (mmh)
This patch replaces the I2C chip enumeration (through sysfs) in lib/proc.c
with new functions in lib/sysfs (using libsysfs).  The patch also updates
the init code accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3095 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:38:19 +00:00
Mark M. Hoffman c277761d15 (mmh)
This patch replaces the I2C bus enumeration (through sysfs) in lib/proc.c
with a new function in lib/sysfs (using libsysfs).  The patch also updates
the init code accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3094 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:37:42 +00:00
Mark M. Hoffman 87fba1c487 (mmh)
This patch adds the files lib/sysfs.h and lib/sysfs.c, beginning with a rewrite
of the sysfs detection code (using libsyfs).  In the process, I replaced two
poorly named globals with better names, and moved them to sysfs.c.  The sysfs
detection now happens very early during library init, rather than later.

The long term plan is for the two global variables to disappear anyway, as
everything to do with sysfs should get moved into lib/sysfs.c.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3093 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:30:44 +00:00
Mark M. Hoffman 10337cf80b (mmh)
This trivial patch links the libsysfs library to the libsensors library.
One needs to build and install sysfsutils first:

http://linux-diag.sourceforge.net/Sysfsutils.html

This patch is naive, at least to start.  Later it will be made optional
depending on whether support for Linux 2.6.x is needed, or just 2.4.x.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3092 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:25:25 +00:00
Mark M. Hoffman 6504401cf8 (mmh)
This patch moves two macros from lib/proc.c to lib/data.h.  The macros
pick up the "sensors_" prefix along the way.  The motivation is the
same as the previous patch.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3091 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 18:30:16 +00:00
Mark M. Hoffman 2c5441a2db (mmh)
This patch moves the chip and bus lists from lib/proc.c to lib/data.c.
The variables were already declared in lib/data.h.  Motivation: when
support for kernel 2.4.x becomes optional, lib/proc.c may not even be
compiled into the library... but these variables are still needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3090 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 18:28:51 +00:00
Jean Delvare 2c0ca7852a Drop Linux-2.6 specific eeprom code, as we no longer support
eeproms on 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3082 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 20:27:20 +00:00
Jean Delvare 57e3589237 Declare foundsysfs in proc.h.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3080 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 20:09:42 +00:00
Jean Delvare 27e2a62bab Fix bus matching mechanism which had always been broken for Linux
2.6. Original patch from Karsten Petersen.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3076 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 09:29:35 +00:00
Philip Edelbrock 97649c80b4 Tag and release 2.9.2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3066 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-06 19:44:58 +00:00
Mark M. Hoffman df8e4b3895 drop eeprom display when kernel is 2.6.x - partially resolves this:
http://lists.lm-sensors.org/pipermail/lm-sensors/2005-August/013403.html


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3064 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-06 03:33:43 +00:00
Mark M. Hoffman 5845bd9cb0 Get rid of some unused global variables.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3058 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-19 02:59:52 +00:00
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