5th December 2011, 03:10 AM
I'm noticing a problem with the arduino packages in Fedora, if someone else uses Arduino (see www.arduino.cc (http://www.arduino.cc) ) for hobby or other uses I'd like to know if you've had problems with the Fedora packages (which are "arduino" and "arduino-core" and optionally arduino-doc) and the serial console on the UNO board.
Basically when I use the ethernet shield and monitor the serial console during runs of example code, the console starts showing the expected output then fills with lots of binary junk. I have to reset the board, and unplug the usb cable to stop it.
I found a post here on the arduino forum:
Where the guy had to change from Fedora to Ubuntu and the corruption went away. That was back on Fedora 13 64bit and I'm using Fedora 15 (64bit) but I think the problems are related.
31st December 2011, 07:08 AM
I'm running FC16 x86_64 on a Lenovo W510, and running into a problem getting either Arduino 0022 (from yum install arduino) or Arduino 1.0 (installed manually) to upload a basic sketch to an UNO over USB. Here's all I'm doing:
(1) Plugging in the UNO via USB to the notebook (pretty lights go on).
(2) Start Arduino IDE (same issue with both 0022 and 1.0).
(3) File > Examples > Basics > Blink
(4) Tools > Board > Arduino Uno
(5) Tools > Serial Port > /dev/ttyACM0
(8) ERROR: avrdude: ser_open(): can't open device "/dev/ttyACM0": Input/output error
I've also noticed that if I try to just cat /dev/ttyACM0 immediately after plugging in the Uno, it works (with no output, but no error either), but if I wait 5 seconds, I get the same "Input/output error". Also seeing this in the kernel ring buffer via dmesg:
[33687.278039] usb 3-2: new full speed USB device number 21 using xhci_hcd
[33687.316408] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
[33687.323392] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
[33687.333422] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
[33687.342390] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
[33687.344446] usb 3-2: New USB device found, idVendor=2341, idProduct=0001
[33687.344453] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[33687.344459] usb 3-2: Product: Arduino Uno
[33687.344463] usb 3-2: Manufacturer: Arduino (www.arduino.cc)
[33687.344468] usb 3-2: SerialNumber: 6493832333135120C180
[33687.344821] usb 3-2: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[33687.347518] cdc_acm 3-2:1.0: ttyACM0: USB ACM device
[33695.965496] xhci_hcd 0000:0f:00.0: ERROR no room on ep ring
[33695.965506] cdc_acm 3-2:1.1: acm_submit_read_urb - usb_submit_urb failed: -12
[33695.965513] tty_port_close_start: tty->count = 1 port count = 0.
[33696.725810] xhci_hcd 0000:0f:00.0: ERROR no room on ep ring
[33696.725820] cdc_acm 3-2:1.1: acm_submit_read_urb - usb_submit_urb failed: -12
[33696.725828] tty_port_close_start: tty->count = 1 port count = 0.
I'm not sure what the host controller error above means, but I'm willing to bet it is related to the problem I'm seeing. I've found other posts on the web which mention similar issues, but they're usually related to USB cameras, and not the Arduino.
Would love to know if others are seeing similar issues. In the mean time, I'm going to install Ubuntu 11.10 on a different box and see if I can get any further down the field with this (even though I can't stand the Unity interface... *shudders*).
---------- Post added 31st December 2011 at 12:08 AM ---------- Previous post was 30th December 2011 at 07:53 PM ----------
Update: after installing Ubuntu 11.10 i386 (kernel 3.0.0) to an old Dell Inspiron 6000, same Arduino Uno works great. None of the issues mentioned above are apparent. So this seems to rule out the Uno itself as the source of the problem.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.