Dear Paul, I've investigated further on the problem I described last week (in the thread "owtcl and writing data").
It seems to be related to EMC: Nearly every time I switch on a large 240/24V AC transformer I need for my project, I get a single error of the kind I described. But sometimes, it is even a cascade of such errors, which I can't bring into connection to any action I took (not). Maybe, it was the fluorescent light on last week, but today, I didn't turn them on and still got cascades of such errors (over about 1 minute). Then again, everything is fine for a couple of minutes. I checked for USB errors with dmesg, and got very few USB disconnects (about 1 of 30 times), but no other USB link layer errors. On the most tries, only the 1-wire seemed to be affected. I tested all this with the tcl script I posted before, and put an OW::finish OW::init usb1 into the catch sequence to restart on error. Slow, but worked. As there is little to do against EMC, I would suspect to change the software a way it automatically reinitialize the connections if there is an (until now) unrecoverable error. That leads me to following questions: 1. Is there any way to detect an "unrecoverable" error on bus side? 2. I want to use owserver. You offered to change owserver to restart the connection automatically: How is the development status for this? 3. Is there any way to process the init sequence faster? For USB errors, it would not be so dramatic if it takes 3 to 5 seconds to recover, as I expect them to be very rare. However, the 1-Wire error happens *every time* a big inductive load is switched near the device, so a faster recovery would be a big help. Kind regards Jan ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers