I'll have a look at that, thanks.  I was hoping that from the VM's 
perspective, the data could arrive there as serial data from the host since 
the Davis WeatherLink software seems perfectly happy to run in "Serial" 
mode on COM3 at 19200.  My impression was that the USB-to-Serial device 
could function as a standard serial port (assuming the driver was doing its 
job).  In other words, if it's working properly on the host, host 
applications as well as the VM should theoretically be okay looking for it 
as a serial device.

And actually, if I tail more lines from syslog, I do see some hints that it 
may be communicating after all, but then failing a few seconds afterwards?

Jan  8 11:49:23 MYSERVER weewx[1099]: engine: Starting up weewx version 
3.6.2
Jan  8 11:49:23 MYSERVER weewx[1099]: vantage: gentle wake up of console 
successful
Jan  8 11:49:23 MYSERVER weewx[1099]: engine: Clock error is 1.40 seconds 
(positive is fast)
Jan  8 11:49:23 MYSERVER weewx[1099]: vantage: Getting all archive packets
Jan  8 11:49:23 MYSERVER weewx[1099]: vantage: *gentle wake up of console 
successful*
Jan  8 11:49:23 MYSERVER weewx[1099]: vantage: *Retrieving 8 page(s); 
starting index= 0*
Jan  8 11:49:23 MYSERVER kernel: [   18.216002] init: 
plymouth-upstart-bridge main process ended, respawning
Jan  8 11:49:27 MYSERVER weewx[1099]: vantage: get_data_with_crc16; try #1 
failed
Jan  8 11:49:27 MYSERVER weewx[1099]: vantage: get_data_with_crc16 time out
Jan  8 11:49:27 MYSERVER weewx[1099]: vantage: DMPAFT try #1; error: Time 
out in get_data_with_crc16
Jan  8 11:49:27 MYSERVER weewx[1099]: vantage: Getting all archive packets
Jan  8 11:49:29 MYSERVER ntpdate[622]: step time server 91.189.91.157 
offset 0.439771 sec
Jan  8 11:49:32 MYSERVER weewx[1099]: vantage: retry  #0 failed
Jan  8 11:49:32 MYSERVER weewx[1099]: vantage: gentle wake up of console 
successful
Jan  8 11:49:32 MYSERVER weewx[1099]: vantage: Retrieving 8 page(s); 
starting index= 0
Jan  8 11:49:36 MYSERVER weewx[1099]: vantage: get_data_with_crc16; try #1 
failed
Jan  8 11:49:36 MYSERVER weewx[1099]: vantage: get_data_with_crc16 time out
Jan  8 11:49:36 MYSERVER weewx[1099]: vantage: DMPAFT try #2; error: Time 
out in get_data_with_crc16
Jan  8 11:49:36 MYSERVER weewx[1099]: vantage: Getting all archive packets
Jan  8 11:49:40 MYSERVER weewx[1099]: vantage: retry  #0 failed
Jan  8 11:49:40 MYSERVER weewx[1099]: vantage: gentle wake up of console 
successful
Jan  8 11:49:40 MYSERVER weewx[1099]: vantage: Retrieving 8 page(s); 
starting index= 0
Jan  8 11:49:44 MYSERVER weewx[1099]: vantage: get_data_with_crc16; try #1 
failed
Jan  8 11:49:44 MYSERVER weewx[1099]: vantage: get_data_with_crc16 time out
Jan  8 11:49:44 MYSERVER weewx[1099]: vantage: DMPAFT try #3; error: Time 
out in get_data_with_crc16
Jan  8 11:49:44 MYSERVER weewx[1099]: vantage: Getting all archive packets
Jan  8 11:49:45 MYSERVER ntpdate[1280]: adjust time server 91.189.91.157 
offset -0.007012 sec
Jan  8 11:49:48 MYSERVER weewx[1099]: vantage: retry  #0 failed
Jan  8 11:49:52 MYSERVER weewx[1099]: vantage: retry  #1 failed
Jan  8 11:49:56 MYSERVER weewx[1099]: vantage: retry  #2 failed
Jan  8 11:50:00 MYSERVER weewx[1099]: vantage: retry  #3 failed
Jan  8 11:50:00 MYSERVER weewx[1099]: vantage: Unable to wake up console
Jan  8 11:50:00 MYSERVER weewx[1099]: vantage: DMPAFT try #4; error: Unable 
to wake up Vantage console
Jan  8 11:50:00 MYSERVER weewx[1099]: vantage: DMPAFT max tries (4) 
exceeded.
Jan  8 11:50:00 MYSERVER weewx[1099]: engine: Main loop exiting. Shutting 
engine down.
Jan  8 11:50:00 MYSERVER weewx[1099]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting archive data.
Jan  8 11:50:00 MYSERVER weewx[1099]:     ****  Waiting 60 seconds then 
retrying...
Jan  8 11:51:00 MYSERVER weewx[1099]: engine: retrying...
Jan  8 11:51:00 MYSERVER weewx[1099]: engine: Using configuration file 
/etc/weewx/weewx.conf
Jan  8 11:51:00 MYSERVER weewx[1099]: engine: Initializing engine
Jan  8 11:51:00 MYSERVER weewx[1099]: engine: Loading station type Vantage 
(weewx.drivers.vantage)
Jan  8 11:51:00 MYSERVER weewx[1099]: vantage: driver version is 3.0.9
Jan  8 11:51:00 MYSERVER weewx[1099]: vantage: Opened up serial port 
/dev/ttyS2; baud 19200; timeout 4.00
Jan  8 11:51:04 MYSERVER weewx[1099]: vantage: retry  #0 failed
Jan  8 11:51:08 MYSERVER weewx[1099]: vantage: retry  #1 failed
Jan  8 11:51:12 MYSERVER weewx[1099]: vantage: retry  #2 failed
Jan  8 11:51:16 MYSERVER weewx[1099]: vantage: retry  #3 failed
Jan  8 11:51:16 MYSERVER weewx[1099]: vantage: Unable to wake up console
Jan  8 11:51:16 MYSERVER weewx[1099]: import of driver failed: Unable to 
wake up Vantage console (<class 'weewx.WakeupError'>)
Jan  8 11:51:16 MYSERVER weewx[1099]: engine: Unable to load driver: Unable 
to wake up Vantage console
Jan  8 11:51:16 MYSERVER weewx[1099]:     ****  Exiting...


On Sunday, January 8, 2017 at 12:01:29 PM UTC-5, mwall wrote:
>
> jared,
>
> before you start the virtual box guest, go to the settings for that guest.
>
> in the 'ports' section you'll see a usb option.  add the device.  save the 
> settings.
>
> when you start the guest, the device should show up for the guest, and the 
> miniterm and screen tests should work.
>
> normally when you start a guest vm, the host owns all of the usb devices, 
> so the guest cannot see or use them.  sometimes you can change ownership of 
> a device from host to guest simply by right-clicking on the usb device icon 
> in the bottom right of the window that contains the guest.  usb-to-serial 
> devices are easier to change on the fly than usb hid, especially when the 
> host is macos.
>
> m
>

-- 
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.

Reply via email to