2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-18 13:54:58 +00:00
Commit Graph

740 Commits

Author SHA1 Message Date
Jean Delvare
b8c3e5268a Fan control init script by Dean Takemori.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2607 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-23 19:36:49 +00:00
Jean Delvare
8d3f9bebd9 Sync with Dean.
"Appended to this message is the current version of the
fancontrol script that I am happily using.  It uses POSIX::_exit()
to avoid the double-call to the END block, plus it logs STDOUT and
STDERR to different logfiles."


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2606 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-23 18:34:24 +00:00
Jean Delvare
35f4d9595c Make sure restorefans is called only once. Suggested by James
Olin Oden.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2605 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-22 18:51:08 +00:00
Jean Delvare
e7e4c799da Implement "make user_uninstall". Original patch contributed by
Rudolf Marek.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2604 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-20 14:18:28 +00:00
Mark D. Studebaker
6927c8e1c5 (mds)
From: Dean Takemori <deant@hawaii.rr.com>
Add END {} block to restore fans on many kinds of errors/interrupts.
Remove arugment from restorefans


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2602 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 19:56:12 +00:00
Jean Delvare
ec02d1a532 Fix PCA9540 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2596 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 07:13:53 +00:00
Jean Delvare
852f834e9c Detect the LM93.
Detect the PC8739x Super-I/O family (no sensors).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2592 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-12 16:22:20 +00:00
Jean Delvare
0d9f6417d5 Cut long line properly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2584 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-05 19:04:02 +00:00
Jean Delvare
223e162b3a Trivial adm1031 fan change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2582 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-05 17:10:05 +00:00
Jean Delvare
2130cacf83 The ADM1030 and ADM1031 now have a driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2579 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-05 08:46:17 +00:00
Jean Delvare
622abe745f Support the MAX6659.
Refine the LM90 family detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2578 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-04 22:18:30 +00:00
Jean Delvare
be77f5a4ce Initial ADM1030 and ADM1031 support. Contributed by Alexandre
d'Alton.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2573 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-03 21:32:19 +00:00
Mark D. Studebaker
77dd1086a8 add fancontrol.pl
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2572 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-31 04:23:24 +00:00
Mark D. Studebaker
c86fb14b69 from Dean Takemori <deant@hawaii.rr.com>:
Still technically beta quality, but in my local testing it works equivalently to the /bin/sh
script provided in lm_sensors-2.7.6/prog/pwm but with the bonuses that
a) it doesn't need to spawn outside programs (sleep, grep etc)
b) it can daemonize itself, so it works better as a /etc/init.d script


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2571 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-31 04:19:24 +00:00
Jean Delvare
ec19dbfa3f Refine MAX6650/MAX6651 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2566 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-26 19:04:44 +00:00
Jean Delvare
bd3d250159 Initial MAX1619 support, contributed by Alexey Fisher.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2564 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-24 20:25:13 +00:00
Jean Delvare
8baa707534 Prevent unknown/disabled adapters from appearing more than
once in modprobe list.
        Hide unknown/disabled adapters algorithm (useless, and doesn't
        work in 2.6 anyway).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2560 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-23 07:18:42 +00:00
Mark D. Studebaker
3e3273d369 add support for ICH6 and 6300ESB (backport of 2.6 patch)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2558 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-22 04:02:19 +00:00
Marius Reiner
852268883d (mariusr) typo which caused problems with old sed versions
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2553 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-20 17:25:29 +00:00
Jean Delvare
0c3feeb6ae Add PC87373 detection. It is a Super-I/O with 3 tachometers and
3 PWM outputs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2552 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-20 07:43:53 +00:00
Jean Delvare
078a40c7c6 Missing space before pc87366 temperature alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2550 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 19:49:08 +00:00
Marius Reiner
93dfb6fa12 (mariusr) restorefans on TERM and KILL (submitted by Stephen Kitt)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2549 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 19:12:43 +00:00
Marius Reiner
654982ccf3 (mariusr) check the other mandatory settings, make FCFANS optional
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2546 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 13:59:59 +00:00
Jean Delvare
6707ff8c59 Support pc87366 thermistor inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2543 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-17 18:36:31 +00:00
Mark D. Studebaker
f0fe895cb1 print out libsensors version too
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2538 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-16 16:04:58 +00:00
Jean Delvare
135834c625 Detect the MAX1619.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2533 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-15 11:32:19 +00:00
Jean Delvare
27ea76ac87 Add ASB100 support. Patch by Andrew May.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2527 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-12 20:05:14 +00:00
Jean Delvare
6793b0cdbd Fix double detection of ISA chips.
No, don't ask for drivers, we're busy.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2526 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-12 19:41:37 +00:00
Jean Delvare
08091f09b2 Fix typo. Reported by Rutger Nijlunsing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2520 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-09 17:27:55 +00:00
Jean Delvare
12e4bc4853 Follow new sysfs naming scheme.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2514 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 19:38:20 +00:00
Jean Delvare
7f22c17c1b Update links to my own pages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2513 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 15:48:07 +00:00
Jean Delvare
16628b5165 Patches by Aurelien Jarno:
I found a small bug in sensors and sensord when used with a w83781d
chip. On this chip the alarms for temp2 and temp3 are merged. However
that is not handled in sensors and sensord.

Please find attached two patches to fix that, one concerning sensors and
the other one concerning sensord.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2511 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 12:24:16 +00:00
Jean Delvare
f032b85a9d Use new sysfs file name conventions. Suggested by Rutger
Nijlunsing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2510 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 11:33:47 +00:00
Jean Delvare
5f48e8e6ad Patch by Aurelien Jarno:
When running sensors-detect on a system with devfs enabled, and the
/proc/mounts report its device different from 'none' (for example devfsd
uses 'devfs' as device name), sensors-detect don't detect devfs and try
to use normal names for i2c devices.

The attached patch fixes that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2509 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 11:26:47 +00:00
Jean Delvare
4ef5ecd429 Inverse beep bits of the as99127f in the driver rather than in the
user-space.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2504 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-02 13:49:14 +00:00
Jean Delvare
6ac599754a New --rrd-no-average parameter.
Syncronize time slots with rrd.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2503 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-01 19:18:53 +00:00
Jean Delvare
e259edf917 Allow probing range selection.
Fix quick writes and byte reads being swapped in default mode.
        Misc fixes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2501 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-01 14:43:38 +00:00
Jean Delvare
ab201099f6 Support GeForce FX 5900 video cards.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2494 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-30 16:56:41 +00:00
Jean Delvare
4d095e0921 New manual page for isaset.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2490 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 17:43:50 +00:00
Jean Delvare
62b7916019 Add missing include.
Discard unused hexchar function.
        Massive reindent.
        Rework the command line parameters handling.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2489 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 17:24:45 +00:00
Mark D. Studebaker
6f821d2ad8 new isaset program. Warning - lightly tested.
Please test and improve as necessary.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2488 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 23:54:09 +00:00
Jean Delvare
acbe389aa9 Use the correct alarm bits for pc87366 temperatures and voltages.
Refactor pc87366 temperatures and voltages code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2487 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 18:10:47 +00:00
Jean Delvare
23eed72eb1 Fix pc87366 temp alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2484 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-27 18:24:29 +00:00
Jean Delvare
0738cd0915 Document the new flat address options.
Add a few notes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2476 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 13:30:21 +00:00
Jean Delvare
ad91c909d8 Add bank support to flat address space mode.
Default to bank register 0x07 for Super-I/O chips.
        Move default bank register selection to a separate function.
        Move setting/restoring bank to a separate function.
        Allow dumping of shorter ranges (flat address space mode).
        Limit I2C-like dumps to addresses up to 0x3fff.
        Print expected ranges on range errors.

        This should allow us to work with the PC87360 family of chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2475 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 13:26:45 +00:00
Jean Delvare
635b1b06bc Support the LM99 (and LM89).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2471 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 08:10:48 +00:00
Jean Delvare
b3ccf0787c Improve LM89/LM99 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2469 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-23 16:25:56 +00:00
Jean Delvare
1f40482fd7 Move i2c device opening to a separate function.
Move actual scanning to a separate function.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2467 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-22 19:47:08 +00:00
Jean Delvare
60d0048763 Fix lm80 displaying HOT alarm instead of OS alarm. Caught by
Shawn Starr.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2466 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-22 18:47:48 +00:00
Jean Delvare
783c6a0ed6 Adapt probing method to address. Should prevent any kind of
EEPROM corruption. Previous method (quick writes for every
        address) can be forced with -q. Read bytes can be forced with -r.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2465 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-21 20:58:05 +00:00