I hope I put this post in the right category, happy to move it if not!
I am running into an issue with my initial setup of gSender. I setup gSender on a Debian box I have, and have it connected up to my CNC (Snapmaker 2.0) over USB. The Snapmaker 2.0 uses Marlin, and when I attempt to connect gSender to it, I receive an error of “Error opening port /dev/ttyUSB0”. I’m not sure where I can get more information on why it may be failing to open the port. Is there a way to enable more detail diagnostics or check error logs?
Additional info: I’ve restarted the machine(s) already, and also I have a OctoPrint setup as well (basically gSender for 3D printing), this connects to the Snapmaker just fine, so I know the computer and COM port are connected properly and functioning.
Any help that can be provided would be greatly appreciated!
I’m not familiar enough with Marlin as a firmware but at a quick glance it looks like there is some code related to setting DTR/RTS pins on connection for Marlin that wouldn’t be present using the grbl/grblHAL controllers.
Oh okay, well that would make sense then. Are there logs I could check to confirm that?
Do you know how significant the effort would be to add Marlin support? (I’d be happy to make a branch and open a PR, I’m just wondering how easily that may be done)
Tyler - I recently created a new Debian system for my CNC, and had trouble connecting to a CNC controller (OpenBuilds BlackBox) that I had used successfully with gSender. In my case it was a port permissions error. Might be worth a check.
As Kevin mentioned, gSender is built for grbl/grblHAL, so not sure if this’ll end up working for you or not, but easy enough to check.
You need to make sure that your user is in the -dialout- group for access to the USB port.
You can check your setup by issuing the id command. Look for the group ‘dialout.’
I can successfully use the console, but none of the jog commands are enabled for some reason, wonder if this is because of GRBL or if there’s custom setup I need to do to enable them?