Hello all,

I was working on an application using the owfs c api.

The target platform is a raspberry pi with a DS9490 USB adapter
connected. There are about 15 DS18B20 mostly in a star topology.

At first everything seems to work fine.
Then i tried to force cache updates while my application is idle by
reading the uncached entries in turn. So i can access the cached values
fast if needed. This works also.
But after a few minutes the Sensors starts disapearing.

Because i suspect my application code, i tried to replicate this
behaviour with owfs tools.

I start the Server:

owserver -r --foreground -u --debug 2>owserver.log
DEBUG MODE
libow version:
        2.9p1

And on another Machine:
while true; do owread -s heizung uncached/28.5F74E2040000/temperature;
done

Indeed are the Sensors disapearing after a few Minutes.

I will attach the debug Output of the Server. "error.log" is one of the
failed transactions. But i expect the interesting parts are earlier.
In owserver-cut.log.gz i cut down a large stderr logfile. It begins
with the Start of the Server, i deleted the logs of many successful
querys and leave some before the point where things go wrong.

I would be very glad if somebody can tell me what is going on here.

I would not be surprised if there are transmission errors on the 1-wire
bus. But why can't the server recover from this? As soon as i restart
the server, everything is fine again for a few minutes.

Can this be a specific problem of the usb hostadapter which may go away
by changing to an i2c interface? (I've considered this anyway)
Or is it a pure 1-Wire bus problem?

Thank you very much in advance!
Klaus




Attachment: error.log
Description: Binary data

Attachment: owserver-cut.log.gz
Description: Binary data

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to