I have started to sniff some USB data between the computer and K40. I hope to use this data to reverse engineer a way to control it from my linux machine.
I started collecting the data when the printer was connected and moshidraw started. i then did some manual control X+ Y+, X-, Y-
Open with wireshark
https://drive.google.com/file/d/0B_qB0LkRsAT6NFYyVGNwc1d5SGc/view?usp=sharing
Next step is to try to send the sniffed data back to the K40 from linux and get it to move.
I will later try to “fish out” the gcode from the messeges by cutting simple shape. ex 3 lines of various length, circles of various sizes and so on.