Arduino Robot, Ubuntu 10.04, and the Serial Port

Hello, Please feel free to move this. It's about robotics (obviously), but it's an installation/troubleshooting issue, so...

Anyhoo, I have no problem connecting an Uno R3. It shows up without issue, and all that. The Micro is a little... weird (when it does the connect->disconnect->reconnect thing, it doesn't display, so I can only program by doing the "click upload and then immediately reset" trick).

However, for the Arduino Robot, the serial port just doesn't show up at all. I'm on Ubuntu 10.04. dmesg shows:

[8381018.614119] usb 8-1: new full speed USB device using uhci_hcd and address 39
[8381018.791154] usb 8-1: configuration #1 chosen from 1 choice
[8381018.799115] input: Arduino LLC USB IO Board     as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.2/input/input277
[8381018.799228] generic-usb 0003:2341:8038.0106: input,hidraw2: USB HID v1.01 Mouse [Arduino LLC USB IO Board    ] on usb-0000:00:1d.2-1/input2

So, it's definitely seeing that something is connecting. I just can't get it to recognize that it's a serial device. (Not sure where the 'Mouse' part is coming from...) So... suggestions? (Other than, "stop using 10.04")

Well it is programmed to be a mouse and mice do not have serial ports. Push the reset button and dmesg should show a ttyACM? device for a few seconds and then the HID mouse. This is normal. It is exactly the way a Leonardo works on my system (kubuntu 10.04) when programmed as a mouse. All the 34u4 micros act this way, when set up with the Arduino bootloader. I don't think the Robot will be any different. If you want a serial port to show all the time program as a serial device, Serial.begin ... etc.

Hope this helps.

tf68:
Well it is programmed to be a mouse and mice do not have serial ports. Push the reset button and dmesg should show a ttyACM? device for a few seconds and then the HID mouse. This is normal. It is exactly the way a Leonardo works on my system (kubuntu 10.04) when programmed as a mouse. All the 34u4 micros act this way, when set up with the Arduino bootloader. I don’t think the Robot will be any different. If you want a serial port to show all the time program as a serial device, Serial.begin … etc.

Hope this helps.

I don’t think that’s it. For comparison, look at what the micro shows:

[8439854.856024] usb 8-1: new full speed USB device using uhci_hcd and address 48

[8439855.041152] usb 8-1: configuration #1 chosen from 1 choice
[8439855.044126] cdc_acm 8-1:1.0: ttyACM0: USB ACM device
[8439862.512288] usb 8-1: USB disconnect, address 48
[8439862.752025] usb 8-1: new full speed USB device using uhci_hcd and address 49
[8439862.930272] usb 8-1: configuration #1 chosen from 1 choice
[8439862.938237] input: Arduino LLC USB IO Board    as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.2/input/input282
[8439862.938373] generic-usb 0003:2341:8037.010B: input,hidraw2: USB HID v1.01 Mouse [Arduino LLC USB IO Board    ] on usb-0000:00:1d.2-1/input2

And here’s the Leonardo:

[8439709.352524] usb 8-1: new full speed USB device using uhci_hcd and address 46

[8439709.538151] usb 8-1: configuration #1 chosen from 1 choice
[8439709.541098] cdc_acm 8-1:1.0: ttyACM0: USB ACM device
[8439716.936040] usb 8-1: USB disconnect, address 46
[8439717.272029] usb 8-1: new full speed USB device using uhci_hcd and address 47
[8439717.449262] usb 8-1: configuration #1 chosen from 1 choice
[8439717.457241] input: Arduino LLC Arduino Leonardo as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.2/input/input281
[8439717.457368] generic-usb 0003:2341:8036.010A: input,hidraw2: USB HID v1.01 Mouse [Arduino LLC Arduino Leonardo] on usb-0000:00:1d.2-1/input2

It recognizes a TTY device, and then disconnects to reconnect as an HID.

For the robot, it appears to be skipping that first part.

Found this in the bootloader source directory.

Differences between this bootoloader and the standard one for Leonardo boards

This bootloader is different from the one on the standard Leonardo boards. To enter the bootloader, you need to double click the reset button. You need to click twice in less that 3/4 of a second (easy uh?). This bootloader, designed in the first place for the LilypadUSB, seems to be optimal for situations when users are e.g. using their robots in soccer competitions where they make direct manipulation of the board as it runs.

tf68: Found this in the bootloader source directory.

Differences between this bootoloader and the standard one for Leonardo boards

This bootloader is different from the one on the standard Leonardo boards. To enter the bootloader, you need to double click the reset button. You need to click twice in less that 3/4 of a second (easy uh?). This bootloader, designed in the first place for the LilypadUSB, seems to be optimal for situations when users are e.g. using their robots in soccer competitions where they make direct manipulation of the board as it runs.

AHA! This works! In my case, I had to mash it more than that (I think possibly once to reset, and then immediately another double-press to get it to actually connect), but the point is that I can use it now! Thank you kindly!