Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Opened port immediately disconnects with an ENXIO error on OS X #886
Summary of Problem
When a port is opened, it disconnects almost immediately with an ENXIO error.
A port can be opened and stay open, without it immediately disconnecting with an error.
I'm able to detect and open a port. However, it disconnects very shortly after it's opened (~100-400ms) with the following error:
Steps and Code to Reproduce the Issue
Thank you for the reply! I didn't know about OS X limiting current draw!
I ended up trying several different configurations for powering the controller and servos, including an externally powered USB hub. Unfortunately, I kept running into the same issue.
After some more research, I found out that Polulu released a firmware update for the device very recently.
The solution was to spin up a Windows VM in VirtualBox, install Pololu's software, and upgrade the device to the new firmware version. After that, everything worked perfectly with the latest version of node-serialport on OS X!
I wrote up a little guide on how to upgrade the pololu firmware using OS X and VirtualBox in case anyone else gets stuck in the same situation. A few parts were a little tricky.
Thanks again so much for your help and for maintaining this project!
On Sat, Aug 6, 2016, 1:29 AM Cody Bonney email@example.com wrote: