2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 21:07:55 +00:00

503 Commits

Author SHA1 Message Date
Jean Delvare
6642539697 sensors-detect: Add /usr/sbin to the PATH. i2cdetect might be there instead
of in /usr/local/sbin. Many users have been complaining and several
distribtions were (rightly) modifying sensors-detect because of this.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4375 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 13:38:59 +00:00
Mark M. Hoffman
c5ffa7b635 Merge from trunk (4303:4355) out to 3.0.0 branch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4357 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-03 12:55:30 +00:00
Rudolf Marek
c34c264f97 The PCI device for AMB is not accessible directly from PCI bus, gateway must be used. Ticket #2143
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4271 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-26 11:53:20 +00:00
Jean Delvare
0639e23317 sensors-detect: The ATI SB600 appears to be compatible with the IXP400
and will be supported by the i2c-piix4 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4269 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-22 20:35:18 +00:00
Jean Delvare
4fd6f58ff4 Improve ADM1029 detection again.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4268 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-21 17:56:43 +00:00
Rudolf Marek
37fa5a4151 Add the detection of Intel AMB FB-DIMM thermal sensor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4261 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 20:55:06 +00:00
Jean Delvare
b262873b20 sensors-detect: Improve ADM1029 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4260 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 13:50:54 +00:00
Rudolf Marek
bfde8c3975 Use die code to increase confidence for aSC7511
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4258 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-10 10:55:01 +00:00
Rudolf Marek
55ece3310d Add Andigilog chips detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4257 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-09 21:19:20 +00:00
Jean Delvare
63ad029a86 Add Maxim MAX6648/MAX6692 detection. These seem to be somewhat similar
to the MAX6657/MAX6658/MAX6659.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4250 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-02 22:05:42 +00:00
Jean Delvare
be87358ae0 Minor ICH names update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4249 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-02 19:56:27 +00:00
Rudolf Marek
4a37028ccf Add to-be-tested for: ATI SB600, nVidia MCP61, MCP65 and Intel PIIX5. Add detection for ICH9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4243 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-25 12:41:53 +00:00
Jean Delvare
dbf34661ae Sort the Fintek Super-I/O entries.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4242 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-17 07:57:37 +00:00
Jean Delvare
c913c62429 Add Fintek F71882FG detection. The EPoX EP1308 appears to be a clone
of this chip (same ID, same register map.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4241 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-17 07:28:22 +00:00
Jean Delvare
6556dfd786 Prevent misdetection of MAX6633/MAX6634/MAX6635.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4239 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-14 13:04:41 +00:00
Jean Delvare
74053ce8b5 Display the i2c bus number next to the bus name. This should help us
when we want a reporting user to run i2cdump on a given address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4238 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-14 13:00:36 +00:00
Jean Delvare
d3d7118778 Preallocate memory for the I2C_FUNCS ioctl. This should fix ticket #2138.
It might as well be a bug in Fedora Core 3's perl, but the workaround is
cheap anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4229 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-10 09:19:48 +00:00
Jean Delvare
2fbcf30dc5 Add detection of the ITE IT8708F chip, presumably no sensors.
Note that this chip appears to need a different key compared to other
ITE chips, so it doesn't appear in the "ITE" family of Super-I/O chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4227 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-11-04 20:09:05 +00:00
Rudolf Marek
2b3d98a880 Add the coretemp driver userspace support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4214 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-15 19:26:10 +00:00
Jean Delvare
2684e287cf Move the k8temp detection to a separate subsection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4211 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-15 09:30:45 +00:00
Jean Delvare
2c570ccc6f Move Super-I/O registers comment where it belongs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4210 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-15 08:48:36 +00:00
Jean Delvare
18e31433bd Parse /proc/cpuinfo and build a list of CPU from it. This will make it
possible to suggest hardware monitoring drivers based of CPU ID.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4209 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-15 08:46:36 +00:00
Jean Delvare
6b5b092e9c libsensors: Add support for the pc87247 driver (fans only).
sensord: Add pc87247 support (fans only).
sensors: Add pc87247 support (fans only).
sensors-detect: Advertise the upcoming pc87427 driver.
Thanks to Amir Habibi at Candelis for setting up a test system.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4196 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-06 09:27:56 +00:00
Jean Delvare
19cc056508 sensors-detect: Add EPoX EP1308 detection (Hans Edgington).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4193 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-04 11:43:21 +00:00
Jean Delvare
9b5bba29c4 Add SMSC DME1737 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4185 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-26 09:18:33 +00:00
Jean Delvare
c70a77d994 Fix typos.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4171 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-24 10:37:01 +00:00
Rudolf Marek
a2e6bb8e83 Fix the links to status/supported pages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4170 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-24 09:12:42 +00:00
Jean Delvare
3208234fd0 sensors-detect: Add SMSC LPC47M172/182 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4169 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-23 11:15:19 +00:00
Jean Delvare
c90c281af7 Explicitely prevent ITE chips from being misdetected as LM78 chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4166 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 20:01:18 +00:00
Jean Delvare
c0c8286b34 Drop unused detection code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4152 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 08:55:56 +00:00
Jean Delvare
4fc66ff5b0 Fix PC87427 logical device number.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4150 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-06 15:44:40 +00:00
Jean Delvare
32b755dba7 Do not list the "not-a-sensor" and "use-isa-instead" fake drivers in
the summary. It's silly to ask the user to load these.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4149 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-06 15:43:14 +00:00
Jean Delvare
70587e7751 sensors-detect: Add generic Super-I/O logical device detection.
For families where it makes sense (ITE, Winbond, Fintek), when we have
an unknown Super-I/O, we scan all logical devices in search of one
with the typical address for hardware monitoring (0x290). If we find
it, we let the user know there are probably sensors in the chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4144 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-05 12:09:30 +00:00
Jean Delvare
fe14085d93 sensors-detect: Add generic PCI SMBus adapter detection.
The detection is based of the PCI device class (SMBus is 0x0c05).
This will let us spot new adapters. Of course we can't load or even
suggest a driver for an unknown adapter, but at least the user will
know there's something to be investigated, and this should help us
when users report such configurations.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4143 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-05 11:35:51 +00:00
Jean Delvare
bd012ca251 sensors-detect: Use sysfs for PCI device enumeration where available
(Linux 2.6). Still fallback to /proc (Linux 2.4). sysfs provides the PCI
device domain and class, which were hard to get from /proc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4142 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-05 10:01:15 +00:00
Jean Delvare
08253729c3 Remove ISA detection of W83627EHF/EHG and W83627DHG. This is redundant
with the Super-I/O detection, and less reliable. Our w83627ehf driver
only supports the Super-I/O detection anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4141 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-05 09:04:18 +00:00
Jean Delvare
53dc9a6b93 sensors-detect: Remove detection of nVidia graphics adapters.
There are too many of these, the list was not up-to-date. And there
are different drivers which can give access to their I2C busses,
we can't guess which one the user wants. It was somewhat confusing
to suggest a driver which is not in mainline anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4140 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-03 14:10:42 +00:00
Jean Delvare
3478493d21 Don't hardcode /sys, use $sysfs_root instead.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4137 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-03 08:07:59 +00:00
Rudolf Marek
c879e6f5f8 Change i2c-arp entry to not-a-sensor. ARP confuses users (#2120)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4136 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-02 19:08:49 +00:00
Jean Delvare
febb8bba00 Tell the user if we are going to overwrite an existing
/etc/sysconfig/lm_sensors configuration file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4134 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-02 14:00:36 +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
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
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