Arduino Forum

Development => Suggestions for the Arduino Project => Topic started by: haughtonomous on Feb 20, 2011, 11:13 am

Title: USB support in Linux.
Post by: haughtonomous on Feb 20, 2011, 11:13 am
I would like to see this made somewhat more robust.

I'm using a UNO with Debian Lenny (nothing bleeding edge there) with the 0022 IDE.  The IDE keeps 'losing' the ACM0 serial port, so I can't subsequently upload a sketch. The workaround seems to be to load an empty sketch (just an empty loop() and setup() function, nothing else), immediately before attempting to load my real sketch.

I also find that if I load a sketch form the Load button, it loads into the current IDE instance. However if I load the sketch using the File>Load menu item, a new IDE instance is launched for the loaded sketch. Thereafter it can't find the ACM0 port, reporting that it is already in use. My guess is that this is the first IDE instance grabbing it. The workaround is to close both IDE instances, start a new instance and load and then upload the empty sketch, then load and upload my real sketch using the load/upload buttons - and make a note to remember this in future (I keep forgetting!).  I would love this all to be fixed.
Title: Re: USB support in Linux.
Post by: mellis on Feb 21, 2011, 11:16 pm
http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-problems/ (http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-problems/)
Title: Re: USB support in Linux.
Post by: haughtonomous on Feb 22, 2011, 01:18 pm
Thanks, but I've tried that. I've tried putting mu Uno into DFU mode using all the methods suggested, without success. I always get the message which tells me it is not in DFU mode.
Title: Re: USB support in Linux.
Post by: pluggy on Feb 22, 2011, 01:37 pm
(http://img87.imageshack.us/img87/4207/arduinodfu.jpg)

Without this and an updated optiboot, I'd written off the Uno as unusable.
Title: Re: USB support in Linux.
Post by: haughtonomous on Feb 22, 2011, 01:45 pm
Thanks, but that is exactly one of the methods I've tried. No change. My Uno stubbornly refuses to go into DFU mode this way.
Title: Re: USB support in Linux.
Post by: pluggy on Feb 22, 2011, 01:52 pm
Come back FTDI, all is forgiven.....

Title: Re: USB support in Linux.
Post by: stimmer on Feb 22, 2011, 08:18 pm
If you can't get it into DFU mode at all it sounds like it's an RMA.

Also, some of the Debian users said they needed to recompile the latest dfu-programmer from source as the one in the distribution was too old.
Title: Re: USB support in Linux.
Post by: haughtonomous on Feb 23, 2011, 09:26 am
RMA?
Title: Re: USB support in Linux.
Post by: pluggy on Feb 24, 2011, 08:44 pm
http://en.wikipedia.org/wiki/Return_merchandise_authorization
Title: Re: USB support in Linux.
Post by: TerryKing on Feb 26, 2011, 01:50 pm
RMA? DFU? How about the FAQ gets a GLOSSARY???