On Thu, Dec 09, 2010 at 07:34:58PM +0100, Martin Patzak (GMX) wrote: > Hi Chris, > > here is my list of howto install owfs on Debian lenny.
Near enough! :-) > There is also documentation on owfs.org on installing. > I am using the LINK USB module, which internally acts a a serial > interface, so you have to change those parts to your needs with the > DS9490R which is a USB-interface (again documentation is on owfs.org). > > > this is as of 20100805 with new version of owfs from 20100802 > install will be done on bubblenet running lenny kernel 2.6.26-2-486 > what's bubblenet? > > 1. download this or newer from sourcefoge > > http://sourceforge.net/projects/owfs/files/owfs/2.8p0/owfs-2.8p0.tar.gz/download > > 2. extract to folder > > 3. open shell and cd to folder owfs-2.8p0 > and run ./configure > This is where I may have a problem, I'm quite familiar with the ./configure, make, go round and try again sequence. However I may not have *space* to build the whole thing, I just need to build (hopefully) the non-GUI bits. I'll see how much space it needs, the eeePc isn't too tight packed atthe moment so it may manage it. > 4. wait a minute and then check whats missing... > alternatively goto 7 right away > > 5. install missing components first > e.g. automake autoconf autotools-dev gcc g++ > libtool libusb-dev fuse-utils libfuse-dev swig \ > python2.5-dev tcl8.5-dev php5-cli php5-dev > > 6. now run ./configure (again) > make sure all modules you want to use are checked > > 7. now make > check for possible errors (ignore warnings mostly) > > 8. lastly sudo make install > > 9. plug in the USB-1-Wire-Adapter > check in syslog if it was registered: > ftdi_sio: Detected FT232RL > usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 > usbcore: registered new interface driver ftdi_sio > .... > 10. check if owfs works like a so: > /opt/owfs/bin/owhttpd -d /dev/ttyUSB0 -p3001 > > 11. open browser and goto localhost:3001 > there you should have it - a listing of the complete 1-Wire-Bus > > 12. now add your user to the group fuse > e.g. edit /etc/groups and the re-logon into a new session, so the new > group will be recognized > > 13 create a new mount-point for the file-system 1-Wire > e.g. /mnt/1-Wire > change permission, so the user owns it and the group is fuse and the > group can write to it > > 14. start owfs to create the file-system > /opt/owfs/bin/owfs --link=/dev/ttyUSB0 -m /mnt/1-wire/ --error-level=9 > --foreground > check for possible errors > > 15. add an udev-rule, so on re-connect, or on usb-bus-trouble (EMI?) we > always get the same name (as symlink) > Thanks for the detailed sequence, we'll see how we go. > > > > HINTS: > by aborting the foreground process in the shell, sometimes the process > keeps running > please kill -9 it > DO NOT use owhttpd at the same time with owfs. You can crash owfs by > merely calling values in the browser (don't know if the problem was > specific to my installation) > > 16. start an e.g. perl application to read and write to the > 1-Wire-file(bus)-system.... > I prefer python but I think that's there too. -- Chris Green ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers