# Revision history [back]

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.

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.

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.

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.