Specifically following-up on the suggestions by user tompreston at the GitHub link, you (Chris) could also perform more complete steps such as:On Mon, Dec 28, 2020 at 1:41 AM 'Christian Peeples' via BerkeleyLUG <berke...@googlegroups.com> wrote:Dear All:
I am trying to use CHIRP on my Lenovo ThinkPadX61 running Uuntu 20.4 LTS to program my Wouxun KG-UV3D. When I try the first step in the process -- downloading the frequencies from the radio -- I get the error message:
"An error has occurred: [Errno 13] could not open port /dev/ttyS0: [Errno 13] Permission denied: '/dev/ttyS0'"
The choices I get for "Port" are /dev/ttyS1 [through S59]. Any idea how to figure out the current one without trying 59 ports? Is there some permission I need or dependency I need to download?
-- Chris Peeples KE6MQW --
(c) +1-510-851-0968--Besides what Thomas previously wrote, the searchhit-result SerialException: Could not open port /dev/ttyS0 [Errno 13] Permission denied: '/dev/ttyS0' #17 at https://github.com/codebugtools/codebug_tether/issues/17 using the exact text "[Errno 13] could not open port /dev/ttyS0: [Errno 13] Permission denied: '/dev/ttyS0" provides a somewhat-alternative solution. Sure, there're also the multiple solutions provided at the Ubuntu-specific link https://askubuntu.com/questions/210177/serial-port-terminal-cannot-open-dev-ttys0-permission-denied
- Completely closeout all your Ubuntu desktop apps and windows, and then logout (but don't yet reboot or shutdown the ThinkPad!!)
- Perform the Ctrl-Alt-F2 keyboard-combination entry to get a terminal session on /dev/tty2 and login there using your regular username and password.
- Double-check for being in the "dialout" group by entering 'ls -l /dev/ttyS0' ........ the output should be reasonably similar to "crw-rw---- 1 root dialout 4, 64 Jun 6 10:56 /dev/ttyS0" except for of course that exact timestamp.
- Also check for the same by entering 'groups', which should display "dialout" among the other user-membered groups listed.
- Enter the command 'sudo su -' to briefly become the superuser.
- Run the standard administrative command sequence # 'apt update&& apt upgrade' (note that user tompreston performs <user>$ 'sudo apt-get update' and <user>$'sudo apt-get upgrade' .)
- As briefly(!!) as possible, perform any other absolutely necessary administrative tasks while logged-in as the superuser (e.g., re-checking system groups settings by running # 'vigr' and # 'vigr -s'), and then immediately reboot the ThinkPad by entering the straighforward # 'reboot' to ensure that all changes go into effect ASAP.
-Aaron C--
You received this message because you are subscribed to the Google Groups "BerkeleyLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylug+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/berkeleylug/89497e07-3186-415a-a641-49ef80e5319bn%40googlegroups.com.