Am Montag 25 April 2011, 03:28:27 schrieb Paul Alfille:
>
> I2C is a little different. It isn't enumerated by the kernel, and I'm
> not what needs to be "reconnected". Do you think just closing and
> reopening the device would do the trick? What kind of errors do you
> see that indicate the i2c connection was lost?
>
First I must say I cannot reproduce the problem at my desk, but several
different customers have it. They all use a board I made which connects a
DS2482-800 to i2c on the machine. The software uses the Tcl binding to connect
to OWFS directly. It works fine most of the time. The software does a
OW::get uncached/bus.0/simultaneous/single_ds2400
every second. If the command fails 3 times, it does OW::finish, then
immediately OW::init /dev/i2c-0 again, then just OW::get to check if the host
adaptor is working. But that won't help (or won't help everytime), that
OW::get fails everytime in the situation.
I know it's hard to find the actual problem from that vague description. I
continue to try catching the error at my desk.
Kind regards
Jan
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers