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