Jean Delvare
9a3dc11375
Don't decode anything unless the checksum is valid (or the -c
...
option is used). Bump version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3243 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:17:46 +00:00
Jean Delvare
7311d55ae9
Use sysopen/sysread instead of open/read for better performance
...
(the eeprom driver can read 32-byte slices instead of the whole data).
Read 64-byte blocks, as this allows some code cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3242 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:16:06 +00:00
Jean Delvare
7d2b877afe
Clearer text output.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3241 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:13:34 +00:00
Jean Delvare
0602a3a949
Reindent print functions.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3240 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-22 16:12:45 +00:00
Jean Delvare
913221c126
Do not ask the user its preference between SMBus and ISA: always
...
use ISA, as it is faster and generally more reliable.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3236 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-19 20:28:00 +00:00
Jean Delvare
eb80b6f0bd
Improve DS1621 detection to prevent other chips from being
...
misdetected as one. Thanks to Aurelien Jarno for testing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3234 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-17 07:34:49 +00:00
Jean Delvare
99a6949224
Lower the confidence of ITE overclocking chips. Do not scan
...
address 0x37 for these chips, as it may cause problem with some eeproms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3233 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-16 18:12:46 +00:00
Jean Delvare
533b4e8dd2
Fix the udev detection in the case /etc/udev/udev.conf exists
...
but doesn't mention a specific db location. Tested by Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3232 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-15 18:40:41 +00:00
Rudolf Marek
c0caef7470
Added the IT8201R/IT8203R/IT8206R/IT8266R / Over-Clock Controller detection
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3231 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-15 18:19:43 +00:00
Jean Delvare
4e4172e270
Drop legacy ISA detection of the W83697HF chip. The w83781d driver
...
does not support this chip anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3230 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-14 23:19:29 +00:00
Mark M. Hoffman
5a9e2dda61
Add 661 to list of SiS north bridges to help detect SMBus device
...
when running kernels 2.4.x.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3229 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-14 04:16:00 +00:00
Jean Delvare
b36654cb3b
Add 2.4 kernel and user-space support for the Winbond W83687THF
...
chip. Needs testing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3226 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-10 11:17:17 +00:00
Jean Delvare
db773f6c88
Fix options in usage message.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3220 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-27 20:01:31 +00:00
Jean Delvare
9ada552b65
Add detection of the Intel 82845G (i2c-i810 driver).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3207 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-09 19:44:49 +00:00
Jean Delvare
6dfe89a57a
Add Analog Devices ADT7476 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3202 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-26 11:28:44 +00:00
Jean Delvare
9349904858
Ask the users for help on to-be-tested bus drivers.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3199 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-20 19:53:11 +00:00
Jean Delvare
b967ed740b
Remove dead code in PCI adapter detection loop.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3198 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-20 19:25:28 +00:00
Rudolf Marek
bde14b0715
Change state of ATI SMBus to "to-be-tested"
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3197 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-20 18:56:22 +00:00
Jean Delvare
5cd5fde08d
vt8231 cleanups, to get the 2.4 driver, libsensors and sensors
...
in line with the new 2.6 driver. The most important changes are temp
inputs renumbering, and conversion formulas changes, because part of the
conversions are now done by the driver as required by the interface
standard.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3194 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-19 14:55:30 +00:00
Jean Delvare
8e6ec2fbce
Fix indentation of disabled ISA device hint.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3192 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-13 09:50:21 +00:00
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