Quote Originally Posted by Default View Post
So I managed to get this to work; all I had to do was install Linux (Ubuntu)...


In case anyone else needs the same functionality, here are the basic steps I went through:
- Install Linux OS (Ubuntu, for e.g.). On a separate note, you can run it off a Live-USB with persistance, which is pretty cool.
- Ensure you can communicate with serial ports. I uninstalled brltty, installed ReplicatorG and Arduino and tested serial comms to ensure it worked with a known-working program.
- Download the latest GPX source (At least 2.0 which support serial communications via the -s flag). 'Install' via make install.
- The commands I ran to test it was working where:
$ echo G1 X10 > move.gcode
$ sudo gpx -s -v move.gcode /dev/ttyACM0


Some points about the serial port:
- You can check which serial port your printer is on with $ dmesg | tail tty
- You'll need to run commands as root (with sudo), or add yourself to the group (dialout) for the tty file. Check it with $ ls -l /dev/tty*


Now to see if I can write a Python program to automate this, and talk with some other sensors simultaneously!
Thank you very much for the information!