Commit Graph
17 Commits
Author SHA1 Message Date
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 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 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 2a73d0fd71 Written byte/word can be masked.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2721 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-10 15:58:47 +00:00
Jean Delvare f9fe027586 Nicer output. Refactor code a little.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2712 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-08 18:40:03 +00:00
Jean Delvare 49526b087e Showing the version is not an error.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2697 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-22 20:41:26 +00:00
Jean Delvare eb8ced91c4 Trivial fixes (typo...)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2678 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:19:52 +00:00
Jean Delvare e594f08271 Wait for user input to continue (as opposed to 5 sec delay).
Can be skipped using -y.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2676 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-29 21:22:00 +00:00
Jean Delvare 1cc6544e2b Refactor i2c device opening.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2675 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-28 20:42:49 +00:00
Jean Delvare 2f3df5d0cb Mass reindent.
Drop /dev/i2cN support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2673 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-26 21:01:40 +00:00
Jean Delvare 0d9f6417d5 Cut long line properly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2584 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-05 19:04:02 +00:00
Mark D. Studebaker 82caa7986f add -l option to i2cdetect so 'i2cdetect -l'
can be used as a replacement for 'cat /proc/bus/i2c'


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2100 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 04:37:08 +00:00
Mark D. Studebaker 4f3ded5af9 use common function to print out available i2c busses;
add sysfs support to that function


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2065 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 03:04:09 +00:00
Jean Delvare eee8d62f7b Fix compiler warning (uninitialized variable).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1790 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-16 17:06:49 +00:00
Kyosti Malkki 1cfe63804a (Kyösti) Cleanups
Copy sysctl enums to chip drivers from sensors.h for now,
   as seen in drivers included in 2.5 tree. File no longer included
   from kernel side.

   Apply i2c-proc change in CVS tagged -km2.

   Partial clean and sort of includes everywhere.

   Add i2c-dev.h, as a partial copy from i2c.
   Add to sensors.h from i2c-proc.h to compile things.
   Remove i2c-isa.h.

   Reflect header file changes to lib/ and prog/.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1705 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 20:01:27 +00:00
Mark D. Studebaker eb65ad052e fix comment
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1138 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-24 20:33:14 +00:00
Mark D. Studebaker 6c52f4b47f add i2cset, simple utility to write a single location
in an i2c device, good for debugging.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1057 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-03 02:39:23 +00:00