Commit Graph
920 Commits
Author SHA1 Message Date
Jean Delvare c12c82c13d Backport SMBus PEC support rewrite from Linux 2.6:
Discard I2C_FUNC_SMBUS_*_PEC defines. i2c clients are not supposed to
check for PEC support of i2c bus drivers on individual SMBus
transactions, and i2c bus drivers are not supposed to advertise them.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3176 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 12:24:30 +00:00
Jean Delvare 9b63494f7c The Fintek F71805F/FG now has a driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3174 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 10:30:17 +00:00
Jean Delvare 001baf0b89 Fix PC87365/PC87366 alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3173 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 10:24:47 +00:00
Jean Delvare fdbd565ecc Add f71805f support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3172 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 09:55:26 +00:00
Jean Delvare 0e2b483b80 Add w83627ehf support. Original code contributed by Greg in
ticket #2098.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3171 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-05 09:12:32 +00:00
Jean Delvare ffdd27a3c2 Initial support for the Fintek F71805F/FG chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3169 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-04 20:59:18 +00:00
Jean Delvare 67adf125a0 Mention the -U (hide unknown chips) and -a (display the
algorithm) options.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3168 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-01 17:47:20 +00:00
Jean Delvare 8160638cd1 Mention the SMSC LPC47M997.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3132 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-24 17:22:25 +00:00
Jean Delvare 081f0dd6a9 Fix MAX6659 reported driver.
Add Fintek F71805F detection.
Fix multi-byte Super-I/O chip ID display on detection failure.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3122 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-15 10:34:27 +00:00
Jean Delvare fcdc235ee3 Fix rounding error in PCxxxx DDR SDRAM speed computation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3121 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-15 10:28:08 +00:00
Jean Delvare d2e6e8561b Disable iconv when uclibc is used.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3120 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-14 16:51:44 +00:00
Mark M. Hoffman ca1432f131 Add a new ID for a smsc47b397 variant.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3119 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-12 03:49:55 +00:00
Jean Delvare 776c73bf22 Get rid of free_the_label(), we really can do without it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3118 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-06 17:27:29 +00:00
Jean Delvare 2c0a82502e The ADM1032 and ADT7461 chips have variants with address 0x4d
instead of 0x4c.
Add support for the ADT7468. It can't actually be distinguished from an
ADT7467 (the latter being a stripped down incarnation of the later).
Increase the ADT7467/ADT7468 confidence value if the device ID is exactly
one of the two documented in the datasheets.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3114 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-01 15:34:38 +00:00
Jean Delvare eabdfe8b94 Display the real addresses (rather than offsets thereto) in flat
mode.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3111 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:30:55 +00:00
Jean Delvare 40a778e313 Continuous byte mode needs not only read byte capability but also
write byte capability.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3110 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:25:38 +00:00
Jean Delvare d9927a5a5e Fix a bug in argc check.
Only use PEC on the register write, not the readback, as it has proven to
cause trouble on some chips. Reads with PEC can be tested using i2cget.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3109 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-30 17:16:24 +00:00
Jean Delvare 47a3cc59c0 New helper program to read a single register from an I2C/SMBus
chip. It has byte data and word data read support as well as byte
write/byte read, and supports PEC too. Beware that byte write with PEC
enabled can write random values to registers on non-PEC-aware chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3108 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-29 20:59:22 +00:00
Jean Delvare 86a438a263 Add PEC support. This should help debugging PEC support and use
in the kernel drivers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3106 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-28 21:05:03 +00:00
Jean Delvare 5c70989fe9 Drop now useless #ifdef tests. i2c-dev.h defines everything we
need, and is part of this package (lm_sensors2) so it is always
up-to-date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3102 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-25 18:57:42 +00:00
Jean Delvare d523b3b7d1 Fix misleading error message when no chip is found on Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3101 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-25 13:31:53 +00:00
Jean Delvare 400bdd4c14 More manufacturer names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3099 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-19 17:29:23 +00:00
Jean Delvare 1e29d075db Add large lookup tables for manufacturer names (based on data
provided by Rudolf Marek).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3089 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 15:21:12 +00:00
Jean Delvare e7efcf6578 (Aurelien Jarno) Drop EEPROM support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3086 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-16 17:54:42 +00:00
Jean Delvare ac478a3ef9 Do not log the algorithm name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3081 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 20:23:58 +00:00
Jean Delvare ece5b07360 Drop all references to the algorithm names, as Linux 2.6 doesn't
export them. Do not rely on "i2cdetect -l" printing it, in case we drop
it there later. Change the adapter "match" field from a sub to a
regular expression, as this is how this field is actually used.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3079 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 14:39:55 +00:00
Jean Delvare 2cc8929c9e Stop printing the algorithm name unless /proc compatibility format
is requested. Print the correct bus type if bus functionality can be
queried (will work if i2c-dev is loaded and user has write access to
 /dev/i2c*).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3078 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 12:03:14 +00:00
