0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« on: April 10, 2009, 10:26:39 pm » |
Guys i am using arduino ide on ubuntu 8.10, I want to set the ide serial port to ttyUSB0,but the serial menu item is disabled, can anyone tell how i can enable it
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1144
Arduino rocks
|
 |
« Reply #1 on: April 10, 2009, 10:31:55 pm » |
Its disabled when there aren't serial ports available
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 65
Arduino rocks
|
 |
« Reply #2 on: April 11, 2009, 07:23:03 am » |
Hi ecopolis,
Try searching this forum. A number of people have had problems/queries about using arduino with Ubuntu 8.10.
If none of the suggestions work then please post again and I'll see what I can do to help as I'm successfully using Ubuntu 8.10 64 bits.
HTH
Ver
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #3 on: April 23, 2010, 12:50:15 pm » |
Hey Veronica,
How did you work this out? I'm using Ubuntu 9.1 but on my IDE Serial Port is disabled!!! :-( Could you work this out?
|
|
|
|
|
Logged
|
|
|
|
|
Lancashire, UK
Offline
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #4 on: April 23, 2010, 01:02:14 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #5 on: April 23, 2010, 02:52:36 pm » |
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...:-(
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 22
Arduino rocks
|
 |
« Reply #6 on: April 24, 2010, 06:25:04 am » |
What is your serial port? an USB port or a real serial port? can you see the device under /dev/ ?
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 0
Posts: 710
Arduino is Genius
|
 |
« Reply #7 on: April 24, 2010, 07:12:54 pm » |
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
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #8 on: April 27, 2010, 04:42:11 pm » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
Lancashire, UK
Offline
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #9 on: April 27, 2010, 04:48:08 pm » |
The ttyUSBx ports are only there when the arduino is plugged in, have you tried another USB lead ?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #10 on: April 27, 2010, 05:25:12 pm » |
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...
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 0
Posts: 710
Arduino is Genius
|
 |
« Reply #11 on: April 27, 2010, 05:59:37 pm » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #12 on: April 27, 2010, 06:03:07 pm » |
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 
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 0
Posts: 710
Arduino is Genius
|
 |
« Reply #13 on: April 27, 2010, 08:32:35 pm » |
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?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 15
Arduino rocks
|
 |
« Reply #14 on: April 28, 2010, 10:20:40 am » |
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!
|
|
|
|
|
Logged
|
|
|
|
|
|