Re: [Owfs-developers] 1-wire hubs
If you will need an I2C adapter including an 8-channel 1-wire controller, you may take an look at: https://www.axiris.eu/en/index.php/1-wire/1-wire-mini-host Here is an DS2482-800 installed inside regarding the wiring-diagram Best regards, Roland Franke -Ursprüngliche Nachricht- From: Mick Sulley Sent: Monday, July 22, 2019 8:36 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] 1-wire hubs Yes indeed, this was the message I have a Hobyboards 6 channel hub which has been in my drawer for many years. I did use it but changed over to a Sheepwalk RPi3 ages ago because that works directly with a Pi. I have been meaning to put it on eBay but never got around to it, do you want it? Cheers Mick On 22/07/2019 14:20, Jim Duda wrote: Hi, Someone sent me a private email regards having an extra hobbyboards hub. I just happened to notice it got into my spam folder. I went to respond, but somehow lost the email. If you are listening, can you try again please? I am indeed interested. Regards, Jim On 7/20/19 10:52 AM, Jim Duda wrote: Hello, I have a 6 port 1-wire HUB that I purchased years ago from hobbyboards.com I think the device has finally stopped working. Hobbyboards hasn't come back online yet. Can anyone offer any advice on any available 1-wire hub devices for sale? The only one I can find is from unipi. https://www.unipi.technology/1-wire-8-port-hub-p31 Any advice appreciated. Regards, Jim ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Help with writing a new device driver
Hello, My advice is to take the module/owlib/src/c/ow_2450.c file as a template. It has a clear structure, touches a lot of subsystems and you can leave out things you don't need easily. Many thanks, I'll do that. I've been looking at ow_1820.c (as being a simple device that I thought I understood) but I'll take your advice and have a look at ow_2450.c instead. > > What does your device do? It's the SS-WALL-TH from iButtonlink. It measures temperature and humidity in a package suitable for mounting in a drywall (plasterboard) wall. We sell it and I'd like to add it to OWFS. It doesn't have a very complicated structure. maybe there us the additional way to send some free sample to developers of owfs and ask them to help you additional to your own work. By that way it is (So my suggestion) the fastest and easyest way to get your unit to run. Best regards, Roland Franke PS.: I am no developer and i will not need one of your parts. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Problem to enable USB support
Hello, last year in June you had the same problem Fine to hear it work. Try to do my best to help. Best regards, Roland From: samuix Sent: Tuesday, April 4, 2017 6:32 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Problem to enable USB support It works, thank you Gesendet: Dienstag, 04. April 2017 um 17:33 Uhr Von: "Roland Franke" <fl...@franke-prem.de> An: "OWFS (One-wire file system) discussion and help" <owfs-developers@lists.sourceforge.net> Betreff: Re: [Owfs-developers] Problem to enable USB support Hello, try to install additional the libusb-1.0.0-dev You will need libusb-dev for version 1.0.xxx (xxx as placeholder) Then it should work Best regards, Roland From: samuix Sent: Tuesday, April 4, 2017 5:13 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Problem to enable USB support Hello, after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available. I try following commands: >apt-get install git >apt-get install autoconf >apt-get install pkg-config >apt-get install libtool m4 automake >apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev >libavahi-common-dev libavahi-client-dev >git clone git://git.code.sf.net/p/owfs/code owfs-code >./bootstrap >./configure ... checking if usb support is enabled... auto (default) checking for LIBUSB... no ... Current configuration: Deployment location: /opt/owfs Compile-time options: USB is DISABLED AVAHI is enabled I2C is enabled W1 is enabled Parallel port DS1410E is enabled FTDI (LinkUSB) is enabled Zeroconf/Bonjour is enabled Debug-output is enabled Mutexdebug is enabled Profiling is DISABLED Tracing memory allocation is DISABLED Module configuration: owlib is enabled owshell is enabled owfs is enabled owhttpd is enabled owftpd is enabled owserver is enabled owexternal is enabled ownet is enabled ownetlib is enabled owtap is enabled owmon is enabled owcapi is enabled swig is DISABLED owperl is DISABLED owphp is DISABLED owpython is DISABLED owtcl is DISABLED unit tests are DISABLED >find /usr/lib -name "libusb.*" /usr/lib/arm-linux-gnueabihf/libusb.a /usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc /usr/lib/arm-linux-gnueabihf/libusb.so What can i do to enable USB support? Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Problem to enable USB support
Hello, try to install additional the libusb-1.0.0-dev You will need libusb-dev for version 1.0.xxx (xxx as placeholder) Then it should work Best regards, Roland From: samuix Sent: Tuesday, April 4, 2017 5:13 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Problem to enable USB support Hello, after a power failure, I have to re-install the Raspberry PI. Unfortunately, I cannot turn on the USB support, although all libraries are available. I try following commands: >apt-get install git >apt-get install autoconf >apt-get install pkg-config >apt-get install libtool m4 automake >apt-get install libfuse-dev libusb-dev libudev-dev libftdi-dev >libavahi-common-dev libavahi-client-dev >git clone git://git.code.sf.net/p/owfs/code owfs-code >./bootstrap >./configure ... checking if usb support is enabled... auto (default) checking for LIBUSB... no ... Current configuration: Deployment location: /opt/owfs Compile-time options: USB is DISABLED AVAHI is enabled I2C is enabled W1 is enabled Parallel port DS1410E is enabled FTDI (LinkUSB) is enabled Zeroconf/Bonjour is enabled Debug-output is enabled Mutexdebug is enabled Profiling is DISABLED Tracing memory allocation is DISABLED Module configuration: owlib is enabled owshell is enabled owfs is enabled owhttpd is enabled owftpd is enabled owserver is enabled owexternal is enabled ownet is enabled ownetlib is enabled owtap is enabled owmon is enabled owcapi is enabled swig is DISABLED owperl is DISABLED owphp is DISABLED owpython is DISABLED owtcl is DISABLED unit tests are DISABLED >find /usr/lib -name "libusb.*" /usr/lib/arm-linux-gnueabihf/libusb.a /usr/lib/arm-linux-gnueabihf/pkgconfig/libusb.pc /usr/lib/arm-linux-gnueabihf/libusb.so What can i do to enable USB support? Regards -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered
Hello, >>> ... >>> This has all been taken care for already, OWFS repeats a >>> .../temperature triggered conversion for the case 85°C is the result. >>> When you still have stray 85°C readings, it means your power failures >>> are so serious you should check your hardware setup. >> >> Is that still the case? I thought there was some discussion here >> recently about whether that code is in fact desirable and whether it >> should be removed. Perhaps I misunderstood the conversation. >> > It's still in there, as Stefano found the real bug causing problems with > .../latesttemp. But this has also an problem (For me). I will read over OWLIB from the OWSERVER values out (Let me say the program collectd will read it with the onewire plugin). I have also not all my sensors (Type 28 = DS18B20) external powered, so the simultanues read of values will not work. On this way the value of latesttemp will be only updated, when the sensor is read on an second way. Only latesttemp will hold his value without any changes. So it is not (For me) complete right working as i was suggesting, that the update of that value will be also made. But this will be never be done. Best regards, Roland -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello, thank you for the replay. I was falling over that point with my PI and was searching for the point of problem. I was knowing, that since OWFS 3.1 the dependency was for libusb-1 and depending on the system (Linux), you must set the special information for libusb-1for downloading that as sometimes only libusb-dev will install the old version 0.1.xxx Best regards, Roland From: samuix Sent: Sunday, September 18, 2016 10:31 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!? Hello, Thanks for the advice :-) now it works Best regards Gesendet: Samstag, 17. September 2016 um 21:37 Uhr Von: "Roland Franke" <fl...@franke-prem.de> An: owfs-developers@lists.sourceforge.net Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!? Hello, please try additional apt-get install libusb-1.0-0-dev to get the dev for libusb 1.xx (xx for varius version) Best regards, Roland From: samuix Sent: Saturday, September 17, 2016 9:21 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!? Hello, before build i executed: apt-get install libusb-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libusb-dev 0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded. Need to get 0 B/34.4 kB of archives. After this operation, 177 kB of additional disk space will be used. Selecting previously unselected package libusb-dev. (Reading database ... 32496 files and directories currently installed.) Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ... Unpacking libusb-dev (2:0.1.12-25) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libusb-dev (2:0.1.12-25) ... but libusb-dev is not listed. with ldconfig... Gesendet: Samstag, 17. September 2016 um 21:12 Uhr Von: "Roland Franke" <fl...@franke-prem.de> An: owfs-developers@lists.sourceforge.net Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!? Hello, > libusb is installed on the system: > ldconfig -p | grep libusb > libusb-1.0.so.0 (libc6,hard-float) => > /lib/arm-linux-gnueabihf/libusb-1.0.so.0 > libusb-0.1.so.4 (libc6,hard-float) => > /lib/arm-linux-gnueabihf/libusb-0.1.so.4 > libusb-0.1.so.4 (libc6,hard-float) => > /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4 But not libusb-dev, what is need for building. Best regards, Roland -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello, please try additional apt-get install libusb-1.0-0-dev to get the dev for libusb 1.xx (xx for varius version) Best regards, Roland From: samuix Sent: Saturday, September 17, 2016 9:21 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!? Hello, before build i executed: apt-get install libusb-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libusb-dev 0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded. Need to get 0 B/34.4 kB of archives. After this operation, 177 kB of additional disk space will be used. Selecting previously unselected package libusb-dev. (Reading database ... 32496 files and directories currently installed.) Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ... Unpacking libusb-dev (2:0.1.12-25) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libusb-dev (2:0.1.12-25) ... but libusb-dev is not listed. with ldconfig... Gesendet: Samstag, 17. September 2016 um 21:12 Uhr Von: "Roland Franke" <fl...@franke-prem.de> An: owfs-developers@lists.sourceforge.net Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!? Hello, > libusb is installed on the system: > ldconfig -p | grep libusb > libusb-1.0.so.0 (libc6,hard-float) => > /lib/arm-linux-gnueabihf/libusb-1.0.so.0 > libusb-0.1.so.4 (libc6,hard-float) => > /lib/arm-linux-gnueabihf/libusb-0.1.so.4 > libusb-0.1.so.4 (libc6,hard-float) => > /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4 But not libusb-dev, what is need for building. Best regards, Roland -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello, > libusb is installed on the system: > ldconfig -p | grep libusb > libusb-1.0.so.0 (libc6,hard-float) => > /lib/arm-linux-gnueabihf/libusb-1.0.so.0 > libusb-0.1.so.4 (libc6,hard-float) => > /lib/arm-linux-gnueabihf/libusb-0.1.so.4 > libusb-0.1.so.4 (libc6,hard-float) => > /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4 But not libusb-dev, what is need for building. Best regards, Roland-- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] latesttemp does not work on DS18B20
Hello, one question in that matter: >> >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/temperature12 >> // Switching to 12 bit resolution >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/lasttemp >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/lasttemp >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/lasttemp >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/lasttemp >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/temperature10 >> // Switching to 10 bit resolution >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/lasttemp >> owread -s 192.168.10.110:4304 /uncached/28.3F28AE06/lasttemp >> >> Correct? >> > This should work with the debugpatch3.diff. > .../latesttemp first reads data from the scratchpad, then looks into > data[4] to decide which resolution the data in data[0] and data[1] have. Did by the first startup (When never something was read from am sensor with different resulution) read in the value für the highest resolution (First read 12 bit and only when selected sometime the lower one the lower for the next time) or is first read in the 9bit resolution and only when selected sometimes the higher one the next times also the higher one? Best regards, Roland Franke -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] owfs-3.1p3 - error during make
Hello, On my Pi V3.1p3 will not build right. Configure work with the following configuration: Current configuration: Deployment location: /opt/owfs Compile-time options: USB is enabled AVAHI is DISABLED I2C is enabled W1 is enabled Parallel port DS1410E is enabled FTDI (LinkUSB) is DISABLED Zeroconf/Bonjour is enabled Debug-output is enabled Mutexdebug is enabled Profiling is DISABLED Tracing memory allocation is DISABLED Module configuration: owlib is enabled owshell is enabled owfs is enabled owhttpd is enabled owftpd is enabled owserver is enabled owexternal is enabled ownet is enabled ownetlib is enabled owtap is enabled owmon is enabled owcapi is enabled swig is enabled owperl is enabled owphp is DISABLED owpython is enabled owtcl is enabled unit tests are DISABLED But by the build i will get the error: owusbprobe.o: In function `list_usb_devices_iter': /home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:149: undefined reference to `libusb_strerror' /home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:159: undefined reference to `libusb_strerror' /home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:154: undefined reference to `libusb_strerror' /home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:132: undefined reference to `libusb_strerror' /home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:135: undefined reference to `libusb_strerror' owusbprobe.o:/home/pi/owfs-3.1p3/module/owshell/src/c/owusbprobe.c:182: more undefined references to `libusb_strerror' follow collect2: ld returned 1 exit status Makefile:643: recipe for target 'owusbprobe' failed Best regards, Roland -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] owfs is DISABLED
Hello, > I am just building a test system to try out owshell and also installing > without sudo. > With owfs-3.1p1 when I try ./configure I get > ./configure: line 2256: config.log: Permission denied > ./configure: line 2266: config.log: Permission denied here will be the config.log written in the actually directory. When you (User) not be the owner of that directory, this fault appears. Best regards, Roland -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Louis Swart LCD issues
Hello, > You've come a far bit by pinpointing which version it broke in (2.9p4 or > p5), let's see if we can fix this :) As 2.9p5 is only an bugfix-realease for the damaged version 2.9p4 (Regarding information on the changelog), the fault should to be found between 2.9p3 and 2.9p5. Version 2.9p4 was only for an few days available and cancel as it was complete damaged and not working. Best regards, Roland -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Having problem reading ds1490F Fob
Hello, have you build owfs self INCLUDING the USB settings? Maybe when that be missing, you will never can read sensors. Also will you will be sure, that OW_HTTPD will not access to the USB-adapter during the time you start owserver/owfs? The access from two program (server and httpd) at the same hardware bring you up to problems. Best regards, Roland From: David Jackson Sent: Monday, November 09, 2015 7:14 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Having problem reading ds1490F Fob From: Jan KandzioraSubject: Re: [Owfs-developers] Having problem reading ds1490F Fob To: "OWFS (One-wire file system) discussion and help" Message-ID: <5640d3a5.5060...@gmx.de> Content-Type: text/plain; charset=windows-1252 Am 09.11.2015 um 17:36 schrieb David Jackson: Ok so when I run the following when I run the following command: $sudo owfs [-c owfs.conf] -F -u -m /mnt/1wire ?allow_other No, no, no. You have to decide whether you want to use the setup from the config file or a setup on the command line. If you use both, the result is a mess. First take care that neither owfs nor owserver nor any other owfs related process is running, then do $ sudo owserver -c owfs.conf $ sudo owfs -c owfs.conf Ok did that! kdj@raspberrypi ~ $ sudo owserver -c /etc/owfs.conf kdj@raspberrypi ~ $ top top - 11:53:16 up 8 min, 1 user, load average: 0.06, 0.10, 0.06 Tasks: 68 total, 1 running, 67 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.3 us, 1.7 sy, 0.0 ni, 98.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem:447824 total,57332 used, 390492 free, 8356 buffers KiB Swap: 102396 total,0 used, 102396 free,25508 cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 40 root 20 0 000 S 1.0 0.0 0:01.15 kworker/u2:2 2337 kdj 20 0 4672 1388 1032 R 1.0 0.3 0:00.38 top 41 root 20 0 000 S 0.3 0.0 0:00.37 mmcqd/0 2307 kdj 20 0 9264 1436 848 S 0.3 0.3 0:00.45 sshd 1 root 20 0 2148 720 616 S 0.0 0.2 0:01.74 init 2 root 20 0 000 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 000 S 0.0 0.0 0:00.14 ksoftirqd/0 4 root 20 0 000 S 0.0 0.0 0:00.00 kworker/0:0 5 root 0 -20 000 S 0.0 0.0 0:00.00 kworker/0:0H 6 root 20 0 000 S 0.0 0.0 0:02.09 kworker/u2:0 7 root 20 0 000 S 0.0 0.0 0:00.22 rcu_preempt 8 root 20 0 000 S 0.0 0.0 0:00.00 rcu_bh 9 root 20 0 000 S 0.0 0.0 0:00.00 rcu_sched 10 root 0 -20 000 S 0.0 0.0 0:00.00 khelper 11 root 20 0 000 S 0.0 0.0 0:00.00 kdevtmpfs 12 root 0 -20 000 S 0.0 0.0 0:00.00 netns 13 root 0 -20 000 S 0.0 0.0 0:00.00 writeback 14 root 0 -20 000 S 0.0 0.0 0:00.00 bioset 15 root 0 -20 000 S 0.0 0.0 0:00.00 crypto 16 root 0 -20 000 S 0.0 0.0 0:00.00 kblockd 17 root 20 0 000 S 0.0 0.0 0:00.29 khubd 18 root 20 0 000 S 0.0 0.0 0:00.27 kworker/0:1 19 root 0 -20 000 S 0.0 0.0 0:00.00 rpciod 20 root 20 0 000 S 0.0 0.0 0:00.00 khungtaskd 21 root 20 0 000 S 0.0 0.0 0:00.00 kswapd0 22 root 20 0 000 S 0.0 0.0 0:00.00 fsnotify_mark 23 root 0 -20 000 S 0.0 0.0 0:00.00 nfsiod 29 root 0 -20 000 S 0.0 0.0 0:00.00 kthrotld 30 root 1 -19 000 S 0.0 0.0 0:00.00 VCHIQ-0 31 root 1 -19 000 S 0.0 0.0 0:00.00 VCHIQr-0 followed by : kdj@raspberrypi /opt/owfs/bin $ sudo owfs -c /etc/owfs.conf kdj@raspberrypi /opt/owfs/bin $ cd /mnt/1wire kdj@raspberrypi /mnt/1wire $ ls bus.0 bus.1 settings statistics structure system uncached kdj@raspberrypi /mnt/1wire $ cd uncached/ kdj@raspberrypi /mnt/1wire/uncached $ ls bus.0 bus.1 settings statistics structure system kdj@raspberrypi /mnt/1wire/uncached $ /opt/owfs/bin/owget /unchached kdj@raspberrypi /mnt/1wire/uncached $ cd / kdj@raspberrypi / $ /opt/owfs/bin/owget /unchached kdj@raspberrypi / $ owget /unchached -bash: owget: command not found kdj@raspberrypi / $ cd /opt/owfs/bin kdj@raspberrypi /opt/owfs/bin $ ls -al total 1116 drwxr-xr-x 2 root root 4096 Oct
Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi
Hello Ekkehard, sure the best will be to start with an fresh downloaded and extracted file without any changes first. But then the patch should work, as i have try both self on my raspberry. Please look also here in the mailing-list. There be a lot of questions about building owfs 3.1p0 with the USB support. Best regards, Roland From: Ekkehard Pofahl Sent: Wednesday, July 29, 2015 7:21 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi Hallo Roland, Thanks ! Hopefully I am not the only one, who wants to compile from scratch for the Raspi. So chances are, that the next version again compiles smoothly for the Raspi. Ich hatte das Kommando aus dem Post kopiert, also nicht selber i, l oder 1 eingetippt. Aber auch das kleine i produziert nur einige lustige Fehlermeldungen. Vielleicht hat aber auch das Patchen nur ein bischen funktioniert, und da ist jetzt alles ein bischen zerschossen, ;-) . Wenn ich mein Nahziel erreicht habe, versuche ich es vielleicht noch einmal mit einer frischen OWFS Kopie. Gruß Ekkehard 2015-07-29 6:28 GMT+02:00 Roland Franke fl...@franke-prem.de: Hallo, versuch das gleiche nochmal mit einem kleinen –i mit –i gibst du als nächtes das patch-File zur Anwendung an. mit –I ein “ (The letter ell.) Cause any sequence of blanks in the difference script to match any sequence of blanks in the input file. Other characters shall be matched exactly.” Gruß Roland From: Ekkehard Pofahl Sent: Tuesday, July 28, 2015 9:15 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi Hallo, das mit dem patch habe ich probiert : pi@x2 /usr/src/owfs-3.1p0 $ patch –Np1 –l owfs_libusb.patch patch: owfs_libusb.patch: extra operand patch: Try `patch --help' for more information. pi@x2 /usr/src/owfs-3.1p0 $ patch –Np1 owfs_libusb.patch patching file –Np1 Hunk #1 FAILED at 253. 1 out of 1 hunk FAILED -- saving rejects to file –Np1.rej patching file –Np1 Hunk #1 FAILED at 760. 1 out of 1 hunk FAILED -- saving rejects to file –Np1.rej ... Irgendwas mache ich falsch. Aber ich hoffe, daß die nächste Version wieder durchläuft. Viele Grüße Ekkehard -- Ekkehard Pofahl Finkenweg 12, 51515 Kürten mailto:ekkeh...@pofahl.de tel:+49-151-54860909 2015-07-27 20:58 GMT+02:00 Roland Franke fl...@franke-prem.de: Hello, i found (With an other here in germany) that there be in the build-files an dependency for the libusb-dev. But this dependency is (Maybe by an mistake) not in all files include (Or an wrong reference set). Please feel free to check the changes (Maybe you will see in the patch-files what all will be changed as this is only for changes and not a complete new system). Best regards, Roland PS.: Einfach das Patch-File ins Build-/Grund- Verzeichnis von owfs kopieren und an der Konsole mit einem “patch –Np1 –1 {patch-name}” anwenden und den Build nochmals starten. From: Ekkehard Pofahl Sent: Monday, July 27, 2015 8:33 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi 2015-07-27 20:26 GMT+02:00 Roland Franke fl...@franke-prem.de: Be you able to install one of the following patch-file to your owfs-directory. Maybe one of them will help you also to fix the problem, when the point with the libusb-dev is clear. https://www.dropbox.com/s/hpnbttcegq8fy15/owfs_libusb.patch?dl=0 or: https://build.opensuse.org/package/view_file/home:Heinervdm:BGO-OD/owfs/libusb-include.patch?expand=1 Thank you. I will try this out. Only I don't understand, why. Maybe I do a full compare of the source directories. -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- -- -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo
Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi
Hallo, versuch das gleiche nochmal mit einem kleinen –i mit –i gibst du als nächtes das patch-File zur Anwendung an. mit –I ein “ (The letter ell.) Cause any sequence of blanks in the difference script to match any sequence of blanks in the input file. Other characters shall be matched exactly.” Gruß Roland From: Ekkehard Pofahl Sent: Tuesday, July 28, 2015 9:15 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi Hallo, das mit dem patch habe ich probiert : pi@x2 /usr/src/owfs-3.1p0 $ patch –Np1 –l owfs_libusb.patch patch: owfs_libusb.patch: extra operand patch: Try `patch --help' for more information. pi@x2 /usr/src/owfs-3.1p0 $ patch –Np1 owfs_libusb.patch patching file –Np1 Hunk #1 FAILED at 253. 1 out of 1 hunk FAILED -- saving rejects to file –Np1.rej patching file –Np1 Hunk #1 FAILED at 760. 1 out of 1 hunk FAILED -- saving rejects to file –Np1.rej ... Irgendwas mache ich falsch. Aber ich hoffe, daß die nächste Version wieder durchläuft. Viele Grüße Ekkehard -- Ekkehard Pofahl Finkenweg 12, 51515 Kürten mailto:ekkeh...@pofahl.de tel:+49-151-54860909 2015-07-27 20:58 GMT+02:00 Roland Franke fl...@franke-prem.de: Hello, i found (With an other here in germany) that there be in the build-files an dependency for the libusb-dev. But this dependency is (Maybe by an mistake) not in all files include (Or an wrong reference set). Please feel free to check the changes (Maybe you will see in the patch-files what all will be changed as this is only for changes and not a complete new system). Best regards, Roland PS.: Einfach das Patch-File ins Build-/Grund- Verzeichnis von owfs kopieren und an der Konsole mit einem “patch –Np1 –1 {patch-name}” anwenden und den Build nochmals starten. From: Ekkehard Pofahl Sent: Monday, July 27, 2015 8:33 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi 2015-07-27 20:26 GMT+02:00 Roland Franke fl...@franke-prem.de: Be you able to install one of the following patch-file to your owfs-directory. Maybe one of them will help you also to fix the problem, when the point with the libusb-dev is clear. https://www.dropbox.com/s/hpnbttcegq8fy15/owfs_libusb.patch?dl=0 or: https://build.opensuse.org/package/view_file/home:Heinervdm:BGO-OD/owfs/libusb-include.patch?expand=1 Thank you. I will try this out. Only I don't understand, why. Maybe I do a full compare of the source directories. -- -- -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi
Hello, following point: - Is libusb-dev been installed ? - Install it Best regards, Roland -Ursprüngliche Nachricht- From: Ekkehard Pofahl Sent: Monday, July 27, 2015 7:33 PM To: OWFS (One-wire file system) discussion and help Subject: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi Hello, I used 2015-05-05-raspbian-wheezy.img for a fresh start. Nothing on the Raspberry other than that image. I describe what I did here : https://sites.google.com/site/raspihs1/software/owfs/owfs Version owfs-3.1p0 stucks : .deps/ow_dnssd.Tpo -c -o ow_dnssd.o ow_dnssd.c In file included from ow_dnssd.c:17:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory compilation terminated. I could not find out, what screwed up. libusb.h ? What goes wrong ? I went back one version : Version owfs-3.0p2 makes perfect. So I use this version for the time being. I am quite sure I will not miss anything. Note : for me it was important to use USB. I had to do a little research to find out how to get it (back). Also I noted, that on http://owfs.org/ the search for raspberry does not give back any result. However, Raspberry pages are definetely on the web site, ;-) . Best regards Ekkehard -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi
Hello, one additional question: Be you able to install one of the following patch-file to your owfs-directory. Maybe one of them will help you also to fix the problem, when the point with the libusb-dev is clear. https://www.dropbox.com/s/hpnbttcegq8fy15/owfs_libusb.patch?dl=0 or: https://build.opensuse.org/package/view_file/home:Heinervdm:BGO-OD/owfs/libusb-include.patch?expand=1 Best regards, Roland -Ursprüngliche Nachricht- From: Ekkehard Pofahl Sent: Monday, July 27, 2015 7:33 PM To: OWFS (One-wire file system) discussion and help Subject: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi Hello, I used 2015-05-05-raspbian-wheezy.img for a fresh start. Nothing on the Raspberry other than that image. I describe what I did here : https://sites.google.com/site/raspihs1/software/owfs/owfs Version owfs-3.1p0 stucks : .deps/ow_dnssd.Tpo -c -o ow_dnssd.o ow_dnssd.c In file included from ow_dnssd.c:17:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory compilation terminated. I could not find out, what screwed up. libusb.h ? What goes wrong ? I went back one version : Version owfs-3.0p2 makes perfect. So I use this version for the time being. I am quite sure I will not miss anything. Note : for me it was important to use USB. I had to do a little research to find out how to get it (back). Also I noted, that on http://owfs.org/ the search for raspberry does not give back any result. However, Raspberry pages are definetely on the web site, ;-) . Best regards Ekkehard -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi
Hello, i found (With an other here in germany) that there be in the build-files an dependency for the libusb-dev. But this dependency is (Maybe by an mistake) not in all files include (Or an wrong reference set). Please feel free to check the changes (Maybe you will see in the patch-files what all will be changed as this is only for changes and not a complete new system). Best regards, Roland PS.: Einfach das Patch-File ins Build-/Grund- Verzeichnis von owfs kopieren und an der Konsole mit einem “patch –Np1 –1 {patch-name}” anwenden und den Build nochmals starten. From: Ekkehard Pofahl Sent: Monday, July 27, 2015 8:33 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] owfs-3.1p0 stucks on Raspberry Pi 2015-07-27 20:26 GMT+02:00 Roland Franke fl...@franke-prem.de: Be you able to install one of the following patch-file to your owfs-directory. Maybe one of them will help you also to fix the problem, when the point with the libusb-dev is clear. https://www.dropbox.com/s/hpnbttcegq8fy15/owfs_libusb.patch?dl=0 or: https://build.opensuse.org/package/view_file/home:Heinervdm:BGO-OD/owfs/libusb-include.patch?expand=1 Thank you. I will try this out. Only I don't understand, why. Maybe I do a full compare of the source directories. -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] libusb header file
Hello, copy the patch-file inside the directory /home/builds/owfs-3.1p0 Start the patch by command: patch -Np1 -i owfs_libusb.patch Please change the filename “owfs_libusb.patch” with the name from the patch you have download or rename the file self to the name “owfs_libusb.patch for starting the command !! That is all. Best regards, Roland From: Eric Baumann Sent: Wednesday, July 15, 2015 11:02 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] libusb header file Dear Roland Thanks for your reply. Sure, I would like to try these patches ! But excuse me for asking: What do I have to do with them? Where do I have to put these lines? Here is what is interesting about this missing header file: IT HAPPENS ON ALL MY MACHINES -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] libusb header files
Hello, can you try to use the patch shown on: From: Eric Baumann Sent: Thursday, July 09, 2015 10:57 AM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] libusb header files Hi I run into the problem when building (sudo make) the owfs. In file included from getopt.c:32:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory #include libusb.h ^ compilation terminated. In file included from ow_dnssd.c:17:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory #include libusb.h I has this issue already : http://owfs-developers.1086194.n5.nabble.com/installing-owfs-on-raspberry-pi-td11222.html I thought I had solved it: http://owfs-developers.1086194.n5.nabble.com/installing-owfs-on-raspberry-pi-td11262.html But this is somehow not the case. I run into this exact same problem on both Ubuntu 14.04 and Raspbian. I follow this thread to install: http://wiki.m.nu/index.php/OWFS_with_i2c_support_on_Raspberry_Pi_(English_version) Meaning before running ./configure, I install: sudo apt-get update sudo apt-get install automake autoconf autotools-dev gcc-4.7 libavahi-client-dev libtool libusb-dev libusb-1.0-0-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools Any help would be greatly appreciated. Best regards, Eric -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] libusb header files
Hallo, first sorry for the not finished post. Then: Can you try to use the patch for OWFS on: https://www.dropbox.com/s/hpnbttcegq8fy15/owfs_libusb.patch?dl=0 Or the patch on: https://build.opensuse.org/package/view_file/home:Heinervdm:BGO-OD/owfs/libusb-include.patch?expand=1 to test if that will fix your problem? Best regards, Roland From: Eric Baumann Sent: Thursday, July 09, 2015 10:57 AM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] libusb header files Hi I run into the problem when building (sudo make) the owfs. In file included from getopt.c:32:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory #include libusb.h ^ compilation terminated. In file included from ow_dnssd.c:17:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory #include libusb.h I has this issue already : http://owfs-developers.1086194.n5.nabble.com/installing-owfs-on-raspberry-pi-td11222.html I thought I had solved it: http://owfs-developers.1086194.n5.nabble.com/installing-owfs-on-raspberry-pi-td11262.html But this is somehow not the case. I run into this exact same problem on both Ubuntu 14.04 and Raspbian. I follow this thread to install: http://wiki.m.nu/index.php/OWFS_with_i2c_support_on_Raspberry_Pi_(English_version) Meaning before running ./configure, I install: sudo apt-get update sudo apt-get install automake autoconf autotools-dev gcc-4.7 libavahi-client-dev libtool libusb-dev libusb-1.0-0-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools Any help would be greatly appreciated. Best regards, Eric -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] LIBUSB_CFLAGS not passed to compiler?
Hello, on the address: https://www.dropbox.com/s/hpnbttcegq8fy15/owfs_libusb.patch?dl=0 is an complete patch for owfs-3.1p0 to solve the problem with the LIBUSB. Please try this as there is more than one file to patch. Best regards, Roland -Ursprüngliche Nachricht- From: Tomasz Torcz Sent: Sunday, June 14, 2015 3:45 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] LIBUSB_CFLAGS not passed to compiler? Hi, I digged through automake stuff but I did not find the way to fix. Basically, error boils down to make[1]: Entering directory '/tmp/owfs-3.1p0/module/owshell/src/c' gcc -DHAVE_CONFIG_H -I. -I../../../../src/include-I../include -I../../../owlib/src/include -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -g -O2 -m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -MT ow_dnssd.o -MD -MP -MF .deps/ow_dnssd.Tpo -c -o ow_dnssd.o ow_dnssd.c In file included from ../../../owlib/src/include/ow.h:90:0, from ow_dnssd.c:17: /usr/include/features.h:148:3: warning: #warning _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE [-Wcpp] # warning _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE ^ In file included from ow_dnssd.c:17:0: ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory It fails, because libusb.h is located in /usr/include/libusb-1.0/libusb.h, but gcc invocation lacks -I/usr/include/libusb-1.0. It is correctly determined by configure, but not put in gcc line: $ grep LIBUSB_CFLAGS config.log LIBUSB_CFLAGS='-I/usr/include/libusb-1.0 ' Which Makefile.am to patch and how? -- Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processor.'' xmpp: zdzich...@chrome.pl -- Mitchell Blank on LKML -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] deleting /mnt/1wire folders and files.
Hello, On 6 June 2015 at 14:05, Reid r...@whyreid.co.uk wrote: Thanks Colin, can you point me to any good examples of the use of owserver with the USB D9490R interface. I use the linkusb interface, but I don't think there should be much difference. To start owserver I just do owserver -d /dev/ttyUSB1 Not complete right. owserver -u (Or -uall) for the D9490R interface - Work by me so. By the way, I was not saying there is anything wrong with using owfs but just that I prefer owserver . Best regards, Roland -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] Activation for Simultaneous read of temperature at each reding
Hello, in combination of the owfs/owserver and collectd is by the collectd daemon an fast reading from values directly over the owcapi installed in the onewire plugin of collectd. The question is now, if there is any way to activate the simultaneous value for temperature/soltage by each reading-cycle? Best regards, Roland -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Compile usages on SLES 11 sp3
Hello, In file included from ow_dnssd.c:17: ../../../owlib/src/include/ow.h:302:20: error: libusb.h No such file or directory Can you look for the following changes: module/owshell/src/c/Makefile.am In line 41 (And followed) you have to add at the end an \ and add the lines: ${LIBUSB_CFLAGS} \ ${PTHREAD_CFLAGS} Also exchange the line: LDADD = ${LD_EXTRALIBS} ${OSLIBS} with LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} Then modify the file module/owshell/src/c/Makefile.in There the same as first be line 498 and following. Got a little farther! /home/addons/owfs-3.1p0/module/owlib/src/c/.libs/libow.so: undefined reference to 'libusb_error_name' Can you please confirm, that at the file: /home/addons/owfs-3.1p0/module/owlib/src/c/Makefile.am is been set (Line 239 and followed): AM_CFLAGS = -I../include \ -fexceptions \ -Wall \ -W \ -Wundef \ -Wshadow \ -Wpointer-arith \ -Wcast-qual \ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ -D__EXTENSIONS__ \ ${EXTRACFLAGS} \ ${PTHREAD_CFLAGS} \ ${LIBUSB_CFLAGS} \ ${PIC_FLAGS} LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} and in /home/addons/owfs-3.1p0/module/owlib/src/c/Makefile.in is set (line 746 and followed): AM_CFLAGS = -I../include \ -fexceptions \ -Wall \ -W \ -Wundef \ -Wshadow \ -Wpointer-arith \ -Wcast-qual \ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ -D__EXTENSIONS__ \ ${EXTRACFLAGS} \ ${PTHREAD_CFLAGS} \ ${LIBUSB_CFLAGS} \ ${PIC_FLAGS} LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} all: all-am Best regards, Roland -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Compile usages on SLES 11 sp3
Hello, The second issue is a show stopper for me. Way beyond my knowledge or skill level. I have libusb and the dev libraries installed in SLES. Configure finds what it is looking for and enables USB support, but the make process can not find libusb.h. It's in /usr/include/libusb.h. Ok. In file included from ow_dnssd.c:17: ../../../owlib/src/include/ow.h:302:20: error: libusb.h No such file or directory Can you look for the following changes: you have to modify the file module/owshell/src/c/Makefile.am In line 41 (And followed) you have to add at the end an \ and add the lines: ${LIBUSB_CFLAGS} \ ${PTHREAD_CFLAGS} Also exchange the line: LDADD = ${LD_EXTRALIBS} ${OSLIBS} with LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} Then modify the file module/owshell/src/c/Makefile.in There the same as first be line 498 and following. Maybe this will fix the build problem. Best regards, Roland -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] some problem with owserver
Hello, i can confirm that problem by using als 3.1p0. OWSERVER is connected to an USB-Adapter. After fail by reading with owdir, i see that OWHTTPD still work (Is connected also to OWSERVER). I seee also, that FUSE should work, as i see my sensors by ls /mnt/1wire (/mnt/1wire is the directory for OWFS) and can also get value from the sensor by cat/mnt/1wire/28.1E492E02/fasttemp or reading value by owget 28.1E492E02. Best regards, Roland -Ursprüngliche Nachricht- From: Major Sent: Sunday, April 05, 2015 2:21 AM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] some problem with owserver I have simple lab with RP + DS18B20 Linux raspberrypi 3.18.10+ #774 owfs-3.1p0 configure:20916: result: Current configuration: configure:20918: result: configure:20921: result: Deployment location: /opt/owfs configure:20924: result: configure:20926: result: Compile-time options: configure:20933: result: USB is DISABLED configure:20940: result: AVAHI is DISABLED configure:20944: result: I2C is enabled configure:20951: result:W1 is enabled configure:20958: result: Parallel port DS1410E is enabled configure:20965: result: Zeroconf/Bonjour is enabled configure:20972: result: Debug-output is enabled configure:20979: result:Mutexdebug is enabled configure:20989: result: Profiling is DISABLED configure:20996: result: Tracing memory allocation is DISABLED configure:21000: result: configure:21002: result: Module configuration: configure:21006: result: owlib is enabled configure:21013: result: owshell is enabled configure:21020: result: owfs is enabled configure:21027: result: owhttpd is enabled configure:21034: result:owftpd is enabled configure:21041: result: owserver is enabled configure:21048: result:owexternal is enabled configure:21055: result: ownet is enabled configure:21062: result: ownetlib is enabled configure:21069: result: owtap is enabled configure:21076: result: owmon is enabled configure:21083: result:owcapi is enabled configure:21093: result: swig is DISABLED configure:21100: result:owperl is DISABLED configure:21107: result: owphp is DISABLED configure:21114: result: owpython is DISABLED configure:21121: result: owtcl is DISABLED owfs.conf ! server: server = localhost:4304 server: w1 server: port = 0.0.0.0:4304 mountpoint = /mnt/1wire allow_other I start owserver --debug -c /etc/owfs.conf If I read value from sensor - I get the right answer root@raspberrypi:/opt/owfs/bin# ./owdir -s localhost:4304 /28.DC7FDE05 /28.DC7FDE05/address /28.DC7FDE05/alias /28.DC7FDE05/crc8 /28.DC7FDE05/errata /28.DC7FDE05/family /28.DC7FDE05/fasttemp /28.DC7FDE05/id /28.DC7FDE05/locator /28.DC7FDE05/power /28.DC7FDE05/r_address /28.DC7FDE05/r_id /28.DC7FDE05/r_locator /28.DC7FDE05/scratchpad /28.DC7FDE05/temperature /28.DC7FDE05/temperature10 /28.DC7FDE05/temperature11 /28.DC7FDE05/temperature12 /28.DC7FDE05/temperature9 /28.DC7FDE05/temphigh /28.DC7FDE05/templow /28.DC7FDE05/type But, if i want to send: owdir -s localhost:4304 / server starts to lag 05/04/15 - 02:54:26:482] DEBUG: ow_tcp_read.c:(63) attempt 24 bytes Time: 10.00 seconds 05/04/15 - 02:54:26:484] DEBUG: ow_tcp_read.c:(113) read: 24 - 0 = 24 05/04/15 - 02:54:26:484] DEBUG: from_client.c:(66) FromClient payload=2 size=0 type=7 sg=0x10A offset=0 05/04/15 - 02:54:26:484] DEBUG: from_client.c:(74) FromClient (no servermessage) payload=2 size=0 type=7 controlflag 05/04/15 - 02:54:26:484] s=0x10A offset=0 05/04/15 - 02:54:26:484] DEBUG: ow_tcp_read.c:(63) attempt 2 bytes Time: 10.00 seconds 05/04/15 - 02:54:26:484] DEBUG: ow_tcp_read.c:(113) read: 2 - 0 = 2 05/04/15 - 02:54:26:484] DEBUG: handler.c:(153) START handler / 05/04/15 - 02:54:26:484] CALL: data.c:(103) DataHandler: parse path=/ 05/04/15 - 02:54:26:487] DEBUG: ow_parseobject.c:(163) / 05/04/15 - 02:54:26:487] CALL: ow_parsename.c:(102) path=[/] 05/04/15 - 02:54:26:487] CALL: data.c:(163) Directory message (all at once) 05/04/15 - 02:54:26:487] DEBUG: dirall.c:(66) OWSERVER Dir-All SpecifiedBus=0 path = / 05/04/15 - 02:54:26:487] DEBUG: ow_dir.c:(78) path=/ 05/04/15 - 02:54:26:487] CALL: ow_dir.c:(102) path=/ 05/04/15 - 02:54:26:488] DEBUG: ow_cache.c:(853) Looking for directory 00 00 00 00 00 00 00 00 05/04/15 - 02:54:26:489] DEBUG: ow_cache.c:(866) Get from cache sn 00 00 00 00 00 00 00 00 pointer=0xb6fbe9dc extens 05/04/15 - 02:54:26:489] ion=1 05/04/15 - 02:54:26:489] DEBUG: ow_cache.c:(895) Dir
Re: [Owfs-developers] Compiling option USB=DISABLED ..
You must have libusb-dev installed. Please look at ther thread for the RASPI. Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 3:14 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Compiling option USB=DISABLED .. Hi to all, I would like to compile the actual source code for a USB Bus master. Current configuration: Deployment location: /opt/owfs Compile-time options: Caching is enabled USB is DISABLED I2C is enabled Does this information from the ./configure command means, that it does not support USB Busmaster ? If so, what do I have to change to get it with USB is enabled. Best regards Ritchie -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Compiling option USB=DISABLED ..
Hello, after installing libusb-dev, have you start ./configure again? Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 4:12 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I just installed the following packages on my Raspy sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool libusb-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools I installed this version: sudo aptitude versions libusb-dev Package libusb-dev: p 2:0.1.12-20+nmu1 But I still get the USB is DISABLED You can see in the executing of the script these lines. checking For FUSE version ... 2.2 or later checking if zeroconf/bonjour is enabled... yes (default) checking if usb support is enabled... auto (default) checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no - This is ??? checking if Avahi support is enabled... auto (default) c I noticed this remarked code in the configure file, line 16321 if test ${ENABLE_USB} != false; then #LIBUSB_CONFIG and removed the # to active the line. But I also saw this line pkg_failed=no { $as_echo $as_me:${as_lineno-$LINENO}: checking for LIBUSB 5 $as_echo_n checking for LIBUSB... 6; } if test -n $LIBUSB_CFLAGS; then pkg_cv_LIBUSB_CFLAGS=$LIBUSB_CFLAGS elif test -n $PKG_CONFIG; then if test -n $PKG_CONFIG \ { { $as_echo $as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \libusb-1.0 = 0.9.1\; } 5 ($PKG_CONFIG --exists --print-errors libusb-1.0 = 0.9.1) 25 ac_status=$? $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 = 0.9.1 2/dev/null` test x$? != x0 pkg_failed=yes - echo $LIBUSB_CFLAGS show nothing in the console output ? Any Idea to fix this ? Best regards Ritchie I had the same problem with the latest version. I went back to owfs-2.9p9 and every ting if fine. I have not yet submitted a bug to Paul and the crew. Thanks -Original Message- From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Saturday, April 04, 2015 7:27 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. You must have libusb-dev installed. Please look at ther thread for the RASPI. Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 3:14 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Compiling option USB=DISABLED .. Hi to all, I would like to compile the actual source code for a USB Bus master. Current configuration: Deployment location: /opt/owfs Compile-time options: Caching is enabled USB is DISABLED I2C is enabled Does this information from the ./configure command means, that it does not support USB Busmaster ? If so, what do I have to change to get it with USB is enabled. Best regards Ritchie -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
Re: [Owfs-developers] Compiling option USB=DISABLED ..
Ritchi, my first-name is Roland ;-) Please use also the modification for building owfs-3.1p0 as this is need for building owfs now. The main point is also, that Paul has by Version 3.1p0 libusb directly and not libusb-compat (Small brother of libusb). With that change, the special install of libusb-1.0-0-dev (instead only libusb-dev) is need. Best regards, Roland PS. Auch Frohe Ostern aus Bayern ;-) -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 8:30 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello Frank, thanks for your support. Now the support of USB is shown in the result output of configure This was the fix. sudo apt-get install libusb-1.0-0-dev Now I can continue with my tests. Finally I would like to do the same stuff on my cubie truck, which is running now with version 2.18p15. Best regards Ritchie P.S.: Frohes Osterfest ;-) Hello, pleas try to install the newer dev-version of libusb with an: sudo apt-get install libusb-1.0-0-dev Then the configure should activate USB for OWFS with version 3.1p0 Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 7:29 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I have also a raspi (Debian). Best regards Ritchie Hello, i will try to find the error with compiling Version 3.1p0 on Raspi. So to have the same system i should know what system you (And Ritchi) will use. Only then i can do right test’s there. Best regards, Roland PS.: I self have with Buildroot (www.buildroot.org) compiled Version 3.1p0 and habe it running with the USB-Adapter without problems. From: Mike Kalist Sent: Saturday, April 04, 2015 6:44 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. 2.2p9. Working great with 18 sensors. Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 10:41 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, what system (With version) will you use for that on your RASPI? Best regards, Roland From: Mike Kalist Sent: Saturday, April 04, 2015 5:32 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Yes Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 8:52 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, after installing libusb-dev, have you start ./configure again? Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 4:12 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I just installed the following packages on my Raspy sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool libusb-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools I installed this version: sudo aptitude versions libusb-dev Package libusb-dev: p 2:0.1.12-20+nmu1 But I still get the USB is DISABLED You can see in the executing of the script these lines. checking For FUSE version ... 2.2 or later checking if zeroconf/bonjour is enabled... yes (default) checking if usb support is enabled... auto (default) checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no - This is ??? checking if Avahi support is enabled... auto (default) c I noticed this remarked code in the configure file, line 16321 if test ${ENABLE_USB} != false; then #LIBUSB_CONFIG and removed the # to active the line. But I also saw this line pkg_failed=no { $as_echo $as_me:${as_lineno-$LINENO}: checking for LIBUSB 5 $as_echo_n checking for LIBUSB... 6; } if test -n $LIBUSB_CFLAGS; then pkg_cv_LIBUSB_CFLAGS=$LIBUSB_CFLAGS elif test -n $PKG_CONFIG; then if test -n $PKG_CONFIG \ { { $as_echo $as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \libusb-1.0 = 0.9.1\; } 5 ($PKG_CONFIG --exists --print-errors libusb-1.0 = 0.9.1) 25 ac_status=$? $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 = 0.9.1 2/dev/null` test x$? != x0 pkg_failed=yes - echo $LIBUSB_CFLAGS show nothing in the console output ? Any Idea to fix this ? Best regards Ritchie I had the same problem with the latest version. I went back to owfs-2.9p9
Re: [Owfs-developers] Compiling option USB=DISABLED ..
Hello, what system (With version) will you use for that on your RASPI? Best regards, Roland From: Mike Kalist Sent: Saturday, April 04, 2015 5:32 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Yes Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 8:52 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, after installing libusb-dev, have you start ./configure again? Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 4:12 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I just installed the following packages on my Raspy sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool libusb-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools I installed this version: sudo aptitude versions libusb-dev Package libusb-dev: p 2:0.1.12-20+nmu1 But I still get the USB is DISABLED You can see in the executing of the script these lines. checking For FUSE version ... 2.2 or later checking if zeroconf/bonjour is enabled... yes (default) checking if usb support is enabled... auto (default) checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no - This is ??? checking if Avahi support is enabled... auto (default) c I noticed this remarked code in the configure file, line 16321 if test ${ENABLE_USB} != false; then #LIBUSB_CONFIG and removed the # to active the line. But I also saw this line pkg_failed=no { $as_echo $as_me:${as_lineno-$LINENO}: checking for LIBUSB 5 $as_echo_n checking for LIBUSB... 6; } if test -n $LIBUSB_CFLAGS; then pkg_cv_LIBUSB_CFLAGS=$LIBUSB_CFLAGS elif test -n $PKG_CONFIG; then if test -n $PKG_CONFIG \ { { $as_echo $as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \libusb-1.0 = 0.9.1\; } 5 ($PKG_CONFIG --exists --print-errors libusb-1.0 = 0.9.1) 25 ac_status=$? $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 = 0.9.1 2/dev/null` test x$? != x0 pkg_failed=yes - echo $LIBUSB_CFLAGS show nothing in the console output ? Any Idea to fix this ? Best regards Ritchie I had the same problem with the latest version. I went back to owfs-2.9p9 and every ting if fine. I have not yet submitted a bug to Paul and the crew. Thanks -Original Message- From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Saturday, April 04, 2015 7:27 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. You must have libusb-dev installed. Please look at ther thread for the RASPI. Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 3:14 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Compiling option USB=DISABLED .. Hi to all, I would like to compile the actual source code for a USB Bus master. Current configuration: Deployment location: /opt/owfs Compile-time options: Caching is enabled USB is DISABLED I2C is enabled Does this information from the ./configure command means, that it does not support USB Busmaster ? If so, what do I have to change to get it with USB is enabled. Best regards Ritchie -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo
Re: [Owfs-developers] Compiling option USB=DISABLED ..
Hello, i will try to find the error with compiling Version 3.1p0 on Raspi. So to have the same system i should know what system you (And Ritchi) will use. Only then i can do right test’s there. Best regards, Roland PS.: I self have with Buildroot (www.buildroot.org) compiled Version 3.1p0 and habe it running with the USB-Adapter without problems. From: Mike Kalist Sent: Saturday, April 04, 2015 6:44 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. 2.2p9. Working great with 18 sensors. Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 10:41 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, what system (With version) will you use for that on your RASPI? Best regards, Roland From: Mike Kalist Sent: Saturday, April 04, 2015 5:32 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Yes Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 8:52 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, after installing libusb-dev, have you start ./configure again? Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 4:12 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I just installed the following packages on my Raspy sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool libusb-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools I installed this version: sudo aptitude versions libusb-dev Package libusb-dev: p 2:0.1.12-20+nmu1 But I still get the USB is DISABLED You can see in the executing of the script these lines. checking For FUSE version ... 2.2 or later checking if zeroconf/bonjour is enabled... yes (default) checking if usb support is enabled... auto (default) checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no - This is ??? checking if Avahi support is enabled... auto (default) c I noticed this remarked code in the configure file, line 16321 if test ${ENABLE_USB} != false; then #LIBUSB_CONFIG and removed the # to active the line. But I also saw this line pkg_failed=no { $as_echo $as_me:${as_lineno-$LINENO}: checking for LIBUSB 5 $as_echo_n checking for LIBUSB... 6; } if test -n $LIBUSB_CFLAGS; then pkg_cv_LIBUSB_CFLAGS=$LIBUSB_CFLAGS elif test -n $PKG_CONFIG; then if test -n $PKG_CONFIG \ { { $as_echo $as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \libusb-1.0 = 0.9.1\; } 5 ($PKG_CONFIG --exists --print-errors libusb-1.0 = 0.9.1) 25 ac_status=$? $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 = 0.9.1 2/dev/null` test x$? != x0 pkg_failed=yes - echo $LIBUSB_CFLAGS show nothing in the console output ? Any Idea to fix this ? Best regards Ritchie I had the same problem with the latest version. I went back to owfs-2.9p9 and every ting if fine. I have not yet submitted a bug to Paul and the crew. Thanks -Original Message- From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Saturday, April 04, 2015 7:27 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. You must have libusb-dev installed. Please look at ther thread for the RASPI. Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 3:14 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Compiling option USB=DISABLED .. Hi to all, I would like to compile the actual source code for a USB Bus master. Current configuration: Deployment location: /opt/owfs Compile-time options: Caching is enabled USB is DISABLED I2C is enabled Does this information from the ./configure command means, that it does not support USB Busmaster ? If so, what do I have to change to get it with USB is enabled. Best regards Ritchie -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http
Re: [Owfs-developers] Compiling option USB=DISABLED ..
Hello again, please note, that for the build the patch for OWSHELL is been need (Actually tested) This will already written here on the discussion. Point is: On 3/29/2015 11:04 AM, Roland Franke wrote: Hello, you have to modify the file module/owshell/src/c/Makefile.am In line 41 (And followed) you have to add at the end an \ and add the lines: ${LIBUSB_CFLAGS} \ ${PTHREAD_CFLAGS} Also exchange the line: LDADD = ${LD_EXTRALIBS} ${OSLIBS} with LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} Then modify the file module/owshell/src/c/Makefile.in There the same as first be line 498 and following. Best regards, Roland Best regards, Roland -Ursprüngliche Nachricht- From: Roland Franke Sent: Saturday, April 04, 2015 8:08 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, pleas try to install the newer dev-version of libusb with an: sudo apt-get install libusb-1.0-0-dev Then the configure should activate USB for OWFS with version 3.1p0 Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 7:29 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I have also a raspi (Debian). Best regards Ritchie Hello, i will try to find the error with compiling Version 3.1p0 on Raspi. So to have the same system i should know what system you (And Ritchi) will use. Only then i can do right test’s there. Best regards, Roland PS.: I self have with Buildroot (www.buildroot.org) compiled Version 3.1p0 and habe it running with the USB-Adapter without problems. From: Mike Kalist Sent: Saturday, April 04, 2015 6:44 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. 2.2p9. Working great with 18 sensors. Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 10:41 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, what system (With version) will you use for that on your RASPI? Best regards, Roland From: Mike Kalist Sent: Saturday, April 04, 2015 5:32 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Yes Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 8:52 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, after installing libusb-dev, have you start ./configure again? Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 4:12 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I just installed the following packages on my Raspy sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool libusb-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools I installed this version: sudo aptitude versions libusb-dev Package libusb-dev: p 2:0.1.12-20+nmu1 But I still get the USB is DISABLED You can see in the executing of the script these lines. checking For FUSE version ... 2.2 or later checking if zeroconf/bonjour is enabled... yes (default) checking if usb support is enabled... auto (default) checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no - This is ??? checking if Avahi support is enabled... auto (default) c I noticed this remarked code in the configure file, line 16321 if test ${ENABLE_USB} != false; then #LIBUSB_CONFIG and removed the # to active the line. But I also saw this line pkg_failed=no { $as_echo $as_me:${as_lineno-$LINENO}: checking for LIBUSB 5 $as_echo_n checking for LIBUSB... 6; } if test -n $LIBUSB_CFLAGS; then pkg_cv_LIBUSB_CFLAGS=$LIBUSB_CFLAGS elif test -n $PKG_CONFIG; then if test -n $PKG_CONFIG \ { { $as_echo $as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \libusb-1.0 = 0.9.1\; } 5 ($PKG_CONFIG --exists --print-errors libusb-1.0 = 0.9.1) 25 ac_status=$? $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 = 0.9.1 2/dev/null` test x$? != x0 pkg_failed=yes - echo $LIBUSB_CFLAGS show nothing in the console output ? Any Idea to fix this ? Best regards Ritchie I had the same problem with the latest version. I went back to owfs-2.9p9 and every ting if fine. I have not yet submitted a bug to Paul and the crew. Thanks -Original Message
Re: [Owfs-developers] Compiling option USB=DISABLED ..
Hello, pleas try to install the newer dev-version of libusb with an: sudo apt-get install libusb-1.0-0-dev Then the configure should activate USB for OWFS with version 3.1p0 Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 7:29 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I have also a raspi (Debian). Best regards Ritchie Hello, i will try to find the error with compiling Version 3.1p0 on Raspi. So to have the same system i should know what system you (And Ritchi) will use. Only then i can do right test’s there. Best regards, Roland PS.: I self have with Buildroot (www.buildroot.org) compiled Version 3.1p0 and habe it running with the USB-Adapter without problems. From: Mike Kalist Sent: Saturday, April 04, 2015 6:44 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. 2.2p9. Working great with 18 sensors. Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 10:41 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, what system (With version) will you use for that on your RASPI? Best regards, Roland From: Mike Kalist Sent: Saturday, April 04, 2015 5:32 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Yes Sent from Samsung Mobile Original message From: Roland Franke Date:04-04-2015 8:52 AM (GMT-06:00) To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hello, after installing libusb-dev, have you start ./configure again? Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 4:12 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. Hi, I just installed the following packages on my Raspy sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool libusb-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev i2c-tools I installed this version: sudo aptitude versions libusb-dev Package libusb-dev: p 2:0.1.12-20+nmu1 But I still get the USB is DISABLED You can see in the executing of the script these lines. checking For FUSE version ... 2.2 or later checking if zeroconf/bonjour is enabled... yes (default) checking if usb support is enabled... auto (default) checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... no - This is ??? checking if Avahi support is enabled... auto (default) c I noticed this remarked code in the configure file, line 16321 if test ${ENABLE_USB} != false; then #LIBUSB_CONFIG and removed the # to active the line. But I also saw this line pkg_failed=no { $as_echo $as_me:${as_lineno-$LINENO}: checking for LIBUSB 5 $as_echo_n checking for LIBUSB... 6; } if test -n $LIBUSB_CFLAGS; then pkg_cv_LIBUSB_CFLAGS=$LIBUSB_CFLAGS elif test -n $PKG_CONFIG; then if test -n $PKG_CONFIG \ { { $as_echo $as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \libusb-1.0 = 0.9.1\; } 5 ($PKG_CONFIG --exists --print-errors libusb-1.0 = 0.9.1) 25 ac_status=$? $as_echo $as_me:${as_lineno-$LINENO}: \$? = $ac_status 5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 = 0.9.1 2/dev/null` test x$? != x0 pkg_failed=yes - echo $LIBUSB_CFLAGS show nothing in the console output ? Any Idea to fix this ? Best regards Ritchie I had the same problem with the latest version. I went back to owfs-2.9p9 and every ting if fine. I have not yet submitted a bug to Paul and the crew. Thanks -Original Message- From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Saturday, April 04, 2015 7:27 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Compiling option USB=DISABLED .. You must have libusb-dev installed. Please look at ther thread for the RASPI. Best regards, Roland -Ursprüngliche Nachricht- From: Ritchie Sent: Saturday, April 04, 2015 3:14 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Compiling option USB=DISABLED .. Hi to all, I would like to compile the actual source code for a USB Bus master. Current configuration: Deployment location: /opt/owfs Compile-time options: Caching is enabled USB is DISABLED I2C is enabled Does this information from the ./configure command means, that it does
Re: [Owfs-developers] installing owfs on raspberry pi
Hello, have you installed pearl and md4 also? This was requested by the error-message “ It also requires GNU Autoconf, GNU m4 and Perl in order to run” Best regards, Roland From: Eric Baumann Sent: Monday, March 30, 2015 10:19 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] installing owfs on raspberry pi Hello Roland Automake IS installed: sudo apt-get install automake Reading package lists... Done Building dependency tree Reading state information... Done automake is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I installed a lot: sudo apt-get install automake autoconf autotools-dev gcc-4.7 libtool -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] installing owfs on rapsberry pi
Hello, in that matter there is automake not be installed on yous system. Please install that also like libusb. sudo apt-get install automake Best regards, Roland From: Eric Baumann Sent: Monday, March 30, 2015 9:26 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] installing owfs on rapsberry pi Dear Colin, Dear Roland Thanks for your help. Now fresh from start: I did sudo apt-get install libusb-1.0-0-dev and then went into owfs directory, sudo ./configure , which worked (USB is enabled) when running sudo make I get this: pi@raspberrypi ~/owfs-3.1p0 $ sudo make CDPATH=${ZSH_VERSION+.}: cd . /bin/bash /home/pi/owfs-3.1p0/src/scripts/install/missing aclocal-1.14 -I src/scripts/m4 /home/pi/owfs-3.1p0/src/scripts/install/missing: line 81: aclocal-1.14: command not found WARNING: 'aclocal-1.14' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: http://www.gnu.org/software/automake It also requires GNU Autoconf, GNU m4 and Perl in order to run: http://www.gnu.org/software/autoconf http://www.gnu.org/software/m4/ http://www.perl.org/ Makefile:523: recipe for target 'aclocal.m4' failed make: *** [aclocal.m4] Error 127 How should I proceed? @Roland: I ended up here the last time too. Thanks. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Temp Logging
Ok. Will you be sure, that REAL all Sensors read the right value in your script (Maybe check this then you write in an logfile the values for an while and check them. I suggest that there is an timing-problem by reading the values and then you get them wrong. Best regards, Roland From: Michael Kalist Sent: Sunday, March 29, 2015 4:53 PM To: 'OWFS (One-wire file system) discussion and help' Subject: Re: [Owfs-developers] Temp Logging Hi parasite power Takes about 1:23 seconds to complete From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Sunday, March 29, 2015 8:52 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Temp Logging Hello, #!/bin/bash # Read temperature from sensor temp1=`cat /mnt/owfs/uncached/Garage_In/temperature` temp2=`cat /mnt/owfs/uncached/Garage_Return/temperature` temp3=`cat /mnt/owfs/uncached/Bedroom_In/temperature` temp4=`cat /mnt/owfs/uncached/Bedroom_Return/temperature` temp5=`cat /mnt/owfs/uncached/Floor_In/temperature` temp6=`cat /mnt/owfs/uncached/Floor_Return/temperature` temp7=`cat /mnt/owfs/uncached/Water_Tank_In/temperature` temp8=`cat /mnt/owfs/uncached/Water_Tank_Return/temperature` temp9=`cat /mnt/owfs/uncached/Loop_In/temperature` temp10=`cat /mnt/owfs/uncached/Loop_Return/temperature` temp11=`cat /mnt/owfs/uncached/Header_Out/temperature` temp12=`cat /mnt/owfs/uncached/Header_Return/temperature` temp13=`cat /mnt/owfs/uncached/Basement_In/temperature` temp14=`cat /mnt/owfs/uncached/Basement_Return/temperature` temp15=`cat /mnt/owfs/uncached/Mechanical/temperature` How are the sensors electrical connected? Parasite-power or with an power-supply? I suggest that (While you read the values directly from the uncached directory) the reading from the values will take a too long time. Best regards, Roland -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Temp Logging
Hello, #!/bin/bash # Read temperature from sensor temp1=`cat /mnt/owfs/uncached/Garage_In/temperature` temp2=`cat /mnt/owfs/uncached/Garage_Return/temperature` temp3=`cat /mnt/owfs/uncached/Bedroom_In/temperature` temp4=`cat /mnt/owfs/uncached/Bedroom_Return/temperature` temp5=`cat /mnt/owfs/uncached/Floor_In/temperature` temp6=`cat /mnt/owfs/uncached/Floor_Return/temperature` temp7=`cat /mnt/owfs/uncached/Water_Tank_In/temperature` temp8=`cat /mnt/owfs/uncached/Water_Tank_Return/temperature` temp9=`cat /mnt/owfs/uncached/Loop_In/temperature` temp10=`cat /mnt/owfs/uncached/Loop_Return/temperature` temp11=`cat /mnt/owfs/uncached/Header_Out/temperature` temp12=`cat /mnt/owfs/uncached/Header_Return/temperature` temp13=`cat /mnt/owfs/uncached/Basement_In/temperature` temp14=`cat /mnt/owfs/uncached/Basement_Return/temperature` temp15=`cat /mnt/owfs/uncached/Mechanical/temperature` How are the sensors electrical connected? Parasite-power or with an power-supply? I suggest that (While you read the values directly from the uncached directory) the reading from the values will take a too long time. Best regards, Roland -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] installing owfs on raspberry pi
Hello, please try to use the following patch, if then the build will work. diff -urN owfs-3.1p0.orig/module/owshell/src/c/Makefile.am owfs-3.1p0/module/owshell/src/c/Makefile.am --- owfs-3.1p0.orig/module/owshell/src/c/Makefile.am2015-01-11 02:31:32.0 +0100 +++ owfs-3.1p0/module/owshell/src/c/Makefile.am2015-03-16 21:20:41.177284197 +0100 @@ -41,7 +41,9 @@ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ -${EXTRACFLAGS} +${EXTRACFLAGS} \ +${LIBUSB_CFLAGS} \ +${PTHREAD_CFLAGS} -LDADD = ${LD_EXTRALIBS} ${OSLIBS} +LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} diff -urN owfs-3.1p0.orig/module/owshell/src/c/Makefile.in owfs-3.1p0/module/owshell/src/c/Makefile.in --- owfs-3.1p0.orig/module/owshell/src/c/Makefile.in2015-03-15 02:38:32.0 +0100 +++ owfs-3.1p0/module/owshell/src/c/Makefile.in2015-03-16 21:19:50.726241228 +0100 @@ -498,9 +498,11 @@ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ -${EXTRACFLAGS} +${EXTRACFLAGS} \ +${LIBUSB_CFLAGS} \ +${PTHREAD_CFLAGS} -LDADD = ${LD_EXTRALIBS} ${OSLIBS} +LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} all: all-am .SUFFIXES: Best regards, Roland From: Eric Baumann Sent: Sunday, March 29, 2015 3:00 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] installing owfs on raspberry pi Hallo I am trying to install owfs on Raspberry Pi again. I seems to struggle with the libusb : ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such file or directory compilation terminated. Makefile:556: recipe for target 'ow_dnssd.o' failed make[4]: *** [ow_dnssd.o] Error 1 make[4]: Leaving directory '/home/pi/owfs-3.1p0/module/owshell/src/c' Makefile:424: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/pi/owfs-3.1p0/module/owshell/src' Makefile:424: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/pi/owfs-3.1p0/module/owshell' Makefile:438: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/pi/owfs-3.1p0/module' Makefile:484: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 It seems to be unable to find the libusb header file. Where whould it be located? This time I installed libusb directly from source and compiled it, like this: wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2 tar xjf libusb-1.0.9.tar.bz2 cd libusb-1.0.9 ~/work/libusb-1.0.9 $ ./configure ~/work/libusb-1.0.9 $ make ~/work/libusb-1.0.9 $ sudo make install Which I did because just running : sudo apt-get install libusb-dev terminated successfully not was enough, because the ./configure of owfs would give a USB: Disable This however should wok according to: http://www.noveldevices.co.uk/rp-1-wire Thanks for any help. With best regards, Eric -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] New Releases 3.0p2 and 3.1p0
Hello Paul, try to build 3.1p0 in my cross-compiling buildroot system. Get the problem, that in the owshell makefiles the dependency for libusb is not right set. Christoph Schulz has help me to find the problem. We found, that in the Makefile.am and Makefile.in in the directory /module/owshell/src/c the $(LIBUSB_CFLAGS) be not set (In compare to the files by owserver or owfs). So we made the patch for the named files by owshell and now the build will work. But i cannot give actually an hint, if the complete function is available. One question also: Is now the fix include, that by an changing of the owfs.conf file during owserver is running, it will be not stop working? Best regards, Roland Franke From: Paul Alfille Sent: Sunday, March 15, 2015 3:32 AM To: owfs-developers Subject: [Owfs-developers] New Releases 3.0p2 and 3.1p0 I took the unusual step of 2 releases: 3.0p2 Adds minor changes to the K1WM Bus Master from Martin Rapavy for the Kisler moification of the synthesized DS1WM Bus Master. 3.1p0 is a major change in linkage. We leave behind the legacy version of libusb for the modern version. Libusb is used for the DS9490 Bus Master, and the older version is actually no longer supported, except as a legacy skin over the modern code. Although I've been pleased with the new libusb function on linux and OSX, I wanted a working version with the legacy mode in case there are problems. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] owfs 3.0.0 - Problems by first startup - SOLVED
Hello, i have found the problem, what be coming up an this is an mistake of me: During the startup the owfs.conf was written in steps and after each step the module what is now in the row to start will be start also. With that the new ow_launchd find an changed owfs.conf and try to restart owserver. But this restart fail as the connection to the USB adapter is blocked (Maybe this can be an fault from the system). Now i have re-written my startup, so that the configuration is been ready complete and then i start the modules. With that way all is been solved. Best regards, Roland From: Roland Franke Sent: Tuesday, February 24, 2015 8:35 PM To: OWFS (One-wire file system) discussion and help Subject: [Owfs-developers] owfs 3.0.0 - Problems by first startup Hello @ all, i have some problems with the first startup of owfs 3.0.0 My configuration is the same as by 2.9.9 but now i get some faults: By the first startup of owfs with an combinated configuration-file i get the message fli4l kern.warn kernel: usb 1-2: usbfs: interface 0 claimed by usbfs while 'owserver' sets config #1 and owfs will not start. My configuration (/var/run/owfs.conf) is: error_print = 3 error_level = 1 format = f.i cache_size = 0 Celsius background allow_other server: usb server: port = 127.0.0.1:4304 server: pid_file = /var/run/owsever.pid http: server = 127.0.0.1:4304 http: port = 8080 http: pid_file = /var/run/owhttpd.pid owfs: server = 127.0.0.1:4304 owfs: pid_file = /var/run/owfs.pid owfs: mountpoint = /mnt/1wire I will first start owserver –c /var/run/owfs.conf then owhttpd –c /var/run/owfs.conf and as last owfs –c /var/run/owfs.conf during the startup of my computer and it fail with the message from the kernel. If I after the complete start write manualy the 3 startlines identical, all will work fine. But that is not the best way. Hope that you can help me in that matter. In case that you will need more information, please ask. Best regards, Roland Franke -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] temperature vs temperature10
Hello, this depends on the sensor you will use. Not all of them handle with different precision ;-) A hint from Paul was to use the simultanues (Will work only with external power-supply to all parts in the 1-wire bus - It can be activated manualy in the system or over the owhttpd when active). This will activate the conversion of ALL sensors at the same time and not one by one (That take a long time depending of the value from the sensors). Best regards, Roland -Ursprüngliche Nachricht- From: Daniel MacKay Sent: Thursday, February 26, 2015 8:48 PM To: OWFS (One-wire file system) discussion and help Subject: [Owfs-developers] temperature vs temperature10 Hi guys, just a reminder (I needed it, so I figure many people on this list must too): it is a LOT quicker to read temperature10 than temperature - a couple orders of magnitude I think. temperature10 gets you two 10 bits of precision which I think is the same accuracy as the sensor itself, so there's very little point reading it to 3 or 4 digits of precision, and it's very quick to read. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
[Owfs-developers] owfs 3.0.0 - Problems by first startup
Hello @ all, i have some problems with the first startup of owfs 3.0.0 My configuration is the same as by 2.9.9 but now i get some faults: By the first startup of owfs with an combinated configuration-file i get the message fli4l kern.warn kernel: usb 1-2: usbfs: interface 0 claimed by usbfs while 'owserver' sets config #1 and owfs will not start. My configuration (/var/run/owfs.conf) is: error_print = 3 error_level = 1 format = f.i cache_size = 0 Celsius background allow_other server: usb server: port = 127.0.0.1:4304 server: pid_file = /var/run/owsever.pid http: server = 127.0.0.1:4304 http: port = 8080 http: pid_file = /var/run/owhttpd.pid owfs: server = 127.0.0.1:4304 owfs: pid_file = /var/run/owfs.pid owfs: mountpoint = /mnt/1wire I will first start owserver –c /var/run/owfs.conf then owhttpd –c /var/run/owfs.conf and as last owfs –c /var/run/owfs.conf during the startup of my computer and it fail with the message from the kernel. If I after the complete start write manualy the 3 startlines identical, all will work fine. But that is not the best way. Hope that you can help me in that matter. In case that you will need more information, please ask. Best regards, Roland Franke-- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] New Release 2.9p9
Hello, can it be that the version 2.9p9 cannot be build with an –disable-zero? I will get on my build system (Based on µclib - buildroot) an fault, when i have set –disable-zero. The message is, that in ow_browse_monitor.c an fault is by Browse_detect Best regards, Roland From: Paul Alfille Sent: Tuesday, January 06, 2015 9:28 PM To: brucek ; OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] New Release 2.9p9 I think the file upload was a little flakey. Did it a couple times more and now I see the files listed. Sorry for the premature announcement. On Tue, Jan 6, 2015 at 1:56 PM, brucek bru...@valinet.com wrote: Hey Paul, As of 2pm EST I still do not see 2.9p9 on Sourceforge, just the 2.9p8 download, and an empty owfs/2.9p9 folder. As always, thanks for keeping this going Bruce From: Paul Alfille Sent: Tuesday, January 06, 2015 8:59 AM To: owfs-developers Subject: [Owfs-developers] New Release 2.9p9 Minor improvement -- basically fixes the owfs problem for Markus Gaugusch's report: cat: temperature: Message too long The problem is that some tools (like cat) ask for an arbitrary (but large) read to gather all the data. It used to be 64K but now seems to be 128K which passes some internal limits. We now trim the read request before processing. Paul Alfille -- -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] New Release 2.9p9
Hello Paul, on sourceforge.net is no file for download the 2.9p9 available. Best regards, Roland From: Paul Alfille Sent: Tuesday, January 06, 2015 2:59 PM To: owfs-developers Subject: [Owfs-developers] New Release 2.9p9 Minor improvement -- basically fixes the owfs problem for Markus Gaugusch's report: cat: temperature: Message too long The problem is that some tools (like cat) ask for an arbitrary (but large) read to gather all the data. It used to be 64K but now seems to be 128K which passes some internal limits. We now trim the read request before processing. Paul Alfille -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Config owfs to use server?
Hello Paul, thank you for the answert. But my system is already working with owserver as “master” connected to the USB adapter and owfs, owhttpd is connected to the owserver. I have made the replay to Loren Amelang, who was asking for the function/configuration. Best regards, Roland From: Paul Alfille Sent: Thursday, October 30, 2014 1:13 AM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Config owfs to use server? Hi Roland, Maybe I can help you understand the process. Say you want to run owfs, owserver and owhttpd with a USB device and Fahrenheit temperature scale. Purely from the command line you would run: owserver -F -u -p 4304 # reads from USB, serves port 4304 owfs -F -m /var/temp/1wire -s 4304 # reads from owserver, mounts /var/temp/1wire owhttpd -F -s 4304 -p # reads from owserver, web serves localhost: # notice that only owserver talks directly to the hardware bus master, everything else talks to owserver You could write a configuration file (/etc/owfs.conf) like this: -F !server: -s 4304 server: -u server: -p 4304 owfs: -m /var/temp/1wire owfs: --allow-other owhttpd: -p The advantage is that all the programs can simply be run with owserver -c /etc/owfs.conf owfs -c /etc/owfs.conf owhttpd -c /etc/owfs.conf Note that many options apply to all ( like -F) Some apply to owserver and some to the all others Some are program-specific Also the name /etc/owfs.conf is conventional, but completely arbitrary. None of the programs look for any file unless explicitly specified. No magic files. Often the distribution packages set up a skeleton configuration file, and run all the programs. They usually are pretty well documented. Paul On Wed, Oct 29, 2014 at 3:54 PM, Roland Franke fl...@franke-prem.de wrote: Hallo again, can you show here your complete config (/etc/owfs.conf)? May it be, that you have not set by the server the specific port and IP address? Like by me is here: server: usb - Where is the hardware connected (By you w1) server: port = 127.0.0.1:4304- What IP address and port should the server use for connecting from other modules server: pid_file = /var/run/owsever.pid- you can specific also the place where the .pid file will be stored and must not been seperately been set in the owfs.conf Best regards, Roland -Ursprüngliche Nachricht- From: Loren Amelang Sent: Wednesday, October 29, 2014 7:59 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Config owfs to use server? I'm still trying to understand whether I have a possible conflict with both owfs and server trying to read my hardware. Something was updating the filesystem while server and httpd were not running... My config is part of the default Ubuntu distribution for 14.04, with just the w1 added to point to my hardware. I notice in Roland's config he has set server: usb like I have set server: w1 but he also sets owfs: server = 127.0.0.1:4304 and I have no equivalent line. I don't even see an owfs process running: --- root 1151 0.0 0.1 20036 836 ?Ssl Oct19 1:56 /usr/bin/owftpd -c /etc/owfs.conf --pid-file /var/run/owfs/owftpd.pid root 13064 0.0 0.1 11828 1000 ?Ss Oct26 0:00 /usr/bin/owhttpd -c /etc/owfs.conf --pid-file /var/run/owfs/owhttpd.pid root 13605 0.0 0.2 53804 1168 ?Ssl Oct26 0:00 /usr/bin/owserver -c /etc/owfs.conf --pid-file /var/run/owfs/owserver.pid --- It seems owfs can be used without the ftp/http/server modules, so it must exist on its own somehow. But where? Should I add that owfs: server = 127.0.0.1:4304 line to my config? Or does ! server: server = localhost:4304 do the same thing, since it supposedly applies to everything except server? What about owfs: pid_file = /var/run/owfs.pid? I don't have an owfs.pid file on my system... Just the ftpd/httpd/server pid files. I see many configs with lines like owfs: mountpoint = /mnt/1wire. I don't understand why one would mount at /mnt/1wire when everything is already visible at /sys/devices/. Maybe the default Ubuntu install has done some of this for me, in some file I haven't found yet? I tend to assume that whoever made the official Ubuntu distribution knows much more than I do. But I do get occasional bad reads and bogus temperature values, and as I said, the filesystem was getting updated even while server was stopped. Loren | Loren Amelang | lo...@pacific.net | On Wednesday, October 29, 2014 at 9:27 AM, owfs-developers-requ...@lists.sourceforge.net wrote: From: Roland Franke fl...@franke-prem.de Subject: Re: [Owfs-developers] Missing data To: Roland Franke fl...@franke-prem.de, OWFS \(One-wire file system\) discussion and help owfs-developers@lists.sourceforge.net Message-ID
Re: [Owfs-developers] Missing data
Hello, i build owfs (Now 2.9p8) together with collect (now 5.4.1) with an buildroot System for my x86 (32bit) softwarerouter (www.fli4l.de). In that i have activate OWSERVER; OWHTTPD and OWFS. My USB-Adapter is set for be using with OWSERVER and OWHTTPD and OWFS will be connected to the OWSERVER (But similar timeouts i will get without OWSERVER and OWHTTPD, when i connect my USB Adapter directly to the OWFS) By the onwire-plugin i made an modification, so that this can read more sensor-tyes as only type 10 (I use type 28, but also type 31 and else). Now the opnewire-plugin read in the data directly over the libowfs (There is no seperate program from me made for that). Please note, that i am be also only an user from different ready Systems (From the main programming) and have also only used some script for the preparemend here. But the main collection of the data over collectd with the libowfs was not touched or changed from me. Best regards, Roland Gregg Levine gregg.drw...@gmail.com hat am 29. Oktober 2014 um 03:17 geschrieben: Hello! Can you explain in greater detail how you are using the One-Wire plugin for Collectd? According to their site it can read the database that RRD creates. And it further explains how contributed material can create graphs. But outside of that, I need more information to best make up my mind. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. On Mon, Oct 27, 2014 at 4:09 AM, Roland Franke fl...@franke-prem.de wrote: Hello, i will use collectd (www.collectd.org) with the onewire plugin. But i have noticed that the reading from the data (By cat, owread at the commandline) it works for an lot of reads, but sometimes it will take an long time. I suggest that this long time is the same as when i try to read data from the uncached directory. So the point is (Also an suggestion) that over owfs together with fuse the reading in the cached directory will take sometimes too long and so collectd (And maybe Zabbix) went to an timeout with the reading of data. The value of sensors, the frequency for reading data and the frequency for update data in the cached directory can punt the system sometimes in an bad timing so that for an longer time no data can be read without an timeout. By that it take here no matter, if the bus is only be read from owfs or if it will be first read in by owserver and than owfs and owhttpd will read from the server. Best regards, Roland From: Coudy Sent: Sunday, October 26, 2014 8:34 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Missing data @Paul Hi, owfs and owserver are not running in same time. I started with owserver and used it for several months. Maybe after 1 month ago, I switched to owfs and it did not helped. Currently I run only one instance/process of owfs. Wiring problem ? I'm not sure, because sometime it run ok, so if it will be wiring problem this will not happen. @Roland Data was read with owget/owread when I run as owserver, now are they read with cat /mountpoint/sensor/temperature, because I it is running as owfs. I always thought, that cached data are stored in ram, that they are periodically read by server, but when I ask for data, it first time take several seconds, then they are displayed, and when I ask second time, then they are cached. BTW, my polling frequency in Zabbix to read data is 30 seconds. 2014-10-26 12:02 GMT+01:00 Roland Franke fl...@franke-prem.de: Hello, Subject: [Owfs-developers] Missing data Hi, I'm using owfs with 19x DS18B20 temperature sensor with 2x DS9097 passive adapter. I have split my installation to two buses. Everything is running on my home NAS server (Core2Duo). I have problem with missing data. Sometimes data are not received. I have tried it running as owserver and read data with owread/owget, and running as fuse mount point and read data with cat commad. Result is same. To store values I use Zabbix. How will be the data read in by Zabbix. An similar problem is by collectd with the onewire plugin. My suggestion by both will be, that the cached data can be not read in the time, owfs will update them. Maybe the update there is not only an copy from the uncached data to the cached data at one time. There will be the similar way to read in the data like the uncached version and this will take longer time (By more sensors it will take an long time). Can this suggestion be right? Best regards, Roland Franke -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Missing data
Here is my configuration (As i now will be at home ) owfs.conf is: error_print = 3 error_level = 0 format = f.i cache_size = 0 Celsius foreground allow_root owfs: server = 127.0.0.1:4304 owfs: pid_file = /var/run/owfs.pid owfs: mountpoint = /mnt/1wire server: usb server: port = 127.0.0.1:4304 server: pid_file = /var/run/owsever.pid http: server = 127.0.0.1:4304 http: port = 8080 http: pid_file = /var/run/owhttpd.pid By collectd i have the config for onewire: LoadPlugin onewire Plugin onewire Interval 5 Device -s 127.0.0.1:4304 /Plugin Best regards, Roland From: Roland Franke Sent: Wednesday, October 29, 2014 10:07 AM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Missing data Hello, i build owfs (Now 2.9p8) together with collect (now 5.4.1) with an buildroot System for my x86 (32bit) softwarerouter (www.fli4l.de). In that i have activate OWSERVER; OWHTTPD and OWFS. My USB-Adapter is set for be using with OWSERVER and OWHTTPD and OWFS will be connected to the OWSERVER (But similar timeouts i will get without OWSERVER and OWHTTPD, when i connect my USB Adapter directly to the OWFS) By the onwire-plugin i made an modification, so that this can read more sensor-tyes as only type 10 (I use type 28, but also type 31 and else). Now the opnewire-plugin read in the data directly over the libowfs (There is no seperate program from me made for that). Please note, that i am be also only an user from different ready Systems (From the main programming) and have also only used some script for the preparemend here. But the main collection of the data over collectd with the libowfs was not touched or changed from me. Best regards, Roland Gregg Levine gregg.drw...@gmail.com hat am 29. Oktober 2014 um 03:17 geschrieben: Hello! Can you explain in greater detail how you are using the One-Wire plugin for Collectd? According to their site it can read the database that RRD creates. And it further explains how contributed material can create graphs. But outside of that, I need more information to best make up my mind. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. On Mon, Oct 27, 2014 at 4:09 AM, Roland Franke fl...@franke-prem.de wrote: Hello, i will use collectd (www.collectd.org) with the onewire plugin. But i have noticed that the reading from the data (By cat, owread at the commandline) it works for an lot of reads, but sometimes it will take an long time. I suggest that this long time is the same as when i try to read data from the uncached directory. So the point is (Also an suggestion) that over owfs together with fuse the reading in the cached directory will take sometimes too long and so collectd (And maybe Zabbix) went to an timeout with the reading of data. The value of sensors, the frequency for reading data and the frequency for update data in the cached directory can punt the system sometimes in an bad timing so that for an longer time no data can be read without an timeout. By that it take here no matter, if the bus is only be read from owfs or if it will be first read in by owserver and than owfs and owhttpd will read from the server. Best regards, Roland From: Coudy Sent: Sunday, October 26, 2014 8:34 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Missing data @Paul Hi, owfs and owserver are not running in same time. I started with owserver and used it for several months. Maybe after 1 month ago, I switched to owfs and it did not helped. Currently I run only one instance/process of owfs. Wiring problem ? I'm not sure, because sometime it run ok, so if it will be wiring problem this will not happen. @Roland Data was read with owget/owread when I run as owserver, now are they read with cat /mountpoint/sensor/temperature, because I it is running as owfs. I always thought, that cached data are stored in ram, that they are periodically read by server, but when I ask for data, it first time take several seconds, then they are displayed, and when I ask second time, then they are cached. BTW, my polling frequency in Zabbix to read data is 30 seconds. 2014-10-26 12:02 GMT+01:00 Roland Franke fl...@franke-prem.de: Hello, Subject: [Owfs-developers] Missing data Hi, I'm using owfs with 19x DS18B20 temperature sensor with 2x DS9097 passive adapter. I have split my installation to two buses. Everything is running on my home NAS server (Core2Duo). I have problem with missing data. Sometimes data are not received. I have tried it running as owserver and read data with owread/owget, and running as fuse mount point and read data with cat commad. Result is same. To store values I use Zabbix. How will be the data read in by Zabbix. An similar
Re: [Owfs-developers] Missing data
= */ + }, + { +/* filename = */ EDS0068/light, + /* type = */ illuminance, + /* type_instance = */ + }, + { +/* filename = */ EDS0068/pressure, + /* type = */ pressure, + /* type_instance = */ + } +}, +/* features_num = */ 7 + }, + { +/* family = */ EE., +{ + { +/* filename = */ temperature, /* type = */ temperature, /* type_instance = */ } Best regards, Roland From: Roland Franke Sent: Wednesday, October 29, 2014 5:27 PM To: Roland Franke ; OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Missing data Here is my configuration (As i now will be at home ) owfs.conf is: error_print = 3 error_level = 0 format = f.i cache_size = 0 Celsius foreground allow_root owfs: server = 127.0.0.1:4304 owfs: pid_file = /var/run/owfs.pid owfs: mountpoint = /mnt/1wire server: usb server: port = 127.0.0.1:4304 server: pid_file = /var/run/owsever.pid http: server = 127.0.0.1:4304 http: port = 8080 http: pid_file = /var/run/owhttpd.pid By collectd i have the config for onewire: LoadPlugin onewire Plugin onewire Interval 5 Device -s 127.0.0.1:4304 /Plugin Best regards, Roland From: Roland Franke Sent: Wednesday, October 29, 2014 10:07 AM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Missing data Hello, i build owfs (Now 2.9p8) together with collect (now 5.4.1) with an buildroot System for my x86 (32bit) softwarerouter (www.fli4l.de). In that i have activate OWSERVER; OWHTTPD and OWFS. My USB-Adapter is set for be using with OWSERVER and OWHTTPD and OWFS will be connected to the OWSERVER (But similar timeouts i will get without OWSERVER and OWHTTPD, when i connect my USB Adapter directly to the OWFS) By the onwire-plugin i made an modification, so that this can read more sensor-tyes as only type 10 (I use type 28, but also type 31 and else). Now the opnewire-plugin read in the data directly over the libowfs (There is no seperate program from me made for that). Please note, that i am be also only an user from different ready Systems (From the main programming) and have also only used some script for the preparemend here. But the main collection of the data over collectd with the libowfs was not touched or changed from me. Best regards, Roland Gregg Levine gregg.drw...@gmail.com hat am 29. Oktober 2014 um 03:17 geschrieben: Hello! Can you explain in greater detail how you are using the One-Wire plugin for Collectd? According to their site it can read the database that RRD creates. And it further explains how contributed material can create graphs. But outside of that, I need more information to best make up my mind. - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. On Mon, Oct 27, 2014 at 4:09 AM, Roland Franke fl...@franke-prem.de wrote: Hello, i will use collectd (www.collectd.org) with the onewire plugin. But i have noticed that the reading from the data (By cat, owread at the commandline) it works for an lot of reads, but sometimes it will take an long time. I suggest that this long time is the same as when i try to read data from the uncached directory. So the point is (Also an suggestion) that over owfs together with fuse the reading in the cached directory will take sometimes too long and so collectd (And maybe Zabbix) went to an timeout with the reading of data. The value of sensors, the frequency for reading data and the frequency for update data in the cached directory can punt the system sometimes in an bad timing so that for an longer time no data can be read without an timeout. By that it take here no matter, if the bus is only be read from owfs or if it will be first read in by owserver and than owfs and owhttpd will read from the server. Best regards, Roland From: Coudy Sent: Sunday, October 26, 2014 8:34 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Missing data @Paul Hi, owfs and owserver are not running in same time. I started with owserver and used it for several months. Maybe after 1 month ago, I switched to owfs and it did not helped. Currently I run only one instance/process of owfs. Wiring problem ? I'm not sure, because sometime it run ok, so if it will be wiring problem this will not happen. @Roland Data was read with owget/owread when I run as owserver, now are they read with cat /mountpoint/sensor/temperature, because I it is running as owfs. I always thought, that cached data are stored in ram, that they are periodically read by server, but when I ask for data, it first time take several seconds, then they are displayed, and when I ask second time, then they are cached. BTW, my polling frequency in Zabbix to read data is 30 seconds
Re: [Owfs-developers] Config owfs to use server?
Loren, it depends on what part or ow(fs/httpd/server) you have connected your real hardware. In my situation i will work directly from owserver to the hardware (1-wire usb-stick) WITHOUT the kernel-protokoll w1 !!. The server can be connected by TCP/IP (Local on the same computer at 127.0.0.1) on port 4304 (in my config). But the server can be also be reached from other computers on the IP from the computer self. Then owfs and owhttpd will only connect to the server on the given port and not directly to the hardware. When you will NOT need the server and owhttpd, you can connect the hardware (usb-stick or kernel-modules w1) directly to owfs (Like owfs: w1; Or by me with owfs: usb). The rest with update of values in the owfs will work internal between owfs and fuse (Fuse for getting the whole 1-wire bus as directory). Best regards, Roland -Ursprüngliche Nachricht- From: Loren Amelang Sent: Wednesday, October 29, 2014 7:59 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Config owfs to use server? I'm still trying to understand whether I have a possible conflict with both owfs and server trying to read my hardware. Something was updating the filesystem while server and httpd were not running... My config is part of the default Ubuntu distribution for 14.04, with just the w1 added to point to my hardware. I notice in Roland's config he has set server: usb like I have set server: w1 but he also sets owfs: server = 127.0.0.1:4304 and I have no equivalent line. I don't even see an owfs process running: --- root 1151 0.0 0.1 20036 836 ?Ssl Oct19 1:56 /usr/bin/owftpd -c /etc/owfs.conf --pid-file /var/run/owfs/owftpd.pid root 13064 0.0 0.1 11828 1000 ?Ss Oct26 0:00 /usr/bin/owhttpd -c /etc/owfs.conf --pid-file /var/run/owfs/owhttpd.pid root 13605 0.0 0.2 53804 1168 ?Ssl Oct26 0:00 /usr/bin/owserver -c /etc/owfs.conf --pid-file /var/run/owfs/owserver.pid --- It seems owfs can be used without the ftp/http/server modules, so it must exist on its own somehow. But where? Should I add that owfs: server = 127.0.0.1:4304 line to my config? Or does ! server: server = localhost:4304 do the same thing, since it supposedly applies to everything except server? What about owfs: pid_file = /var/run/owfs.pid? I don't have an owfs.pid file on my system... Just the ftpd/httpd/server pid files. I see many configs with lines like owfs: mountpoint = /mnt/1wire. I don't understand why one would mount at /mnt/1wire when everything is already visible at /sys/devices/. Maybe the default Ubuntu install has done some of this for me, in some file I haven't found yet? I tend to assume that whoever made the official Ubuntu distribution knows much more than I do. But I do get occasional bad reads and bogus temperature values, and as I said, the filesystem was getting updated even while server was stopped. Loren | Loren Amelang | lo...@pacific.net | On Wednesday, October 29, 2014 at 9:27 AM, owfs-developers-requ...@lists.sourceforge.net wrote: From: Roland Franke fl...@franke-prem.de Subject: Re: [Owfs-developers] Missing data To: Roland Franke fl...@franke-prem.de, OWFS \(One-wire file system\) discussion and help owfs-developers@lists.sourceforge.net Message-ID: 32224CCF5ADA40D38212CB7E0D3E7E8E@rolandAMD64 Content-Type: text/plain; charset=utf-8 Here is my configuration (As i now will be at home ) owfs.conf is: error_print = 3 error_level = 0 format = f.i cache_size = 0 Celsius foreground allow_root owfs: server = 127.0.0.1:4304 owfs: pid_file = /var/run/owfs.pid owfs: mountpoint = /mnt/1wire server: usb server: port = 127.0.0.1:4304 server: pid_file = /var/run/owsever.pid http: server = 127.0.0.1:4304 http: port = 8080 http: pid_file = /var/run/owhttpd.pid -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Config owfs to use server?
Hallo again, can you show here your complete config (/etc/owfs.conf)? May it be, that you have not set by the server the specific port and IP address? Like by me is here: server: usb - Where is the hardware connected (By you w1) server: port = 127.0.0.1:4304- What IP address and port should the server use for connecting from other modules server: pid_file = /var/run/owsever.pid- you can specific also the place where the .pid file will be stored and must not been seperately been set in the owfs.conf Best regards, Roland -Ursprüngliche Nachricht- From: Loren Amelang Sent: Wednesday, October 29, 2014 7:59 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Config owfs to use server? I'm still trying to understand whether I have a possible conflict with both owfs and server trying to read my hardware. Something was updating the filesystem while server and httpd were not running... My config is part of the default Ubuntu distribution for 14.04, with just the w1 added to point to my hardware. I notice in Roland's config he has set server: usb like I have set server: w1 but he also sets owfs: server = 127.0.0.1:4304 and I have no equivalent line. I don't even see an owfs process running: --- root 1151 0.0 0.1 20036 836 ?Ssl Oct19 1:56 /usr/bin/owftpd -c /etc/owfs.conf --pid-file /var/run/owfs/owftpd.pid root 13064 0.0 0.1 11828 1000 ?Ss Oct26 0:00 /usr/bin/owhttpd -c /etc/owfs.conf --pid-file /var/run/owfs/owhttpd.pid root 13605 0.0 0.2 53804 1168 ?Ssl Oct26 0:00 /usr/bin/owserver -c /etc/owfs.conf --pid-file /var/run/owfs/owserver.pid --- It seems owfs can be used without the ftp/http/server modules, so it must exist on its own somehow. But where? Should I add that owfs: server = 127.0.0.1:4304 line to my config? Or does ! server: server = localhost:4304 do the same thing, since it supposedly applies to everything except server? What about owfs: pid_file = /var/run/owfs.pid? I don't have an owfs.pid file on my system... Just the ftpd/httpd/server pid files. I see many configs with lines like owfs: mountpoint = /mnt/1wire. I don't understand why one would mount at /mnt/1wire when everything is already visible at /sys/devices/. Maybe the default Ubuntu install has done some of this for me, in some file I haven't found yet? I tend to assume that whoever made the official Ubuntu distribution knows much more than I do. But I do get occasional bad reads and bogus temperature values, and as I said, the filesystem was getting updated even while server was stopped. Loren | Loren Amelang | lo...@pacific.net | On Wednesday, October 29, 2014 at 9:27 AM, owfs-developers-requ...@lists.sourceforge.net wrote: From: Roland Franke fl...@franke-prem.de Subject: Re: [Owfs-developers] Missing data To: Roland Franke fl...@franke-prem.de, OWFS \(One-wire file system\) discussion and help owfs-developers@lists.sourceforge.net Message-ID: 32224CCF5ADA40D38212CB7E0D3E7E8E@rolandAMD64 Content-Type: text/plain; charset=utf-8 Here is my configuration (As i now will be at home ) owfs.conf is: error_print = 3 error_level = 0 format = f.i cache_size = 0 Celsius foreground allow_root owfs: server = 127.0.0.1:4304 owfs: pid_file = /var/run/owfs.pid owfs: mountpoint = /mnt/1wire server: usb server: port = 127.0.0.1:4304 server: pid_file = /var/run/owsever.pid http: server = 127.0.0.1:4304 http: port = 8080 http: pid_file = /var/run/owhttpd.pid -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Missing data
Hello, Subject: [Owfs-developers] Missing data Hi, I'm using owfs with 19x DS18B20 temperature sensor with 2x DS9097 passive adapter. I have split my installation to two buses. Everything is running on my home NAS server (Core2Duo). I have problem with missing data. Sometimes data are not received. I have tried it running as owserver and read data with owread/owget, and running as fuse mount point and read data with cat commad. Result is same. To store values I use Zabbix. How will be the data read in by Zabbix. An similar problem is by collectd with the onewire plugin. My suggestion by both will be, that the cached data can be not read in the time, owfs will update them. Maybe the update there is not only an copy from the uncached data to the cached data at one time. There will be the similar way to read in the data like the uncached version and this will take longer time (By more sensors it will take an long time). Can this suggestion be right? Best regards, Roland Franke-- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode
Hello Paul, just immediatley made the test with the parameter –foreground. This works OK. Second test with starting owfs –forground –d /ev/ttyS0 –m /mnt/1wire and this works also without problems. Coming directly back to the running console. I think with that i can work directly on my system, while than the startup of OWFS can be made directly in the startup-script without stopping at this position. Best regards and thanks for that help, Roland From: Paul Alfille Sent: Sunday, January 22, 2012 4:18 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Start of OWFS-2.8P14 with FUSE-2.8.6 will only work in debug-mode Roland, Since your problem seems to be the addition or subtraction of the --debug parameter, I wonder if there is an issue with going into background with busybox. Can I suggest you try: owfs –-foreground –d /dev/ttyS0 –m /mnt/1wire That will separate out the error messages from the foregroung/background issue. All this being said, for owfs (not owserver of owhttpd) it is FUSE that does the foreground/background switch. Paul Alfille On Sat, Jan 21, 2012 at 2:56 PM, Roland Franke rol...@franke-prem.de wrote: Hy all, i am trying to get the OWFS-2.8P14 in combination with FUSE-2.8.6 on my software-router to run. On this router works a special linux with kernel 2.6.32.46 (Look at www.fli4l.de). I was be able to build OWFS (Only OWFS, no server and other components) and FUSE complete in a FBR for that system. I was able to install all on my router and i think it looks for 90% good. But on this router is NO user or group aviable. It works only with the root-account and Busybox (Actualy V1.17.2). The point of problem is now: If i start “owfs –-debug –d /dev/ttyS0 –m /mnt/1wire” (Or a other mount-point), i get access to the at the 1wire-bus connected sensors. (Second console or WinSCP, of MC at second console) But if i start “owfs –d /dev/ttyS0 –m /mnt/1wire”, the console comes back to the input and when i try to look inside the mounted directory, the input will leaks (Hang) and i can do at this console nothing more (Or at any other tool (WinSCP, MC or else. All leaks by the test for reading in that directory). The only way to get out there is, that i have stop fuse by writing something in the abort-file of it (With the start of fuse by “init.d/fuse” (By my system named so) there will be made a mount-point for fose at /sys/fs/fuse/connections. After that directory comes the number of system (In my case most times 14), where the files “abort” “congestion_threshold”, max_background” and “waiting” will be in. In the waiting the value counts up every-time when the connection to the OWFS/Fuse mount will be tryed to connect, but never counts down. When there is something written to the abort-file (echo 1 abort), the mount will be cleared. When i made “cat /proc/mounts” with the –debug in see there: fusectl /sys/fs/fuse/connections fusectl rw,realtime 0 0 OWFS /mnt/1wire fuse.OWFS rw,nosuid,nodev,realtime,user_id=0,group_id=0 0 0 Please let me know if you can try to help me or what can be done there. Best regards, Roland -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Owfs-developers mailing list Owfs-developers