Owfs: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (+info)
Line 25: Line 25:


=== See also ===
=== See also ===

[[OpenEC]]
* [[OpenEC]]
* [[Embedded controller]]

=== Notes ===
=== Notes ===
find /usr/lib -name "libusb.*" (To find libusb support in your machine)
find /usr/lib -name "libusb.*" (To find libusb support in your machine)

Revision as of 03:18, 14 December 2007

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