Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Re: Arduino 0022 & UNO; a breeze on 10.04 64bit, not on ubuntu 32bit on: February 07, 2011, 02:54:47 am
Hi perhof.
thanks for the help.

Yes, the sketch was using the serial
http://ardx.org/src/circ/CIRC09-code.txt

I did what you suggest on my 64 bit box, the only difference being that I was able to upload an empty sketch only after the reset button was released.

And ***YES*** !!!!!
connecting the UNO to the 32bit box, I'm back in business !!

Thanks a lot
2  Using Arduino / Installation & Troubleshooting / Arduino 0022 & UNO; a breeze on 10.04 64bit, not on ubuntu 32bit on: February 06, 2011, 10:56:59 am
Hi all,
here is Ottorino and this is my first post to the list.
I decided to write, since after a couple of days, I realized that solving my problem is beyond my kwnoledge.
I'm completely new to Arduino, Linux is my only OS since 5-6 years, and I'm not new to electronics and programming.

The problem is that I'm not able to upload anything to an Arduino uno, since the serial port menu is greyed.
Worst than that, sometimes is grayed sometimes not and I'm not talking about the fact that Arduino is connected.

Also, everything is ALWAYS working fine on my ubuntu desktop (10.04, amd64) while on my laptop (10.04 32 bit) do not work most of the times.

I'm writing this for the records, and also to clear my mind.

What I did on the 64 bit distribution:
At first I did a lazy
sudo apt-get install Arduino
and soon discover that in the repositories only the 0018 version is available and it do not fit the UNO.
I therefore untarred the 0022
(http://arduino.googlecode.com/files/arduino-0022.tgz)
under a directory in my home,
then I removed the file
/home/myhome/arduino-0022/lib/librxtxSerial.so,
as found somewhere in the net (sorry, I cannot remember where).

NEVER HAD A PROBLEM WITH Arduino UNO, HERE on 64 bit !!!

Always working, uploading, opening serial and so on. Quite strange behaviour for me, since I always had some minor problems with the 64 bit distribution with other software.

A completely different story with my laptop:
At first I messed up a little, trying to install the whole stuff. I the remove all the mess with sudo apt get remove and through synaptic.

Then I did what is written here
http://arduino.cc/forum/index.php/topic,50337.0.html,
but installed these two 32-bit specific packages (one after the other, as specified in the link above).
https://launchpad.net/ubuntu/natty/i386/arduino-core/0022+dfsg-1
https://launchpad.net/ubuntu/natty/i386/arduino/0022+dfsg-1

then I installed

https://launchpad.net/ubuntu/natty/i386/librxtx-java/2.2pre2-3

It worked, and I was eventually able to upload sketches to UNO from my laptop too.
I also tried to open up the serial, and it worked too (I'm interested in monitoring a temperature).

It was yesterday: this morning as I turn the laptop on, I immediately realized that the serial port menu was grayed again. I checked all the reasons I'm aware of (I'm still in the dialout group,  nothing changes if UNO is connected or not, dmesg and the like.)
UNO is there, but ubuntu refuses to give access to it.

I also tried to link some ttyS* to ACM0 but without success

What else can I do ?

Ottorino

PS
I must report also that arduino software in now very reluctant to start. Furthermore the laptop is now VEEEEERY slow on turning off,: I cannot guarantee that is due to Arduino

Pages: [1]