FIXED!!!
Please read my new post "Got Arduino UNO to work in Linux (Ubuntu)" if you need the fix.
Pierre
http://arduino.cc/blog/2011/02/15/fix-to-uno-and-mega-2560-linux-serial-problems/
I'll try this tomorrow, and i'll let you know if it works.
Pierre2011/7/9 Pierre Massat <pimassat@gmail.com>I m pretty sure it's not related to the hardware, as it works perfectly fine in windows. I believe it has to do with the firmware.2011/7/9 Martin Peach <martin.peach@sympatico.ca>
If you are plugging and unplugging the arduino it's possible the OS doesn't detect it properly. I know there were issues with the FTDI driver not reporting when the device had been removed, that caused Pd to hang.
As long as your resistors are more than about 1 kOhm it should be OK.
If you write ones to the input pins they will have internal pullup resistors enabled, so a switch that connects the pin to ground when it's on will work.
And the pots should be wired like this:
5V
\
/
\<----Pin
/
\
GND
Anyway you say it works once it connects, so it's probably not the hardware, except possibly the cable/connectors.
Martin
On 2011-07-09 12:00, Pierre Massat wrote:
It's a laptop.
I don't get random dropouts once it's connected (I used it for 2 ours in
Pd and it worked fine all the time), but it just doesn't appear (either
in the Serial port menu of the IDE, or in the device list that comport
outputs) randomly. Do you think that this could still be caused by
something sucking up too much current? There's nothing special connected
to the board : 2 pots, and 8 buttons (wired so that their rest position
is High).
Pierre