Commit Graph
3660 Commits
Author SHA1 Message Date
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
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
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
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 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