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

Not detecting AxiDraw device #18

Closed
JanWerder opened this issue Mar 15, 2019 · 19 comments
Closed

Not detecting AxiDraw device #18

JanWerder opened this issue Mar 15, 2019 · 19 comments

Comments

@JanWerder
Copy link
Contributor

I would be great if saxi would work on Windows as well

@nornagon
Copy link
Owner

nornagon commented Mar 15, 2019 via email

@JanWerder
Copy link
Contributor Author

I installed saxi over npm, but it goes into simulation mode as soon as I run the command.

@nornagon
Copy link
Owner

Ah, I see. Is the AxiDraw plugged in when you start saxi?

If saxi still enters simulation mode on startup even if the AxiDraw is connected, can you try running this and paste the output:

$ node -e "require('serialport').list().then((ps) => console.log(JSON.stringify(ps)))"

@JanWerder
Copy link
Contributor Author

Okay, it says:
Error: Cannot find module 'serialport'
After installing serialport via npm, saxy still doesn't find the Axidraw, but I can give you the output of the serial port listing:

[{"comName":"COM1","manufacturer":"(Standardanschlusstypen)","pnpId":"ACPI\\PNP0501\\0"},{"comName":"COM6","manufacturer":"SchmalzHaus LLC","serialNumber":"7&195cdef5&0&3","pnpId":"USB\\VID_04D8&PID_FD92\\7&195CDEF5&0&3","locationId":"Port_#0003.Hub_#0003","vendorId":"04D8","productId":"FD92"}]

@nornagon
Copy link
Owner

Try running:

saxi -d COM6

It looks like the manufacturer on your board is slightly different from mine, which is interfering with the detection: https://github.com/nornagon/saxi/blob/master/src/ebb.ts#L17

@nornagon nornagon changed the title Windows Compatibility Not detecting AxiDraw device Mar 15, 2019
@JanWerder
Copy link
Contributor Author

Thanks, that fixed the detection. 😊
PS. Is the fix automatically pushed to npm?

@nornagon
Copy link
Owner

Nope, it's not automatic. I'll push a new release in the next day or two though!

@nornagon
Copy link
Owner

(in case you didn't already see, v0.5.0 should have the fix. happy plotting!)

@Makio64
Copy link

Makio64 commented Apr 18, 2020

It should be good to add it to the documentation or enable auto-detection on other COM, personnaly it works for me with windows "saxi -d COM5"
Thanks for this tool!

@nornagon
Copy link
Owner

@Makio64 Is autodetection not working for you? Can you run the command in #18 (comment) and paste the output here?

@Makio64
Copy link

Makio64 commented Apr 18, 2020

The autodetection didnt work, windows 10 razer pro 17" :
Here the output :
[{"path":"COM5","manufacturer":"Microsoft","serialNumber":"5&68c6c1f&0&1","pnpId":"USB\\VID_04D8&PID_FD92\\5&68C6C1F&0&1","locationId":"Port_#0001.Hub_#0002","vendorId":"04D8","productId":"FD92"}]

@nornagon
Copy link
Owner

Oh hm. Are you using a USB hub? It's weird that the manufacturer name doesn't show up for you.

It looks like the vendor id / product id are showing up though, which is how the axidraw cli finds the device I guess. I'll add that logic in to saxi!

@nornagon
Copy link
Owner

Should be fixed by f89cb55, I'll make a release later today.

@Jip-Hop
Copy link

Jip-Hop commented Sep 2, 2020

Looking forward to the next release :) Installed from NPM today but it wouldn't find the connected AxiDraw. saxi -d COM3 works though.

@nornagon
Copy link
Owner

@Jip-Hop can you try the steps in this comment? #18 (comment)

@Jip-Hop
Copy link

Jip-Hop commented Sep 11, 2020

[{"path":"COM1","manufacturer":"(Standaardpoorttypen)","pnpId":"ACPI\\PNP0501\\1"},{"path":"COM3","manufacturer":"Microsoft","serialNumber":"6&1ba46697&0&5","pnpId":"USB\\VID_04D8&PID_FD92\\6&1BA46697&0&5","locationId":"Port_#0005.Hub_#0004","vendorId":"04D8","productId":"FD92"}]

I connected the AxiDraw directly to a USB port on the back of my Dell Optiplex 990 PC. So no external USB hub is used.

@nornagon
Copy link
Owner

@Jip-Hop great, thanks! It looks like 67429df will fix this issue for you :) I thought I'd already released that, but it looks like I haven't! Will get to a release soon.

@nornagon
Copy link
Owner

@Jip-Hop v0.10.0 was just released which should include this fix.

@Jip-Hop
Copy link

Jip-Hop commented Sep 20, 2020

Confirmed working :)

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

4 participants