In this Article we are brining up some topics that we belive can be helpful for SOLO Linux users. Considering how deep and articulated the topics covered can be, we will limit ourselves to an introduction to the topic and suggesting some procedures to solve the problem. However, for any professional request mainly on Linux, we suggest reading the official Linux documentation and contacting the specialized communities.
You may be interested in connecting your SOLO to the USB port to allow you to use the Motion Terminal or our libraries as SoloPy but to allow access to these features you may need to configure your Linux.
Check The Situation
STEP 1 it is possible to execute the following command:
ls -l /dev/ttyACM*
which will return an error if there are no USB devices connected:
ls: cannot access ‘/dev/ttyACM*’: No such file or directory
or if, for example, SOLO is connected to the USB port and powered up by an external supply, we will have the relative information, an example will be:
crw-rw-rw- 1 root dialout 166, 0 lug 6 15:45 /dev/ttyACM0
in this case, is important to focus on:
– dialout = is the group with the access to the port (the name can be different)
– /dev/ttyACM0 = is the port name, can be different and for every port number, you need to repeat the process. (the name can be different)
STEP 2 it is possible to execute the following command:
an example return can be:
myUserName adm tty uucp libvirt
– myUserName = is our user name (the name will be different)
– the list of groups = this is the list of groups your user is in (the list will be different)
Since in the previous Step 2 we saw that our user is not in the correct group “dialout” (we find that group in Step 1) we need to use the following command:
sudo adduser myUserName dialout
– myUserName = is the user name we find in Step 2 (You need to modify it with your correct name)
– dialout = is the group we find in Step 1 (you need to modify it if in your step 1 the result will be different)
An other useful command you can use is:
sudo chmod a+rw /dev/ttyACM0
– /dev/ttyACM0 = is the port name we find in Step 1 (You need to modify it with your correct one)
In case of the previous command don’t work, can be useful to remove the modem-manager using this command:
sudo apt-get remove modemmanager
Based on the situation it can be useful to check multiple times the situation, repeat the process and ejecting/connecting back the USB cable to be sure the changes are taken effect in the Linux OS.
We will keep updating this resource in order to give enough support to the SOLO – Linux users by adding new issues that can typically occur.
For any specific support, we invite you to use the SOLO Forum.