Another thing... Do you get one of those lines in your logfile? "Set DS9490 [001/008] unique id to 81BC972400000048"
I guess not... I think that you never make any full directory search on the adapter before trigger that EMP problem. If you only do reads to a specific device on the adapter (and not dir) before be adapter is disconnected, the unique id isn't set (and is never found during reconnect either) I have patched the code to set the ds1420 id during the reconnect even if it's not set before. The only changes I have made is in DS9490_redetect_low() in the file ow_ds9490.c (to revision 1.57) http://cvs.sourceforge.net/viewcvs.py/owfs/owfs/module/owlib/src/c/ow_ds9490.c?view=markup I think it could take some hours before the web-page is updated, but it's quicker than waiting for the daily cvs to be built at least. /Christian On Wed, 2005-07-06 at 23:50 +0200, Jan Kandziora wrote: > Am Donnerstag, 30. Juni 2005 15:41 schrieb Christian Magnusson: > > Have you succeeded to use the latest cvs-version yet? Just wondering... > > > Now I had the time to test a bit. I have to say: unfortunately not. > $ /opt/owfs/bin/owserver -u1 -p19160 --foreground --error_level=9 > > > ... > > INFO: PARSENAME path=12.869736000000/PIO.A > > INFO: PARSENAME path=12.869736000000/PIO.A > > INFO: PARSENAME path=12.869736000000/PIO.A > > ... Now doing something naughty ... > > ERR: Release interface failed ret=-19 > : No such device > ERR: Closed USB DS9490 adapter at 001/002. ret=0 > : No such device > ERR: Opened USB DS9490 adapter at 001/004. > : Permission denied > ERR: Couldn't find correct ds1420 chip on this adapter [001/004] > : Resource temporarily unavailable > ERR: Closed USB DS9490 adapter at 001/002. ret=0 > : Resource temporarily unavailable > ERR: BUS_selection_error returned error = -5 > : Resource temporarily unavailable > INFO: PARSENAME path=12.869736000000/PIO.A > > ERR: Opened USB DS9490 adapter at 001/004. > : No data available > ERR: Couldn't find correct ds1420 chip on this adapter [001/004] > : Resource temporarily unavailable > ERR: Closed USB DS9490 adapter at 001/002. ret=0 > : Resource temporarily unavailable > ERR: Opened USB DS9490 adapter at 001/004. > : No data available > ERR: Couldn't find correct ds1420 chip on this adapter [001/004] > : Resource temporarily unavailable > ERR: Closed USB DS9490 adapter at 001/002. ret=0 > : Resource temporarily unavailable > ERR: BUS_selection_error returned error = -5 > : Resource temporarily unavailable > INFO: PARSENAME path=12.869736000000/PIO.A > > ERR: Opened USB DS9490 adapter at 001/004. > : No data available > ERR: Couldn't find correct ds1420 chip on this adapter [001/004] > : Resource temporarily unavailable > ERR: Closed USB DS9490 adapter at 001/002. ret=0 > : Resource temporarily unavailable > ERR: Opened USB DS9490 adapter at 001/004. > : No data available > ERR: Couldn't find correct ds1420 chip on this adapter [001/004] > : Resource temporarily unavailable > ERR: Closed USB DS9490 adapter at 001/002. ret=0 > : Resource temporarily unavailable > ERR: BUS_selection_error returned error = -5 > : Resource temporarily unavailable > INFO: PARSENAME path=12.869736000000/PIO.A > > > $ dmesg says > usb 1-1: USB disconnect, address 2 > usb 1-1: new full speed USB device using uhci_hcd and address 4 > 0: addr=81, size=32, dir=IN, type=3 > 1: addr=2, size=16, dir=OUT, type=2 > 2: addr=83, size=16, dir=IN, type=2 > > > I'd say, we are on the right way but there is some little thing wrong. Which? > > 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 -- Christian Magnusson <[EMAIL PROTECTED]> ------------------------------------------------------- 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