Jean Delvare
0ca7f76745
Re-enable VLM and TMS monitoring if needed (init>0).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2524 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-11 18:25:56 +00:00
Jean Delvare
8c83ad61c9
Improve selection of Vref.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2521 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-10 18:57:40 +00:00
Jean Delvare
967bbba20d
Do not include SENSORS_INSMOD stuff.
...
Rework chip initialization.
New module parameter: init.
Honor pwm invert bits again.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2507 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 10:14:51 +00:00
Jean Delvare
e58bec5c89
Forcibly enable in7, in8, in10 and temp3 at init time. They are
...
internal so they have to exist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2506 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-02 19:02:00 +00:00
Jean Delvare
3803f854a6
Do not read fan data when monitoring is disabled.
...
Zero private data on init, since channels can be disabled.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2502 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-01 19:08:55 +00:00
Jean Delvare
fd1169752d
Use a different vref if set to external.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2498 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-30 21:19:39 +00:00
Jean Delvare
b46272cb2a
Add some temporary PWM debugging stuff.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2495 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-30 16:57:14 +00:00
Jean Delvare
bb5da5b8a8
Ignore fan invert configuration bits.
...
Do not depend on "new data ready" bit for fan speed update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2492 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 21:34:39 +00:00
Jean Delvare
352fb41c68
Fix fan configuration being read from the wrong registers.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2486 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 18:07:52 +00:00
Jean Delvare
084a788bc6
Mask voltage and temperature alarm registers.
...
Fix temp status sysctl values.
Clear fan alarms after we read them.
Do not read invalid or old fan values.
Do not read voltage and temperature alarms on fan-only chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2485 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-27 18:56:06 +00:00
Jean Delvare
eb13a07e48
Be concurrent-access safe (i.e. ensure than no bank change occurs
...
in our back).
Fix compilation without DEBUG.
Do not read in and temp alarms more than needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2481 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-26 17:53:43 +00:00
Jean Delvare
f33169d5cd
Retrieve fans configuration from Super-I/O space; export
...
pwm_enable (read-only); handle fan invert.
Fix temp_crit being read from temp_min register.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2479 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-26 16:58:52 +00:00
Jean Delvare
f5a0f7d493
Add some debug output.
...
Show more status bits (voltages and temperatures).
Fix incorrect use of const.
Clear status bits on update.
Fix temperature reads (min, crit and current).
Fix temperature writes (min).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2477 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 15:23:32 +00:00
Jean Delvare
44014e8b70
Correctly handle the case where some of the logical devices are
...
disabled.
Add KERN constants to printks.
Reindent.
Fix error path in detect function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2474 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 06:53:07 +00:00
Jean Delvare
7c8db8e5ff
Fix driver not being called by i2c-proc.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2473 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 21:29:01 +00:00
Jean Delvare
a41a6d70ab
Fix fan speed computations.
...
Fix voltage magnitudes.
Fix voltage limits order.
Add voltage limits write support.
Add temperature limits write support.
Prevent user from setting limit of nonexistent fan 3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2460 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 17:55:10 +00:00
Jean Delvare
db71a2a1a4
Support voltages and temperatures of National Semiconductor
...
PC87365 and PC87366 (read-only).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2453 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:46:14 +00:00
Jean Delvare
239b3d0344
Backport memory allocation reworking from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2445 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 17:20:01 +00:00
Jean Delvare
2901509e24
Correctly set the chip name depending on the type.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2429 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:57:41 +00:00
Jean Delvare
2cdac4e54a
The pc87360 driver now support the PC87365 and PC87366 as well,
...
and can write to registers. Untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2427 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:41:30 +00:00
Jean Delvare
1a7c4d2eed
Also support the PC87365 and PC87366.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2420 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:59:38 +00:00
Jean Delvare
26d763bb48
Preleminary (read-only) National Semiconductor PC87360, PC87363
...
and PC87364 fan monitor and controller support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2418 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:27:50 +00:00