This is an old revision of the document!
wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg chmod +x apt-cyg mv apt-cyg /usr/local/bin/ apt-cyg install gcc-core automake autoconf make patch libtool vim ed libusb1.0 libusb1.0-devel \ procps dialog curl usbutils
Version 2.9px
./bootstrap autoreconf -if ./configure --disable-owtcl make make install
Version 3.x
./bootstrap ./configure --disable-owtcl make make install
As of Version 3.x it should be enough just to run ./configure (no bootstrap and no autoreconf since this seems to break the configure script).
There used to be an issue when compiling (any version of) owfs - see also https://sourceforge.net/p/owfs/mailman/message/34817075/ for compiling errors on cygwin - however at some point after updating Cygwin to the latest version those issues vanished.
See http://libusb.org/wiki/windows_backend Chapter “Driver Installation”. I recommend to use Zadig http://zadig.akeo.ie/ to perform the driver installation. This is required in order for owserver to be able to connect to the USB device. It seems that the command lsusb shows the device also without the driver being installed.
Download libusb-win32, extract, follow the instructions on the website. Start the INF-Wizard program, choose the device (Vendor ID 0x04FA, Product ID 0x2490) and generate a corresponding INF file. Update the driver for the DS9490-USB-Adapter in Windows-Device-Manager and indicate the directory containing the generated INF-file. If necessary remove any previously installed Dallas driver http://owfs.org/index.php?page=windows-usb.
Afterwards testlibusb should report the USB-Adapter
$ testlibusb Dev #0: 0000 - 0000 Dev #1: 04FA - 2490
Connect the OW-USB-Adapter and start owserver, owhttp. Then browse to http://localhost:3001/
/opt/owfs/bin/owserver.exe -u -p 3000 /opt/owfs/bin/owhttpd.exe -s 3000 -p 3001 #Read directory /opt/owfs/bin/owdir.exe -s 3000 /