Hi,

I'm running owserver on a Raspberry Pi and using owfs as a client locally
to read data from the 1-wire bus. To run owserver I'm using the command:

owserver --configuration /opt/owfs/etc/owfs.conf

and for owfs:

owfs --mountpoint=/mnt/owfs --configuration /opt/owfs/etc/owfs.conf

where owfs.conf contains:

server: usb = all
server: port = 4304
owfs: allow_other
owfs: server = 127.0.0.1:4304
server: pid_file = /run/owserver.pid
owfs: pid_file = /run/owfs.pid

However, when I try to read any data from the 1-wire bus I get an error.

# pwd
/mnt/owfs/EF.BE6620150000
# ls -l
total 0
-r--r--r-- 1 root root   16 Oct 31 11:45 address
-rw-rw-rw- 1 root root  256 Oct 31 11:45 alias
-r--r--r-- 1 root root    2 Oct 31 11:45 crc8
-r--r--r-- 1 root root    2 Oct 31 11:45 family
drwxrwxrwx 1 root root 4096 Oct 31 12:35 hub
-r--r--r-- 1 root root   12 Oct 31 11:45 id
-r--r--r-- 1 root root   16 Oct 31 11:45 locator
-r--r--r-- 1 root root   16 Oct 31 11:45 r_address
-r--r--r-- 1 root root   12 Oct 31 11:45 r_id
-r--r--r-- 1 root root   16 Oct 31 11:45 r_locator
-r--r--r-- 1 root root   32 Oct 31 11:45 type
-r--r--r-- 1 root root   12 Oct 31 12:35 type_number
-r--r--r-- 1 root root    7 Oct 31 12:35 version
# cat type_number
cat: type_number: Message too long
# cat version
cat: version: Message too long

If I use owfs to connect directly to the 1-wire bus I do not get the error
and every thing works fine.
Similarly, if I connect to the owserver on the Raspberry Pi from a remote
linux host using owfs I do not get the error.
If I run the owserver on a linux host and connect remotely to the server
using owfs from the Raspberry Pi, the error remains. I'm pretty sure this
problem is related to owfs program on the Raspberry Pi.

Has anyone else seen this problem or know what the issue could be?

Thanks
David
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to