I'm having an issue where I can send regular commands on JMRI such as direction, lights, or speed. I can no longer program any decoders like I did under windows it also states "No Service Mode Programmer Available", "No Operations Mode Programmer Available" and the port is red when I go to the preferences. Anyone else have this issue? RPI Arduino JMRI error by dfronin posted Mar 4, 2017 at 9:55 PM
what version of JMRI? Did you update any software on the rPi? Does the user you are running JMRI as have read/write access to /dev/ttyACM0? Does /dev/ttyACM0 exist?
If I "ls /dev/tty*" ttyACM0 shows up on the list. Whether the user has read/write access I am not sure how to tell, but wouldn't it have access to write if it is sending messages to the decoders?
True, you should have write access if JMRI is sending normal commands. Didn't catch that. Just going down a list of possible reasons. Other possibilities.... Recently I observed a case where JMRI would default to Internal mode rather than DCC++ for the Programmer. When on the main roster page, if you select a loco does it have only the "Edit Only" radio button above Program? Also if you click on "New Loco" at the top does it default to "Internal" in the dropdown at the top? If so, you likely have encountered the same corruption in the JMRI profile as I did. Cause is not known yet but the solution is to recreate the profile (rename your JMRI preferences folder and have it recreate it, you can reimport your roster file as well)
No worries... It does have only the "Edit Only" radio and defaults to internal when I click on "New Loco". Where is the "JMRI preferences" folder? I'm not familiar with JMRI under Linux. Thanks for the help...
Look in ~/JMRI I believe that is the default for linux (under your home directory). You can simply rename the folder and restart JMRI and it should recreate the preferences.
AMAZING!!!! Renamed ~/.jmri (All the JMRI Preferences are contained here) to "~/.jmri-old". I restarted JMRI and it went through the "first time initialization options" and it worked. Bravo Zulu to ATANI!!! Thank you very much!