Sudden inability to talk to Vantage VUE

68 views
Skip to first unread message

Derek Fountain

unread,
Oct 10, 2015, 12:51:46 PM10/10/15
to weewx-user
I've had my Vantage Vue set up and running with my Ubuntu machine for about 3 years. It has been running Weewx 2.2.1 all that time.

I recently noticed that the weather station had stopped talking to the machine. The logs show that it was fine until the 29th September, but since then it's been spewing connection errors into the log:

vantage: SerialException.
****  device reports readiness to read but returned no data (device disconnected?)
****  Is there a competing process running??

Nothing in particular happened on 29th September. I might have done an update on the Ubuntu machine, but nothing major.

The USB connection still seems OK. I can run minicom and do the "TEST" command/response test. I can do a "DMP" and see some binary data come back in response. The device seems happy enough, but Weewx won't talk to it. There aren't any competing processes I can see. I tried installing Weewx onto my laptop and that does the same thing (both main PC and laptop are running Trusty).

I updated Weewx to the Ubuntu 3.2.1 package and tried again. No difference.

Any ideas, anyone? Plugging the USB connector into the main PC and running "sudo /usr/bin/weewxd /etc/weewx/weewx.conf" yields this:

Oct 10 17:17:27 donkey kernel: [35743.060119] usb 3-4: new full-speed USB device number 8 using xhci_hcd
Oct 10 17:17:27 donkey kernel: [35743.077751] usb 3-4: New USB device found, idVendor=10c4, idProduct=ea61
Oct 10 17:17:27 donkey kernel: [35743.077756] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 10 17:17:27 donkey kernel: [35743.077759] usb 3-4: Product: CP2102 USB to UART Bridge Controller
Oct 10 17:17:27 donkey kernel: [35743.077761] usb 3-4: Manufacturer: Silicon Labs
Oct 10 17:17:27 donkey kernel: [35743.077763] usb 3-4: SerialNumber: 1358319210
Oct 10 17:17:27 donkey kernel: [35743.078587] cp210x 3-4:1.0: cp210x converter detected
Oct 10 17:17:27 donkey kernel: [35743.244187] usb 3-4: reset full-speed USB device number 8 using xhci_hcd
Oct 10 17:17:27 donkey kernel: [35743.260735] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8806e50bd3c0
Oct 10 17:17:27 donkey kernel: [35743.260740] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8806e50bd380
Oct 10 17:17:27 donkey kernel: [35743.261089] usb 3-4: cp210x converter now attached to ttyUSB0
Oct 10 17:17:27 donkey mtp-probe: checking bus 3, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4"
Oct 10 17:17:27 donkey mtp-probe: bus: 3, device: 8 was not an MTP device

Oct 10 17:17:36 donkey weewx[12942]: engine: Initializing weewx version 3.2.1
Oct 10 17:17:36 donkey weewx[12942]: engine: Using Python 2.7.6 (default, Jun 22 2015, 17:58:13) #012[GCC 4.8.2]
Oct 10 17:17:36 donkey weewx[12942]: engine: Platform Linux-3.13.0-65-generic-x86_64-with-Ubuntu-14.04-trusty
Oct 10 17:17:36 donkey weewx[12942]: engine: Using configuration file /etc/weewx/weewx.conf
Oct 10 17:17:36 donkey weewx[12942]: engine: Initializing engine
Oct 10 17:17:36 donkey weewx[12942]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 10 17:17:36 donkey weewx[12942]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 5.00
Oct 10 17:17:36 donkey weewx[12942]: vantage: SerialException.
Oct 10 17:17:36 donkey weewx[12942]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 10 17:17:36 donkey weewx[12942]:    ****  Is there a competing process running??
Oct 10 17:17:37 donkey weewx[12942]: vantage: SerialException.
Oct 10 17:17:37 donkey weewx[12942]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 10 17:17:37 donkey weewx[12942]:    ****  Is there a competing process running??
Oct 10 17:17:37 donkey weewx[12942]: vantage: SerialException.
Oct 10 17:17:37 donkey weewx[12942]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 10 17:17:37 donkey weewx[12942]:    ****  Is there a competing process running??
Oct 10 17:17:38 donkey weewx[12942]: vantage: SerialException.
Oct 10 17:17:38 donkey weewx[12942]:    ****  device reports readiness to read but returned no data (device disconnected?)
Oct 10 17:17:38 donkey weewx[12942]:    ****  Is there a competing process running??
Oct 10 17:17:38 donkey weewx[12942]: vantage: Unable to wake up console
Oct 10 17:17:38 donkey weewx[12942]: engine: Unable to load driver: Unable to wake up Vantage console
Oct 10 17:17:38 donkey weewx[12942]:     ****  Exiting...

Thomas Keffer

unread,
Oct 10, 2015, 1:05:03 PM10/10/15
to weewx-user
It's possible you're a victim of the recent Ubuntu kernel "upgrade." See this thread.

Check what kernel version you are using (using "uname -a") and see if it's 3.13.0-65. If so, downgrade to the last version you have.

-tk

--
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike DW5071

unread,
Oct 10, 2015, 1:35:33 PM10/10/15
to weewx-user
I was just post this exact thing. You beat me by 40 minutes while I drafted mine. I deleted it after I saw yours -- thanks!

Derek Fountain

unread,
Oct 10, 2015, 2:51:55 PM10/10/15
to weewx-user
Heh, full marks that man. That's the kernel I've got. Odd, I did plenty of searching and never came across the thread you linked to.

I upgraded my laptop and Weewx now works on that. Since I'd prefer my main machine to stay on LTS I think I'll wait for a kernel fix.

Thanks! :)

Thomas Keffer

unread,
Oct 10, 2015, 2:54:45 PM10/10/15
to weewx-user
That's what I decided to do as well (while using the older kernel).

Generally, I've found 14.04LTS to be extremely stable.

-tk
Reply all
Reply to author
Forward
0 new messages