ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Of course, irony would have it that I find the answer to my problem the minute after asking for help. So to summarize...
Problem: I cannot get nmea_serial_driver to read from a ttyS0 comm port, instead getting a permission denied error message.
Cause: The user "administrator" was not a part of the "dialout" group, which is the only group that can access comm ports. You can check this by typing the following (without the <>):
groups <username>
If you don't see "dialout", then you cannot access com ports and this is the probably cause of the problem.
Solution: To add yourself to the "dialout" group type:
sudo usermod -aG dialout <username>
Then log out and back in. Run the "groups" command again to double check that you were added correctly.
2 | No.2 Revision |
Of course, irony would have it that I find the answer to my problem the minute after asking for help. So to summarize...
Problem: I cannot get nmea_serial_driver to read from a ttyS0 comm port, instead getting a permission denied error message.
Cause: The user "administrator" was not a part of the "dialout" group, which is the only group that can access comm ports. You can check this by typing the following (without the <>):
groups <username>
If you don't see "dialout", then you cannot access com ports and this is the probably probable cause of the problem.
Solution: To add yourself to the "dialout" group type:
sudo usermod -aG dialout <username>
Then log out and back in. Run the "groups" command again to double check that you were added correctly.
3 | No.3 Revision |
Of course, irony would have it that I find the answer to my problem the minute after asking for help. So to summarize...
Problem: I cannot get nmea_serial_driver to read from a ttyS0 comm port, instead getting a permission denied error message.
Cause: The user "administrator" was not a part of the "dialout" group, which is the only group that can access comm ports. You can check this by typing the following (without the <>):
groups <username>
This will print a list of groups the user is a part of. If you don't see "dialout", "dialout" in the list, then you cannot access com ports and this is the probable cause of the problem.
Solution: To add yourself the user to the "dialout" group type:
sudo usermod -aG dialout <username>
Then log out and back in. Run the "groups" command again to double check that you were added correctly.
4 | No.4 Revision |
Of course, irony would have it that I find the answer to my problem the minute after asking for help. So to summarize...
Problem: I cannot get nmea_serial_driver to read from a ttyS0 comm port, instead getting a permission denied error message.message (see above).
Cause: The user "administrator" was not a part of the "dialout" group, which is the only group that can access comm ports. You can check this by typing the following (without the <>):
groups <username>
This will print a list of groups the user is a part of. If you don't see "dialout" in the list, then you cannot access com ports and this is the probable cause of the problem.
Solution: To add the user to the "dialout" group type:
sudo usermod -aG dialout <username>
Then log out and back in. Run the "groups" command again to double check that you were added correctly.