Owfs: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (more intro plus conclusions)
(links)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Introduction=
=Introduction=
OWFS is a method under linux to allow 1-wire devices to appear like files in a directory.
'''[http://owfs.org/ OWFS]''' is a method under linux to allow 1-wire devices to appear like files in a directory.
You can then enter a command like "cat */temperature" to have all the temperatures sensors measure and print their data. For instance, the collection of temperature sensors above are all on one bus, individually addressable, and will reconfigure on the fly as items are added or removed. Each device is it's own directory with it's own properties.
You can then enter a command like "cat */temperature" to have all the temperatures sensors measure and print their data. For instance, the collection of temperature sensors above are all on one bus, individually addressable, and will reconfigure on the fly as items are added or removed. Each device is it's own directory with it's own properties.
==Instalation==
==Instalation==
=== Quick install ===
#Download and unpack owfs (you can find it on sourceforge:http://www.sf.net/projects/owfs )
#cd owfs directory
# ./bootstrap
# ./configure
# make install

=== Instalation notes ===

*See http://owfs.sourceforge.net/install.html
*See http://owfs.sourceforge.net/install.html


*Better work with tar.gz from
*Better work with tar.gz from
#http://sourceforge.net/project/showfiles.php?group_id=85502&package_id=88590&rele$
:http://sourceforge.net/project/showfiles.php?group_id=85502&package_id=88590&rele$
#http://sourceforge.net/projects/owfs
:http://sourceforge.net/projects/owfs


*There is also cvs
*There is also cvs
#http://sourceforge.net/cvs/?group_id=85502
:http://sourceforge.net/cvs/?group_id=85502


''Note'': for the instalation to succed we need the latest version of FUSE that is in http://sourceforge.net/cvs/?group_id=121684, at the end of the instalation module owfs must be enable.
: For the instalation to succed we need the latest version of [http://fuse.sourceforge.net/ FUSE] that is in http://sourceforge.net/cvs/?group_id=121684, at the end of the instalation module owfs must be enabled.
with the actual implementation of the openEc this is no longer necesary, but is an alternative that is worth trying. if you are not skilled at hardware hacking.
with the actual implementation of the OpenEc this is no longer necesary, but is an alternative that is worth trying. if you are not skilled at hardware hacking.


=== See also ===
=== See also ===
* [http://owfs.org/ OWFS website]
[[OpenEC]]
* [[OpenEC]]
* [[Embedded controller]]


=== Notes ===
find /usr/lib -name "libusb.*" (To find libusb support in your machine)
apt-get install tree
[[category:firmware]]
[[category:firmware]]
[[category:software]]
[[category:software]]

Latest revision as of 18:03, 24 January 2012

Introduction

OWFS is a method under linux to allow 1-wire devices to appear like files in a directory. You can then enter a command like "cat */temperature" to have all the temperatures sensors measure and print their data. For instance, the collection of temperature sensors above are all on one bus, individually addressable, and will reconfigure on the fly as items are added or removed. Each device is it's own directory with it's own properties.

Instalation

Quick install

  1. Download and unpack owfs (you can find it on sourceforge:http://www.sf.net/projects/owfs )
  2. cd owfs directory
  3. ./bootstrap
  4. ./configure
  5. make install

Instalation notes

  • Better work with tar.gz from
http://sourceforge.net/project/showfiles.php?group_id=85502&package_id=88590&rele$
http://sourceforge.net/projects/owfs
  • There is also cvs
http://sourceforge.net/cvs/?group_id=85502
For the instalation to succed we need the latest version of FUSE that is in http://sourceforge.net/cvs/?group_id=121684, at the end of the instalation module owfs must be enabled.

with the actual implementation of the OpenEc this is no longer necesary, but is an alternative that is worth trying. if you are not skilled at hardware hacking.

See also

Notes

find /usr/lib -name "libusb.*" (To find libusb support in your machine) 
apt-get install tree