[SOLVED] Cannot find a Crazyradio Dongle in all machines

Discussions and questions about the Crazyradio
Post Reply
agpr
Beginner
Posts: 2
Joined: Tue Mar 22, 2016 4:36 am

[SOLVED] Cannot find a Crazyradio Dongle in all machines

Post by agpr » Tue Mar 22, 2016 4:48 am

Hi! I got this same problem using the Crazyradio PA on my MAC (Yosemite) and PC (Windows and Ubuntu). At first I thought it was a USB 3.0 problem on the macbook, but in other PC machine using USB 2.0 I got the same. I already have tried without and with the crazyflie VM, but I always have the same answer: Cannot find a Crazyradio Dongle. I tried to update the firmware but the only answer is that it can't find this device. Any suggestion?

The output in my terminal using a MacBook-Pro and the OS X Yosemite is:

Code: Select all

Aryadnes-MacBook-Pro:bin Aryadne$ python3 cfclient 
INFO:cfclient.gui:Disabling STL printouts
INFO:cfclient.gui:Foundation not found. Menu will show python as application name
INFO:cfclient.utils.input.inputreaders:Found readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Could not initialize [linuxjsdev]: Only supported on Linux
INFO:cfclient.utils.input.inputreaders:Successfully initialized [pysdl2]
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ library probably not installed (No module named 'zmq')
WARNING:cfclient.utils.zmq_led_driver:Not enabling ZMQ LED driver access,import failed (No module named 'zmq')
WARNING:cfclient.utils.zmq_param:Not enabling ZMQ param access, import failed (No module named 'zmq')
INFO:cfclient.ui.main:This is a MAC - checking if we can apply Progress Bar Stylesheet for Yosemite Skinny Bars 
INFO:cfclient.ui.main:Found Yosemite - applying stylesheet
INFO:cfclient.utils.config:Dist config read from /Users/Aryadne/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/Users/Aryadne/Library/Application Support/cfclient/config.json]
INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)]
INFO:cflib.drivers.cfusb:Looking for devices....
2016-03-22 00:31:37.260 Python[23514:205524] _createMenuRef called with existing principal MenuRef already associated with menu
2016-03-22 00:31:37.262 Python[23514:205524] (
	0   CoreFoundation                      0x00007fff85c5703c __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x00007fff9090176e objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff85c56eed +[NSException raise:format:] + 205
	3   AppKit                              0x00007fff86686e6e -[NSCarbonMenuImpl _createMenuRef] + 62
	4   AppKit                              0x00007fff866867c8 -[NSCarbonMenuImpl _instantiateCarbonMenu] + 139
	5   AppKit                              0x00007fff86685052 -[NSApplication finishLaunching] + 947
	6   AppKit                              0x00007fff86684921 -[NSApplication run] + 128
	7   QtGui                               0x0000000107e2bace _ZN19QEventDispatcherMac13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 1496
	8   QtCore                              0x0000000107346bc7 _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE + 77
	9   QtCore                              0x0000000107346d41 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 365
	10  QtCore                              0x000000010734994b _ZN16QCoreApplication4execEv + 199
	11  QtGui.so                            0x0000000107604768 _ZL23meth_QApplication_exec_P7_objectS0_ + 80
	12  Python                              0x000000010610e415 PyCFunction_Call + 273
	13  Python                              0x0000000106171e17 PyEval_EvalFrameEx + 22399
	14  Python                              0x0000000106175b63 fast_function + 213
	15  Python                              0x0000000106171cac PyEval_EvalFrameEx + 22036
	16  Python                              0x00000001061752a4 _PyEval_EvalCodeWithName + 1884
	17  Python                              0x000000010616c62f PyEval_EvalCode + 81
	18  Python                              0x00000001061921b5 run_mod + 58
	19  Python                              0x0000000106192496 PyRun_FileExFlags + 178
	20  Python                              0x0000000106191aea PyRun_SimpleFileExFlags + 469
	21  Python                              0x00000001061a5afe Py_Main + 3342
	22  Python                              0x00000001060c3e27 Python + 7719
	23  libdyld.dylib                       0x00007fff908385c9 start + 1
	24  ???                                 0x0000000000000002 0x0 + 2
)
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfcl
And the answer trying to run the firmware update:

Code: Select all

Aryadnes-MacBook-Pro:usbtools Aryadne$ python3 launchBootloader.py 
Error!, cannot find the CrazyRadio USB dongle!
Aryadnes-MacBook-Pro:usbtools Aryadne$ 
Last edited by agpr on Fri Apr 22, 2016 8:37 pm, edited 1 time in total.



arnaud
Bitcraze
Posts: 2024
Joined: Tue Feb 06, 2007 12:36 pm

Re: Cannot find a Crazyradio Dongle in all machines

Post by arnaud » Tue Mar 22, 2016 10:41 am

Hi, the first thing is to find out if there is a problem, and what problem, with the dongle usb connection. What are the LED displaying when you insert the Crazyradio in a computer, it is supposed to quickly bling red/green upon insertion.

On windows, do you see the Crazyradio in the device manager? Or on ubuntu, can you type "dmesg" in a console after inserting the Crazyradio. For me I get this output at the end:

Code: Select all

[47182.518125] usb 3-2: new full-speed USB device number 11 using xhci_hcd
[47182.648417] usb 3-2: New USB device found, idVendor=1915, idProduct=7777
[47182.648423] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=29
[47182.648426] usb 3-2: Product: Crazyradio PA USB Dongle
[47182.648429] usb 3-2: Manufacturer: Bitcraze
[47182.648431] usb 3-2: SerialNumber: xxxxxxxxxx

agpr
Beginner
Posts: 2
Joined: Tue Mar 22, 2016 4:36 am

Re: Cannot find a Crazyradio Dongle in all machines

Post by agpr » Tue Mar 22, 2016 8:21 pm

Hi Arnaud, thank you for your contact.

When I plug it on my Mac the red and green leds quickly bling for some seconds. When I insert it in my PC it does nothing. In the output for the dmseg command, it is not shown:

Code: Select all

aryadne@aryadne-Inspiron-N4030:~$ dmesg | grep "New USB"
[    0.929659] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.929661] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.945628] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.945630] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.373906] usb 1-1: New USB device found, idVendor=8087, idProduct=0020
[    1.373911] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.617789] usb 2-1: New USB device found, idVendor=8087, idProduct=0020
[    1.617797] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.797825] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=0138
[    1.797833] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.001413] usb 1-1.4: New USB device found, idVendor=0c45, idProduct=6422
[    2.001421] usb 1-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
And on Windows it does not appear in the device manager.

arnaud
Bitcraze
Posts: 2024
Joined: Tue Feb 06, 2007 12:36 pm

Re: Cannot find a Crazyradio Dongle in all machines

Post by arnaud » Wed Mar 23, 2016 9:10 am

Hi,

It looks like a broken radio, which is pretty rare. I will drop you a mails with info about replacement.

Post Reply