-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
I just got an AxiDraw V3 and I can't get saxi to see it. axicli and the python API all work as expected.
System info:
- OS: Raspbian GNU/Linux 11
- Node: 18.16.1
- npm: 9.5.1
- AxiDraw firmware version: 2.8.1
pyserial is able to see this:
$ python -m serial.tools.list_ports -v
/dev/ttyACM0
desc: EiBotBoard,axidraw
hwid: USB VID:PID=04D8:FD92 SER=axidraw LOCATION=1-1.2:1.0
/dev/ttyAMA0
desc: ttyAMA0
hwid: fe201000.serial
2 ports found
However saxi can't seem to get the same info:
$ saxi --firmware-version
No EBB connected
$ saxi --firmware-version -d /dev/ttyACM0
/home/mimi/.config/nvm/versions/node/v18.16.1/lib/node_modules/saxi/dist/server/ebb.js:28
this.writer = this.port.writable.getWriter();
^
TypeError: Cannot read properties of undefined (reading 'getWriter')
at new EBB (/home/mimi/.config/nvm/versions/node/v18.16.1/lib/node_modules/saxi/dist/server/ebb.js:28:42)
...
Also, here's the info from node serialport lib:
$ node -e "require('serialport').list().then((ps) => console.log(JSON.stringify(ps)))"
[{"vendorId":"1106","productId":"3483","path":"/dev/ttyACM0"},{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyS0"}]
I've also tried with an old version of Node, v12.22.12, and the results were the same. Any suggestions would be greatly appreciated!
Metadata
Metadata
Assignees
Labels
No labels