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 Kandziora <j...@gmx.de>
Subject: Re: [Owfs-developers] Having problem reading ds1490F Fob
To: "OWFS (One-wire file system) discussion and help"
<owfs-developers@lists.sourceforge.net>
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 %MEM TIME+ COMMAND
40 root 20 0 0 0 0 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 0 0 0 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 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.14 ksoftirqd/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
6 root 20 0 0 0 0 S 0.0 0.0 0:02.09 kworker/u2:0
7 root 20 0 0 0 0 S 0.0 0.0 0:00.22 rcu_preempt
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
12 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bioset
15 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 crypto
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
17 root 20 0 0 0 0 S 0.0 0.0 0:00.29 khubd
18 root 20 0 0 0 0 S 0.0 0.0 0:00.27 kworker/0:1
19 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 rpciod
20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd
21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
22 root 20 0 0 0 0 S 0.0 0.0 0:00.00 fsnotify_mark
23 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 nfsiod
29 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kthrotld
30 root 1 -19 0 0 0 S 0.0 0.0 0:00.00 VCHIQ-0
31 root 1 -19 0 0 0 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 31 11:17 .
drwxr-xr-x 6 root root 4096 Oct 31 11:16 ..
-rwxr-xr-x 1 root root 59397 Oct 31 11:16 owdir
-rwxr-xr-x 1 root root 59061 Oct 31 11:16 owexist
-rwxr-xr-x 1 root root 152108 Oct 31 11:17 owexternal
-rwxr-xr-x 1 root root 56562 Oct 31 11:17 owfs
-rwxr-xr-x 1 root root 186897 Oct 31 11:17 owftpd
-rwxr-xr-x 1 root root 59465 Oct 31 11:16 owget
-rwxr-xr-x 1 root root 123792 Oct 31 11:17 owhttpd
-rwxr-xr-x 1 root root 28033 Oct 31 11:17 owmon
-rwxr-xr-x 1 root root 58981 Oct 31 11:16 owpresent
-rwxr-xr-x 1 root root 59026 Oct 31 11:16 owread
-rwxr-xr-x 1 root root 152108 Oct 31 11:17 owserver
-rwxr-xr-x 1 root root 49134 Oct 31 11:17 owtap
-rwxr-xr-x 1 root root 62350 Oct 31 11:16 owwrite
looks like it should be running but its not there!
oh and owhttpd is working as I can point my browser to it and I get output!
Thanks David
(or /etc/owfs.conf or whereever your config file resides)
Why? Because your config file says: "owfs, use owserver! owserver, use
USB!" That's a sensible setting because owserver is taking care multiple
daemons may access the onewire concurrently.
it just returns a prompt no output.
That's okay because it daemonizes itself when you don't specify
--foreground or --debug.
$ ls /mnt/1wire
bus.0 bus.1 settings statistics structure system uncached
but no devices?
Look at /mnt/1wire/uncached. Listing that one triggers a device search
on all buses.
owget /unchached returns
owget: command not found
Owget usually is installed at /opt/owfs/bin/. If you are using a
distribution package, you have to check whether it was built at all.
It's a useful tool for debugging, as it only needs owserver, not owfs,
not FUSE, no permissions, nothing.
owserver doesnt show when I look at top!
That's especially bad as you configured all the other daemons to use it.
Kind regards
Jan
--------------------------------------------------------------------------------
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
--------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers