Some things you may need to know when setting up an Arduino mega2560/Ramps 1.4 board with Marlin 1.1.x firmware using Linux on the host PC.
Connecting to your Arduino
Linux uses a specific user group to grant access to the serial port. Your user will need to join this group in order to communicate with the Arduino.
Discover the user group using ls. Specify your serial port, on my PC it is /dev/ttyUSB0.
ls -l /dev/tty(your serial port)
The output displays the group in the 4th column, 'dialout'.
crw-rw---- 1 root dialout 188, 0 Jan 29 17:05 /dev/ttyUSB0
Join the group.
sudo usermod -a -G dialout <username>
You need to log out and back in to set the new privileges. Now you can communicate via serial to access the Arduino.
Initialise the EEPROM on a new install of Marlin 1.1.x/2.0
If you have enabled the EEPROM in Marlin, you must initialise the EEPROM before it can be used (and also clear an error listed at startup). Using pronterface or some other serial terminal issue the following two commands :
This performs a factory reset
Saves the settings. The EEPROM is now initialised.