Page 1 of 1

[SOLVED] USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 12:26 pm
by mshelley
I am running OS X Lion with USB 3 (retina macbook pro). On another computer I updated the firmware on both the radio dongle and the copter, and I confirmed that USB3 works on that other computer. USB3 on the mac says "The IOUSBFamily has successfully enumerated the device"

The problem is in the cfclient. When I run (EDIT: with or without sudo gives same result) the connect window shows only the debug driver. Here is the About Debug Info:
Cfclient version: 2013.4.2
System: darwin

Interface status
debug: Ok
serial: Not implemented
radio: Cannot open Crazyradio. Permission problem? ([Errno None] Unknown error)
udp: Not implemented
Also, the bottom of the window says "Loading device and config" forever, and in the terminal it has this error (I don't know if it is relevant as the program doesn't crash):
2013-05-24 14:18:54.300 Python[654:e07] _createMenuRef called with existing principal MenuRef already associated with menu
2013-05-24 14:18:54.302 Python[654:e07] (
0 CoreFoundation 0x00007fff885aef56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff82df7dee objc_exception_throw + 43
2 CoreFoundation 0x00007fff885aed8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff885aed14 +[NSException raise:format:] + 116
4 AppKit 0x00007fff86ab894b -[NSCarbonMenuImpl _createMenuRef] + 64
5 AppKit 0x00007fff86ab8236 -[NSCarbonMenuImpl _instantiateCarbonMenu] + 148
6 AppKit 0x00007fff86a8cecf -[NSApplication finishLaunching] + 878
7 AppKit 0x00007fff86a8c860 -[NSApplication run] + 125
8 QtGui 0x0000000107bfe913 _ZN19QEventDispatcherMac13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 1219
9 QtCore 0x0000000106ffed45 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 501
10 QtCore 0x0000000107001c3e _ZN16QCoreApplication4execEv + 206
11 QtGui.so 0x00000001076203b1 meth_QApplication_exec_ + 81
12 Python 0x00000001059a3367 PyEval_EvalFrameEx + 7687
13 Python 0x00000001059a8152 fast_function + 194
14 Python 0x00000001059a458f PyEval_EvalFrameEx + 12335
15 Python 0x00000001059a13e6 PyEval_EvalCodeEx + 1734
16 Python 0x00000001059a0d16 PyEval_EvalCode + 54
17 Python 0x00000001059c83e1 PyRun_FileExFlags + 161
18 Python 0x00000001059c7f2e PyRun_SimpleFileExFlags + 718
19 Python 0x00000001059dbd20 Py_Main + 3248
20 Python 0x00000001058fcf24 _mh_execute_header + 3876
)
I am at a loss for what to do next. No one else seems to have connection problems after the USB3 fix except me. I appreciate any help!

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 3:27 pm
by mshelley
I also tried it in Ubuntu via Parallels and the About Debug Info says this:
Cfclient version: 2013.4.2
System: linux2

Interface status
debug: Ok
serial: Not implemented
radio: Cannot open Crazyradio. Permission problem? (error sending control message: Broken pipe)
udp: Not implemented
In Ubuntu there is no python error so my guess is that isn't relevant after all.

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 3:39 pm
by codybuell
Did you setup the udev rules on your Ubuntu install?

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 3:45 pm
by mshelley
Yes, I did. And after plugging in the USB dongle the lights flash and turn off as they should and dmesg gives this message in Ubuntu:
usb 2-1: new full-speed USB device number 6 using uhci_hcd
Also, when I connect the dongle with parallels open it correctly asks whether to connect it to OS X or Ubuntu. Everything looks fine except the cfclient <-> dongle connection.

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 5:02 pm
by codybuell
Have you tried to run cfclient as root? If you are able to connect then, it may narrow the problem down.

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 5:52 pm
by mshelley
Thanks for the replies. I have tried with and without sudo in both OS X and the Ubuntu VM. The error is the same.

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 6:36 pm
by tobias
Could you try the latest version (2013.4.2) that is available here. This version contains some extra debugdata that can be seen if you go to Help->About and have a look at the Debug tab. Could you cut and paste the text that's there?

Re: USB Enumerated but cannot connect. (OSX USB3)

Posted: Fri May 24, 2013 6:58 pm
by mshelley
That is the version I have already. I have pasted the debug text above in the 1st and 2nd posts for both OS X and Parallels.

Re: [SOLVED] USB Enumerated but cannot connect. (OSX USB3)

Posted: Sat May 25, 2013 3:02 pm
by mshelley
I have solved this issue with a workaround: I bought a USB2 4 port hub and plugged the dongle into that. Now it works fine. I hope this helps any other mac users with only USB3 ports.

Re: [SOLVED] USB Enumerated but cannot connect. (OSX USB3)

Posted: Sun May 26, 2013 11:24 am
by TheFrog4u
So it seems there is still a usb3 problem in the newest firmware for macs? Can anyone confirm this?