On Tue, 2005-04-12 at 10:12 +0100, [EMAIL PROTECTED] wrote: > > > >>How about people using iButtons as identification cards etc... There > >>are key-rings to attach the iButton and then it's just to hold up > >>the button to the reader. This requires a loop searching for new > >>devices all the time, and then when a device is found, read the > >>memory or content and eventually accept the user's iButton. > >> > >>This directory search could also be a low-level function in owserver > >>where it's searching for new devices as often as possible. > >>It wouldn't be very a very good user experience when you have to hold > >>your iButton to the reader for several seconds before it's detected and > >>accepted. > > >>Just a few thoughts... :) > > >>-- > >>Christian Magnusson <[EMAIL PROTECTED]> > > > I agree completely with Christian. Although I have yet to implement any > such system, I had already identified the problem as a result of learning > the code, and the behaviour of 1-wire devices. > > By the way, although I have been absent from this mailing list for a while, > I have been getting ready to do some work with this project. I think I > have identified a problem - at least under Fedora Linux - whereby owfs > started in normal - daemon - mode does not release from fuse correctly when > the daemon process is killed. I am pretty sure that this is because the > signal handler is not set up before daemonising the process. I swapped the > order of LibStart() and set_signal_handlers() <or whatever it's called, > sorry don't have access to the code right now> and this seems to correct > the problem. Does this make sense ? > > > Jack >
I can't see any problem with setting up the signal handlers before calling daemon. I'm cleaning up the signal handlers in the code now... It was a bit messy and will be simplified in a few minutes. /Christian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers