no serial port / Uno / Ubuntu 13.10

Hello,

I have the Arduino starter kid, but when I connect the arduino Uno on my laptop (Ubuntu 13.10) no serial port is opened (and so “Serial Port” is grey out in the IDE).

Before plunging the card:

ls /dev/tty*
/dev/tty /dev/tty23 /dev/tty39 /dev/tty54 /dev/ttyS10 /dev/ttyS26
/dev/tty0 /dev/tty24 /dev/tty4 /dev/tty55 /dev/ttyS11 /dev/ttyS27
/dev/tty1 /dev/tty25 /dev/tty40 /dev/tty56 /dev/ttyS12 /dev/ttyS28
/dev/tty10 /dev/tty26 /dev/tty41 /dev/tty57 /dev/ttyS13 /dev/ttyS29
/dev/tty11 /dev/tty27 /dev/tty42 /dev/tty58 /dev/ttyS14 /dev/ttyS3
/dev/tty12 /dev/tty28 /dev/tty43 /dev/tty59 /dev/ttyS15 /dev/ttyS30
/dev/tty13 /dev/tty29 /dev/tty44 /dev/tty6 /dev/ttyS16 /dev/ttyS31
/dev/tty14 /dev/tty3 /dev/tty45 /dev/tty60 /dev/ttyS17 /dev/ttyS4
/dev/tty15 /dev/tty30 /dev/tty46 /dev/tty61 /dev/ttyS18 /dev/ttyS5
/dev/tty16 /dev/tty31 /dev/tty47 /dev/tty62 /dev/ttyS19 /dev/ttyS6
/dev/tty17 /dev/tty32 /dev/tty48 /dev/tty63 /dev/ttyS2 /dev/ttyS7
/dev/tty18 /dev/tty33 /dev/tty49 /dev/tty7 /dev/ttyS20 /dev/ttyS8
/dev/tty19 /dev/tty34 /dev/tty5 /dev/tty8 /dev/ttyS21 /dev/ttyS9
/dev/tty2 /dev/tty35 /dev/tty50 /dev/tty9 /dev/ttyS22
/dev/tty20 /dev/tty36 /dev/tty51 /dev/ttyprintk /dev/ttyS23
/dev/tty21 /dev/tty37 /dev/tty52 /dev/ttyS0 /dev/ttyS24
/dev/tty22 /dev/tty38 /dev/tty53 /dev/ttyS1 /dev/ttyS25

After plunging the card (the LEDs “ON” and “L” are switched on), I have the same list and sometime /dev/tty is updated.

dmesg gives:
[ 3553.860128] usb 7-1: new full-speed USB device number 2 using uhci_hcd
[ 3554.033360] usb 7-1: New USB device found, idVendor=03eb, idProduct=2fef
[ 3554.033372] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3554.033380] usb 7-1: Product: ATmega16u2 DFU
[ 3554.033387] usb 7-1: Manufacturer: ATMEL

And lsusb gives:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0c45:63f0 Microdia
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
Bus 003 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick
Bus 003 Device 005: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 03eb:2fef Atmel Corp.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

A couple of additional information:

  • I belong to the groups “tty” and “dialout”.
  • I tried both IDE from Ubuntu and http://arduino.cc/en/Main/Software (1.0.5) → same result
  • I tried to run the IDE as root (sudo arduino) → same result

I am running out of idea. How could I get the ttyACM0/ttyUSB0 ports opened ?

Any help will be very welcome.

Cheers,
Perceval

Hi,

I think there is user right problem. Arduino board will be ttyACM0 device. Try to give full access to /dev/ttyACM0.

sudo chmod 777 /dev/ttyACM0

Rudolf

Hi,

thank for the quick reply.

The fix does not work because the ttyACM0 does not exist: $ sudo chmod 777 /dev/ttyACM0 [sudo] password for myUsername: chmod: cannot access ‘/dev/ttyACM0’: No such file or directory

Cheers, Perceval

hi,

check your /var/log/syslog file for any error message.

Rudolf

p.s. My lsusb print out is different like yours…

Bus 003 Device 005: ID 2341:0001 Arduino SA Uno (CDC ACM)

I have different USB VID & PID like yours…
Try to plug to different usb port and if you connect board through usb hub than try to connect directly to PC.
I’m running KUBUNTU 13.10 on my PC.

Hi,

check your /var/log/syslog file for any error message.

There is no error.

Bus 003 Device 005: ID 2341:0001 Arduino SA Uno (CDC ACM)
I have different USB VID & PID like yours…

Ah! interesting.

Try to plug to different usb port and if you connect board through usb hub than try to connect directly to PC.

Thank for the suggestions. I have tested them, and none worked :frowning:

Cheers,
Perceval

The dmesg output for the 16u2 chip showing as a dfu device makes me think there is no Arduino firmware loaded in the chip. You should see if the vendor will exchange your board for a new one.

Hi,

I just found on internet by USB VID & PID yours board are programmed to be usb DFU device. In this state you can't use your board with software. You need to re-program the 16u2 chip or return to seller to change the board.

Rudolf

Hi all,

many thanks !!

I tried to upload the firmware (following http://bartruffle.blogspot.fr/2013/09/dfu-programming-atmega16u2-on-arduino.html ), and now I see my card !

lsusb Bus 007 Device 013: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)

And "Serial Port" is no more grey out anymore. I can start to play in the Arduino world for the first time :)

Well, I get an error while I try to upload the "Blink" sketch (avrdude: stk500_recv(): programmer is not responding), but hopefully google will know the answer.

Many thank for the fast and very very useful answers!

Cheers, Perceval

Good, you got it working. Do you have the correct board selected (Tools/Board menu). If not you will get the "programmer is not responding" message.

Edit: I imagine it's possible that, in addition to the missing firmware, there is also no bootloader on the 328p. Maybe the factory was having a really bad day.

Hi,

sorry for the delay in the answer I was offline.

The bootloader was a issue, as I have nothing to burn it. So I had to send the card back to the vendor. Let hope the new one will work better.

Thanks for your help !

Cheers, Perceval