SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By msmithrt
This is an informational post for google to index. Hopefully it helps somebody else.

I picked up a couple of Sparkfun's Arduino Pro Micros this week to help me run test inputs on a bigger project. I thought they'd be perfect, since they're easy to program over the USB interface.

However when I attempted to program them, the Arduino IDE would report each time:
Code: Select all
avrdude: ser_open(): can't open device "/dev/ttyACM0": Device or resource busy
avrdude: ser_send(): write error: Bad file descriptor
I'm running Ubuntu, by the way.

I checked the normal causes: I'm part of dialout, made sure the port was owned by dialout as well, checked permissions... Nope.

Took me a while, but I eventually found that ModemManager was grabbing the serial port immediately on creation or when the board reset to the bootloader. As a quick fix I just uninstalled ModemManager entirely.
Code: Select all
sudo apt-get remove modemmanager
By Ford
Thanks! I never would have figured that out! Finally I can program Arduino Micro from Linux Mint.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]