Jean Delvare
5fa737e5e1
Add support for the EMC6D102 extra resolution bits. The chip offers
...
4 extra resolution bits per voltage and temperature channel, but I
chose to use only 2 bits per channel because that's what the ADM1027
has so it made the changes smaller. The EMC6D102 has a 10-bit ADC
anyway, the 2 remaining bits are obtained from averaging so they are
not so important.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4574 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 08:09:38 +00:00
Jean Delvare
ae007f5831
Clean up needless casts and initializations.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4573 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 07:55:35 +00:00
Jean Delvare
ba665c528e
Add user-space support for it87 fan4 and fan5. Closes half of ticket #2227 .
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4565 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 15:44:28 +00:00
Jean Delvare
85634eab57
Fix ADM1022 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4561 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 09:52:32 +00:00
Jean Delvare
6689a949c5
thmc50: Fix the i2c address range.
...
Add link to the datasheets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4558 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 20:51:51 +00:00
Jean Delvare
90c1efe606
lm85: Fix setting the fan speed min limit to 0.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4557 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 20:44:31 +00:00
Jean Delvare
bc7599e8ee
Make a few functions static.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4548 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:28:18 +00:00
Jean Delvare
2f88a8c1f6
Add missing include.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4547 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:27:42 +00:00
Jean Delvare
5e62351ed0
Kill stray semicolon.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4546 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:27:11 +00:00
Jean Delvare
0bf7088ebe
Don't redefine vid_from_reg().
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4542 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:09:56 +00:00
Jean Delvare
3ce2f943ca
Update doc/vid:
...
* We no longer use VRM 8.2 by default
* Update the sysfs paths
* Update the chip lists
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4541 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:08:37 +00:00
Jean Delvare
810b5ff5c6
Fix harmless symbols mix between W83782D and W83783S.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4537 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 16:02:25 +00:00
Jean Delvare
e0feefa54f
Add missing logical mapping from thermal sensor types to their temperature
...
channel. Reported by Bob Schlaermann several months ago.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4536 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:58:37 +00:00
Jean Delvare
aa66e974fb
Fix harmless FAN3 symbols mix between W83781D, W83782D and W83791D.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4535 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:38:09 +00:00
Jean Delvare
3a184b073f
Clean up Savage bus driver entries: remove the unsuppored devices from
...
the list, and mention the i2c-prosavage driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4532 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 16:40:49 +00:00
Jean Delvare
67f80ddf21
sensors-detect: Stop detecting most non-sensor chips. We will still detect
...
some of these (in particular SPD and EDID EEPROMS) at addresses where
hardware monitoring chips are known to live, to prevent misdetections, but
we no longer point the user to drivers for these chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4531 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 15:43:28 +00:00
Jean Delvare
c701e4165d
Delete links to Linear Tech. The LTC1710 isn't even a sensor chip,
...
and the links were broken.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4530 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 15:32:27 +00:00
Jean Delvare
2e6c728cc9
Fix the description of the mode field.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4524 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:24:23 +00:00
Jean Delvare
a8f7d60201
MANOWN and MANGRP are no longer used.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4523 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:15:22 +00:00
Jean Delvare
0f3092ad1b
Default $PREFIX is /usr/local, not /usr/local/bin.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4522 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:14:42 +00:00
Jean Delvare
6b0078ad8c
Add missing static markers.
...
Delete needless forward declarations.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4504 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 08:58:25 +00:00
Jean Delvare
d0c5b68569
Clean up dead code in print_bmc().
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4502 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 08:30:19 +00:00
Jean Delvare
bfd3221203
Minor corrections.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4500 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-27 15:15:12 +00:00
Jean Delvare
615f90825e
Update our copies of the GPL v2 to the latest version. The only real change
...
if the FSF address.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4483 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-27 08:30:45 +00:00
Jean Delvare
9dbe71bfd0
Add SMSC SCH5317 detection. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4478 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 20:32:47 +00:00
Jean Delvare
956675b4f4
Make sensors-detect no longer depend on i2cdetect. Parsing /proc/bus/i2c or
...
walking sysfs for the same information (i2c adapter names) is not that
difficult.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4477 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 20:23:17 +00:00
Jean Delvare
30f7fd825c
Cosmetic fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4475 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 11:34:41 +00:00
Jean Delvare
730e28ff5e
Discard irrelevant "CONFORMING TO" sections.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4470 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-26 06:23:07 +00:00
Jean Delvare
97eda71243
Add detection for non-standard SMSC Super-I/Os. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4468 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 19:00:08 +00:00
Jean Delvare
f7fbadf177
Fix the case where the system has different CPU models.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4466 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 16:28:30 +00:00
Jean Delvare
f28266b7c4
Optimizations: we don't need to initialize fan_min values, and we don't
...
need to call w83627ehf_update_client() for disabled fans.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4457 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:32:53 +00:00
Jean Delvare
106eb3a3e1
Add support for the w83627ehf thermal sensor types. I made them read-only,
...
as the BIOS is supposed to set them up properly. This information makes it
easier to find out which temperature channel corresponds to the CPU.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4456 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:17:43 +00:00
Jean Delvare
750f943973
If VBAT monitoring is disabled, enable it. Original patch from an
...
anonymous contributor in ticket #2218 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4455 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 12:17:05 +00:00
Jean Delvare
2362e26b04
Really preserve the fan speed reading when changing the fan clock divider.
...
Changeset r4452 was incomplete.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4454 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 18:52:53 +00:00
Jean Delvare
971d793d02
Add support for the w83627ehf VID function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4453 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 16:50:57 +00:00
Jean Delvare
5769166303
Really preserve the fan speed reading when changing the fan clock divider.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4452 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 13:00:02 +00:00
Jean Delvare
9366b73b8c
Add user-space support for the Linux 2.4 w83627ehf driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4449 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 11:42:28 +00:00
Jean Delvare
9befc96918
Disable debugging by default.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4448 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:21:06 +00:00
Jean Delvare
4efcb0a736
New w83627ehf driver, for the W83627EHF/EHG chip. Backported from Linux 2.6,
...
based on preliminary work by Yuan My (Winbond). Thanks to Bernardo Motta
at Observit for providing the hardware that made it possible.
Note that support for the W83627DHG isn't included, but it could easily be
added later is anyone needs it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4447 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:15:18 +00:00
Jean Delvare
c1e0dc4ee1
fancontrol: Better integration with init scripts (picked from Suse)
...
* Do not return with an error when receiving SIGTERM.
* Handle signals while sleeping.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4439 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-12 11:26:11 +00:00
Jean Delvare
8d7e7c1068
fancontrol:
...
* Check for configuration file validity
fancontrol and pwmconfig:
* Support optional min and max PWM values
Documentation updated accordingly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4438 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-11 09:27:15 +00:00
Jean Delvare
8f3f85b86e
More cleanups to fancontrol:
...
* No longer depend on grep. We already depend on egrep so let's use it
everywhere.
* Don't depend on awk to compute the target PWM value. Bash has an arithmetic
expression evaluation engine which does the job just fine.
* Use read instead of cat to read the sensor values. read is built-in, so
it's cheaper.
* When sysfs is used (2.6 kernel), do not postproces the sensor value reads
with cut, as it is not needed.
* Update the dependency list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4437 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-10 12:36:44 +00:00
Jean Delvare
2b327cd4ad
Cleanups to fancontrol:
...
* Use let for arithmetic evaluation. Patch taken from the Suse package.
* Kill old commented-out code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4436 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-10 08:05:18 +00:00
Jean Delvare
aa17619a8c
Replace all references to bmcsensors and i2c-ipmi for kernel 2.6 with
...
ipmisensors and ipmi-si in sensors-detect. Original patch from Juerg
Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4433 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-08 14:27:17 +00:00
Jean Delvare
4ab44c8494
Do not force the I2C slave address by default. It's only fair to let the
...
users know that they're doing something wrong. They can insist by using
the new -f option.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4432 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-04 18:27:34 +00:00
Jean Delvare
75d01f6763
Ignore generated files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4429 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-04 16:38:22 +00:00
Jean Delvare
c70d69185a
No driver for the MTP006.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4425 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-29 12:22:51 +00:00
Jean Delvare
2e0281ba0e
Fix alignment of alarm for one-limit temperatures.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4422 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 13:33:39 +00:00
Jean Delvare
e768f807d1
Support and use the new I2C block read with variable length which will
...
be available in Linux kernel 2.6.23. Binary compatibility is guaranteed,
source code compatibility isn't, but the incompatibility will be
spotted quickly as the prototype of the helper function
i2c_smbus_read_i2c_block_data() changed. The only problem would be if
a program is calling i2c_smbus_access() directly. Hopefully this should
be a rare case. The py-smbus binding code is in this case and will be
adjusted soon.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4417 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 08:57:41 +00:00
Jean Delvare
3d8e2f869f
Ignore generated files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4416 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 08:35:33 +00:00
Jean Delvare
6de007c984
Missing IT8726F entry.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4414 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 07:00:35 +00:00
Jean Delvare
48fdbe244b
The ITE IT8726F is now supported by the it87 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4413 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 06:37:59 +00:00
Jean Delvare
85d681d5c4
Add support for the max6680. Patch from Rainer Birkenmaier (Siemens).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4412 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-25 07:35:00 +00:00
Jean Delvare
a5ca79933f
Add Maxim MAX6680/MAX6681 detection. Patch contributed by
...
Rainer Birkenmaier (Siemens).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4410 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-22 11:29:02 +00:00
Jean Delvare
4df4376a41
sensors-detect: Add support for the ATI SB700 SMBus controller.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4408 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-17 12:05:48 +00:00
Jean Delvare
59555f0cdf
Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump
...
and friends now use the same sequence as sensors-detect uses.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4405 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-16 08:45:03 +00:00
Jean Delvare
d6aa3f5487
Fix busy flag detection. Some Super-I/O chips (W83627THF) can't read
...
back from the address port, so the value 0xff is returned, causing
a false positive with the original test. Testing explicitly for 0x80
instead of only testing that bit 7 is set, works around it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4404 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-16 08:43:22 +00:00
Jean Delvare
110b165ddb
Delete useless files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4396 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:48:28 +00:00
Jean Delvare
74b4f3f82e
Minor cleanup to the "clean" target.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4395 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:47:20 +00:00
Jean Delvare
b237f4d3f9
Update to match the current makefile targets.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4394 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:46:16 +00:00
Jean Delvare
382bdb3c0d
Ignore generated files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4391 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-08 10:45:26 +00:00
Jean Delvare
6f2e4f0b91
Add user-space support for the applesmc driver. Patch contributed by
...
Soeren Sonnenburg.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4390 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-08 10:36:06 +00:00
Jean Delvare
461e812881
i2c-nforce2: Add support for the nForce MCP61 and MCP65. This is a
...
backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4389 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 15:41:38 +00:00
Jean Delvare
275a492a51
Fix doubled word.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4387 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 12:49:08 +00:00
Jean Delvare
1f1d2f190d
pwmconfig: Use smaller steps for low PWM values. Inspired from a patch
...
from the openSuse sensors package. This is a good idea because the
PWM/speed relation isn't linear, and it is frequent that the speed
changes are concentrated in the low PWM range.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4380 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 13:37:07 +00:00
Jean Delvare
528ac16ef3
init scripts:
...
* Delete sample lm_sensors.sysconfig file, it is now generated by
sensors-detect.
* Fix several occurences of the configuration file name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4378 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 12:30:55 +00:00
Jean Delvare
2dc4003852
Fix alignment of lm85 voltages.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4377 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-26 09:01:07 +00:00
Jean Delvare
1628d2af14
More rrd cleanups:
...
* Update Makefile and README to mention hwmon class for newer
2.6 kernels
* Add missing shell declarations
* Update URI
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4373 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 13:32:53 +00:00
Jean Delvare
5c6a3acb04
sensors.conf.8: Update the chip statement section.
...
* Drop outdated reference to /proc/sys/dev/sensors
* Bus type can be pci
* Make the examples more realistic
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4370 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-17 18:56:50 +00:00
Jean Delvare
21b322fd3f
rrd/sens_update_rrd: Support non-i2c devices. Since kernel 2.6.14, hardware
...
monitoring devices are better accessed through the hwmon class. Original
patch from Jeff Kosowsky.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4369 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-17 09:09:54 +00:00
Jean Delvare
0db2710999
sensors-detect: Add /usr/sbin to the PATH. i2cdetect might be there instead
...
of in /usr/local/sbin. Many users have been complaining and several
distribtions were (rightly) modifying sensors-detect because of this.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4358 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-04 19:24:39 +00:00
Jean Delvare
df35b2d189
Add user-space support for the SMSC DME1737. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4355 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-27 15:46:14 +00:00
Jean Delvare
a3e5a4d228
libsensors: Clean up pwm symbol names translation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4354 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 17:08:20 +00:00
Jean Delvare
628e9ffba4
sensors-detect: Probe the Super-I/O families from the shorter enter
...
sequence to the longer one, and stop as soon as one enter sequence worked.
This avoids false positives.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4353 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:25:57 +00:00
Jean Delvare
2f1bfd2e6b
sensors: Drop ddcmon and eeprom support. This had been announced some time
...
ago already. These are not sensors, they don't belong there.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4352 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:19:09 +00:00
Jean Delvare
cbdca6d91a
isadump: In addr/data-style mode, detect when bit 7 of the address port
...
is a busy flag, and automatically adjust the range from 256 to 128 bytes
in that case.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4351 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:16:12 +00:00
Jean Delvare
d7521f982b
Spelling fix: explicitly.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4348 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-18 09:45:21 +00:00
Jean Delvare
572723411f
sensors-detect: Make the LM78 and W83781D detection safer.
...
If we find that the register at offset 5 doesn't behave as it would for
an LM78 or W83781D chip, attempt to restore its 8 original bits rather
than just the 7 LSB.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4347 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 21:07:54 +00:00
Jean Delvare
4139fb3407
Fix repeated typo in chip name.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4346 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:23:02 +00:00
Jean Delvare
11976a4391
libsensors: Fix max1619 support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4345 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:15:35 +00:00
Jean Delvare
e3f004eedc
libsensors: Fix support of Linux 2.6's max6650 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4344 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 12:57:34 +00:00
Jean Delvare
3542faf771
Change the MAX6900 driver from "to-be-written" to "not-a-sensor". This is
...
a RTC chip. We detect it only because it lives at address 0x50, which is
also used by some hardware monitoring chips and most notoriously EEPROMs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4343 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-16 09:36:42 +00:00
Jean Delvare
8ef87e8737
sensors-detect: Add SMSC SCH5504 Super-I/O detection (no sensors). Patch
...
contributed by Corentin Labbe.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4342 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-11 12:50:55 +00:00
Jean Delvare
11be56d092
fancontrol.pl: Fix pwmN_enable access ( #2190 ).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4341 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-11 10:21:46 +00:00
Jean Delvare
121fc83822
sensors-detect: Add National Semiconductor (now Winbond) PC8347L
...
Super-I/O detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4340 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-10 18:40:00 +00:00
Jean Delvare
bd03b54046
Compile libsensors with -D_REENTRANT.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4339 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-10 18:38:16 +00:00
Jean Delvare
560d6cc458
library: Handle the i2c-isa case properly even after the class_dev
...
removal. In recent kernels we can detect i2c-isa devices by checking
the i2c bus number: i2c-isa always uses 9191 as its bus number.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4337 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 15:58:21 +00:00
Jean Delvare
bb954ebf0e
Warning fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4336 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 15:07:00 +00:00
Jean Delvare
217c7bbaff
i2cdump: Cleaner output in SMBus block read mode (s).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4335 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 14:57:56 +00:00
Jean Delvare
49a1b7a503
sensors: Do not print adapter errors when -A is used.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4334 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 14:10:39 +00:00
Jean Delvare
4da00e38a6
Fix ADM1028 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4333 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-24 18:13:41 +00:00
Jean Delvare
946fc47468
smsc47m1: Get rid of a useless semaphore (backport from Linux 2.6).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4332 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:48:54 +00:00
Jean Delvare
820bd2eda7
Add support for the SMSC LPC47M292 fans.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4331 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:33:32 +00:00
Jean Delvare
a1559d82f8
sensors-detect: Add nVidia MCP61 and MCP65 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4330 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 13:50:49 +00:00
Jean Delvare
026737e683
Add SMSC LPC47M292 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4329 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 19:41:37 +00:00
Jean Delvare
745df245fa
Cleanup a legacy comment that has been replicated to many drivers
...
but is no longer true. Backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4328 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:40:08 +00:00
Jean Delvare
86da07df5b
Drop unused mutexes in 3 drivers. Backport from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4327 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:32:55 +00:00
Jean Delvare
a0d41dc880
libsensors: Do not skip i2c adapters with only a class device and no
...
physical device. This change is required to survive the planned struct
class_dev removal from future 2.6 kernels.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4326 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 11:58:53 +00:00
Jean Delvare
8e64f3890e
sensors-detect: Add Dallas DS75 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4325 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:45:49 +00:00
Jean Delvare
567c1e3e3a
i2c-ali1563: Fix device initialization (backported from Linux 2.6)
...
The i2c-ali1563 initialization looks quite broken to me:
* If the I/O space isn't enabled, we forcibly set 3 bits in
the PCI configuration space instead of just the one enabling
the I/O space.
* After that we pretend to check if the write worked, but we
don't actually read the new value from the register.
* It's probably not a good idea to enable the I/O space if no
base address has been set.
So I propose the following changes to that part of the driver:
* Merge ali1563_enable() into ali1563_setup().
* Check the base address before the I/O space enabled bit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4324 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:42:43 +00:00