Crazyradio not enumerating on bus

Post here to get support
marcus
Bitcraze
Posts: 599
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Crazyradio not enumerating on bus

Post by marcus » Mon Jun 10, 2013 7:34 am

Hi,

The files referenced are not bundled with the Crazyflie PC client, they are in the same repo as the Crazyradio-firmware. You can clone this repository and you will get the referenced files.

There are intructions on the wiki on how to update the firmware.

/Marcus



fantomid
Beginner
Posts: 4
Joined: Thu Aug 29, 2013 10:04 am

Re: Crazyradio not enumerating on bus

Post by fantomid » Thu Aug 29, 2013 4:35 pm

I got the same problem on an OMAP System on chip.
With the base kernel generated with OpenEmbbeded, I got an error with ehci-hcd.
With the update kernel generated with the OHCI-HCD support, I got an error too.

Crazyradio is correctly enumerated on Windows 7 OS and on Debian OS.
I think the firmware version is 0.50.

Do you have requirements for the linux kernel (KERNEL OPTIONS) to allow correct enumeration of the Crazyradio ?

Thanks.

marcus
Bitcraze
Posts: 599
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Crazyradio not enumerating on bus

Post by marcus » Sat Aug 31, 2013 6:24 am

No, there are no option required that I know of. If you are having the same issue with the Crazyradio not enumerating it's could be the USB3 port problem. Do you have any USB3 ports on the system? Could you try updating the Crazyradio firmware by following these instructions with this firmware?

If that doesn't work could you paste the output from the logs when you insert the dongle? What kernel version are you using?

fantomid
Beginner
Posts: 4
Joined: Thu Aug 29, 2013 10:04 am

Re: Crazyradio not enumerating on bus

Post by fantomid » Sun Sep 01, 2013 9:23 pm

Hello Marcus,
I don't have USB3 port on the system. And after updating crazyradio with the latest firmware, I got the same error.
The kernel version is 3.2.45
Here is the dmesg output:
  • [ 870.340759] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 871.342803] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [ 871.342987] sched: RT throttling activated
    [ 871.348205] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [ 871.349517] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    [ 871.358520] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [ 871.358734] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 871.358917] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 871.358978] usb usb1: Product: OMAP-EHCI Host Controller
    [ 871.359130] usb usb1: Manufacturer: Linux 3.2.45 ehci_hcd
    [ 871.359222] usb usb1: SerialNumber: ehci-omap.0
    [ 871.363372] hub 1-0:1.0: USB hub found
    [ 871.363494] hub 1-0:1.0: 3 ports detected
    [ 989.855224] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 989.856628] ohci-omap3 ohci-omap3.0: OMAP3 OHCI Host Controller
    [ 989.856781] ohci-omap3 ohci-omap3.0: new USB bus registered, assigned bus number 1
    [ 989.857421] ohci-omap3 ohci-omap3.0: irq 76, io mem 0x48064400
    [ 989.941284] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    [ 989.941467] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 989.941589] usb usb2: Product: OMAP3 OHCI Host Controller
    [ 989.941680] usb usb2: Manufacturer: Linux 3.2.45 ohci_hcd
    [ 989.941802] usb usb2: SerialNumber: ohci-omap3.0
    [ 989.955596] hub 2-0:1.0: USB hub found
    [ 989.955718] hub 2-0:1.0: 3 ports detected
    [ 1010.913269] hub 1-0:1.0: unable to enumerate USB device on port 2
    [ 1011.280517] usb 2-2: new full-speed USB device number 2 using ohci-omap3
    [ 1011.475708] usb 2-2: device descriptor read/64, error -62
    [ 1011.780517] usb 2-2: device descriptor read/64, error -62
    [ 1012.085205] usb 2-2: new full-speed USB device number 3 using ohci-omap3
    [ 1012.280517] usb 2-2: device descriptor read/64, error -62
    [ 1012.585052] usb 2-2: device descriptor read/64, error -62
    [ 1012.889739] usb 2-2: new full-speed USB device number 4 using ohci-omap3
    [ 1013.311645] usb 2-2: device not accepting address 4, error -62
    [ 1013.507141] usb 2-2: new full-speed USB device number 5 using ohci-omap3
    [ 1013.928833] usb 2-2: device not accepting address 5, error -62
    [ 1013.928985] hub 2-0:1.0: unable to enumerate USB device on port 2
Thanks.

marcus
Bitcraze
Posts: 599
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Crazyradio not enumerating on bus

Post by marcus » Wed Sep 11, 2013 2:38 pm

The device doesn't even enumerate and as far as I know there's no options needed for the device to enumerate regardless of class. Could it possibly be a power issue? Are the LEDs lit? Could you try to connect it to an externally powered USB hub?

fantomid
Beginner
Posts: 4
Joined: Thu Aug 29, 2013 10:04 am

Re: Crazyradio not enumerating on bus

Post by fantomid » Mon Sep 23, 2013 1:18 pm

Hello Marcus,

Sorry for the delay.

When connected, all the LEDs are lit, always.
And you are right, it may be a power issue.
I will try to update the ehci-hcd module. Maybe, I will check with an externally powered USB hub too.

Regards.

fantomid
Beginner
Posts: 4
Joined: Thu Aug 29, 2013 10:04 am

Re: Crazyradio not enumerating on bus

Post by fantomid » Sat Oct 26, 2013 10:34 am

Hello Marcus,

you were right. With an USB hub, the crazyradioo is correctly enumerated.
I will begin to work with the USB hub.
Then I will try to get if off and create a specific Nordic compatible device to control the crazyflie.

Post Reply