what model pi are you using? are you using a separate powered usb hub or one of the ports on the rpi?
On Tuesday, 28 April 2020 07:14:05 UTC+3, Praveen Chandrasekaran wrote: > > Attached output of lsusb. > > I dont see anything in lsof output probably because nothing is using it at > the moment (shouldnt weewx be using it continuously in rapidfire mode?) > > Also can I edit weewx to add lsob whenever the error occurs? > > On Tue, 28 Apr 2020 at 01:04, Tom Keffer <[email protected] <javascript:>> > wrote: > >> Things to try: >> >> 1. Ferrite coils might help, although you are getting a lot more errors >> than what is normally associated with EMI. >> >> 2, Another possibility is that something else is trying to claim >> /dev/ttyUSB0. For example, modemmanager has been known to do this. >> >> To see a list of processes using /dev/ttyUSB0. >> >> lsof | grep ttyUSB0 >> >> Unfortunately, this will only tell you if something is using it at the >> moment. >> >> 3. It's worth looking at the details of your USB connection: >> >> lsusb -v -d 0403:6015 >> >> >> >> >> On Mon, Apr 27, 2020 at 11:04 AM Praveen Chandrasekaran < >> [email protected] <javascript:>> wrote: >> >>> Attached syslog (all today's entries). The USB disconnect has happened >>> around 6 times today). No major issue as it recovers but just wondering >>> why. Need to buy a ferrite coil. >>> >>> On Mon, 27 Apr 2020 at 23:24, Praveen Chandrasekaran <[email protected] >>> <javascript:>> wrote: >>> >>>> Sorry, just ignore the part of serial/USB. I got confused with >>>> different data logger types available. Will attached detailed log in a few >>>> minutes. >>>> >>>> On Mon, 27 Apr 2020 at 22:07, Tom Keffer <[email protected] >>>> <javascript:>> wrote: >>>> >>>>> Don't know what you mean by "Mine is a serial port on Vue side." >>>>> >>>>> "usb issue must be on pi side." Not sure what you're asking here but, >>>>> yes, the USB plugs into the pi, and that's where the assignment to /dev >>>>> occurs. >>>>> >>>>> The very short screenshot you included doesn't offer many clues as to >>>>> the cause. >>>>> >>>>> The output from 'dmesg' may also give clues. >>>>> >>>>> Yes, ferrite coils tend to help. >>>>> >>>>> -tk >>>>> >>>>> >>>>> >>>>> On Mon, Apr 27, 2020 at 9:13 AM Praveen Chandrasekaran < >>>>> [email protected] <javascript:>> wrote: >>>>> >>>>>> Thanks. I already hav the udev which is why it auto recovers. Mine is >>>>>> a serial port on Vue side. So the usb issue must be on pi side I assume? >>>>>> Ferrite coil should solve the problem? >>>>>> >>>>>> On Mon, 27 Apr 2020, 21:26 Tom Keffer, <[email protected] >>>>>> <javascript:>> wrote: >>>>>> >>>>>>> See the section *Davis cp2101 converter problems >>>>>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#davis-cp2101-converter-problems>* >>>>>>> in >>>>>>> the Wiki. The following section, *Installing a udev script >>>>>>> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#installing-a-udev-script>* >>>>>>> shows >>>>>>> how to solve the problem. >>>>>>> >>>>>>> On Mon, Apr 27, 2020 at 8:24 AM Praveen Chandrasekaran < >>>>>>> [email protected] <javascript:>> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> Weewx log is reporting USB disconnects to Vantage Vue now and then >>>>>>>> (uploaded snippet, not able to copy from putty to windows) >>>>>>>> >>>>>>>> It recovers on its own everytime. Any idea why this is happening? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Praveen >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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] <javascript:>. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/weewx-user/41c861bd-6733-4112-b5ef-39289a61d34b%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/41c861bd-6733-4112-b5ef-39289a61d34b%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to a topic in >>>>>>> the Google Groups "weewx-user" group. >>>>>>> To unsubscribe from this topic, visit >>>>>>> https://groups.google.com/d/topic/weewx-user/5mAHXO5pLzU/unsubscribe >>>>>>> . >>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>> [email protected] <javascript:>. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEAQynSvy_ZThKbaT1DYPGgEahZxUqnCxXLAHCJ0CSMfZg%40mail.gmail.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAQynSvy_ZThKbaT1DYPGgEahZxUqnCxXLAHCJ0CSMfZg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >>>>>> 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] <javascript:>. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/CA%2BW%3DTmVDkFC8VkfHobSZPy9LaMFKtToXiarz45btx9NiE3TUbw%40mail.gmail.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/CA%2BW%3DTmVDkFC8VkfHobSZPy9LaMFKtToXiarz45btx9NiE3TUbw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "weewx-user" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/weewx-user/5mAHXO5pLzU/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected] <javascript:>. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEC3Za9Wd5HGZneBYh%3DVEgcMbcyjMQMg12h%3D0wSpEqLong%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEC3Za9Wd5HGZneBYh%3DVEgcMbcyjMQMg12h%3D0wSpEqLong%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> 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] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/CA%2BW%3DTmXCbUw9-d4Qo5gf3FYET%2BeE%3D1_NMg5ZffVNtAhFLhfQAA%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/CA%2BW%3DTmXCbUw9-d4Qo5gf3FYET%2BeE%3D1_NMg5ZffVNtAhFLhfQAA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/5mAHXO5pLzU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/CAPq0zEB2RYkQzROwf%3Dh%3Do9PP1SK5QzCijC5_3VM5q05bzJ6Oqg%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEB2RYkQzROwf%3Dh%3Do9PP1SK5QzCijC5_3VM5q05bzJ6Oqg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/36e56d3c-dc14-43c5-a7c8-3a6bff731d18%40googlegroups.com.
