building_owfs_on_cygwin
This is an old revision of the document!
Table of Contents
Building OWFS on Cygwin
- For building OWFS 2.9x on Cygwin please see Building OWFS 2.9x on Cygwin
- To install the required Cygwin packages for compiling OWFS and for running iButtonManger I use apt-cyg, a command line tool similar to apt-get used in Debian, Ubuntu. To use apt-cyg make sure you have wget installed and execute the following commands.
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
- Download owfs from http://owfs.sourceforge.net
- Extract the source code
- Compile owfs by issuing
./bootstrap ./configure --disable-owtcl make make install
USB-Driver (libusb1, owfs version 3.x)
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.
Afterwards testlibusb should report the USB-Adapter
$ testlibusb Dev #0: 0000 - 0000 Dev #1: 04FA - 2490
Testing
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 /
building_owfs_on_cygwin.1498472830.txt.gz · Last modified: by admin