Jean Delvare 32fbdf8ba4 Add a "quiet" parameter to open_i2c_dev() to prevent it from
displaying error messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3077 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-10 11:38:32 +00:00
Jean Delvare 28f8be1038 Drop all references to the old mailing list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3075 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-08 16:29:41 +00:00
Jean Delvare 70eca45135 One more model reported to work (VGN-S4M/S).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3070 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-07 19:15:52 +00:00
Jean Delvare 2bafd91ef5 The smsc47m1 driver now supports the LPC47M15x/192 chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3061 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-30 18:51:18 +00:00
Rudolf Marek 8894546f1f Fix potentional security issue. Thanks to Javier Fernández-Sanguino Peña <jfs@computer.org>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3060 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-20 19:45:53 +00:00
Jean Delvare 88a2dc7c95 Support pc87360. Patch from Henrik Brix Andersen.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3055 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-15 17:03:19 +00:00
Jean Delvare 71c5a661a7 Add some case insensitiveness to the regexp matching the
i2c-viapro adapter name, in anticipation of a future change.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3051 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-13 08:44:59 +00:00
Jean Delvare 00e07cfde1 Prevent possible (but harmless and unlikely) buffer overflow.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3050 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-08 19:44:52 +00:00
Jean Delvare 4da4861017 Properly handle short i2c block reads.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3048 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-08 19:09:32 +00:00
Rudolf Marek 83294b5a4d Fix as perl itself suggest. \1 better written as $1 at ./sensors-detect line 51.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3043 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-19 09:12:18 +00:00
Jean Delvare 5d1597f94b Filter the revision string so that it looks better.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3042 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-18 19:08:46 +00:00
Jean Delvare b008a7ac78 Print the CVS revision as the first line of output (attempt).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3041 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-18 19:00:49 +00:00
Rudolf Marek dc2209be7a Support for memory speed information in human readable DDRxxx and PCyyyy format.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3038 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-17 20:29:56 +00:00
Jean Delvare 0be7c973b1 Comments on the W83627EHF and W83627EHG chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3036 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-16 14:44:28 +00:00
Jean Delvare 0f28439091 Fix perl warning. Fix typo. Refactor some code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3035 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-15 17:02:50 +00:00
Jean Delvare ac53cebc4d Support the Linux 2.6 sysfs interface to EEPROMs. Original patch
by Burkart Lingner.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3034 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-15 16:05:25 +00:00
Jean Delvare 421f1c7c33 Detect the Winbond W83687THF Super-I/O chip. We would need a
datasheet to confirm the ID and add support to the w83627hf driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3033 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-15 12:41:40 +00:00
Jean Delvare 8e3aebf21d We now have a w83627ehf driver (Linux 2.6.13+).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3030 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-07-06 19:28:02 +00:00
Jean Delvare 200758f450 Strip useless whitespace before new line at end of string.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3025 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-23 21:07:10 +00:00
Mark D. Studebaker 445d480ea0 add 637HF support. Ticket #1993.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3022 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-16 15:32:46 +00:00
Jean Delvare 7705f21949 Rework LM82/LM83 detection according to Ben Gardner's report.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3019 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-12 07:36:12 +00:00
Jean Delvare 0cf832856d Properly handle the W83792D alarms. Patch from Chunhao Huang.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3014 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-06 19:22:52 +00:00
Rudolf Marek b32aa3c716 Update from Huang - w83792d_driver-1.0.5.patch, alarms handling fixed
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3012 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-01 10:49:04 +00:00