Here's my /etc/init.d/owfs script:
---------------------
#!/sbin/runscript
start() {
ebegin "Starting 1-Wire server"
/usr/local/bin/owserver -F -p 3001 -d /dev/ttyS0
eend $?
ebegin "Starting 1-Wire file system"
/usr/local/bin/owfs -F -s 3001 -f f.i.c /mnt/owfs
eend $?
}
stop() {
ebegin "Stopping 1-Wire file system"
umount /mnt/owfs
eend $?
ebegin "Stopping 1-Wire server"
killall -TERM owserver
eend $?
}
------------------
I think the "-F" on the owserver line doesn't do anything. OWPerl still gets temperatures in Celcius.
On a whim I looked up OWFS in Gentoo's bugzilla and found this:
http://bugs.gentoo.org/show_bug.cgi?id=77174
It looks like someone put together an ebuild for OWFS a while ago, but nothing's happened since the beginning of this year.
-Ben
On 10/31/06, Dylan Hall <[EMAIL PROTECTED]> wrote:
Some hints from my installation...
Add "cli" to your use flags in /etc/make.conf so that PHP5 is build with the cli client. This is needed so that the configure script recognises that PHP is installed.
If you're not using coldstart to load modules at boot time (I wasn't) don't forget to modprobe both the fuse module and the usb modules (or add them to /etc/modules.autoload.d/kernel-2.6). Without these you get a series of error messages, mostly suggesting that permission has been denied.
I start owfs on boot by adding the following lines to /etc/conf.d/local.start
/usr/local/bin/owserver -u -p 3001
/usr/local/bin/owfs -s 3001 --fuse_opt="\"-o allow_other\"" /mnt/1wire/
The FAQ suggests adding "user_allow_other" to /etc/fuse.conf but I achieve the same result using the --fuse_opt line above.
Dylan
On Mon, 2006-10-30 at 16:47 -0500, Alfille, Paul H.,M.D. wrote:Thanks Ben!
By the way, can you provide any hints of Gentoo setup to be put in the website?
Paul Alfille
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Ben Griffith
Sent: Monday, October 30, 2006 3:02 PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] owperl
I symlinked it to /usr/local/lib/site-perl on my Gentoo system. The install puts it in /opt/owfs/bin.
Ben
On 10/30/06, Paul Alfille < [EMAIL PROTECTED]> wrote:
Has anyone else been having owperl installation problems? Where is the module supposed to be installed?
Paul Alfille
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers