Am Montag, 11. Mai 2009 schrieb Paul Alfille: > Is it possible to list a short log? > > Also, is settings/timeout/presence set to what you expect? > Pew, it was a hard time to catch that bug... It does *not* happen with DS9097U, only with my DS2482 adapter. Please see the following tcl script. I run it 10 minutes before it shows "invalid argument" instead of "OK".
--------------------------------------------------
#!/usr/bin/tclsh
package require ow
set CHIP 29.D43E01000000
OW::init /dev/i2c-6
OW::put settings/timeout/presence 1200
OW::put settings/timeout/directory 1200
puts stderr [ OW::get uncached ]
while { true } \
{
puts -nonewline stderr "[ clock format [ clock seconds ] ]: "
OW::get /uncached/simultaneous/single_ds2400
if {[ catch { OW::put $CHIP/PIO.ALL 0,0,0,0,0,0,0,0 } ERR ]} \
{ puts stderr $ERR } \
{ puts stderr "OK" }
after 10000
}
--------------------------------------------------
If I leave out the "OW::get /uncached/simultaneous/single_ds2400" line, the
bug does not appear. "invalid argument" is then showed after 1200s, as noted
in the initialisation. Adding
OW::put settings/timeout/stable 1200
OW::put settings/timeout/volatile 1200
after OW::init makes no difference.
I could not take a log with owserver, as it would ignore my timeout settings
completely and fail after 2 minutes.
Kind regards
Jan
--
A bureaucrat's idea of cleaning up his files
is to make a copy of everything before he destroys it.
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
