Frodo Looijaard
52b2ce8f52
Patches to make it compatible with kernel 2.3.27 and newer
...
* Improved monitoring of /proc directories
Instead of doing:
proc_bus_i2c->fill_inode = &monitor_bus_i2c;
void monitor_bus_i2c(struct inode *inode, int fill)
{
if (fill)
MOD_INC_USE_COUNT;
else
MOD_DEC_USE_COUNT;
}
you can now simply set:
proc_bus_i2c->owner = THIS_MODULE;
and this is just as good!
* An old 2.3 problem seemingly never was resolved yet: instead of using
a *wait_queue directly, you have to use a wait_queue_head_t and
initialize it properly:
#if (LINUX_VERSION_CODE < 0x020301)
static struct wait_queue *pcf_wait = NULL;
#else
static wait_queue_head_t pcf_wait;
#endif
#if (LINUX_VERSION_CODE >= 0x020301)
init_waitqueue_head(&pcf_wait);
#endif
except for this, semantics remain the same (but using a plain
wait_queue_head_t instead of a pointer to a wait_queue)
* I had to change the semantics of sensors_register_entry slightly,
to make the monitoring of /proc/sys/dev/* files possible for kernels
2.3.27 and newer. It now takes an additional parameter, which you
can specify as THIS_MODULE.
* THIS_MODULE is only defined in kernels 2.3.13 and later; added
it to compat.h and the compatibility section of mkpatch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@640 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-30 20:48:43 +00:00
Frodo Looijaard
e3ff8f1660
Added entry on TODO list:
...
* Add MTP006F chip: http://www.myson.com/Pcd/MTP006/Mtp006.pdf
gfiala@s.netic.de (Guido Fiala) has one on his mainboard
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@639 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-28 18:48:17 +00:00
Frodo Looijaard
7bc2f2ff25
mkpatch fix to make CONFIG_I2C_VIA depend on CONFIG_I2C_ALGOBIT
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@638 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-25 19:43:03 +00:00
Frodo Looijaard
76137a7bf2
Typo as spotted by Kevin Ryde fixed
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@637 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-23 22:54:26 +00:00
Frodo Looijaard
3a48853a5e
Some additional things to do when releasing.
...
Added/changed:
- Update, if necessary, the version number of `sensors'
(edit prog/sensors/sensors.c and change the VERSION define)
- Update if necessary, the version number of libsensors
(edit lib/Module.mk and change LIBMAINVER and/or LIBMINORVER)
Remember: update main number when interface changes, minor if new
functionality is added, and patch if only bugs are fixed.
- Update lm_sensors.lsm and send it to the LSM by mailing it to
lsm@execpc.com with the subject `add' (no quotes).
Also bumped up the `sensors' version number (should have done that
long ago), it is now at 1.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@636 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-20 19:45:47 +00:00
Frodo Looijaard
3f5c8939fd
fan div error in adm driver correction
...
Strange, I thought I had committed this one a few days ago...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@635 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-20 19:27:10 +00:00
Frodo Looijaard
939f9d40f1
slight update of the module usage documentation
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@634 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-20 19:23:34 +00:00
Frodo Looijaard
a45067c280
Some remarks in INSTALL about adding /usr/local/lib to
...
/etc/ld.so.conf if you get libsensors not found problems.
Had this one two or three times in the ticket area the last weeks...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@633 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-20 19:20:28 +00:00
Kyosti Malkki
d4fe780d20
(Kyösti)
...
- SiS 5595 patches, thanks to Olaf Titz
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@632 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-18 23:42:12 +00:00
Mark D. Studebaker
ca3bb1f55a
(mds) fix the as99127f negative voltage computation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@631 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-14 18:09:29 +00:00
Mark D. Studebaker
431bc93826
(mds) fix as99127f detection again.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@630 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-14 17:45:29 +00:00
Mark D. Studebaker
7397fcbf24
(mds) add detection for AMD-756 Athlon chip. No I'm not writing the driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@629 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-14 17:29:50 +00:00
Mark D. Studebaker
6b697a2b1c
(mds) remove request_region for ACPI area. This would eventually
...
have conflicted with kernel ACPI support if it would access
ali15x3 registers directly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@628 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-14 02:41:27 +00:00
Frodo Looijaard
c34175d0a2
Changed sensors-detect to understand i2c-isa.o and other dummy
...
adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@627 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-13 22:57:17 +00:00
Mark D. Studebaker
6efeb08008
(mds) Sort apps into those that use our package and those that don't.
...
Add reference to procmeter.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@626 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-12 03:37:42 +00:00
Mark D. Studebaker
b2a1ac6622
(mds) Try again for as99127f detection. Remove verification of
...
address register 0x48.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@625 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-12 03:13:22 +00:00
Frodo Looijaard
03866e7fb8
Stupid Makefile copy-and-paste bug (thanks Thomas Winder!)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@624 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-10 13:36:25 +00:00
Mark D. Studebaker
0a321e2e6c
(mds) update URL for GLS.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@623 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-06 21:32:15 +00:00
Mark D. Studebaker
c522fca357
(mds) moved cpuburn down. Updated winbond info.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@622 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-06 21:02:21 +00:00
Mark D. Studebaker
8d18e2c824
(mds) added reference to 'cpuburn' program here: http://users.ev1.net/~redelm/
...
Short and simple. Give it a try. If you didn't know which sensor
was your CPU sensor this will definitely tell you.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@621 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-06 20:58:17 +00:00
Mark D. Studebaker
bce5bc715f
(mds) Fix detection for as99127f (hopefully)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@620 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-05 04:08:07 +00:00
Frodo Looijaard
c5fe440f59
Fixed Makefile problems
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@619 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-01 23:01:08 +00:00
Mark D. Studebaker
86de97cd41
(mds) as99127f update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@618 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-31 02:38:49 +00:00
Mark D. Studebaker
c31a3f5ad8
(mds) Change VID_FROM_REG to allow values 0x06 - 0x0F
...
(1.75 to 1.30 Volts) as specified in Intel document
243773302.pdf. Lower voltages are coming!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@617 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-31 00:51:13 +00:00
Mark D. Studebaker
5ba1006fbb
(mds) add libsensors and sensors support for:
...
lm84, gl523, thmc10, lm81, thmc50, adm1022.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@616 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 23:31:39 +00:00
Mark D. Studebaker
5810aef4cc
(mds) add as99127f.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@615 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 23:29:45 +00:00
Mark D. Studebaker
f6edfe75bd
(mds) Add support for the Asus AS99127F. Treat as an I2C-only W83782D for now.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@614 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 21:26:21 +00:00
Mark D. Studebaker
dee0c2529a
(mds) remove bomb-causing commas I put in at lines 249,255 (gl520/525)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@613 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 19:51:37 +00:00
Mark D. Studebaker
15b77ed76d
(mds) add comment that LM77 should someday be recognized as distinct
...
from an LM75.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@612 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 18:56:28 +00:00
Mark D. Studebaker
2afb884fea
(mds) doc update. Clarify description of problems with SMBus hangs on ASUS P5A motherboards.
...
All reports of hangs have been on ASUS P5A boards.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@611 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-28 00:20:17 +00:00
Mark D. Studebaker
8a1c339eb3
(mds) Claim support for LM77. Minor updates in other docs.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@610 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-28 00:12:52 +00:00
Kyosti Malkki
479d4b46f8
(Kyösti)
...
* minor document update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@609 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-22 23:29:34 +00:00
Mark D. Studebaker
7a82fa112b
(mds) update. completed extended beep register support for 78[23].
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@608 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 03:23:51 +00:00
Mark D. Studebaker
cdeabce01f
(mds) add reference to new '810E' chipset for Pentiums. The 801 chip is
...
a part of this chipset too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@607 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 03:02:56 +00:00
Mark D. Studebaker
e888c54cb9
(mds) add reference to GL525.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@606 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:54:48 +00:00
Mark D. Studebaker
34f4db93a2
(mds) fix lm84/gl523 syntax errors. Add gl525 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@605 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:53:38 +00:00
Mark D. Studebaker
d23580c058
(mds) fix LM84 detection. Mfr ID in different place than the other chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@604 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:13:51 +00:00
Mark D. Studebaker
d5f72aebac
(mds) add support for gl523sm (adm1021 clone) to adm1021.c and sensors-detect.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@603 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:00:43 +00:00
Mark D. Studebaker
129e08cc94
(mds) Add support for LM84 (ADM1021 clone) to adm1021.c and sensors-detect.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@602 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 01:51:27 +00:00
Mark D. Studebaker
52ede0a657
(mds) add support for beep3 register in 782d/783s/627hf.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@601 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 01:26:00 +00:00
Mark D. Studebaker
f86aec92f7
(mds) Disable beeps by default.
...
Reenable by 'set beep_enable 1' in sensors.conf or
by 'echo 1 > /proc/.../w83781d.../beep
Ref. tickets 178, 183, 195.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@600 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 01:10:18 +00:00
Frodo Looijaard
0681c836ae
mkpatch error which made the building of the adm9240.c driver
...
impossible (!)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@599 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-15 01:58:33 +00:00
Frodo Looijaard
81dffef065
TODO update
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@598 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-13 13:39:17 +00:00
Philip Edelbrock
b553734c76
(Phil) Updated release checklist
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@596 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-08 04:35:50 +00:00
Philip Edelbrock
01343be50f
(Phil) Prep for 2.4.3 release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@595 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-08 03:36:26 +00:00
Frodo Looijaard
847d1d3d0f
Corrected scaling of temperature limits.
...
See ticket 181 and 184. Basically, the limits were scaled by 100 instead of
10.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@594 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-06 16:59:55 +00:00
Frodo Looijaard
d95c8361c2
TODO update
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@593 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-04 15:02:37 +00:00
Frodo Looijaard
1be8e3b138
Bug fixed that made it impossible to insert the adm9240 driver
...
When checking for adapter functionality, a '!' had disappeared :-(
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@592 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-04 14:09:53 +00:00
Mark D. Studebaker
c482ca5da3
(mds) added ADM1022/THMC50 to list of supported chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@591 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-02 14:42:38 +00:00
Mark D. Studebaker
96f1a50f69
(mds) add in name of thmc50/adm1022 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@590 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-02 14:24:07 +00:00