Commit Graph
3259 Commits
Author SHA1 Message Date
Jean Delvare c9d06d5ebc Decode latencies and timings (DDR2 SDRAM).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3307 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 09:55:14 +00:00
Jean Delvare b80f29c456 Decode size (Direct Rambus and Rambus). At this point, this
script provides all the information "sensors" does for SPD eeproms, so
we're not so far from dropping eeprom support from sensors.
Code cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3306 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 09:23:10 +00:00
Jean Delvare 6af2009a02 Fix latencies decoding (SDRAM).
Fix CAS latency decoding (DDR SDRAM).
Decode latencies, timings and module height (DDR SDRAM).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3305 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 08:39:20 +00:00
Rudolf Marek 5eb8aa161d Add ICH8 support. 2.6 backport
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3304 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-23 11:23:53 +00:00
Jean Delvare d785c0ecce Detect undefined manufacturer code and handle it properly.
Round up timing data.
Minor display adjustments.
Group cycle and access times, display the CAS value for each (SDRAM).
Refactor some bitfield tests into loops (SDRAM).
Display latencies and burst length on a single line (SDRAM).
Don't display manufacturing location when undefined.
Check that the manufacturing date is proper BCD, else fall back to
hexadecimal display.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3303 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-21 17:39:48 +00:00
Rudolf Marek 4b0db08ea2 Rename some copanies as 106T suggest, but only from 2004. I'm lazy
to check and others seems already renamed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3302 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 20:29:02 +00:00
Rudolf Marek 53d8879a6f Bump the JEDEC ID codes to version 106T
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3301 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 20:22:49 +00:00
Mark M. Hoffman 4d2c4fd212 Previous leak fix caused multiple sensors_init() calls to break.
This patch fixes that by managing the scanner buffers manually.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3300 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 15:24:37 +00:00
Rudolf Marek 54423af70d Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3299 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 22:12:30 +00:00
Rudolf Marek c3304ead04 Add the size computation for SDRAM, DDR and DDR2
Add the most common timing characteristics of SDRAM/DDR/DDR2 as brief output


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3298 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 22:08:56 +00:00
Jean Delvare eb7eee8136 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3297 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 08:26:01 +00:00
Mark M. Hoffman 9a8f962d88 Allow the config file scanner to release its buffers upon EOF.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3296 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 02:14:57 +00:00
Jean Delvare bda180fcff Don't decode the revision code, manufacturing date and assembly
serial number where not set. Decode the manufacturing date to an ISO8601
date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3295 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 10:52:09 +00:00
Jean Delvare f7f58f3110 Decode the SPD data depending on the memory type. Only SDRAM is
complete for now, DDR and DDR2 need to be extended.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3294 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 10:19:46 +00:00
Mark M. Hoffman e620cb652c fix 2 leaks found by valgrind - missing some free() during cleanup
(as opposed to ongoing run-time leaks)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3293 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 03:06:05 +00:00
Jean Delvare fd2023d0cf Static semaphores can be initialized at declaration time. This is
a backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3292 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-14 14:59:37 +00:00
Jean Delvare c72b364135 Drop a redundant semaphore. The struct i2c_adapter includes a
semaphore for the same purpose, operated by i2c-core. This is a backport
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3291 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-14 14:39:50 +00:00
Jean Delvare 4bab489796 Reset the PEC bit after every transaction. This partly reverts the
previous change. This is needed by some BIOSes at reboot and resume time.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3290 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 18:06:49 +00:00
Jean Delvare 561eb551be Drop unused I2C/SMBus low-level definitions and code. In
particular, we really don't want to use SMBus write functions in this
script.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3289 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 09:06:21 +00:00
Jean Delvare 2beecd912c Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3288 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 08:54:26 +00:00
Jean Delvare 6eb8c2a9a7 Add W83793R/G detection. Original patch from Yuan Mu (Winbond).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3287 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 08:53:30 +00:00
Jean Delvare 49a745af33 Add a new mode W. It uses SMBus Read Word transactions as mode w
does, but it only triggers a transaction on even register addresses,
relying on the target chip to increment its internal register pointer
between the high and low byte of the word. EEPROMs behave that way, so
this mode makes it possible to dump an EEPROM contents faster. I2C Block
Read is still faster but it isn't available on all busses, while SMBus
Read Word is very popular. This mode also makes it possible to test
SMBus Read Word transactions on a given adapter using common EEPROMs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3286 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-16 14:01:32 +00:00
Jean Delvare ea5ef92b78 Add a new option to i2cdetect (-F) to query the functionalities
of an I2C bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3285 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-16 13:34:53 +00:00
Jean Delvare c94e355e0a Restore bank register value after bank switching.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3284 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-15 10:34:28 +00:00
Jean Delvare 688b2149dc Fix depmod on non-running kernel version. Original patch from
Peter Breitenlohner.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3283 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-15 07:52:59 +00:00
Jean Delvare ed8cbf315c Add detection of more Fintek chips:
* F75373S/SG
* F75383S/M
* F75384S/M
* custom power control chip at SMBus 0x2f


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3282 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-04 17:13:32 +00:00
Jean Delvare 6dec3c202f Add Fintek manufacturer ID.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3281 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-01 13:52:24 +00:00
Jean Delvare fb38a7ea32 Add detection of several Fintek chips:
* F75363SG (SMBus, presumably LM63-compatible)
* F75111R/RG/N (SMBus, GPIO)
* F75121R/F75122R/RG (SMBus, VID+GPIO)
* F75375S/SP (SMBus)
* F75387SG/RG (SMBus)
* F81218D (LPC, UART)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3280 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-01 11:43:55 +00:00
Jean Delvare bd529fa386 Detect the SMSC LPC47M584-NC Super-I/O chip. We don't know
anything about that chip right now, it may or may not have hardware
monitoring functionalities.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3279 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-31 14:08:51 +00:00
Jean Delvare 4798dea54f Big update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3278 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-28 21:34:01 +00:00
Jean Delvare dee3639075 Add userspace support for the smsc47m192 driver. Patch from
Hartmut Rick.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3277 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-28 21:31:16 +00:00
Jean Delvare f4302b1e59 Backport from Linux 2.6:
Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3276 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-24 09:47:29 +00:00
Jean Delvare 2cd439dacf Backport from Linux 2.6:
Document the individual alarm and beep bits of the w83781d driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3275 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-24 09:06:25 +00:00
Jean Delvare ac8e8a7e11 ATI IXP southbridges are now supported by the i2c-piix4 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3274 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-23 17:01:31 +00:00
Rudolf Marek 65ff7b8531 Add the voltages of W83627EHF, plus minor fixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3273 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 22:47:17 +00:00
Jean Delvare 8212877b81 Add W83627EHF fan and temperature alarm support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3272 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 14:26:48 +00:00
Rudolf Marek 0b6ac4f953 Add the W83627EHF Voltages and voltage alarms support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3271 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 13:53:30 +00:00
Rudolf Marek 43390d50f9 Add the ASUS and Winbond
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3270 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-22 13:35:23 +00:00
Jean Delvare 5fd7ff77f6 Fix typo in chip name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3269 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-20 21:00:41 +00:00
Jean Delvare 6558e9d9a9 List more Winbond chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3268 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-13 19:14:43 +00:00
Jean Delvare a4b4c94370 Prevent warning on 64-bit PCI addresses. This is done by not
gathering PCI data we have no need for.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3267 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-10 09:27:28 +00:00
Jean Delvare 1330a877b7 It isn't an error when a w83792d has no fan4-7. Patch from
Yuan Mu.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3266 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-03 20:27:51 +00:00
Jean Delvare 357b01228e Fix a harmless typo in w83792d in7 and in8 code. Patch from
Yuan Mu.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3265 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-03 19:45:55 +00:00
Jean Delvare 335a3a3668 Add support for the Fintek F71872F/FG. This chip will be supported
by the f71805f driver in the future, but is not yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3264 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-01 20:47:03 +00:00
Jean Delvare 050360595c Fix typo breaking f71805f. Reported by Willy Tarreau.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3263 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-27 07:39:26 +00:00
Rudolf Marek 08738f13de Add the "Temp" into temps label
chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
and chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*"
"lm84-*" "gl523sm-*" "mc1066-*"

The reason for the patch is that the net-snmp lm_sensors extension uses
the label name when determining what type of sensor it is reading, and
as a result, which OID to use as the parent.  It uses "V" for volt,
"fan" or "Fan" for fans, and "temp" or "Temp" for temperature.  All
other sensors get placed under the "misc" sensors category.  Since these
sensors lack "temp" in their labels, they are erroneously placed in the
"misc" category.

Patch provided by: telackey@bozemanpass.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3262 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-25 21:58:16 +00:00
Jean Delvare 70bb3c495e Fix device scan when no i2c support exists or no i2c bus driver
is loaded.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3261 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-25 21:32:26 +00:00
Jean Delvare 184cb1e3c7 Use real-time alarm registers instead of interrupt registers for
W83782D, W83627HF, W83783S and W83791D. This is a backport from Linux
2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3260 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-23 23:11:17 +00:00
Jean Delvare fcc284f226 Don't grep autoconf.h on user-space targets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3259 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-23 22:58:52 +00:00
Jean Delvare 4eee6eab89 Add ServerWorks HT-1000 SMBus detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3258 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-22 20:29:33 +00:00