Ahha!
It looks like a logic error -- if no device is found, the code still tests
for a CRC error in the serial number, and probably asks for retries.
Fixed in the CVS.
Paul
On 11/18/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
It will take some looking (?check stats?) but I really suspect the problem
is with a timeout waiting for a response with no devices. Can you compare
0,1,2 devices on the bus?
Paul
On 11/18/06, Jan Kandziora <[EMAIL PROTECTED]> wrote:
>
> Am Samstag, 18. November 2006 22:52 schrieb Paul Alfille:
> > That's not good.
> >
> If 160ms/scan is the worst time you measured, it means there's hope I
> don't
> need to change parts of the machine design. Scanning locks connected to
> an
> USB adaptor is quite faster (at least on my development PC), but the
> machine
> should use the DS2482-800 instead.
>
> I will setup a stable measurement environment on the actual platform
> around
> next wednesday.
>
>
> > If we can't resolve it this way, we may have to add a special "file"
> that
> > checks for ANY device on the bus rapidly.
> >
> Hm. I don't understand where the difference would be. Could you explain?
>
>
> My idea was, the problem lies somewhere in the timing of onewire or i2c,
> or in
> the timing requirements of the host OS. To achieve a rapid scan of a
> (sub)bus, one has to issue the "triplet" command rapidly. This could
> exhaust
> the process' timeslice and such, the owserver etc. is getting "niced".
> Maybe
> a static priority for owserver helps? I haven't checked so far.
>
> Kind regards
>
> Jan
> --
> Alles Schwere kommt von oben...
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers