Jan,

I've fixed the problems Christian found. And looked more closely at your
test code.

You are using simultaneous/single_ds2400 to get the single chip (a DS2408)
on the bus.

There are two choices for the READ_ROM function, and only a few chips use
the older 0x0F code
which corresponds to the simultaneous/single_ds2400 property.

The DS2408 uses the newer READ_ROM 0x33 and so you should be reading
simultaneous/single.

That said, I wasn't properly checking the return result. Until now.

Can you try the newest code?

Paul Alfille


On Mon, May 25, 2009 at 5:47 AM, Jan Kandziora <[email protected]> wrote:

> Am Sonntag, 24. Mai 2009 schrieb Christian Magnusson:
> > I haven't follows all latest updates, but I found one pointer bug in
> > ow_presence.c:ReCheckPresence() CheckThisConnection() should not have an
> > integer as in input-argument, it should be a connection_in pointer. I
> > haven't checked in the fix, but this might fix the problem. Perhaps Paul
> > can verify if this is how it was supposed to work.
> >
> Christian, Paul, we get nearer to function. I've added Christian's patch
> today
> and now I get an ENOENT after 10 minutes, while after 11 minutes, it works
> again. Same after 20 minutes and so on. Please see the log.
>
> Kind regards
>
>        Jan
> --
> Nice female voice: "You have *junk* mail."
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to