On 12 December 2017 at 11:05, Howard Walter <[email protected]> wrote: > > > Miguel, > Hopefully a solution to my issue will also solve your problem. > > Glenn and Vince, > Thanks for your suggestions. Several libmtp files were installed (by > default I assume); first removed libmtp-runtime and then libmtp-common. > Rebooted. As Glenn suspected, the mtp-probe messages disappear but > unfortunately no 1-wire messages appear and the simple test program above > still fails.
Leaving aside the test program. If you unplug the usb dongle and replug it in, do you get the full output stating that it's succesfully registered with the kernel, either dmesg or syslog. A check here shows that I only get the full message when I first plug it in, [...] Driver for 1-wire Dallas network protocol. [...] usbcore: registered new interface driver DS9490R subsequent inserts skip those messages. It would be nice to know if yours returned it at least once. What does the command usb-devices have to say about it? Also, I know little of udev rules but try removing that from the mix. There's a possibility that it's changed between OS versions and as I indicated with my successful run, I have no such entry and it worked using mwalls owfs.py to query it. > Vince's note made me think of owfs which I have never needed to install in > order to run a 1-wire weewx system on Debian Wheezy. However, I tried > installing it and got the same syslog messages with the test program not > working. Ah, you're running the full fledged OWFS software, not the owfs.py of mwall fame? That possibly changes things. If you've now installed mwalls owfs, with wee_extension, and have the python-ow package installed , then shutdown the OWFS server/s (they can't co-exist with weewx, only one process / bus query at a time), disconnect then reconnect the dongle and enter... PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/owfs.py --readings That will hopefully return a result. Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie -- 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.
