I'm having trouble with getting the Indi_vantage_weather driver connected with the Davis Console. I am using the USB Data Logger connector, which is plugged into a USB port on my observatory controller (Raspberry Pi running Ubuntu 20.04 LTS).
I'm attaching a screenshot that shows the error. I have tried the default port "/dev/vantage", as well as scanning the ports. Seems like the Pi is recognizing the USB device, but it keeps saying it is already being used by another device/driver.
I'm having a suspicion that it has to do with persistent port mapping, but I not very great with Ubuntu yet. Anyone have an idea what to check?
Yes, when I list /dev/vantage the symlink points to /dev/ttyUSB0. I have also confirmed that the udev symlink details for 99-vantage.rules are correct and match the device.
But I can't get a connection in the indi_vantage_weather driver using port /dev/ttyUSB0, /dev/vantage, or /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-porto (which is what shows up when I use the auto port scan option in the driver). Is it possible that the /dev/serial/by-id is interfering with the /dev/vantage symlink? Or what else could be causing the error that the port "is already used by another driver or process. "?
The " Do Not Use FTDI and Profilic Serial-USB Drivers in the Same Setup" topic (#76705) may provide you with useful information into solving your problem if you have more that 1 /dev/ttyUSB device as there are potential conflicts between FTDI and Prolific serial USB devices. I had such a conflict between my focuser and a non-existent vantage device and removing the /lib/udev/rules.d/99-vantage.rules solved my problem.
I commented it out and rebooted - success! Now I just need to figure out how to hook multiple weather stations into Ekos so that the observatory shuts down before everything gets wet...