Discussion:
[Owfs-developers] installing owfs on raspberry pi
Eric Baumann
2015-03-12 17:39:27 UTC
Permalink
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
Mick Sulley
2015-03-12 22:27:37 UTC
Permalink
I don't know if this is the 'proper' way but here is my set of notes for
install on Pi

Download owfs to desktop
copy to pi
move it to /usr/local/src
cd /usr/local/src
sudo tar zxpf owfs-whatever_version.tar.gz # change to latest version
cd owfs-whatever_version # change to latest version
sudo ./configure
sudo make
sudo make install

create mount directory
sudo mkdir /var/1-wire
sudo mkdir /var/1-wire/mnt

It installs into /opt/owfs/ and I don't think it adds it to the path, so
call with /opt/owfs/bin/owfs, etc, there is probably a better way to do
that :)

Also it doesn't create an owfs.conf which has not bothered me as I pass
it all the parameters when I call it.

Hope that helps

Mick
Post by Eric Baumann
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
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Eric Baumann
2015-03-15 10:31:11 UTC
Permalink
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
Mick Sulley
2015-03-15 11:13:37 UTC
Permalink
To start -
/opt/owfs/bin/owserver -p 4304 --nozero --i2c=/dev/i2c-1:ALL
that starts on the Sheepwalk adapter, you would need to change
--i2c=/dev/i2c-1:ALL to -u I think to get your USB adapter to work
/opt/owfs/bin/owfs -s localhost:4304 -a alias_file -m /var/1-wire/mnt
--allow_other

I don't install autoconf or libtool, don't know why they say it is
necessary, I do install the other two.

Why /var/1-wire/mnt/ ? I think I picked that up when I first started
with owfs and just stuck with it. I guess you could use any directory
you like.

Cheers
Mick
Post by Eric Baumann
Hallo
Thank you very much for your reply Mick!
Yes, that was helpful.
http://owfs.org/index.php?page=building-under-ubuntu
sudo apt-get install autoconf libtool libusb-dev libfuse-dev
Isn't this command required for it to work?
With what command does one start owfs on a pi?
- it should use theDS9490R 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
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Loading...