Eric Baumann | 29 Mar 15:00 2015
Picon

installing owfs on raspberry pi

Hallo 

I am trying to install owfs on Raspberry Pi again. I seems to struggle with the libusb :

../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory
compilation terminated.
Makefile:556: recipe for target 'ow_dnssd.o' failed
make[4]: *** [ow_dnssd.o] Error 1
make[4]: Leaving directory '/home/pi/owfs-3.1p0/module/owshell/src/c'
Makefile:424: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/pi/owfs-3.1p0/module/owshell/src'
Makefile:424: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pi/owfs-3.1p0/module/owshell'
Makefile:438: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/owfs-3.1p0/module'
Makefile:484: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


It seems to be unable to find the libusb header file. 

Where whould it be located?


This time I installed libusb directly from source and compiled it, like this:

tar xjf libusb-1.0.9.tar.bz2
cd libusb-1.0.9
~/work/libusb-1.0.9 $ ./configure
~/work/libusb-1.0.9 $ make
~/work/libusb-1.0.9 $ sudo make install

Which I did because just running :
sudo apt-get install libusb-dev
terminated successfully not was enough,
because the ./configure of owfs would give a USB: Disable

This however should wok according to:


Thanks for any help.

With best regards,

Eric
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Eric Baumann | 19 Mar 23:06 2015
Picon

installing newest owfs on ubuntu

Hello :-)

Trying to install 3.1p0 on a HP Zbook 15 running on Ubuntu 14.04 LTS.

After downloading and unpacking it in /usr/local/src/
I do:
sudo apt-get install autoconf libtool libusb-dev libfuse-dev sudo ./configure
sudo make
sudo make install

#create mount directory:
sudo mkdir /var/1-wire

At the end of the ./configure it says:

Current configuration:

    Deployment location: /opt/owfs

Compile-time options:
                      USB is DISABLED
                    AVAHI is DISABLED
                      I2C is enabled
                       W1 is enabled
    Parallel port DS1410E is enabled
         Zeroconf/Bonjour is enabled
             Debug-output is enabled
               Mutexdebug is enabled
                Profiling is DISABLED
Tracing memory allocation is DISABLED

Module configuration:
                    owlib is enabled
                  owshell is enabled
                     owfs is enabled
                  owhttpd is enabled
                   owftpd is enabled
                 owserver is enabled
               owexternal is enabled
                    ownet is enabled
                 ownetlib is enabled
                    owtap is enabled
                    owmon is enabled
                   owcapi is enabled
                     swig is DISABLED
                   owperl is DISABLED
                    owphp is DISABLED
                 owpython is DISABLED
                    owtcl is DISABLED

Why is the USB disabled?

To try starting it I did:
sudo service owserver start

and

sudo /opt/owfs/bin/owfs -s localhost:4304 -a alias_file -m /var/1-wire --allow_other

It doesn't show anything in that directory (unsurprisingly :-) ?) ...

What am I doing wrong?

Why is the USB disabled?

Where can I read how to properly call owfs with such that it recognizes my DS9490R USB adaptor?

Thanks for you help.

Best regards,

Eric
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Mick Sulley | 17 Mar 21:48 2015

Tester Adapter

I've been using owfs for several years now but have never user the 
tester adapter until now :)

Is it possible to set the temperatures for the test devices?

Thanks
Mick

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Eric Baumann | 15 Mar 11:31 2015
Picon

installing owfs on raspberry pi

Hallo

Thank you very much for your reply Mick!

Yes, that was helpful.

I have been following this link: http://owfs.org/index.php?page=building-under-ubuntu

which says you also need :
sudo apt-get install autoconf libtool libusb-dev libfuse-dev
Isn't this command required for it to work?

Another little question:
With what command does one start owfs on a pi?
That is, I would like to pass it the information that:
- it should use the DS9490R USB adaptor
- it should mount the devices at your freshly created directorie /var/1-wire.
(Why two such directories? (/var/1-wire and /var/1-wire/mnt ?)


Thanks for your patience :-)

Best wishes,


Eric
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Paul Alfille | 15 Mar 03:32 2015
Picon

New Releases 3.0p2 and 3.1p0

I took the unusual step of 2 releases:

3.0p2 Adds minor changes to the K1WM Bus Master from Martin Rapavy for the Kisler moification of the synthesized DS1WM Bus Master.

3.1p0 is a major change in linkage. We leave behind the legacy version of libusb for the modern version. Libusb is used for the DS9490 Bus Master, and the older version is actually no longer supported, except as a legacy skin over the modern code.

Although I've been pleased with the new libusb function on linux and OSX, I wanted a working version with the legacy mode in case there are problems.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Eric Baumann | 12 Mar 18:39 2015
Picon

installing owfs on raspberry pi

Hallo :-)

What is the proper way (instructions) to install the newest ! version of owfs
on a Raspberry Pi Model B+ running the newest version of Raspbian?

I had success with

sudo apt-get install owfs

However, this installed version 2.8.

If I do what is said on the "Install" note in the current version, I do not get a
proper install. Which manifests itself in the fact, that I do not get the owfs.conf file in /etc/

Also, can't start owfs with 'sudo service owserver start'.

PS: I DO need the newest version of owfs for the new hobby boards barometer / humidity devices.

Thanks for you help,

Eric
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Johan Ström | 12 Mar 17:29 2015
Picon

Link 12/45/USB support for AUX line

Hi,

The LINK adapter has an extra AUX line which can be used as a general 
I/O port (somewhat limited though).
I've added some code to control this line via owfs:

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Paul W Panish | 12 Mar 13:20 2015

New Hobbyboards Master Hub

Is this a new hub from Hobbyboards, and if so is it supported yet by owfs?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Mick Sulley | 4 Mar 15:31 2015

Loosing Channels - help please

I have had a problem probably 3 or 4 times over the last few months 
where I loose some channels on my 1-wire, this time channels 1, 4 and 5, 
which I think is the same channels as before but can't be sure.  If I 
reboot it doesn't help, just comes up with the same missing channels, 
but power cycle and all is well again.

I am running version owfs 3.0 but the last time it happened was on 2.9 
with owserver with owfs  Running on Raspberry Pi with Sheepwalk RPi3 
adapter and RPI3a splitters to give the 8 channels.

Any ideas?

Thanks
Mick

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Daniel MacKay | 3 Mar 00:57 2015
Picon

"Deep Blue" sensor

Hey guys, is this 1-wire? The labelling suggests it is. if so - it's a very good deal.

http://www.dx.com/p/temperature-humidity-sensor-dht11-module-for-arduino-deep-blue-works-with-official-arduino-board-288612?utm_source=dx&utm_medium=edm&utm_campaign=en20150302superbrain
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Paul Alfille | 27 Feb 16:28 2015
Picon

New release 3.0p1

OWFS Release Notes
3.0p1
Feb 27, 2015

New Features.
1. owhttpd supports "sparse arrays"
   A. Based on feedback by Eugenio Torrini
   B. Sparse arrays allow the file extension to have any value, e.g. a password in the case of the DS1991
   C. owhttpd now has an extension input field for sparse arrays
   D. web pages still don't require javascript or HTML5 features
   E. Fully backwards compatible
2. Preliminary DS1WM support
   A. This is the freely available 1-wire bus master design from Maxim
   B. Can be implemented in FPGA
   C. Preliminary feedback and testing from Martin Rapavy
   D. Needs a hardware address for mapping device registers
   E. Maps system memory directly -- root only
   F. Competes with an in-kernel w1 module
  
Fixes
1. Fixed DS1991 support
   A. Based on observations and testing by Eugenio Torrini
   B. Uses a different directory structure
      a. subkey0, subkey1, subkey2
   C. Follows datasheet more closely
   D. NOT BACKWARDS COMPATIBLE
      But the old way didn't work so clearly wasn't being used.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Gmane