-
Notifications
You must be signed in to change notification settings - Fork 226
Cannot select serial port, open serial port (VSCode, Arduino, Apple M1) #1232
Comments
Second this. Tried to manually adjust the port in arduino.json file but it fails at opening the port 🤷🏽♂️ (M1 Mac here as well) |
for me, manual configuration in of
To get serial port - u can use Arduino IDE or IOKit and Xcode |
Thanks for letting me know 👍 It still throws the following error
|
yes, this is reproducible on my side as well, setting json config is just kind of workaround... neither port selection, neither connection to serial port works on my side. In same moment, in Arduino IDE everything works fine. I also created a small utility for Serial port scan and communication using IOKit - and it works just fine too. So it's looks like completely issue related to this extension. |
for me also, manual configuration in of arduino.json works fine, but I am unable to open the serial.monitor in vscode |
The usb detection module's native binary is not for aarch64, is there one detection.node for aarch64, or can we compile one? |
After checked the upstream projects usb detection, still no official release for aarch64, I create one issue # MadLittleMods/node-usb-detection#141 |
brew's node.js@16, NODE_MODULE_VERSION=93; brew's node.js@14, NODE_MODULE_VERSION=83; but the node.js embedded in vscode is NODE_MODULE_VERSION=87, so encounter new issues:Failed to open serial port /dev/cu.usbserial-0001 due to error: + Error: The module '/Users/robbiewu/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.2/out/node_modules/usb-detection/build/Release/detection.node' Failed to open serial port /dev/cu.usbserial-0001 due to error: + Error: The module '/Users/robbiewu/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.2/out/node_modules/usb-detection/build/Release/detection.node' |
After more debugging, the up-up stream project node-gyp's issue, I created one issue #nodejs/node-gyp#2391. |
@khorbushko We have recently updated the Arduino extension to depend on a new standalone Serial Monitor extension, please upgrade your arduino extension and try out this new feature! Let us know if it solves your issue or if the issue still persists! |
This issue has been automatically marked as stale because it has been inactive for 30 days. To reactivate the issue, simply post a comment with the requested information to help us diagnose this issue. If this issue remains inactive for another 7 days, it will be automatically closed. |
This issue has been automatically closed due to inactivity. If you are still experiencing problems, please open a new issue. |
Looks like the issue is can be reproduced on new M1 from Apple - can't select neither port neither open serial port (if manually write it in config). Upload works fine.
When clicked on "open port"button
Originally posted by @khorbushko in #1099 (comment)
The text was updated successfully, but these errors were encountered: