On Sun, 2005-10-16 at 17:45 -0500, Ross Cathriner wrote: > > > > Can you explain why you did "killall owhttpd" ? Isn't it enough to > > press Ctrl-C in the terminal windows, or does the program start in the > > background even if you start it with "--foreground" option? > > > > Yes Ctrl-C works fine. > > > Perhaps it's working better for you if you put it in background with > > your shells "&" function instead. Then you should be able to close > > your terminal window I guess. Try something like: > > > > owhttpd --foreground --error_print=2 -u -p 3001 & > > (And then close the window.) Does it work? > > > > If I close the window it kills the process, typing exit then quitting > the terminal keeps the process running in the background. This will > work fine. > > There is one other major problem I did not catch at first. It's with > the DS2450 Quad A/D Converter. All volt fields show "Error: Invalid > argument". The error_print looks clean, but does show one error when > accessing this device. Repeated refresh in the uncached version will > occasionally show a valid voltage reading of only one of the > parameters (randomly channel after 3-15 refreshes). > > INFO: 9490 Powerbyte > INFO: FS_gamish: error ret=-22 s=51 > INFO: PARSENAME path=/20.7EE800000000/volt.A > INFO: FS_read: path=/20.7EE800000000/volt.A size=12 offset=0 >
When a conversion is initiated on the ds2450, it first check if it's powered via the Vcc pin or if it's used in parasitic mode. My guess is that you haven't connected the Vcc pin to anything, neither to +5V or to your ground. The ds2450 device is not sure in which mode it's used in. Is that correct? Could you try to connect the Vcc pin to +5V? I found some problems when 1-wire devices were used in parasitic mode on the usb-adapters. I think you have succeeded to make some conversions when the 2450 thought it was powered with +5V, and then it failed when the power dropped too low and it thought it was in parasitic mode. I have modified the powerbyte function which gives all 1-wire devices power enough to do a conversion while it's in parasitic mode. I have never never used the DS2450, so I can't test if there are any other bugs in the code... BTW: Paul, have you tried the 2450 and have you noticed the note about skipping the offset time (I guess it's the 6ms delay) ---------------------- From the 2450 documentation There is a fourth memory page in the address range of 18 to 1F used during calibration at the factory. This memory page is accessible to the user through the Read Memory and Write Memory commands. Changing the data of this page arbitrarily will de-calibrate the A/D converter or make the device nonfunctional until it undergoes a power-on reset. If the device is VCC powered the analog circuitry must be kept permanently active by writing a value of 40 hex to memory address 1C after power-up. This also eliminates the offset time otherwise needed with each CONVERT command. See the description of the CONVERT command for details. ---------------------- From the 2450 documentation > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
