Closed tamba91 closed 1 year ago
@tamba91 Thanks for your feedback! Is there any way you could provide repro steps that would help me to reproduce and investigate this issue?
Additionally, screenshots of your scenario may help me investigate. Thanks!
I’m not able to reproduce this issue again too. I tried many times but always failed. I suppose that there was a conflict between the arduino-cli serial monitor and the extension serial monitor, with the arduino-cli serial monitor not releasing the port properly, but i cannot be sure. Thanks!
Inviato da Postahttps://go.microsoft.com/fwlink/?LinkId=550986 per Windows
Da: Garrett @.> Inviato: giovedì 20 luglio 2023 16:14 A: @.> Cc: @.>; @.> Oggetto: Re: [microsoft/vscode-serial-monitor] not able to use extension with WSL2 (Issue #111)
@tamba91https://github.com/tamba91 Thanks for your feedback! Is there any way you could provide repro steps that would help me to reproduce and investigate this issue?
Additionally, screenshots of your scenario may help me investigate. Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-serial-monitor/issues/111#issuecomment-1644005497, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDX3IAPFJFGIMWG3CMBSJDXRE4MDANCNFSM6AAAAAAY52NCTA. You are receiving this because you were mentioned.Message ID: @.***>
Thanks for the update! Since there currently isn't a repro, I'm closing the issue. Feel free to open another issue if you hit this problem again!
Hi, the extension is not working within WSL2. If i try to open a serial monitor i get this message: Error opening serial port: Error: Broken pipe, cannot set I can perfectly flash the boards (Arduino Uno and esp8266) with VS Code extension and the arduino-cli installed in WSL2, (using a custom version of arduino-cli installed in WSL2, not using bundled version of Arduino CLI). The arduino-cli monitor works perfectly within the WSL2 terminal, e.g.
arduino-cli monitor -p /dev/ttyACM0
shows the output from the board
Of course if i try to open the serial monitor extension while the serial port is kept busy by arduino-cli monitor running in terminal i get this message:
Error opening serial port: Error: Device or resource busy, cannot open /dev/ttyACM0
if i type:
fuser -k /dev/ttyACM0
and then try again to use the serial monitor extension i get again this message:
Error opening serial port: Error: Broken pipe, cannot set
I tried to paste this snippet in settings.json:
"remote.extensionKind": { "ms-vscode.vscode-serial-monitor": [ "workspace" ] }
but it does not work. Thanks