Saturday, May 4, 2013

Issue with Crazyradio on MacBook Pro

Plugging the Crazyradio into USB, I don't get anything on my 13" MacBook Pro (Retina).  I did install VMWare Fusion with an Ubuntu instance so was hoping to start out with Linux; but, the virtual machine can't see the Crazyradio either.

For some reason, it can't enumerate under OS X; I see this in an OS X console:

$sudo dmesg | tail

USBF: 294. 40 [0xffffff801f876000] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x14000000)
USBF: 298.517 [0xffffff801f876000] The IOUSBFamily was not able to enumerate a device.
USBF: 299.836 [0xffffff801f876000] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x14000000)
USBF: 304.718 [0xffffff801f876000] The IOUSBFamily was not able to enumerate a device.
USBF: 306. 40 [0xffffff801f876000] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x14000000)
USBF: 307.358 [0xffffff801f876000] The IOUSBFamily gave up enumerating a USB device after 10 retries.  (Port 1 of Hub at 0x14000000)
USBF: 307.358 [0xffffff801f876000] The IOUSBFamily was not able to enumerate a device.

So I assume since it can't enumerate under OS X, it can't be handed off to the VM either.  I suspect it could be a hardware issue with the Crazyradio, perhaps some marginal electrical issue that manifests itself on specific types of machines.  Next I will try using an externally powered USB hub; if that doesn't work, I will also try another machine running Linux...

5 comments:

  1. The firmware shipped with the Crazyradio has a bug with USB3 ports. This has been fixed in the source code repos and a new firmware with update-instructions will be posted soon.

    /Arnaud

    ReplyDelete
    Replies
    1. Cool, thanks for the info, that's great news - I'll re-flash from a Linux machine. BTW really nice work with the Crazyflie - the hardware looks great!!

      Delete
  2. Glad to hear its just a software bug! Dam Macs for being so ace! Lol Looks like I'll have to find someone with a PC to flash mine when it arrives!

    ReplyDelete
  3. Everything else failed for me, until I followed the instructions here:
    http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml

    ...and they worked!
    The VMWare Linux environment now talks to the Crazyradio PA.

    What is the issue here? Can't the VMWare image be shipped with the bitcraze user in the correct group?

    ReplyDelete
  4. Everything else failed for me, until I followed the instructions here:
    http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml

    ...and they worked!
    The VMWare Linux environment now talks to the Crazyradio PA.

    What is the issue here? Can't the VMWare image be shipped with the bitcraze user in the correct group?

    ReplyDelete