Package: owserver Version: 3.1p5-1 Severity: important Tags: upstream Dear Maintainer,
There is a regression from jessie to stretch when using owserver with LinkUSB 1-Wire bus masters. The issue is resolved in the current upstream source. --Larry * What led up to the situation? owserver from Raspbian/jessie communicates properly with LinkUSB 1-Wire bus masters. After a fresh install of Raspbian/stretch on the same hardware, owserver no longer communicates properly with the LinkUSB 1-Wire bus master. owserver has been upgraded since jessie and the version included in stretch is broken with respect to LinkUSB devices. The current release of owfs from the upstream source addresses this issue and I have confirmed that it builds and works on my system. From the owfs 3.2p2 changelog: * fixed LINK-USB when not using libftdi Summary: Raspbian GNU/Linux 8 (jessie), owfs 2.9p8-6: works properly Raspbian GNU/Linux 9 (stretch), owfs 3.1p5-1: fails Raspbian GNU/Linux 9 (stretch), owfs 3.2p2: works properly * What exactly did you do (or not do) that was effective (or ineffective)? With a LinkUSB connected, owserver 3.1p5-1 exits immediately: root@pi-b:~# apt list --installed ow\* libow\* Listing... Done libow-3.1-5/stable,now 3.1p5-1 armhf [installed,automatic] ow-shell/stable,now 3.1p5-1 armhf [installed] owfs-common/stable,now 3.1p5-1 all [installed,automatic] owserver/stable,now 3.1p5-1 armhf [installed] root@pi-b:~# owserver --version owserver version: 3.1p5 libow version: 3.1p5 root@pi-b:~# owserver --link=/dev/ttyUSB0 -p 4304 --foreground --error_print=2 --error_level=1 CONNECT: ow_dnssd.c:(81) Zeroconf/Bonjour is disabled since dnssd library isn't found CONNECT: owlib.c:(216) Cannot open LINK bus master at /dev/ttyUSB0 DEFAULT: owlib.c:(52) No valid 1-wire buses found After building from upstream source (3.2p2), owserver connects and works properly: root@pi-b:~# /opt/owfs/bin/owserver --version /opt/owfs/bin/owserver version: 3.2p2 libow version: 3.2p2 root@pi-b:~# /opt/owfs/bin/owserver --link=/dev/ttyUSB0 -p 4304 --foreground --error_print=2 --error_level=1 CONNECT: ow_dnssd.c:(81) Zeroconf/Bonjour is disabled since dnssd library isn't found ^Croot@pi-b:~# echo $? 0 * An additional suggestion (since package work is required) is to build with FTDI support which provides higher performance access to FTDI devices. I used libftdi1-dev from stretch: root@pi-b:~# apt list --installed libftdi\* Listing... Done libftdi1-2/stable,now 1.3-2 armhf [installed,automatic] libftdi1-dev/stable,now 1.3-2 armhf [installed] libftdi1-doc/stable,now 1.3-2 all [installed,automatic] root@pi-b:~# lsusb | grep FT232 Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC root@pi-b:~# /opt/owfs/bin/owserver -d ftdi:d:001/004 -p 4304 --foreground --error_print=2 --error_level=1 CONNECT: ow_dnssd.c:(81) Zeroconf/Bonjour is disabled since dnssd library isn't found ^Croot@pi-b:~# echo $? 0 -- System Information: Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch Architecture: armv7l Kernel: Linux 4.14.52-v7+ (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages owserver depends on: ii libc6 2.24-11+deb9u3 ii libgcc1 1:6.3.0-18+rpi1+deb9u1 ii libow-3.1-5 3.1p5-1 ii lsb-base 9.20161125+rpi1 ii owfs-common 3.1p5-1 owserver recommends no packages. Versions of packages owserver suggests: ii avahi-daemon 0.6.32-2 -- no debconf information -- Larry Fahnoe, Fahnoe Technology Consulting, fah...@fahnoetech.com Minneapolis, Minnesota www.FahnoeTech.com