Commit Graph
100 Commits
Author SHA1 Message Date
Jean Delvare 9b44cc2819 Work with the feature type instead of the shifted subfeature type where
possible. This makes the code more readable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5875 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-02 12:59:31 +00:00
Jean Delvare 62fd781722 Reorganize the temporary sparse subfeature table. It's a little larger
now, but this make it possible to add more feature types without
increasing the code complexity beyond reason. Define constants and use
them to make the code even easier to understand.

If anyone is really worried about the relatively large memory
allocation, one way to improve the situation would be a two-pass
approach. But remember the memory is only needed for a short time...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5874 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-02 12:57:11 +00:00
Jean Delvare 8f3ed0056b Merge entries.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5873 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-02 12:49:22 +00:00
Jean Delvare 41a0981e28 Ensure there's at least one space between the label and the value.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5872 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-02 12:37:35 +00:00
Jean Delvare 621dc10aa7 Spelling fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5871 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-26 13:24:12 +00:00
Jean Delvare c288f034a1 Warn the user is either flex or bison is missing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5869 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-19 18:34:34 +00:00
Jean Delvare e27aaaac06 IT8721F/IT8758E will be supported by the it87 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5868 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-14 12:30:04 +00:00
Jean Delvare 0a41f24a37 sensors-detect: Improve LM90 and W83L771 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5867 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-14 12:27:07 +00:00
Jean Delvare 0cd903b72c Update release checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5866 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-14 12:25:16 +00:00
Jean Delvare 8cb42eae3b Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5865 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-10 19:49:49 +00:00
Jean Delvare f292e9f408 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5863 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-10 19:15:54 +00:00
Jean Delvare 6258605e45 Add detection of the SMSC LPC47U32x.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5861 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-09-21 15:21:05 +00:00
Jean Delvare b758503bdf Forgot to add the LGPL license, this is done now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5860 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-09-21 15:20:09 +00:00
Jean Delvare fffbe666c4 Drop legacy calls to cut. procfs had several values per file, but
sysfs doesn't.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5857 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-08-22 16:17:57 +00:00
Jean Delvare 501499e834 Wait for fans to return to full speed only once per PWM. In the rare
case where a given PWM output controls more than one fan, this makes
the script somewhat faster.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5856 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-08-22 16:09:08 +00:00
Jean Delvare eb40756d74 When looking for pwm/fan correlations, sample all fans before returning
a given PWM output to full speed. The code used to only sample the first
fan before doing so, so correlation with other fans could be missed.
Problem reported by Charles Pillar. This closes ticket #2380.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5855 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-08-22 16:07:22 +00:00
Jean Delvare d163984ca6 Map drivers added in kernel 2.6.36.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5853 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-08-12 21:30:13 +00:00
Jean Delvare fcccdb3647 Add detection of several JC42.4 compliant temperature sensors.
Patch from Guenter Roeck.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5852 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-09 09:13:36 +00:00
Jean Delvare 2fc1b94d0c Add support for the NXP SE97.
Also display the new chip names for W83677HG-I (NCT677xF).
Patch from Guenter Roeck.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5851 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-07 19:30:57 +00:00
Jean Delvare 33d861b984 Add detection of STMicroelectronics STTS424 (JEDEC JC42.4-compliant
memory-module temperature sensors.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5850 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-06 08:44:21 +00:00
Jean Delvare 96ff880b93 Fix r5847 was incomplete. Handling misdetections that happen after
correct detections isn't sufficient, we also have to handle
misdetections which happen first. In that case, we must delete the
driver entry as we remove the last misdetection from it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5849 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-05 18:40:44 +00:00
Jean Delvare f11a2a6d3a Let ISA-access and non-sensor devices take part in the confidence
comparison process. Otherwise, we might miss misdetections.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5848 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-05 16:53:59 +00:00
Jean Delvare cb76d5af68 Don't create entries for new drivers before we have something to
add to them. If we have multiple detections at the same I2C
address, one will be discarded so its driver shouldn't be recorded.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5847 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-05 16:50:27 +00:00
Jean Delvare 8deb0ac382 W83667HG config is similar to W83627EHF/DHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5846 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-04 07:22:11 +00:00
Jean Delvare be2f3f7252 Fix Maxim MAX6690 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5845 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-02 08:11:47 +00:00
Jean Delvare e369e65d42 Change libsensors license from GPL to LGPL.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5844 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-01 11:56:42 +00:00
Jean Delvare 60635dafc6 Map individual beep features. We had symbols for them for a long time,
I have no idea why they weren't mapped to the sysfs file names.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5843 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-06-21 09:02:30 +00:00
Jean Delvare eaabfc8573 Driver for the Andigilog aSC7621 available since kernel 2.6.34.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5842 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-06-19 19:47:45 +00:00
Jean Delvare c8074717fe Add detection of ITE IT8721F.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5841 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-06-12 07:41:30 +00:00
Jean Delvare ac9059c09e Add detection of the SMSC EMC2103. Patch from Steve Glendinning (SMSC).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5838 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-06-07 09:30:14 +00:00
Jean Delvare 78dc2534ee Fix detection of RB-C3 AMD Family 10h CPU. This core is only used in
packages not affected by erratum 319, so we don't have to use the
unreliable DDR2 vs. DDR3 approach for it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5837 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-06-01 12:27:28 +00:00
Jean Delvare 51e4710815 Properly handle read errors from sensor inputs. Report them as "N/A".
This happens with a couple drivers for devices with inputs which
can come and go.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5836 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-05-23 09:04:13 +00:00
Jean Delvare d61b638245 Fix support of multiple chips. Regression in 3.1.2, faulty commit is
r5792. Fixes ticket #2377.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5835 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-05-07 09:01:58 +00:00
Jean Delvare 6c6376a12d Thanks to Asus for the donation of a server board with 2 CPUs
and 2 memory modules. Will be used for Winbond/Nuvoton W83795G
support and possibly more.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5834 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-05-03 15:10:29 +00:00
Jean Delvare 44c1bad717 Add detection of SMSC EMC1403 and EMC1404.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5833 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-04-29 16:46:24 +00:00
Jean Delvare 4cc4b9c69d We have support for the ADT7468 for quite some times now
(kernel 2.6.28).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5832 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-03-31 12:30:30 +00:00
Jean Delvare 5626f5e308 LM64 support was just added to the lm63 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5831 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-03-19 10:19:53 +00:00
Jean Delvare 573b707d5f Fix a comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5827 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-23 13:36:46 +00:00
Jean Delvare 5fe10beeda Increase MAX_SENSORS_PER_TYPE to 24. The old value of 20 isn't enough
at least for the W83795G, which has up to 21 voltage inputs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5826 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-23 13:29:05 +00:00
Jean Delvare ab9f0fed69 Add Lynnfield detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5825 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-19 12:23:31 +00:00
Jean Delvare 3dbb0a9768 Add detection of the SMSC LPC47N237 (no sensors).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5824 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-16 10:35:40 +00:00
Jean Delvare 5405489be4 Add support for Intel PCH (SMBus).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5823 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-10 13:22:56 +00:00
Jean Delvare d64aa20664 sensors-detect: Give udev time to settle before accessing i2c device
nodes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5822 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-04 08:14:10 +00:00
Jean Delvare 49efe1f4bf Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5821 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-02 20:55:49 +00:00
Jean Delvare 6e78c8c779 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5819 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-02 20:14:53 +00:00
Jean Delvare 8d5e35625a Minor cleanup in adt7490_detect().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5818 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-18 16:22:07 +00:00
Jean Delvare 9322291a6b Add detection for Analog Devices ADT7411.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5817 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-18 16:19:15 +00:00
Jean Delvare df4921b0b1 Winbond W83L771AWG/ASG support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5815 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-13 20:18:02 +00:00
Jean Delvare fab3afc75d Refine the detection of AMD family 10h processors with working
sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5814 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-20 17:11:48 +00:00
Jean Delvare 4745d9cac6 More AMD family 10h CPU models with broken thermal sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5813 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-17 10:01:14 +00:00
Jean Delvare 57373f9e6b Improve AMC6821 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5812 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-15 16:57:34 +00:00
Jean Delvare a312cc6da1 Add detection for Texas Instruments AMC6821.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5811 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-15 16:53:00 +00:00
Jean Delvare be799124f8 Differentiate between Intel Core and Atom.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5810 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-14 10:02:53 +00:00
Jean Delvare dc4a8c8f70 Add detection for VIA Nano. Update driver name for VIA C7.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5809 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-14 09:52:42 +00:00
Jean Delvare 04e9184038 We have a driver for the AMD family 10h/11h now (k10temp).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5807 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-06 16:44:08 +00:00
Jean Delvare e58cb01e91 Add detection for Nuvoton W83L771AWG/ASG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5806 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-02 16:37:37 +00:00
Jean Delvare 2485b5490f Support for the ADT7473, ADT7476 and ADT7490 is being added to the
adt7475 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5805 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-02 16:23:55 +00:00
Jean Delvare f37859035a More known revisions for the ADT7476.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5804 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-01 12:29:36 +00:00
Jean Delvare c09cff1f11 Add a default configuration section for adt7473 and adt7475.
Add a default configuration section for adt7476 and adt7490.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5803 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-01 12:14:54 +00:00
Jean Delvare 8416f31add Fix a build warning in set_degstr. The prototype of iconv() is
stupid but won't change so we have to live with it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5801 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-28 12:26:44 +00:00
Jean Delvare 8d3e7a742e Restore detection for AMD Family 10h thermal sensors. Only CPU with
model > 2 are reported, as older ones are known to have broken sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5800 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-23 12:15:26 +00:00
Jean Delvare 74425eb8fc Detect ADT7473 at 0x2c and 0x2d.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5799 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-23 09:17:55 +00:00
Jean Delvare 6d3f81d5da "alarm" is a glibc function, don't use this identifier for our own
variables to prevent any confusion.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5797 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-05 09:23:46 +00:00
Jean Delvare 7c37bd44ac Add support for HID devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5786 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-18 12:05:16 +00:00
Jean Delvare f5fc77eb58 Don't choke on virtual i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5785 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 20:21:15 +00:00
Jean Delvare cc1af46348 Add detection for Analog Devices ADT7490.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5784 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 19:55:03 +00:00
Jean Delvare 71d0b791e8 The Nuvoton W83667HG and W83677HG have the same I2C chip ID as
the Winbond W83627DHG.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5783 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 10:45:20 +00:00
Jean Delvare ae0b253b53 Add detection for Nuvoton W83667HG-B and W83677HG-I.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5782 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 08:59:16 +00:00
Jean Delvare 19fe62e6e0 Add SMBus detection for AMD Hudson-2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5781 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-12 10:51:24 +00:00
Jean Delvare c4d9a2fba3 Lower the confidence of MAX6650/1 detection, as it is really weak.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5780 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 10:41:53 +00:00
Jean Delvare b6becb237e Add detection for National Semiconductor LM73.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5779 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 10:38:14 +00:00
Jean Delvare 183947c528 Update the sysfs path to i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5778 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 08:32:33 +00:00
Jean Delvare f513a6b8b2 Document the different CPU models supported by the coretemp driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5774 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-20 08:51:45 +00:00
Jean Delvare c65c353ad9 Add detection for Intel Atom thermal sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5773 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-20 08:23:02 +00:00
Jean Delvare 7d3bddb1fa Add missing log entry.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5772 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-18 19:35:13 +00:00
Jean Delvare 8ddd1d2984 Save hwmon device paths and names in configuration file, and check them
before starting any fan control operation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5770 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-16 15:57:53 +00:00
Jean Delvare 739d25f48c Drop AMD K10 detection (unreliable sensors).
Add detection for AMD Family 11h thermal sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5769 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-14 10:50:45 +00:00
Jean Delvare bff5a8dde0 Clean up the code writing the configuration file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5767 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-13 11:19:57 +00:00
Jean Delvare 5ee7d14714 Minor line wrapping fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5766 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 17:24:25 +00:00
Jean Delvare c76907971e Check that all referenced sysfs files exist before starting. If not,
quilt immediately. Better no fan control than fan control using an
out-of-sync configuration file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5765 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 16:52:29 +00:00
Jean Delvare 835eee0a7f Don't assume legacy references to i2c devices, instead explicitly
check for them. This should help spot invalid configuration files.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5764 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 14:19:22 +00:00
Jean Delvare ea3afb6ce5 Document the previous change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5761 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-24 15:41:45 +00:00
Jean Delvare 1bb3175a5f Recent versions of module-init-tools only want *.conf files under
/etc/modprobe.d. So rename our configuration file to lm_sensors.conf
there. Also let "make install" rename the file if it already exists.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5760 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-24 13:52:28 +00:00
Jean Delvare 4d3ee85bae Support upcoming sysfs path to i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5759 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-22 12:53:51 +00:00
Jean Delvare 09d912a45f Support upcoming sysfs path to i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5758 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-22 12:20:58 +00:00
Jean Delvare 9153ce2240 The SMSC LPC47M233 isn't currently supported. If it ever is, it will most
probably not be by the smsc47m1 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5757 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 19:10:25 +00:00
Jean Delvare ab845dd7bb sensord has a manual page now. Patch from openSUSE.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5756 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 10:02:27 +00:00
Jean Delvare 963c843c6a Fix exit code. If there's no change needed, this is a success, not
a failure.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5755 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 09:50:51 +00:00
Jean Delvare f69dbc887a Report unsupported Access Bus adapters, as we already do for SMBus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5753 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-09 20:05:17 +00:00
Jean Delvare a3eb98b8db Clean up the discovery of i2c adapters, their parent and their
attributes in sysfs. Make references to i2c-adapter class less
specific, as this class is eventually going away.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5752 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-09 12:54:49 +00:00
Jean Delvare 4584499872 Encourage the user to not modify /etc/sensors3.conf. Suggested by
Aurelien Jarno to make updates easier.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5750 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-05 09:04:50 +00:00
Jean Delvare 6ff7f5e25b Exit immediately if not root.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5749 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-03 19:37:22 +00:00
Jean Delvare 6868367764 sensors_get_label: Merge pathname and label buffers (patch from
George Spelvin).
    
The lifetimes of the path and label name buffers are
disjoint, so a single buffer can be used for both purposes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5748 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-30 20:52:20 +00:00
Jean Delvare b3f39211b2 Consolidate strdup calls in sensors_get_label (patch from George Spelvin).
There were multiple in-line calls that then fell through to
a common exit.  Instead, set up a pointer to the original
strings, and have a single strdup in the common code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5747 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-30 20:47:53 +00:00
Jean Delvare 408111412b Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5744 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-21 19:14:38 +00:00
Jean Delvare c2646f2e6a Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5742 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-21 15:22:06 +00:00
Jean Delvare 0a55087719 Bump library version to 4.2.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5741 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-20 12:00:22 +00:00
Jean Delvare 78f496ca62 libsensors: New method to free the memory allocated for the internal
representation of chip names.
sensord, sensors: Fix a memory leak when one or more chip names are
provided on the command line.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5740 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-20 10:04:52 +00:00
Jean Delvare ef2f2c04ce Use the "daemon" logging facility instead of "local4" by default.
Local facilities are meant for local uses, no daemon should use it by
default.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5737 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-11 17:39:48 +00:00
Jean Delvare 8eeb9081a8 Optimize CGI generation code a bit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5736 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 12:44:44 +00:00