There are two possibilities straight from the error message:
- Attempting to open an already opened device by another process. If there is another process with the port already open then this might happen. Minicom should not be running when you try to run this.
- User not having enough permission and credentials to open. The permissions are those of the file representing the serial port: probably "/dev/ttyS0" but it may be in a subdirectory of /dev. Often only root and a group called "uucp" have write access to the device.
Your Linux user should be generally placed in the "uucp" group (recommended) although you can alter the serial port permissions directly (not recommended).Qt Code:
$ ls -l /dev/ttyS0 crw-rw---- 1 root uucp 4, 64 Feb 27 07:15 /dev/ttyS0 $ groups wheel audio cdrom video games cdrw users wireshark vboxusers truecrypt uucpTo copy to clipboard, switch view to plain text mode
Here is a User Management tutorial.
Here is a Linux File Permissions tutorial.




Reply With Quote

Bookmarks