arduino tools-serial menu item disabled

Hey Veronica,

How did you work this out?
I'm using Ubuntu 9.1 but on my IDE Serial Port is disabled!!! :frowning:
Could you work this out?

It often depends on where you install the IDE. It works best when its installed in your home folder, and it usully needs the computer restarting after installation before it works properly.

I've installed the Arduido IDE thru the apt-get comand
Everything went fine..I can open up sketches, but the Serial Ports port cannot be selected...Sad!

I've rebooted it a few times... no success...:frowning:

What is your serial port? an USB port or a real serial port? can you see the device under /dev/ ?

This may be a slightly off-the-wall suggestion, but ...

Are you comfortable compiling C?

Tod E Kurt has a little program to open a serial connection (over USB) to an Arduino at
http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/

If you can, download, compile and run it, you should see the Tx and Rx LEDs flash if you run the program, and find the name of the correct /dev/ to connect to the Arduino.

If there is a /dev/ name that looks correct, and this program flashes the Tx/Rx LEDs, then the drivers are likely to be correct.

Just a thought.
HTH
GB

Hello Ray,

I have a HP DV 9000 notebook and I'm was comfotable with the "apt-get install" Arduino and all the libraries

Under /dev/ there are many tty, but when I "ls" I see many tty's port but no ttyUSB! It seems my Ubuntu Serial Ports are stuffed somehow...

Any extra hint?

The ttyUSBx ports are only there when the arduino is plugged in, have you tried another USB lead ?

Still... even when it's plugged... nothing under /dev/
The only usb references under /dev/ are:

usbmon0, usbmon1 and usbmon2 :-[

I have tty from 0 thru 60 and ttyS0, ttyS1, ttyS2 and ttyS3 (and all other ports that are not really related to this issue)

I have tried all my USB ports physical ports, but no sucess...

May I just ask, is the FTDI USB driver installed?

Have you a friend with a working Arduino? So you can test your install?
Or someone with a machine you could install the FTDI driver and Arduino IDE to test the hardware?
At least divide and hopefully conquer the problem.

I must admit, if the LEDs come on, then the Arduino is probably working. Do the LEDs come on?

Yeah!
The arduino lights up fine.
I can push the sketch from my Mac ( at the office) into my Arduino, but when I try to do the same on my notebook Ubuntu 9.1 the Arduino runs fine...but I cannot upload a different sketch to it

The Tools>Serial Port is disabled in the IDE :wink:

The times I have seen this (though I haven't seen lots of problems with Linux's)
were when kernel support for serial devices had been removed.

Does this sound at all feasible? Do you build your own kernels?

No! I don't build my own kernel
I downloaded the ISO image from the Ubuntu 9.1 version avalible on the site.
The only extra is that this time I went for the 64 bits!

Hi,
please check the system log:

open a console;
run command 'sudo dmesg -c' (to clear out all previous messages);
plug the arduino into a USB-port
run 'dmesg' again (no need to clear the older messages again)
what do you see? any error messages?
unplug the arduino and check whats printed on removing the device too.

Eberhard

Hey that was something on the path of fixing it

I did with -c parameter and had a bunch of things clearing
Then I plugged and with a another dmesg I had the following:

[16271.592581] usb 2-1: new full speed USB device using ohci_hcd and address 3
[16271.650108] hub 2-0:1.0: unable to enumerate USB device on port 1

then I unplug and had:

[16271.592581] usb 2-1: new full speed USB device using ohci_hcd and address 3
[16271.650108] hub 2-0:1.0: unable to enumerate USB device on port 1

Still tried the IDE but the Serial Port was still disabled

I have installed the Windows version of the .exe thru Wine, and even though I got a poor look of IDE's GUI it found the port of my board on COM 1! :-X

That error is mentioned here:

where it says "This bug is still present in Ubuntu 9.04 and Ubuntu 9.10 ..."

then goes on to say:
"A suggestion of the cause is at LKML: Alan Stern: Re: [PATCH] usbcore: Limit number of 'unable to enumerate USB device' messages"
which says:
"... This is normal; it is caused by userspace loading the drivers in the
wrong order. ehci-hcd is supposed to be loaded before uhci-hcd or
ohci-hcd, not after. ..."

Couldn't find a resolution, so I may have gone down a blind alley
Sorry

Hi,
I'm not sure about this tip here you could give it a try:
I you have a USB-Hub (or can borrow one from a friend). Does it help to plug the arduino-board into the external hub wqhich is then connected to your computer?

Eberhard

I have also meeted above problem. Who can help me ? Thanks

Very urgently

Hello guys!

I'm not too sure what went on but after a few updates (not up to the 10.04 Lts)
FIAT LUX

My USB ports started blinking! I've got everything running now! ;D ;D ;D