2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00
Commit Graph

3386 Commits

Author SHA1 Message Date
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
a4fc9253af vt1211: Rework the voltage and temperature conversions and the temperature
input order to match the Linux 2.6 driver.
libsensors: Change vt1211 temp3-7 magnitude from 1 to 3.
sensors.conf.eg: Adjust the vt1211 section to match the new driver
                 interface.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4168 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-23 09:32:29 +00:00
Jean Delvare
222efa20ac Do not assume that every i2c chip at 0x50 is handled by the eeprom
driver. Some are handled by the tveeprom driver, which doesn't create
the eeprom interface file. So we must really test for the eeprom file,
and not the device directory.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4167 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-21 18:55:43 +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
017ad76a20 Do not assume that every i2c chip at 0x50 is handled by the eeprom
driver. Some are handled by the tveeprom driver, which doesn't create
the eeprom interface file. So we must really test for the eeprom file,
and not the device directory.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4165 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 19:52:47 +00:00
Jean Delvare
f104770a84 decode-vaio.pl: Detect and skip false positives.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4164 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 18:10:12 +00:00
Jean Delvare
73413d0d92 Remove empty include directories on make user_uninstall.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4163 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 15:47:04 +00:00
Jean Delvare
17581c9afc mkpatch: Turn warnings on (-w), and fix them.
Print a usage message on missing command line parameters.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4162 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 14:23:22 +00:00
Jean Delvare
4a393d61dd Update the i801 and nforce2 family descriptions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4160 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 12:23:44 +00:00
Jean Delvare
94fa667c46 libsensors: Missing sysfs busses and classes are not errors. This tends
to confuse users a lot, to report the lack of hwmon driver as an error.
prog/sensors: Clearer error messages when no sensors are found. The
most frequent cause is a lack of drivers, not procfs/sysfs problems.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4159 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-19 10:01:12 +00:00
Rudolf Marek
c9bd83748b Fix the homepage address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4157 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-17 21:01:35 +00:00
Jean Delvare
c019a96e1e The VT1211 has no in6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4155 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 21:05:43 +00:00
Jean Delvare
09bd83fa7d vt1211 fixes:
* No in6
* More inputs can be missing (depends on UCH config)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4154 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 19:51:25 +00:00
Jean Delvare
5ff0a6b0e7 Use mktemp instead of tempfile to create the temporary config file.
We are already using mktemp elsewhere in the script, and it seems to be
more widely available than tempfile.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4153 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 15:56:11 +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
e5d21141d6 Increase max bank (or logical device) number from 15 to 31, as 20 was seen
in some chips (PC87427.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4151 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-06 15:51:26 +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
ee2a0805c8 Fix three typos.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4139 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-03 14:06:36 +00:00
Jean Delvare
a026e09bd5 Chop newline at the end of adapter name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4138 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-03 13:05:26 +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
Rudolf Marek
6a095858fa Add the note about via686 on Epox EP-7kxa motherboard. closes #2100
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4135 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-02 18:52:39 +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
e944415f25 The adt7463 may not have in4 (#2119)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4133 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-02 07:49:35 +00:00
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