No expert here but this may be something to do with the mtp-probe. If I plug my usb dongle into a systemd Pi I get...
Dec 12 09:12:21 weewx-public kernel: [2549795.987157] usb 1-1.4: new full-speed USB device number 4 using dwc_otg Dec 12 09:12:21 weewx-public kernel: [2549796.120625] usb 1-1.4: New USB device found, idVendor=04fa, idProduct=2490 Dec 12 09:12:21 weewx-public kernel: [2549796.120638] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Dec 12 09:12:22 weewx-public kernel: [2549797.184470] Driver for 1-wire Dallas network protocol. Dec 12 09:12:22 weewx-public kernel: [2549797.194526] usbcore: registered new interface driver DS9490R I'm assuming you don't get those last 2, encouraging, lines? Instead you show the mpt-probe lines and plugging 'mtp-probe' into google returns a few hits that suggests it may be getting in the way. Do you need libmtp? """ libmtp is a library for communicating with MTP aware devices in POSIX compliant operating systems. It implements MTP Basic, the subset proposed for standardization. The Media Transfer Protocol (commonly referred to as MTP) is a devised set of custom extensions to support the transfer of music files on USB digital audio players and movie files on USB portable media players. This package provides the udev rules file and the FreeDesktop.org Device Information Files file (used by HAL). """ The quickest test would be to disable /remove it. Continuing with my quick test here, (Debian 8 Jessie - no libmtp installed) ... I'm not running the owfs.py driver on this machine so I have no udev rule. I've just done a brand new install of owfs.py. If I then query the 1-wire I get a result. 09:27:57 : read only:root@weewx-public:/usr/share/weewx/user # PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/owfs.py --readings B2352D000000 _usePath: /81.B2352D000000 _type: DS1420 _path: /81.B2352D000000 _useCache: True /81.B2352D000000/family: 81 /81.B2352D000000/locator: FFFFFFFFFFFFFFFF /81.B2352D000000/type: DS1420 /81.B2352D000000/crc8: 78 /81.B2352D000000/r_id: 0000002D35B2 /81.B2352D000000/address: 81B2352D00000078 /81.B2352D000000/r_address: 780000002D35B281 /81.B2352D000000/r_locator: FFFFFFFFFFFFFFFF /81.B2352D000000/id: B2352D000000 Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie On 12 December 2017 at 02:19, Howard Walter <hwalt...@gmail.com> 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 weewx-user+unsubscr...@googlegroups.com. > 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.