All *LOCK functions are updated and semi-colon should be added
when used in the source-files now.

/Christian


On Mon, 2005-06-27 at 07:33 -0400, Alfille, Paul H.,M.D. wrote:
> I was wondering about that. I've been making changes and sending a tar-ball of
> the source to Jan for testing.
> 
> The semicolon sounds like a good idea. My indents are also screwed up.
> 
> Paul
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Christian Magnusson
> Sent: Monday, June 27, 2005 6:20 AM
> To: owfs-developers@lists.sourceforge.net
> Subject: RE: [Owfs-developers] More on "Hanging" Problems
> 
> 
> 
> I noticed there were a missing usb_release_interface() before trying
> to reconnect. That was probably why it didn't work as you wanted.
> It could never claim the interface without this missing call.
> 
> BTW: Do you mind if I add a semi-colon to all lock function-calls like
> STATLOCK, STATUNLOCK etc.  It screw up my emacs-indent and I think it
> looks much cleaner if there are an ending semi-colon too... :)
> 
> I will checkin some changes within a few minutes and this should work
> much better I hope.. :)
> 
> 
> /Christian
> 
> 
> On Sun, 2005-06-26 at 20:39 -0400, Alfille, Paul H.,M.D. wrote:
> > Actually, Jan says it didn't help.
> > 
> > My next attempt will be to re-enumerate as part of the "reconnect" --
> Apparently
> > the old USB device structure pointer doesn't work.
> > 
> > Things get a little more complicated if more than one USB adapter is used. 
> > We
> > can reconnect, but the order may have changed.
> > 
> > In any case, it's great that Jan has a setup where he can consistently 
> > trigger
> > the errors. 
> > 
> > Paul
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Christian Magnusson
> > Sent: Sunday, June 26, 2005 4:31 PM
> > To: owfs-developers
> > Subject: Re: [Owfs-developers] More on "Hanging" Problems
> > 
> > 
> > 
> > This seem to be a god idea... Perhaps a debug counter should be there
> > to show how many reconnects there have been too. I'll try to add the
> > reconnect-code for the serial adapter tomorrow if I get some spare time
> > at work.
> > 
> > /Christian
> > 
> > On Sun, 2005-06-26 at 06:27, Paul Alfille wrote:
> > > On Saturday 25 June 2005 04:32 am, Jan Kandziora wrote:
> > > > Am Samstag, 25. Juni 2005 05:50 schrieb Paul Alfille:
> > > > > Your logs show mainly "BUS_select_low_errors" increasing.
> > > >
> > > > And DS... errors. But I think that's just a summary, am I right?
> > > >
> > > > > Unfortunately there are 5 places in file ow_bus.c function
> BUS_select_low
> > > > > where that variable is incremented. I've added some (temporary) 
> > > > > printf's
> > > > > to run the program in foreground and flip the garbalizer.
> > > > >
> > > 
> > > Ok, I've attempted a fix.
> > > We now have a "reconnect" method for each adapter (ony the USB is really 
> > > implemented). If there is an error of the type you've been finding, the 
> > > USB 
> > > adapter is closed and reopened and reinitialized. I hop it works. Give it 
> > > a 
> > > try.
> > > 
> > > Paul
> > > 
> > > 
> > > -------------------------------------------------------
> > > 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
> > 
> > 
> > 
> > -------------------------------------------------------
> > 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
> > 
> > 
> > -------------------------------------------------------
> > 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_idt77&alloc_id492&opÌk
> > _______________________________________________
> > 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_idt77&alloc_id492&op=click
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to