Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to use my 9 pin serial port to connect my automotive ECU to my computer (megasquirt controller). I've done this before with Ubuntu 10.04 but now that I've just upgraded to 12.04 it simply will not connect. I didn't have any issue before. Now I simply cannot open this port.

Using chmod I get this:

~$ chmod o+rw /dev/ttyS0
chmod: changing permissions of `/dev/ttyS0': Operation not permitted
share|improve this question
add comment

1 Answer

I suggest you should just double-check if you are a member of the dialout group, let us suppose your username is joeuser, do the following:

groups joeuser

..this will list all the groups you belong to. If you don't belong to the dialout group then add yourself to it, for example:

sudo gpasswd --add joeuser dialout

You then need to log out and log back in again for it to be effective. Then see if it fixes your problem.

share|improve this answer
1  
Emphasis on logout/login and trying again. –  AlexanderN Feb 6 '13 at 20:16
1  
I want to remark that log out and log back in is the key to get this to work. –  albfan Jun 30 '13 at 11:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.