Hey all,
I’m asking a question here and answering to help others experiencing the same issue.
I’m running Ubuntu Linux and attempting to reprogram either a Dash or Dash Pro from the Arduino IDE:
$ cat /etc/issue
Ubuntu 15.04
- I have the board files for the Dash and Dash Pro installed in the Arduino IDE and I’m running Arduino IDE 1.6.5 or later
- I also have already granted the necessary permissions to my user account for accessing USB devices, and logged out and back in
- I have already installed the
libudev
,cython
,python
,hidapi
and other dependencies according to the Arduino IDE Integration installation instructions - I have already pressed the Program button on the Dash or Dash Pro, and have confirmed the “heartbeat” blinking pattern (two short blinks on, long off) that indicates the Dash or Dash Pro is in bootloader mode
The problem: When I attempt to Upload a new program via the Arduino IDE, I get the following error at the bottom of the IDE:
File "hid.pyx", line 62, in hid.device.open (hid.c:1418)
IOError: open failed
I did some investigation by opening Terminal (Ctrl
+Alt
+T
) and, first, running the lsusb
command. Sure enough, the device isn’t listed (that is, I see no difference in the output of lsusb
whether the Dash or Dash Pro is connected versus disconnected to the USB port).
I also ran dmesg
to see if there were any USB driver errors. That’s when, to my horror, I saw this:
[ 1341.772925] usb 1-1.2: device descriptor read/64, error -32
[ 1342.429227] usb 1-1.2: new full-speed USB device number 15 using ehci-pci
[ 1342.837450] usb 1-1.2: device not accepting address 15, error -32
[ 1342.837758] usb 1-1-port2: unable to enumerate USB device
Am I crazy? What in the world could be wrong with my poor Dash and Dash Pro?