Re: [Owfs-developers] no stderr\syslog output, owserver 2.8p15, debian wheezy

2014-01-31 Thread vermus
Paul Alfille-2 wrote > can you start with --debug ? full line: # /usr/bin/owserver --debug --error_level=9 --error_print=2 --foreground -c /etc/owfs.conf --pid-file /var/run/owfs/owserver.pid DEBUG MODE libow version: 2.8p15 or # /usr/bin/owserver --debug --error_level 9 --error_prin

Re: [Owfs-developers] no stderr\syslog output, owserver 2.8p15, debian wheezy

2014-01-31 Thread Paul Alfille
can you start with --debug ? On Fri, Jan 31, 2014 at 4:38 AM, vermus wrote: > Rick Bolen(gm) wrote > > /usr/bin/owserver -c /etc/owfs.conf --pid-file > > /var/run/owfs/owserver.pid --error_print=2 --error_level=4 --foreground > > > > I've read a few other reports of this lack of output, but fou

Re: [Owfs-developers] a question regarding owcapi/OW_init

2014-01-31 Thread Paul Alfille
It's ok, but not recommended, since OW_init calls API_init: GOOD_OR_BAD API_init(const char *command_line) { GOOD_OR_BAD return_code = gbGOOD; LEVEL_DEBUG("OWLIB started with <%s>",SAFESTRING(command_line)); if (StateInfo.owlib_state == lib_state_pre) { LibSetup(Globals.progr

Re: [Owfs-developers] a question regarding owcapi/OW_init

2014-01-31 Thread Sven Geggus
Sven Geggus wrote: > is there a possibility to tell if OW_init has already been called and > if not will I risk memory leaks if OW_init is called more than once? Hm, I just saw, that I could use OW_present("/") but this just returns -1: int main() { OW_init("localhost:4304"); printf("%d\n",

[Owfs-developers] a question regarding owcapi/OW_init

2014-01-31 Thread Sven Geggus
Hello, is there a possibility to tell if OW_init has already been called and if not will I risk memory leaks if OW_init is called more than once? Regards Sven -- Das allgemeine Persönlichkeitsrecht (Art. 2 Abs.1 i.V.m. Art.1 Abs. 1GG) umfasst das Grundrecht auf Gewährleistung der Vertraulichke

Re: [Owfs-developers] 1-wire network problems

2014-01-31 Thread Vajk Fekete
My guess: the new cables are cat5e/cat6, maybe even shielded. The old ones were unshielded cat5. 1wire does not like capacitance, and shielding adds capacitance. Usually the flat telephone wire performs better than twisted pair! Vajk On Fri, Jan 31, 2014 at 6:02 PM, Colin Tinker wrote: > Paul >

Re: [Owfs-developers] 1-wire network problems

2014-01-31 Thread Colin Tinker
Eric I have a brand new RPI2 from Sheepwalk Electronics which is an i2c master. Same results, I did say I had tried this in my last post. " a different LinkUSB or an RPI2 bought new after > the strike" Colin > Colin, > > This sounds very strange, a 5 meter cable is not that long and should

Re: [Owfs-developers] 1-wire network problems

2014-01-31 Thread Eric Vickery
Colin, This sounds very strange, a 5 meter cable is not that long and should not be causing any problems. You say that you have tried a different PI and LinkUSB but have you tried a different power supply? Also do you have a different type of 1-Wire master besides the LinkUSB that you could tr

Re: [Owfs-developers] 1-wire network problems

2014-01-31 Thread Colin Tinker
Paul I do have that thanks anyway. I know that open stubs can create problems but I used it to see if it was the sensor I connected to it or the cable or whatever it might be. If I connect a temperature sensor on a 1 meter RJ45 cable it is fine and works as expected. If I use a cable say 5 me

Re: [Owfs-developers] no stderr\syslog output, owserver 2.8p15, debian wheezy

2014-01-31 Thread vermus
Rick Bolen(gm) wrote > /usr/bin/owserver -c /etc/owfs.conf --pid-file > /var/run/owfs/owserver.pid --error_print=2 --error_level=4 --foreground > > I've read a few other reports of this lack of output, but found no > solution. > > What am I doing wrong? +1 Did you found solution? -- View

Re: [Owfs-developers] problem with owfs/owserver on raspberry pi

2014-01-31 Thread vermus
Mark Phillips-2 wrote > Thanks for the quick responses. I am running everything as root, I have > created the mount point directory, and I am using --foreground, but > owserver still exits immediately with no output. Same problem on cubietruck (RP analogue) . may be it is neccesary to install som