diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-18 17:39:44 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-18 17:39:44 +0100 |
commit | 9bfdbb1d569eea229fd9f10823891234c8676145 (patch) | |
tree | d12cc47a398d1c3684fc3a6709a55f959d085527 /README.txt | |
download | k8055-9bfdbb1d569eea229fd9f10823891234c8676145.zip k8055-9bfdbb1d569eea229fd9f10823891234c8676145.tar.gz |
initial commit, version 0.4.1 from http://sourceforge.net/projects/libk8055
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..5b5d45c --- /dev/null +++ b/README.txt @@ -0,0 +1,37 @@ +The k8055 require libusb-0.1.9 or newer and kernel 2.4.18 or never. + +install: + # make all + # make install + update ld.so.conf with "/usr/local/lib" if not there or run + env-update at gentoo systems + +uninstall: + # make uninstall + +Check out the Makefile for all different make rules... + +User access to the k8055 device: + read comments in velleman.rules + +Using the k8055 library: + in the program file "#include <k8055.h>" and compile with -lk8055 and + -lusb, e.g gcc -lusb -lk8055 main.c -o k8055_rocks + +Python part + Python makes use of SWIG interface language, for setup and install + see http://www.swig.org + + There might be a prepared package for your distribution, use + emerge swig, apt-get install swig, urpmi swig, rpm -Uvh swig_package + Or whatever your favorite distribution provides. + Then, from the library source directory: + + # make pylib + + You can then run the python programs from within the pyk8055 directory + + For global install, run as root: + # make pyinstall + This should install your package in the proper site-package dircetory + globally accessible for the python interpreter |