# Arch Linux: Arduino: Flashing firmware: Unresponsive keyboard (SOLVED)

**URL:** <https://community.keyboard.io/t/arch-linux-arduino-flashing-firmware-unresponsive-keyboard-solved/678>\
**Category:** Help and Getting Started\
**Created:** [November 3, 2017, 10:14pm UTC](https://community.keyboard.io/t/arch-linux-arduino-flashing-firmware-unresponsive-keyboard-solved/678 "2017-11-03T22:14:07Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![mikekuehn](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/mikekuehn/32/61_2.png) [@mikekuehn](https://community.keyboard.io/u/mikekuehn)\
**Post date:** [November 7, 2017, 12:15am UTC](https://community.keyboard.io/t/arch-linux-arduino-flashing-firmware-unresponsive-keyboard-solved/678/16 "2017-11-07T00:15:56Z")

</div>

Jesse suggested that even the few seconds I was getting the keyboard recognized over USB would be enough to flash the firmware again with avrdude. It was! I just had to get the correct port.

1. I have Arduino IDE open while I plug in the keyboard (holding prog key).
2. Check the ports drop down in Arduino repeatedly to find the port, which only shows for a second.

- The port is /dev/ttyACM0

1. Get this command ready to go in the console:  
`avrdude -patmega32u4 -cavr109 -D -P /dev/ttyACM0 -b57600 -Uflash:w:atmega32u4_firmware.hex:i`
2. Plug in keyboard again (holding prog key) and run command immediately.
3. Found programmer. Writing flash. Reading flash. Success!

Typing this on the keyboard right now! 😄

---

_[View the full topic](https://community.keyboard.io/t/arch-linux-arduino-flashing-firmware-unresponsive-keyboard-solved/678)._
