Owfs: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 1: Line 1:
=Introduction=
=Introduction=
OWFS is a method under linux to allow 1-wire devices to appear like files in a directory.
'''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==
Line 19: Line 19:
=== 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)
apt-get install tree

[[category:firmware]]
[[category:firmware]]
[[category:software]]
[[category:software]]

Revision as of 18:10, 21 October 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

  • 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

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 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

OpenEC

Notes

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