Great question. I'll answer it formally as a good reference.

Problem: Trouble running owfs and owhttpd simultaneously.

Solution: Run owserver. owfs and owhttpd then connect to owserver.

Example, with one USB bus master:

# Wrong way:
owfs -u -m /mnt1wire
owhttpd -u -p 4444
# both try to open 6the same usb channel and conflict.

# Right way:
owserver -u -p 4304
owfs -s 4304 -m /mnt/1wire
owhttpd -s 4304 -p 4444
# only owserver open the USB device.
# every other program open a network connection to owserver
# owserver coordinates the access.

---------------------------

The fact that owfs and owhttpd can connect to the USB (or serial, or i2c...)
ports directly is a historical artifact. A clean new design would use
owserver in every case.

In fact, the newer approach (ownet) to writing language bindings is to
support only owserver access (that only needs tcp socket support and a
minimum of packet encoding and decoding) and hides the internals of the
device data structures, caching, etc.

owcapi is another way of hiding complexity while still linking on the entire
owserver functionality.




On Wed, Sep 22, 2010 at 3:51 AM, Ghislain FOURNIER <
[email protected]> wrote:

> Hi
> When i start owfs only, i can read mountpoint.
>
> when i start owhttp, after a few minutes, i can read device on my web
> browser, but in my mountpoint, their is no device, since i was update my
> ubuntu 10.04 server kernel.
>
> can i run owfs and owhttpd together ?
>
> best regard.
>
> Ghislain.
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to