user4527: I was programing the arduino and things were going great.
Then I plugged in another chip, and went to burn a boot loader.
(New chips) now, I get:
avrdude: usbdev_open(): did not find any USB device "usb"

when I try to upload code to old chips, I get: 
avrdude: usbdev_open(): did not find any USB device "usb"

ten times.
I have tried reseting, and it doesnt do anything.
when I plug the device in, 
dmesg shows that the device responds to my PC
[526199.130716] usb 3-1: new full-speed USB device number 7 using xhci_hcd
[526199.149422] usb 3-1: New USB device found, idVendor=2341, idProduct=0043
[526199.149427] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[526199.149430] usb 3-1: Manufacturer: Arduino (www.arduino.cc)
[526199.149433] usb 3-1: SerialNumber: 649343332353518022F0
[526199.149579] usb 3-1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[526199.149766] cdc_acm 3-1:1.0: ttyACM0: USB ACM device

IDE settings:
board: Audruino Uno
serial posrt /dev/ttyACM0
Programer: AVRISP mkII
I also tried AVR ISP
in the command line, I tried:
   avr-gcc -DF_CPU=16000000UL -mmcu=atmega328 -o Balls.out Balls.c
   avr-objcopy -O ihex -R .eeprom Balls.out  Balls.hex
   sudo avrdude -V -F -c stk500v1 -p m328 -b 19200 -P /dev/ttyACM0 -U flash:w:Balls.hex

each time, I get:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

How can I troubleshoot the Arduino Uno?
Is this thing broken?

user13972: Generated from IDE
Because this is a generic error, I'll answer it. I was getting this on STDERR when using the IDE:

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

This is because in the IDE I was using 

Sketch → Upload Using Programmer [Ctrl + Shift + U]

However, I should have been using

Sketch → Upload [Ctrl + U]


4527: <p>I was programing the arduino and things were going great.
Then I plugged in another chip, and went to burn a boot loader.
(New chips) now, I get:</p>

<pre><code>avrdude: usbdev_open(): did not find any USB device "usb"
</code></pre>

<p>when I try to upload code to old chips, I get: </p>

<pre><code>avrdude: usbdev_open(): did not find any USB device "usb"
</code></pre>

<p>ten times.
I have tried reseting, and it doesnt do anything.
when I plug the device in, </p>

<p>dmesg shows that the device responds to my PC</p>

<pre><code>[526199.130716] usb 3-1: new full-speed USB device number 7 using xhci_hcd
[526199.149422] usb 3-1: New USB device found, idVendor=2341, idProduct=0043
[526199.149427] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[526199.149430] usb 3-1: Manufacturer: Arduino (www.arduino.cc)
[526199.149433] usb 3-1: SerialNumber: 649343332353518022F0
[526199.149579] usb 3-1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[526199.149766] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
</code></pre>

<p>IDE settings:
board: Audruino Uno
serial posrt /dev/ttyACM0
Programer: AVRISP mkII</p>

<p>I also tried AVR ISP</p>

<p>in the command line, I tried:</p>

<pre><code>   avr-gcc -DF_CPU=16000000UL -mmcu=atmega328 -o Balls.out Balls.c
   avr-objcopy -O ihex -R .eeprom Balls.out  Balls.hex
   sudo avrdude -V -F -c stk500v1 -p m328 -b 19200 -P /dev/ttyACM0 -U flash:w:Balls.hex
</code></pre>

<p>each time, I get:</p>

<pre><code>avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
</code></pre>

<p>How can I troubleshoot the Arduino Uno?
Is this thing broken?</p>
 13972: <h1>Generated from IDE</h1>

<p>Because this is a generic error, I'll answer it. I was getting this on STDERR when using the IDE:</p>

<blockquote>
  <p>avrdude: usbdev_open(): did not find any USB device "usb"</p>
</blockquote>

<p>This is because in the IDE I was using </p>

<ul>
<li>Sketch &rarr; <strong>Upload Using Programmer [<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + U]</strong></li>
</ul>

<p>However, I should have been using</p>

<ul>
<li>Sketch &rarr; <strong>Upload [<kbd>Ctrl</kbd> + U]</strong></li>
</ul>
