usbdev_open() ubuntu permission denied code example
Example: An error occurred while uploading the sketch avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied
sudo chmod 777 /dev/ttyUSB0
sudo chmod 777 /dev/ttyUSB0