Dear Howard,

Thank your your post. May I rise your attention to my post dated Dec 4
titled
[weewx-user] --reading failure in weewx_3.8.0-1 and weewx-owfs-0.21
Raspberry Pi & DS18B20

It may not provide a solution but it certainly shows that there is an issue
here as I ran my tests with the same settings as you:

Raspberry Pi 1 Model B running Raspbian Minimal (Stretch)
2017-09-07-raspbian-stretch-lite.img
sudo dpkg -i weewx_3.8.0-1_all.deb
wget
http://lancet.mit.edu/mwall/projects/weather/releases/weewx-owfs-0.21.tgz

That is:
weewx 3.8.1
weewx-owfs 0.21

Let's see & hope this question gains some more attention now.

Regards,



On Mon, Dec 11, 2017 at 4:19 PM, Howard Walter <[email protected]> wrote:

> I recently decided to upgrade my RPi running weewx 3.5 on the Debian 8
> Wheezy based Raspbian to weewx 3.8 running on the new Debian 9 Stretch
> Raspbian.
>
> When the 1-wire adapter is plugged into the usb socket, syslog shows
> Dec  7 17:33:27 wx kernel: [436943.136563] usb 1-1.5: new full-speed USB
> device number 107 using dwc_otg
> Dec  7 17:33:27 wx kernel: [436943.270174] usb 1-1.5: New USB device
> found, idVendor=04fa, idProduct=2490
> Dec  7 17:33:27 wx kernel: [436943.270189] usb 1-1.5: New USB device
> strings: Mfr=0, Product=0, SerialNumber=0
> Dec  7 17:33:27 wx mtp-probe: checking bus 1, device 107:
> "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5"
> Dec  7 17:33:27 wx mtp-probe: bus: 1, device: 107 was not an MTP device
>
> Using weewx-owfs-0.21, weewx loads the owfs config and promptly exits.
> Syslog shows
> Dec  7 17:35:26 wx OWFS[23185]: DEFAULT: owlib.c:(208) Cannot open USB bus
> master
> Dec  7 17:35:26 wx OWFS[23185]: DEFAULT: owlib.c:(52) No valid 1-wire
> buses found
> Dec  7 17:35:26 wx OWFS[23185]: import of driver failed:  (<class
> 'ow.exNoController'>)
> Dec  7 17:35:26 wx OWFS[23185]: engine: Unable to load driver:
> Dec  7 17:35:26 wx OWFS[23185]:     ****  Exiting...
>
> I'm using the same entry in /etc/udev/rules.d/98-owfs.rules that worked
> before:
> ATTRS{idVendor}=="04fa", ATTRS{idProduct}=="2490", SUBSYSTEMS=="usb",
> ACTION=="add", MODE="0666", GROUP="pi"
>
>  /dev/bus/usb/001/ shows a usb port which is pi group readable and
> writable:
>  # ls -l
> total 0
> crw-rw-rw- 1 root pi   189, 106 Dec  7 17:33 107
>
> In an attempt to test permissions, running the following simple program as
> root:
>     #!/usr/bin/python
>     import ow
>     ow.init('u')
>
> Dec  11 07:05:46 wx OWFS[30742]: DEFAULT: owlib.c:(208) Cannot open USB
> bus master
> Dec  11 07:05:46 wx OWFS[30742]: DEFAULT: owlib.c:(52) No valid 1-wire
> buses found
>
> Thanks for your help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to