Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Dean Waldow
Success! > When I have access to my 1-wire hardware I’ll give it a try. I was able to test the install and it worked well! I was able to see (owdir) and read (owread) all of the devices I have from Hobby Boards: Temp, Temp/Humidity, hub, and a moisture meter using the owserver. I’ll have to pl

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Dean Waldow
Quick update. I thought I would retry the ./configure again and it FOUND libusb now and it is enabled. I am confused though because pkg-config still doesn’t find libusb but it succeeds? $ pkg-config libusb --cflags Package libusb was not found in the pkg-config search path. Perhaps you should

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Dean Waldow
Hi Jan, > It uses pkg-config. > > $ pkg-config --exists libusb-1.0 && echo "libusb-1.0 exists!" > > >> /usr/local/lib/libusb-0.1.4.4.4.dylib /usr/local/lib/libusbdll.dylib >> > That's libusb0. > > >> /usr/local/lib/libusbpp-0.1.4.4.4.dylib >> /usr/local/lib/libusbpp-0.1.4.dylib /usr/local/

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Dean Waldow
Hi Folks, > at least the current master (or well, ftdi branch but nothing touched there > since 9a8aa0 == 3.1p1) detects libusb properly on my OS X (10.10.5): I was using simply the 3.1p1 on OS X 10.11.3 on a pretty old iMac. > checking for LIBUSB... yes > ... > Compile-time options: >

Re: [Owfs-developers] libftdi support: take 2

2016-02-04 Thread Jan Kandziora
Am 04.02.2016 um 23:11 schrieb Johan Ström: > > vid =0x0B6A, pid = 0x5A03 > "This device is identified as a DS18E17 / DS9481P-300 USB adapter. > To use this, you need to use the DS2480B device, and point it to > the appropriate /dev/ttyACMx device" > Skip the DS28E17 part, as the adapter is part

Re: [Owfs-developers] libftdi support: take 2

2016-02-04 Thread Johan Ström
On 29/01/16 15:02, Jan Kandziora wrote: > Am 29.01.2016 um 08:28 schrieb Johan Ström: > > >> As for the DS9481, it seems to be based on the Prolific PL-2303HXD chip, >> a generic adapter chip similar to the FTDI. Behind that, it emulates a >> DS2480B (owfs source code doesn't even mention this ada

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Johan Ström
Hi, at least the current master (or well, ftdi branch but nothing touched there since 9a8aa0 == 3.1p1) detects libusb properly on my OS X (10.10.5): checking for LIBUSB... yes ... Compile-time options: USB is enabled I have no custom configure flags, and libusb from brew

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Jan Kandziora
Am 04.02.2016 um 22:28 schrieb Dean Waldow: > > checking for LIBUSB... no > > I have not dug into the code to see where it is looking for libusb. I > seem to remember that in MacPorts there were two libusb portions > (libusb and libusb-development) - doubt there is something similar in > brew. I o

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Dean Waldow
Hi Jan and Stefano, I followed Stefano’s information below up to the point of trying to run it with devices attached. I first removed MacPorts and then installed HomeBrew, wget, and libusb. I used wget to get owfs-3.1p1. $ brew install libusb $ tar xvzf owfs-3.1p1.tar.gz $ cd owfs-3.1p1 $ ./con

Re: [Owfs-developers] libftdi support: take 2

2016-02-04 Thread Johan Ström
On 29/01/16 16:54, Matthias Urlichs wrote: > Hi, > > On 27.01.2016 23:45, Stefano Miccoli wrote: >> #ifdef HAVE_SYS_TYPES_H >> #ifdef __FreeBSD__ >> #include > Umm, why doesn't this code use HAVE_SYS_PARAM_H ?? > No idea, was not introduced in the ftdi branch. I've commited a fix there now thoug

Re: [Owfs-developers] libftdi support: take 2

2016-02-04 Thread Johan Ström
On 27/01/16 18:40, Stefano Miccoli wrote: Good news. In a few days I will have an old LinkUSB available for testing, although with a limited number of sensors only: I will try-out your implementation. Stefano, did you get any chance to give my ftdi code a spin? Regards Johan ---

Re: [Owfs-developers] read/write EEPROM

2016-02-04 Thread Jan Kandziora
Am 04.02.2016 um 14:06 schrieb Timo Engel: > > I'm wondering what is the correct procedure to read/write form/to an > EEPROM. Is it sufficient to use write() and write 32 bytes for example > to pages/page.0? > Yes. > Are there any status information if the last write() > was successful? > If the

[Owfs-developers] read/write EEPROM

2016-02-04 Thread Timo Engel
Hello, I'm using owfs to read/write the EEPROM of DS2436 and DS2433 devices. Mostly, this works nice and without problems. However, sometimes wrong data is stored on the EEPROM. I'm wondering what is the correct procedure to read/write form/to an EEPROM. Is it sufficient to use write() and write

Re: [Owfs-developers] OWFS and OSX...

2016-02-04 Thread Stefano Miccoli
Here is my recipe that worked with yosemite+homebrew $ brew install libusb $ tar xvzf owfs-3.1p1.tar.gz $ cd owfs-3.1p1 $ ./configure --prefix $HOME/owfs-install --disable-owtcl $ make -j4 $ make install $ $HOME/owfs-install/bin/owserver -u -—foreground from another terminal: $ $HOME/owfs-instal