[Ovmsdev] OVMS v3 getting started
Edward Cheeseman
cheesemanedward at gmail.com
Mon Sep 25 17:06:30 HKT 2017
> On 25/09/2017, at 7:42 PM, Mark Webb-Johnson <mark at webb-johnson.net> wrote:
> The Silicon Labs driver for OSX seems pretty flaky. Linux seems much better, and I haven’t tried Windows. On OSX, I had horrendous problems with the v5 drivers crashing my whole machine (Sierra 10.12). In the installation package, there is a “Legacy MacVCP Driver” directory containing the older 4.11.2 version - using that older version at least works without crashes, but has one known issue. If you ‘make monitor’ and are in the console to the board, then unplug the board, you get left with a /dev.tty.SLAB* device hanging around that messes up that one USB port and future ‘make monitor’ connections. Workaround is to power off the USB hub, and then everything cleans out nicely. If you are directly connected to your MAC’s USB port, then you seem to need to reboot the whole machine to fix the issue. Getting used to being careful to disconnect from the terminal before unplugging (or simply not unplugging - which was happening a lot when I was working on power optimisation, sleep modes, and external 12V power).
I have had similar problems with USB-UART converters (didn’t look at the exact chipsets - maybe FTDI?) when unplugging during a minicom connection. The USB port was then useless until I rebooted.
Maybe that is an OSX issue with tty rather than a Silicon Labs specific? Oh, my geriatric machine is stuck with El Capitan 10.11, but the problem likely occurred on previous versions too.
The USB hub trick looks to be a good way around that. Semi looking to replace the laptop and USB-C seems to be the only Mac way forward so a USB hub is likely mandatory.
…. Just looked at my USB-UART converter - it is FTDI. Oddly enough, so is my 3D printer, yet I’ve never run into the problem with it (Reprap using OSX Repetier). Maybe it is OSX terminal related?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20170925/b5034911/attachment.htm>
More information about the OvmsDev
mailing list