Jean Delvare
e814a5931b
Fix error message when a chip is specified on the command line
...
with no prefix and that chip isn't found.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4680 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-17 11:30:25 +00:00
Jean Delvare
62007a3eaf
License fix.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4669 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-15 08:23:15 +00:00
Hans de Goede
3dd7d2d9a5
Add FSC Heimdall, Poseidon II detection, change Poseidon I label from just plain Poseidon to Poseidon I
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4664 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-13 20:08:14 +00:00
Jean Delvare
a7ce0efcda
Discard legacy comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4662 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 19:54:00 +00:00
Jean Delvare
a4d0b4681a
Add detection of the Winbond W83L786NR/NG/R/G and W83L771W/G chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4660 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 19:39:43 +00:00
Jean Delvare
bd31c1ece8
List the upcoming adt7470 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4657 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 16:32:47 +00:00
Jean Delvare
8ade2b33fc
Don't probe i2c-isa as if it were a regular i2c bus. This bug was
...
introduced when getting rid of the i2cdetect dependency. I had
forgotten that i2c-isa was not listed in class i2c-dev but was
still listed in class i2c-adapter.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4649 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-10 16:45:21 +00:00
Jean Delvare
ee8268e390
Don't sort the same list twice.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4627 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-19 07:30:51 +00:00
Jean Delvare
3ac6681d72
Fix the 'ALARM' text alignment in the dme1737 print temp routine.
...
Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4626 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 21:04:50 +00:00
Jean Delvare
4c2f4416fb
Explicitly silent eeprom and ddcmon. libsensors still supports them and
...
will present them to us for older kernels (<= 2.6.13). We don't want
to display them as unknown chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4615 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 19:18:37 +00:00
Jean Delvare
7659b47112
Don't add non-sensor I2C chips to the list of detected I2C chips. Even
...
if we discard them later, their presence in the list can prevent the
"no sensors found" event from triggering. It also causes the script to
suggest loading i2c bus drivers which are not needed for hardware
monitoring.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4609 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 16:28:39 +00:00
Jean Delvare
0a90b248d2
Add Fintek F71806FG and F71862FG detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4603 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-10 21:08:36 +00:00
Jean Delvare
7655f7fb97
Adds more known SMSC Super IO chips to sensors-detect. Also sort
...
the list of SMSC chips by chip name. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4596 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 20:48:03 +00:00
Jean Delvare
6b18074f92
Only write integer values to pwm files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4592 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 11:19:10 +00:00
Jean Delvare
fd9077bd03
Use linear interpolation instead of quadratic to choose PWM values.
...
This is simpler and will work better in most cases. For example this
should address at least part of ticket #2224 . It seems that quadratic
was used to lower the average noise level, but I don't think this is a
valid reason. The new MINPWM and MAXPWM parameters will also let the
user control the noise level if really needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4588 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 10:01:50 +00:00
Hans de Goede
f51cffe559
add check for /dev/MAKEDEV
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4586 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 05:55:17 +00:00
Jean Delvare
cc286d3091
Cleanup the module.conf / modprobe.conf selection code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4584 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 19:56:58 +00:00
Hans de Goede
2df9dce47d
ommit not reported types from f71882fg temp print routine
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4581 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 17:37:19 +00:00
Jean Delvare
8f50fd32b4
Minor optimization in print_lm85().
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4575 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 08:11:09 +00:00
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
Hans de Goede
a2d5a5f60d
try to run MAKEDEV if i2c-dev device files are missing before aborting (adapted fedora patch)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4571 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:39:39 +00:00
Hans de Goede
c435d6c807
fix single & instead of && logical test in eepromer (fedora patch)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4570 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:27:33 +00:00
Hans de Goede
31a36c2c9b
handle /usr/bin location of sensors command in example scripts printed by sensors-detect
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4568 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:24:39 +00:00
Hans de Goede
7d80e62400
also recognise /etc/modprobe.conf (Fedora patch)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4566 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:13:50 +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
Hans de Goede
f7568cc281
Add fintek f71882fg support to libsensors & sensors
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4563 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 12:16:34 +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
Hans de Goede
04d8373812
update fintek f71882fg sensors-detect entry
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4560 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 08:37:08 +00:00
Hans de Goede
b1baa82ddb
Add abituguru3 support
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4551 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 05:27:35 +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
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
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
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
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
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
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
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
Mark M. Hoffman
2327a8a443
Fix silly bug, noticed by Jean.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4446 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-14 12:38:58 +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
Mark M. Hoffman
5804515677
Allow i2c block transfers with of length < 32 on kernels that support it.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4435 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-09 16:19:37 +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