Commit Graph
3675 Commits
Author SHA1 Message Date
Jean Delvare 5741c56213 Contrary to what the comment says, sensors_proc_bus_count may be a
perfectly valid bus number. We need to use a different value for
chip configuration entries we want to ignore.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4690 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-19 15:27:14 +00:00
Jean Delvare a692aed705 Fix a broken comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4683 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-18 06:56:06 +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 8901084a95 Typo and white space cleanps.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4679 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-16 17:49:50 +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 aa52221779 Add a missing register read in fscher. Original patch from Hans de Goede,
backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4659 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 17:03:09 +00:00
Jean Delvare 1b69a84283 Fix an array overrun in lm93. Original patch by Hans J. Koch, backported
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4658 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 16:55:35 +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 bd3913c04f Fix thmc50 analog output symbol.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4654 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:39:01 +00:00
Jean Delvare cfc5fda3c5 Fix support for the Linux 2.6 thmc50 driver. Patch from Krzysztof Helt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4653 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:33:50 +00:00
Jean Delvare 1d059ab3e0 Delete dead code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4652 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-11 17:22:20 +00:00
Jean Delvare 3a59a49011 Add missing new line at end of log messages. Indirectly reported
by Joe Perches.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4651 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-11 07:30:31 +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 72ffb67a83 Typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4641 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:59 +00:00
Jean Delvare db2c145d9d Speed up sensors_get_ignored() a bit. We can return as soon as an ignore
statement is found to match, even if it isn't an exact match.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4640 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:43 +00:00
Jean Delvare 5611ffe6d1 Fix a memory leak in sensors_read_one_sysfs_chip() when an error occurs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4635 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:40:26 +00:00
Jean Delvare 7429bc0191 Fix the writing of the temperature interrupt configuration.
The old code was working only by accident. Backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4634 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:36:54 +00:00
Jean Delvare d69b87bb74 Use PCI_REVISION_ID instead of our own define (backport from Linux 2.6.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4633 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:35:40 +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 226dffd064 Whitespace cleaups (backport from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4625 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 21:02:42 +00:00
Jean Delvare 57e38757f1 Add ATI SB700 support to the i2c-piix4 driver. This is a backport from
a Linux 2.6 patch by Henry Su.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4624 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 21:01:35 +00:00
Jean Delvare 7e3b183eab Delete many unused defines. Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4623 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 20:58:12 +00:00
Philip Edelbrock d4e5a7cf44 Bump up version in version.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4621 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-17 05:11:47 +00:00
Philip Edelbrock fa9a8b9958 Bump up minor version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4619 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-17 05:07:40 +00:00
Philip Edelbrock 707bff78ad Prep for 2.10.4
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4618 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-17 05:05:33 +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 8eaa3767b1 Warning fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4614 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 18:55:14 +00:00
Jean Delvare f2f170a903 Warning fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4613 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 17:19:47 +00:00
Jean Delvare e251c94f60 Warning fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4612 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 16:59:50 +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 44b541a1e8 Fix broken links to datasheets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4608 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-13 14:57:31 +00:00
Jean Delvare 7033c61200 Fix broken links to Analog Devices website.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4606 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-13 14:52:44 +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
Hans de Goede cb5d52fccd remove f71882fg example config fan2-4 ignore lines and add labels, fix typo in Battery label
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4599 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-09 12:53:20 +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
Hans de Goede cb08148e9e add f71882fg sensors.conf.eg entry, add f71882fg and abituguru3 support to CHANGES
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4579 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 16:55:47 +00:00
Jean Delvare 41d39284d8 Add the recent donations from Observit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4576 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 08:27:47 +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
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
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