Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with detecting device using Windows subsystem for Linux #1452

Closed
JoarGjersund opened this issue Mar 10, 2018 · 4 comments
Closed

Problem with detecting device using Windows subsystem for Linux #1452

JoarGjersund opened this issue Mar 10, 2018 · 4 comments

Comments

@JoarGjersund
Copy link

JoarGjersund commented Mar 10, 2018

I have connected Arduino Uno to my pc and uploaded the StandardFirmdataPlus, but whenever i try to run a script it is stuck at Board Looking for connected device. Anyone know what the problem is?

*edit: I have tried to run serialport-list to list all available serial ports and it doesn't list any. So it doesn't look like this issue is related to the johnny-five library.

@coolhandfluke
Copy link

Check in windows device manager, under ports what is showing, if nothing is showing you need to install the correct driver, once it appears there then you can upload standard firmata plus and run the script, in the script you can also specify the exacy port like new Board({port: 'COM3' }) although this is not mandatory, update here what happened, once you did this.

@JoarGjersund
Copy link
Author

JoarGjersund commented Mar 10, 2018

The board is connected (and visible as COM1 in device manager) as I said, the firmdata is already uploaded, but I'm not able to recognize it in ubuntu. I tried specifying COM1 like you said, I just get:
Connected COM1
1520697568727 Error Error: No such file or directory, cannot open COM1

@coolhandfluke
Copy link

I never used windows subsystem for Linux, sorry I can't help with your issue. I have Ubuntu VM in my windows pc, we're you able to run any Johnny five scripts directly on windows? I tried this but getting a different error which I mentioned in issue #1451

@JoarGjersund
Copy link
Author

Looks like this is a WSL issue. microsoft/WSL#412

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants