Commit Graph
3871 Commits
Author SHA1 Message Date
Hans de Goede 0aee76dbbb make SENSORS_API_VERSION hexadecimal
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4978 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-22 19:27:38 +00:00
Jean Delvare 2b650945f1 sensors: Handle the case where voltage measurements aren't available.
This will soon be the case of the Linux 2.6 gl518sm driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4977 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-22 18:27:04 +00:00
Hans de Goede 2c41310ba0 add SENSORS_API_VERSION define to sensors.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4975 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-22 09:39:15 +00:00
Jean Delvare 2b1c2a0e6f sensors: Fix file handle leak on library initialization error.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4973 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-21 14:31:38 +00:00
Jean Delvare a3be2931c6 sensors-detect-stat.pl: Handle alternative chip lists.
Ultimately this script should be folded into sensors-detect.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4971 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-21 13:58:27 +00:00
Jean Delvare 3d9acfa6f9 sensord: Reload config on SIGHUP rather than automatically.
Reloading the configuration on SIGHUP is common for daemons. Reloading
automatically is less efficient and can be confusing or even racy.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4969 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 14:05:35 +00:00
Jean Delvare 4db0a3284c Recommend the fschmd driver for FSC Scylla chips even on old 2.6 kernels.
There's no fscscy driver for Linux 2.6, so users would have to either
upgrade to a newer 2.6 kernel (and use fschmd) or backport the fschmd
driver. In either case they will use the fschmd driver, not fscscy.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4968 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 08:47:54 +00:00
Jean Delvare 2d73ead507 No dates to update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4967 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 08:42:51 +00:00
Jean Delvare 40706a7157 Rename fsc-specific chip arrays to something clearer.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4965 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 08:36:05 +00:00
Jean Delvare eec91d37b3 Fix SMSC LPC47B357/M967 detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4962 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 21:41:44 +00:00
Hans de Goede e73a2f5b72 Only use fschmd driver for kernels >= 2.6.24
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4961 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 13:29:56 +00:00
Hans de Goede 0adc017e4d The new fschmd driver uses the standard scaling values from the datasheet, so no conversion should be done from sensors.conf
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4959 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 09:48:49 +00:00
Hans de Goede 180ebb1d95 Update sensors-detect for new fschmd driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4958 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 09:43:31 +00:00
Jean Delvare bf2524aeae Drop extra slash.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4944 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-13 18:42:16 +00:00
Jean Delvare 6f3a373cdd Prepare for 3.0.0-rc2 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4936 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-10 19:45:13 +00:00
Jean Delvare 80dd529f45 Fix some conversion rules for the adm1024.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4935 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 13:03:08 +00:00
Jean Delvare 829254344c The ADM1024 is LM87-compatible.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4934 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 13:01:31 +00:00
Jean Delvare 775b964916 useful_addresses.html is in the wiki now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4931 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 12:03:13 +00:00
Jean Delvare 96647a6995 The ADM1024 will be supported by the lm87 driver in Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4930 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 11:32:39 +00:00
Rudolf Marek f387f95bae Add detection of AMD K10 CPU sensor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4925 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 18:31:16 +00:00
Jean Delvare 65de3bd8eb Typo fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4922 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 09:29:35 +00:00
Jean Delvare 23f29cb3ca Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4921 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 07:49:31 +00:00
Jean Delvare ff46494457 sensord manual page update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4919 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 07:32:21 +00:00
Jean Delvare 3a87a433fd Drop the configuration file search path mechanism from sensord. It's
confusing and useless. We dropped it from sensors years ago.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4918 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 07:23:32 +00:00
Jean Delvare 878333508c List some more Winbond chips which can be detected with the same IDs.
Patch by Uwe Hermann.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4917 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-05 17:12:14 +00:00
Jean Delvare cb5a94578d Chip-specific code is gone.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4914 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-01 17:05:34 +00:00
Jean Delvare 618a41d13e Fix SMSC SCH311x detection. The logical device number was missing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4913 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-01 17:04:41 +00:00
Jean Delvare e012d14d95 sensors: Better handling of the fault flags.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4910 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-30 17:56:19 +00:00
Jean Delvare 647b47cb6a Add my copyright everywhere it is missing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4902 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 19:18:15 +00:00
Jean Delvare 46d3a180cd Discard a paranoid test in outb().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4901 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 19:11:31 +00:00
Jean Delvare 855b1aa6ef The lm-sensors team has no legal existence and thus can't hold a copyright.
I tried to assign the copyright back to the original author where possible.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4900 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 19:08:30 +00:00
Jean Delvare 8a62e5f651 libsensors: Report I/O errors as such.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4899 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 18:48:20 +00:00
Jean Delvare fa1f1aef32 sensors: Make error messages more helpful and consistent.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4898 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 18:11:38 +00:00
Jean Delvare a269604853 sensors: Print error messages to stderr.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4897 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 14:31:07 +00:00
Jean Delvare 2c642d01e1 libsensors: Differentiate between different read error types.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4896 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 12:46:36 +00:00
Jean Delvare 301e18b511 libsensors: Notify the caller when writing a value fails.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4895 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 11:57:37 +00:00
Jean Delvare 1124e53305 Add a short help text to sensors-conf-convert.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4894 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 22:05:47 +00:00
Jean Delvare 4db0f60d9a Install sensors-conf-convert as part of "make install". Users may need to
convert their configuration file after installation, in particular if they
install a distribution package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4893 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 21:52:50 +00:00
Jean Delvare 19b4cf5e37 Fix spurious critical temperature alarm.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4892 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 21:28:04 +00:00
Jean Delvare 7a2931c852 V2 -> V3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4889 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 17:17:30 +00:00
Jean Delvare 43e4f551b7 Log the error code on failure, to make it easier to investigate
problems.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4888 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 17:15:13 +00:00
Jean Delvare c6e52a0e1e Now that we use SVN, there are no empty directories to delete.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4885 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-25 16:45:44 +00:00
Jean Delvare fa561e34c9 Prepare for 3.0.0-rc1 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4883 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-25 16:25:41 +00:00
Jean Delvare 015b75888c The LSM has a new address.
Update the LSM record to format 4 (date in ISO8601 format).
Update for release 3.0.0-rc1.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4882 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-25 16:22:35 +00:00
Jean Delvare b43ea0e837 Reset the list of changes for 3.0.0-rc1. So many things changed
since 2.10.x that there's little point in keeping the old history
around. Anyone really interested will have to download a 2.10.x
release and look there (or in SVN.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4881 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-25 16:09:57 +00:00
Jean Delvare 6c229f7a3c Drop SENSORS_ERR_NO_DEVS: we return success, not error, when no device
is found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4879 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-24 16:34:56 +00:00
Jean Delvare 38d16d299d Add support for platform devices with no ID.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4878 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-24 15:22:01 +00:00
Jean Delvare d4c69b1468 bash should no longer be needed at build time.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4877 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-24 14:02:01 +00:00
Jean Delvare bc0cfc7a32 Fold QUICKSTART into INSTALL.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4876 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-24 13:30:38 +00:00
Jean Delvare 59d4afd8e1 Update for version 3. List the build-time and run-time dependencies.
Drop all the instructions regarding kernel modules compilation. Drop
documentation about Makefile variables, they are already documented
in the Makefile itself.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4875 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-24 13:03:38 +00:00