Quote:
Originally Posted by jdkaye
I think you have to use "sudo" in Ubuntu. Have you tried the command:
Code:
sudo stty -F /dev/ttyS0 57600 parodd
Then you will be prompted for your own password and then that should solve the permissions issue.
jdk
|
Hi Jdkaye,
I found a solution (from another forum) for this problem by adding my id to the group the tty's belong to. I didn't try sudo. Anyways, thanks for your time and help
-grams.
Code:
user@ubuntu:~$ id -Gn
user adm cdrom sudo dip plugdev lpadmin sambashare
user@ubuntu:~$ sudo adduser user dialout
[sudo] password for user:
Adding user `user' to group `dialout' ...
Adding user user to group dialout
Done.
user@ubuntu:~$ id -Gn
user adm cdrom sudo dip plugdev lpadmin sambashare
//*adduser is not reflected
//*log out and log in for adduser to take effect
user@ubuntu:~$ id -Gn
user adm dialout cdrom sudo dip plugdev lpadmin sambashare
Now I am able to send commands and receive data.