Jean Delvare
bdf62a3854
Log the error code on failure, to make it easier to investigate
...
problems.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4887 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 17:11:58 +00:00
Jean Delvare
dcfa78cb95
Hide error on missing adm1021 die code. Patch from Aurelien Jarno.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4880 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-24 16:49:59 +00:00
Jean Delvare
1092d1d731
Use strchr() and strrchr() instead of the deprecated index() and rindex().
...
Patch from Bernhard Fischer.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4861 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 21:23:12 +00:00
Jean Delvare
ed71926529
Add w83793 support to sensord.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4823 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-20 11:04:48 +00:00
Jean Delvare
5beebbb0bb
Fix memory leaks in command line parsing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4821 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 15:21:06 +00:00
Jean Delvare
4a5de7fb98
Fix a memory leak when daemonizing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4820 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 15:20:25 +00:00
Jean Delvare
b6f94cb717
Synchronize the sensord version with the lm-sensors version. We're
...
using the same version number for sensord since October 2002!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4810 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 11:49:21 +00:00
Jean Delvare
e75c3e60ab
sensord: Fix f71805f fans. Cleanup pc87427 fans.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4809 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 11:44:30 +00:00
Jean Delvare
94b1dae3d1
Warning fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4808 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 11:32:48 +00:00
Jean Delvare
5cbb6046a4
Better thmc50/adm1022 support. Original patch by Krzysztof Helt.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4799 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-17 11:10:07 +00:00
Jean Delvare
203aea1f51
Hide error on missing dme1737 fan and pwm.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4798 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-17 10:58:50 +00:00
Jean Delvare
b5b5507599
Add sch311x support. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4789 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:09:35 +00:00
Jean Delvare
5b6a9ed338
sensors -s takes no further options.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4786 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:02:12 +00:00
Jean Delvare
684cd20070
Stop mentioning the alias trick for i2c-dev, it no longer works and it
...
doesn't have anything to do with sensors anyway.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4785 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:01:20 +00:00
Jean Delvare
82197ef51e
Fix ATI SB700 SMBus support, add SB800 support (backport from Linux 2.6,
...
original patch by Shane Huang).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4739 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-01 08:19:13 +00:00
Jean Delvare
e4ecbc9a90
Add support for the Intel Tolapai SMBus controller. Patch from Jason Gaston.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4734 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-31 14:07:15 +00:00
Jean Delvare
984ebb419f
Fix a memory leak on error when printing an unknown chip.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4727 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-26 21:20:55 +00:00
Jean Delvare
c575eb9f90
Fix error message in unknown chip printing routine.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4722 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-26 20:48:36 +00:00
Jean Delvare
2c04e9e370
Avoid the conversions from double to float.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4721 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-26 20:45:29 +00:00
Jean Delvare
41a6e5b598
Executing the set statements is an exclusive action.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4707 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-26 08:59:26 +00:00
Jean Delvare
e6110c7e18
Fix error message.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4691 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-21 09:07:32 +00:00
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