Problem to detect Davis Vantage Pro2 with FTDI Usb Serial adapter on Ubuntu 20.04 LTS

70 views
Skip to first unread message

Christophe Conduché

unread,
May 11, 2021, 10:05:10 AM5/11/21
to weewx-user
Hello !

I'm not able to detect my Davis VantagePro2 station with an USBSerial adapter on a fresh install of weewx on a Ubuntu 20.04 LTS laptop

I was previously using weatherview on a direct serial connection on an old pc that died.



uname -a
Linux sq6-laptop-cc 5.4.0-73-lowlatency #82-Ubuntu SMP PREEMPT Wed Apr 14 19:19:50 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux



tail -f /var/log/syslog : 

May 11 15:52:20 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Driver version is 3.2.2
May 11 15:52:20 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Option loop_request=1
May 11 15:52:20 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
May 11 15:52:24 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Retry #0 failed
May 11 15:52:30 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Retry #1 failed
May 11 15:52:35 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Retry #2 failed
May 11 15:52:40 sq6-laptop-cc wee_device[77294] DEBUG weewx.drivers.vantage: Retry #3 failed
May 11 15:52:41 sq6-laptop-cc wee_device[77294] ERROR weewx.drivers.vantage: Unable to wake up console
May 11 15:53:18 sq6-laptop-cc kernel: [87632.062716] usb 4-2: USB disconnect, device number 7
May 11 15:53:18 sq6-laptop-cc kernel: [87632.066129] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
May 11 15:53:18 sq6-laptop-cc kernel: [87632.066190] ftdi_sio 4-2:1.0: device disconnected
May 11 15:53:20 sq6-laptop-cc kernel: [87633.784861] usb 4-2: new full-speed USB device number 8 using uhci_hcd
May 11 15:53:20 sq6-laptop-cc kernel: [87633.982198] usb 4-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
May 11 15:53:20 sq6-laptop-cc kernel: [87633.982206] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 11 15:53:20 sq6-laptop-cc kernel: [87633.982212] usb 4-2: Product: USB Serial Converter
May 11 15:53:20 sq6-laptop-cc kernel: [87633.982217] usb 4-2: Manufacturer: FTDI
May 11 15:53:20 sq6-laptop-cc kernel: [87633.982221] usb 4-2: SerialNumber: FTAKR6EH
May 11 15:53:20 sq6-laptop-cc kernel: [87633.990052] ftdi_sio 4-2:1.0: FTDI USB Serial Device converter detected
May 11 15:53:20 sq6-laptop-cc kernel: [87633.990130] usb 4-2: Detected FT232RL
May 11 15:53:20 sq6-laptop-cc kernel: [87633.993117] usb 4-2: FTDI USB Serial Device converter now attached to ttyUSB0
May 11 15:53:21 sq6-laptop-cc snapd[1220]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
May 11 15:53:24 sq6-laptop-cc ModemManager[1353]: <info>  Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2': not supported by any plugin



The FTDI USB Serial adaptor is well recognized and working but the Davis Vantage station no.

Is there any additional driver that I need to install ?

weewx has been installed from the ubuntu weewx repository today (debian package thru apt-get install).

Any help would be appreciated !
I feel like I'm just missing one link somewhere to say taht the station is known. I nowhere had to declare it in the list of known devices / driver to use.

Is there a configuration step I missed in the documentation ?






vince

unread,
May 11, 2021, 10:18:27 AM5/11/21
to weewx-user
I think there are some old threads saying you need to disable ModemManager on ubuntu.  You might want to search the group archives or alternately disable ModemManager and see if magic happens...
 

Christophe Conduché

unread,
May 11, 2021, 11:25:21 AM5/11/21
to weewx-user
Hello !

I tried to add an udev rule to have a specific alias /dev/davis but without success....

Then the illumination.... I checked the baudrate that I was using a long time ago ..... It is 9600, not 19200....

With 9600 bauds in weewx.conf  it works like a charm !!

I'm discovering now the features of weewx.
I'll come back to say if it works or if I have other issues ;-)

Soon my data available at https://meteo.domaine-du-mas-de-laure.fr ;-)

Christophe Conduché

unread,
May 11, 2021, 12:15:45 PM5/11/21
to weewx-user

It works like a charm !
I check a few things like registration and so on and I'm operational ;-)
Reply all
Reply to author
Forward
0 new messages