Commit Graph
905 Commits
Author SHA1 Message Date
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
Jean Delvare 6bcd9edd4b Improve IT8705F and IT8712F detection:
* Use one more bit of the configuration register
* IT8705F has no SMBus interface (confirmed by ITE)
* Higher confidence if SMBus address is 0x2d
* Use alias detection for IT8712F


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3006 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-23 18:20:41 +00:00
Jean Delvare 4396eec796 Detection for the National Semiconductor PC87427 Super-I/O chip.
Unfortunately we don't know the logical device number(s) yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3002 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-18 18:00:02 +00:00
Rudolf Marek 5e85be41de Added new Intel southbridge known as ESB2
Official chipset name is not known yet. Needs to be fixed in future.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2993 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-09 20:56:26 +00:00
Jean Delvare e1cbde8b1e Support the new "VGN" prefix for VAIO EEPROMs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2990 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-08 13:17:31 +00:00
Mark D. Studebaker f7230a198e fix compile errors; patch from
Sergey Vlasov <vsu@altlinux.ru>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2988 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-04 21:12:08 +00:00
Jean Delvare 9a50485742 Fix synopsis line (patch from Sergey Vlasov). Fix typo. Update
date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2985 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-01 16:52:21 +00:00
Mark D. Studebaker 65d7993fc0 support 2.6 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2982 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-24 19:50:37 +00:00
Jean Delvare beea4cb8a3 No error on missing pc87360 fan2, as this can happen with the
Linux 2.6 version of the driver. Reported by Christian Schwamborn.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2979 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-22 18:08:06 +00:00
Jean Delvare a57ef088c0 Add missing sign on max voltage limits of pc87360.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2978 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-19 19:53:08 +00:00
Mark D. Studebaker 44ac4fa958 add advice for 2.6 kernels, from Rudolf's mail
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2973 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-15 16:54:22 +00:00
Jean Delvare b136cf2c1a The W83792D chip now has a driver: w83792d. Reported by
Chunhao Huang.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2972 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-14 18:03:33 +00:00
Jean Delvare 3668680d4a Add detection of the SMSC LPC47M15x/LPC47M192 hardware monitoring
block (SMBus).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2970 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-13 20:06:40 +00:00
Mark D. Studebaker 7717ea57c6 return undef instead of 0 in vt1211 i2c detect. found by Khali.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2958 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 23:10:52 +00:00
Jean Delvare d21508f62f EMC6D102 support. Patch from Rafael Avila de Espindola.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2957 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 15:44:53 +00:00
Jean Delvare f10ddad667 Add preliminary support for the w83627ehf.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2950 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:11:03 +00:00