Commit Graph
3355 Commits
Author SHA1 Message Date
Jean Delvare 6ff8a21179 Properly handle the case where the eeprom driver is not loaded.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4132 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 21:34:56 +00:00
Jean Delvare 22f74aa96e Update the init script part:
* Fix project homepage.
* Init scripts are in /etc/init.d on modern systems, rather than
  /etc/rc.d/init.d. That way it works on Fedora, Suse and Gentoo, at
  least.
* Don't tell the user to copy the init script if it's already there.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4131 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 21:03:41 +00:00
Jean Delvare c6b594f669 Revert change 2731, the hint given to the user triggers too often and
is thus misleading.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4130 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 20:52:58 +00:00
Jean Delvare 2668fbb56e Attempt to make sensors-detect slightly more user-friendly, part three.
* Give a name to Super-I/O chip families.
* Merge the two Winbond families.
* Be smarter when testing Super-I/O chips, read the device ID only once.
* When an unknown chip is found, print the ID only once.
* Reformat the warning message when a module isn't found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4129 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 19:22:13 +00:00
Jean Delvare f9b1002b79 Attempt to make sensors-detect slightly more user-friendly, part two.
* Shorten the date part in revision string.
* Make the chip names more consistent.
* Align the result of ISA and Super-I/O probes.
* Replace "Failed!" with a less needlessly alarming "No".
* Make the ISA and Super-I/O probe results more compact.
* Adjust some explanations.
* Don't ask again before probing secondary Super-I/O address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4128 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 16:45:50 +00:00
Rudolf Marek 4ebd01b995 Add the VT8237A and VT8251 to the documentation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4127 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 13:05:51 +00:00
Jean Delvare 1d97d5c041 decode-edid.pl: Append /usr/sbin or /usr/local/sbin to $PATH if needed.
This is needed because parse-edid is typically installed in one of these
directories, even though any user can use it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4126 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 07:44:54 +00:00
Rudolf Marek c857b40f7a Backport VT8237A and VT8251 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4125 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-31 21:00:44 +00:00
Rudolf Marek a5f306ddcf Add VT8237A, VT8251
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4124 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-31 20:37:32 +00:00
Jean Delvare fd1ed9de03 Attempt to make sensors-detect slightly more user-friendly, part one.
* Kill the annoying blank space in front of half of the messages.
* Stop frightening the user with problems which might have happened some
  years ago, but are very rare nowadays.
* Skip some messages on 2.6 kernels where they do not apply.
* Don't even mention i2c-dev if it is already loaded or build into the
  kernel.
