How come the console prints error `avrdude: usbdev_open(): did not find any USB device "usb"`? How come when I try to push a sketch to my Arduino I see this error on the console? The subsequent sketch does not work.


  avrdude: usbdev_open(): did not find any USB device "usb"


I've already added myself to the dialout group,


  sudo usermod -aG dialout $USER


And, I did that after I confirmed the dialout group owns the device (in my case /dev/ttyACM0:

$ ls /dev/ttyACM0 -l
crw-rw---- 1 root dialout 166, 0 Oct 12 03:15 /dev/ttyACM0
This is because in the IDE I was using 


Sketch &rarr; Upload Using Programmer [Ctrl + Shift + U]


However, I should have been using


Sketch &rarr; Upload [Ctrl + U]