[Solved] Ubuntu drivers error: LIBUSB_ERROR_INVALID_PARAM

Having issues with the site, hardware, source code, or any other issues?
Post Reply
djrevmoon
Posts: 30
Joined: Fri Mar 01, 2013 4:37 am

[Solved] Ubuntu drivers error: LIBUSB_ERROR_INVALID_PARAM

Post by djrevmoon »

Hi,

just installed bladeRF-cli on stock Ubuntu 14.04 LTS as per the instruction in the wiki, and get this:

$ bladeRF-cli -p
[ERROR] Could not open bladeRF device: LIBUSB_ERROR_INVALID_PARAM
probe: Failed to probe for devices: Provided parameter was out of the allowable range

So I ran it in vebose:

[VERBOSE] Found bladeRF (based upon VID/PID)
[DEBUG] Failed to retrieve serial number
[ERROR] Could not open bladeRF device: LIBUSB_ERROR_INVALID_PARAM
[DEBUG] Probe failed on backend 0: Provided parameter was out of the allowable range
probe: Failed to probe for devices: Provided parameter was out of the allowable range

Googling for this error doesnt really get me any further.... Libusb 1.0.0 is installed.

Any pointers? Or should I just compile from source?

thanks!
djrevmoon
Posts: 30
Joined: Fri Mar 01, 2013 4:37 am

Re: Ubuntu drivers error: LIBUSB_ERROR_INVALID_PARAM

Post by djrevmoon »

Yeah that sounds very likely, i bought it a while ago but didnt really get the usb3 support working on ubuntu in parallels. Also I wanted to try openbts and stuff but that did not work back then. I've dusted it off and decided to give it another twirl, but indeed did not update firmware. So I'll be doing that now, thanks for the tip!
djrevmoon
Posts: 30
Joined: Fri Mar 01, 2013 4:37 am

Re: Ubuntu drivers error: LIBUSB_ERROR_INVALID_PARAM

Post by djrevmoon »

Ok I'm running:

ralph@destroyer2:~$ bladeRF-cli --version
0.10.7-git-358160d-ppatrusty
ralph@destroyer2:~$ bladeRF-cli --lib-version
0.14.0-git-358160d-ppatrusty
ralph@destroyer2:~$

lsusb gives:
Bus 001 Device 009: ID 1d50:6066 OpenMoko, Inc.

If I set the jumper I get:
Bus 001 Device 010: ID 04b4:00f3 Cypress Semiconductor Corp.

Then, I tried to flash:

ralph@destroyer2:~$ bladeRF-cli -v verbose
[VERBOSE] Using libusb version: 1.0.17.10830
[INFO] Found FX3 bootloader device on bus=1 addr=10. This may be a bladeRF.
[INFO] Use bladeRF-cli command "recover 1 10 <FX3 firmware>" to boot the bladeRF firmware.
[DEBUG] No devices available on the libusb backend.
No device(s) attached.
ralph@destroyer2:~$ bladeRF-cli recover 1 10 Downloads/bladeRF_fw_v1.6.1.img
ralph@destroyer2:~$

I then repositioned the jumper and powercycled the device and ran:

ralph@destroyer2:~$ bladeRF-cli -p
[ERROR] Could not open bladeRF device: LIBUSB_ERROR_INVALID_PARAM
probe: Failed to probe for devices: Provided parameter was out of the allowable range

So, no luck....
Any more pointers?
djrevmoon
Posts: 30
Joined: Fri Mar 01, 2013 4:37 am

Re: Ubuntu drivers error: LIBUSB_ERROR_INVALID_PARAM

Post by djrevmoon »

Woop! That worked! thank you very much!

It now detects:

$ bladeRF-cli -p

Backend: libusb
Serial: 0bb3137c20ae145a367357ddd61cb4ae
USB Bus: 1
USB Address: 6
Post Reply