* Reword some messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4120 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-29 09:17:56 +00:00
Jean Delvare 2e795e09dc sensors-detect: Exit immediately if user isn't root. It makes very little
sense to try and continue as a non-root user, as we won't be able to load
modules, nor to probe i2c busses, nor to access the ISA ports. It's way
less confusing for the user to clearly state he/she needs to be root,
and stop.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4119 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-28 21:19:59 +00:00
Jean Delvare 08a1bd9684 The original adm1026 driver numbered the fans from 0 to 7, and so does
libsensors. The Linux 2.6 adm1026 driver uses the standard numebring
(from 1 to 8). Map fan0 to fan8 to make things work while keeping
confusion to the minimum (hopefully.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4118 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-28 19:15:28 +00:00
Jean Delvare 78e85df9ff Drop func from PCI device entries, as we don't use it anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4117 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-28 11:13:31 +00:00
Jean Delvare e8f0bc718a sensors-detect: Add Analog Devices ADM1033, ADM1034, ADT7462, ADT7466,
ADT7470, ADT7473 and ADT7475 detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4116 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-27 19:51:38 +00:00
Jean Delvare 844c76f217 Explicitely prevent Winbond chips from being misdetected as LM78 chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4115 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-27 18:16:04 +00:00
Jean Delvare 94748ae556 Drop A7N8X-X comments from the as99127f section, as we now know this board
actually has an ASB100 chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4114 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-27 10:02:31 +00:00
Jean Delvare 0a50247470 Display it87 VID with 3 decimal places instead of 2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4113 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-26 21:33:45 +00:00
Jean Delvare f1fbe20948 List the upcoming w83793 driver.
Be less authoritative when stating a given chip isn't a sensor.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4112 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-25 19:59:29 +00:00
Jean Delvare e4d77291b1 Update copyright years.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4111 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-25 14:07:28 +00:00
Jean Delvare 9ac1c6caa0 Clean up the PCI device probing, reducing complexity from O(N^2) to O(N).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4110 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-25 14:00:59 +00:00
Jean Delvare 8c235d29a9 Add userspace support for the Winbond W83793. Patch contributed by
Yuan Mu (Winbond.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4109 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-24 18:13:20 +00:00
Jean Delvare 3927246f86 sensors-detect: Simplify detection of SiS5595, VIA686 and VT8231.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4108 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 18:52:46 +00:00
Rudolf Marek 286ac67733 Adjust the user interaction messages (ISA bus versus ISA ports, remove word I2C from chip drivers comment)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4107 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 18:19:58 +00:00
Jean Delvare 751f337660 sensors-detect: Add AMD K8 thermal sensors detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4106 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 18:14:09 +00:00
Jean Delvare 62365c568b Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4105 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 15:10:10 +00:00
Jean Delvare b963378e7f sensors-detect: Add Intel ICH8 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4104 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 14:41:42 +00:00
Jean Delvare 9211675e5e Winbond donated an Asus P4P800-X motherboard with a Pentium 4 2.8 GHz,
heatsink and fan, and two 256 MB DDR SDRAM PC3200 memory modules. The
board has a Winbond W83627THF chip for hardware monitoring, and an
(hidden) 82801EB (ICH5) SMBus controller with SPD EEPROMs connected.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4103 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-22 16:55:46 +00:00
Jean Delvare f7fb55a8a8 Revert previous Makefile change (Silent errors on missing dependency files)
as it appears to break with GNU make 3.81.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4102 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-20 08:46:38 +00:00
Rudolf Marek 6e87587ac6 Add support for k8temp driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4100 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 15:31:02 +00:00
Rudolf Marek 9aaa09c40e Add PCI bus support - forgot to commit with last changeset
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4099 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 15:29:55 +00:00
Rudolf Marek 3027d75a12 Add PCI bus support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4098 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 15:23:10 +00:00
Jean Delvare a73b6b8ac6 doc/developers/sysfs-interface: Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4097 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 09:03:52 +00:00
Jean Delvare 2396d5cab7 Enhance w83791d support. Add output for in7, in8, in9, fan4 and fan5.
Also update to display the (beep) properly due to the fact that the
w83791d beep enable mask is different than the alarm mask.
Patch from Sven Anders and Charles Spirakis.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4096 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-18 16:06:55 +00:00
Jean Delvare 0d15763f81 Restore errors on it87 in3 and in7, I misread the datasheets, these inputs
are always present, although different pins may be used.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4095 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-13 14:28:30 +00:00
Jean Delvare e554f90d33 Rewrite the bank switching code in a slightly different way to keep
some compilers quiet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4094 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-12 21:02:54 +00:00
Jean Delvare c8ae77bdc6 No error on missing it87 in3, in5, in6 or in7. These inputs are shared
with other functions on some IT87xxF variants so the Linux 2.6 driver may
not present them forever.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4093 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-12 18:03:13 +00:00
Jean Delvare 79a7acacec Fix the detection function calls, so that we no more need to declare
these functions separately.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4092 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-11 12:42:52 +00:00
Jean Delvare 9bebd47af0 Rename "DDC monitor" to "EDID EEPROM" so users don't think it has
anything to do with hardware monitoring.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4091 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-11 12:26:16 +00:00
Jean Delvare 00980f98fd i2c-isa will soon be gone.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4090 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-11 07:34:32 +00:00
Jean Delvare 0e3ba1d1a1 Add support for the ITE IT8718F Super-I/O chip (prefix: it8718).
Unsurprisingly, it is very similar to the IT8716F.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4089 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 07:20:54 +00:00
Jean Delvare 45bc29eb71 More .PHONY targets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4088 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:55:59 +00:00
Jean Delvare c352815e5d Some more it8716 voltage configuration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4087 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:51:06 +00:00
Jean Delvare 0d09dd4dfe sensors-detect: Check i2c adapter functionalities before probing, so that
we don't use SMBus transactions the adapter doesn't support. This could
be extended to the transactions used during detection itself.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4086 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:45:48 +00:00
Jean Delvare 6e2060e7ad sensors-detect: Drop the ISA IT87xxF detection. Super-I/O detection is
more reliable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4085 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-08 07:01:40 +00:00
Jean Delvare ec617129c6 Detect the upcoming IT8718F Super-I/O chip. Support will most certainly go
into the it87 driver at some point.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4084 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-04 11:42:52 +00:00
Jean Delvare 79817f34ce Add support for the IT8716F (prefix it8716). It is mostly similar to the
IT8712F so there's not much to do. The most significant difference is that
fan speeds are now reported as 16-bit values, without fan clock dividers.
For this reason, I made the fan_divs optional in sensors. I also made the
fans themselves optional, as I noticed that a number of motherboards don't
use (and don't enable) fan3.

I've made a separate section (chip "it8716-*") in sensors.conf.eg, because
new motherboards tend to have different wirings (e.g. negative voltage
lines are not monitored) so this will make for saner defaults.

Thanks to Stian Oksavik for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4083 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-03 20:28:20 +00:00
Jean Delvare 0da02179e0 Kill some dead code, which dealt with the case where a driver probes
less I2C addresses by default than the script itself does. The feature
was never used, and I don't think it's particuarly useful, so removing
it for simpler code makes sense.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4082 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-02 19:53:20 +00:00
Jean Delvare a526a4a690 Check for fscanf() failure when reading sysfs attributes.
Also drop a redundant return.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4081 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-01 09:48:42 +00:00
Jean Delvare 4c211d81d9 prog/dump/*.c, prog/detect/*.c: Handle possible error in fgets().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4080 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-01 09:46:50 +00:00
Jean Delvare dd7848c788 Typo fix, thanks to Brian C for reporting.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4079 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-29 16:21:54 +00:00