MacSailing.net
MacENC loses serial port after computer sleeps? - Printable Version

+- MacSailing.net (https://macsailing.net/mybb)
+-- Forum: MacSailing.net (https://macsailing.net/mybb/forum-3.html)
+--- Forum: MacENC & GPSNavX (https://macsailing.net/mybb/forum-5.html)
+--- Thread: MacENC loses serial port after computer sleeps? (/thread-2092.html)



- toddster - September 28, 2012

I recently installed MacENC and it initially seems to work fine with my MacBook running OS 10.7.4 and EM Trak B100 as a source of GPS and AIS data. However, if the laptop goes into "sleep" mode, it does not reconnect to the serial port. In addition, other applications that use the serial port can no longer connect. I've only been able to reconnect after various combinations of re-booting the laptop and the EM Trak. I've only observed this when using MacENC.

One thing that I've noticed is that the serial port is listed as "modem virtual serial portxxx" where "xxx" is a number (port number?) that changes each time a device is connected. (The exact name might be slightly different... don't have it here to look at.) Under network preferences, there are two iterations of "STM32 virtual COM Port" listed. with a modem symbol. I am wondering if some other application (e.g. Parallels) installed these and if they are mucking things up. Or are they supposed to be there? The phrase "virtual com port" doesn't seem to bring up any information in Apples support documentation.

My next step would be to dry deleting those and see if anything changes. I won't get back to the boat for a few days, so I thought I'd throw it out for any advice here.


- GPSNavX - September 28, 2012

Try selecting "Connect At Startup" for the GPS and AIS in the MacENC Preferences. I believe that should cause MacENC to re-attempt to the serial ports upon the Mac awakening.