Good day,
I have an Arduino Uno R3 and I am using the newest version of the IDE on Ubuntu 22.10.
The built-in LED light is going on and off for 1 second at a time since I first plugged the board in (is that normal?) and when I upload a simple blink program, this is the response I get:
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/hans/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/hans/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
Group permissions in Unix allow you to access shared resources on a limited basis. The dialout group is documented in the Linux documentation on serial ports.
It is a way to allow end users to run applications that use the serial ports, without having the root permission that is required to access raw hardware.
It's not the frat party that MS created, where once you get in the door, anything goes...
Actually, only an admin can add you to the dialout group. So you have to make yourself admin for a while to do that.
Are you really asking me what a serial port is? That level of lack of familiarity will make things nearly impossible. Just use a Windows machine.
In the old days, communication between e.g. your PC and a device was often done using serial communication; it was suitable for longer distances than the parallel port. Physically it was DB-9 or DB-25 connector with RS232 levels. See e.g. Serial port - Wikipedia.
For communication between PC and devices, nowadays USB is mostly used. In the context of the Arduino, a serial port is simulated over the USB port.
/home/hans/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size -A /home/hans/.var/app/cc.arduino.IDE2/cache/arduino-sketch-79EFDBC814DDD6CABDF06E4D67F7A81A/Test.ino.elf
Sketch uses 1918 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 184 bytes (8%) of dynamic memory, leaving 1864 bytes for local variables. Maximum is 2048 bytes.
"/home/hans/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/home/hans/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -patmega328p -carduino "-P/dev/ttyACM0" -b115200 -D "-Uflash:w:/home/hans/.var/app/cc.arduino.IDE2/cache/arduino-sketch-79EFDBC814DDD6CABDF06E4D67F7A81A/Test.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/hans/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/hans/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
Did you log out and in after adding yourself to the group?
Run dmesg and check if there is something called BRLTTY. I'm not sure what the side effects of BRLTTY are when it comes to Arduino but it's known to cause havoc. Uninstall or disable it and see if it solves the issue.