Mark M. Hoffman
36d420a4a6
bugfix: cut-n-paste mistake in previous fix *sigh*
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2667 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-19 19:12:16 +00:00
Mark M. Hoffman
8ad8ec2c5e
bugfix: forgot to actually update/read block1 - this should fix broken
...
alarm and #VRDHOT readings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2666 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-19 18:50:38 +00:00
Jean Delvare
3046624dea
Hide 2.6 adm1027 alarm_mask being missing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2665 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-19 17:22:24 +00:00
Jean Delvare
0d969d7486
Support udev. Patch by Aurelien Jarno.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2664 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-18 19:55:33 +00:00
Jean Delvare
89deecca35
Wait for user input to continue (as opposed to 5 sec delay).
...
Can be skipped using -y.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2663 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-16 18:55:39 +00:00
Jean Delvare
ed81aef459
Include xeontemp and pc87360 in the patch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2662 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-16 18:24:55 +00:00
Jean Delvare
e7f4222ccb
Mass coding-style update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2661 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-15 12:23:14 +00:00
Mark M. Hoffman
34f34e64ca
Added support and documentation for:
...
* reading #VRDHOT inputs
* reading GPIO pins (input only for now)
* reading alarms status
* #PROCHOT override control
* #PROCHOT sampling interval control
* Manual PWM output control
* PWM output frequency control
Also, some whitespace cleanup in the driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2660 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-13 19:29:33 +00:00
Mark M. Hoffman
e5ee8c4b03
bugfix: smart tach handling was not quite finished
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2659 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-12 22:21:25 +00:00
Jean Delvare
85aa44e467
Backport some cleanups and fixes from 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2658 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-12 19:51:04 +00:00
Jean Delvare
47b99847bb
Support 2.6 kernels and sensors in /usr/bin. Original patch by
...
Giuseppe Della Bianca.
Additional indentation cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2657 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-11 17:29:00 +00:00
Jean Delvare
fd5761aac5
Backports from 2.6:
...
* Default to kind lm83 if forced.
* Fix temperature macros.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2656 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-09 18:36:02 +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
6cd3332205
Fix (unused) logical device enable register value.
...
Fix pwm_enable being inverted.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2652 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-01 09:17:37 +00:00
Jean Delvare
3145dca984
Discard outdated module parameters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2651 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-01 08:59:48 +00:00
Jean Delvare
7a3d256045
Detect the LM63.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2650 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-31 16:09:37 +00:00
Jean Delvare
c74c331d1e
Patch by Kris Van Hees:
...
Here is a small patch that fixes the setting of limits on the temp2 sensors
in the MTP008 chip. The code (embarassingly written by myself when I wrote
the MTP008 chip driver a long time ago) would always update the hyst and max
limits of the first temp sensor, even when you tried to set it for the 2nd
or 3rd sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2649 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-31 13:00:59 +00:00
Mark D. Studebaker
be21b1fdaa
spoof LOGNAME and HOSTNAME when making html man pages
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2648 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 19:15:09 +00:00
Mark D. Studebaker
86e0a5ef92
cleanups - remove parens in synopsis (docbook doesn't like);
...
replace I\u2\dC with I2C since man2html doesn't translate it
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2647 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 19:00:21 +00:00
Mark D. Studebaker
e4790ad057
remove my email address
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2646 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 18:58:56 +00:00
Mark D. Studebaker
1187c8b952
shorten sensor types for w8378x so lines don't wrap on 80-column terminal
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2645 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 18:38:04 +00:00
Mark D. Studebaker
70d2d75e54
remove reset of chip by driver on initialization
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2644 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 18:20:07 +00:00
Mark D. Studebaker
8ec58b6b76
fix alphabetical order
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2643 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 17:54:10 +00:00
Jean Delvare
687fb60ff4
Support 2.6 smsc47m1 better.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2642 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-23 17:35:19 +00:00
Jean Delvare
1f15d4d019
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2641 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-18 19:59:29 +00:00
Jean Delvare
7ec4284d27
Perl cleanups as suggested by ton of #perl@ircnet (part 2).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2640 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-14 14:58:21 +00:00
Jean Delvare
b5737acfa2
Perl cleanups as suggested by ton of #perl@ircnet (part 1).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2639 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-14 13:52:19 +00:00
Jean Delvare
746d4adbee
Detect devfs and refuse to run.
...
Use mknod's mode instead of chmod.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2638 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-09 18:45:42 +00:00
Jean Delvare
ec48efad1c
Fix LM75 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2637 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-08 19:16:14 +00:00
Jean Delvare
58fffd81d7
Display PC87365/PC87366 VID.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2636 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-08 19:08:08 +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
ddd96c7499
Set vrm before using vid in adm1025.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2632 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 11:35:21 +00:00
Jean Delvare
78b3499292
Fix adm1025 limits, which got broken by my previous code
...
refactorization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2631 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 10:51:46 +00:00
Jean Delvare
3ca3fbdd55
Display adm1025 VID with 3 decimal places.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2630 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 07:36:57 +00:00
Jean Delvare
1b99a9c4ad
More init stuff.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2629 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 15:50:27 +00:00
Jean Delvare
8d9f022f71
Detail LM75-compatible chips issues.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2628 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 10:58:59 +00:00
Jean Delvare
d6d0d33352
Rework detection to take benefits of the no-register addresses
...
returning the last read value. Should prevent about any
misdetection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2627 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 09:01:09 +00:00
Jean Delvare
eb4300426a
Typo on lm77.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2626 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 07:18:09 +00:00
Jean Delvare
30d9c4ec79
The LM77 is not compatible with the LM75.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2625 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 07:17:52 +00:00
Jean Delvare
56d3d3db9a
Fix LM77 detection (Andras Bali).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2624 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 06:59:11 +00:00
Jean Delvare
49db6d7a10
If the kernel is compiled w/o modules, /proc/modules does not
...
exist (Andras Bali).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2623 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-02 22:01:17 +00:00
Jean Delvare
13493f1bc1
Rework LM75 and LM77 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2622 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-02 21:59:30 +00:00
Jean Delvare
8be0b3c51a
Support the LM77.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2621 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-01 21:23:09 +00:00
Jean Delvare
96ce2beda2
Additional debug message on thermistor/thermal diodes conflict.
...
Implement init sequence as documented by National Semiconductor
(init >= 2).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2620 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-30 21:01:32 +00:00
Jean Delvare
049b4667ba
Fix IN_TO_REG and TEMP_TO_REG macros.
...
Drop unneeded variable.
Refine detection using status registers.
Update limit registers again.
Init high limits if they read 0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2619 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-27 19:43:51 +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