LIBUSB_ERROR_NO_DEVICE

Having issues with the site, hardware, source code, or any other issues?

Moderator: robert.ghilduta

Post Reply
yoshimifuj
Posts: 15
Joined: Wed May 07, 2014 8:59 pm

LIBUSB_ERROR_NO_DEVICE

Post by yoshimifuj » Sat Jun 04, 2016 4:04 am

I met a list of error message when transmitting IQ signal at sample rate 2.6Msps.
All the related information about software and driver versions are as follows.
bladeRF-cli version: 1.3.1
libbladeRF version: 1.6.1

Firmware version: 2.0.0
FPGA version: 0.3.4

The message is as follows.
What happened and could you prevent this from happening again?

[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001606F46FB30
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001606F48FB40
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001605EFB9050
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 0000016060F8CE60
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 0000016060FACE70
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 0000016060FCCE80
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001605EFD9060
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001605EFF9070
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 00000160772EFB30
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001607730FB40
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001607732FB50
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001607631FB30
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001607633FB40
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001607635FB50
[ERROR @ libusb.c:876] Error canceling transfer (-4): LIBUSB_ERROR_NO_DEVICE
[ERROR @ libusb.c:943] Got transfer error for buffer 000001607534FB30

jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: LIBUSB_ERROR_NO_DEVICE

Post by jynik » Fri Jun 10, 2016 10:39 am

Those error messages all indicate the the device has been unplugged the system.

Could there may be a bad USB connection, whether it be the cable, the laptop, or the connector on the bladeRF?

Are you leaving a machine for an extended period of time such that it may be entering a suspend mode?

yoshimifuj
Posts: 15
Joined: Wed May 07, 2014 8:59 pm

Re: LIBUSB_ERROR_NO_DEVICE

Post by yoshimifuj » Mon Jun 13, 2016 5:34 pm

Thanks for your reply.

I'm sending RF signal with bladeRF more than 1 hour.
I suspect my ultra slim USB 3.0 cable.
It seems very stable in a short period, but my usage sometime require more than 1 hour continuous run, up to 24 hours.
In that case, it seems that I must choose more reliable USB cable, instead.

jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: LIBUSB_ERROR_NO_DEVICE

Post by jynik » Tue Jun 14, 2016 9:21 am

You noted this happens after 1 hour -- does this duration correspond to any power save settings on the machine?

I have seen similar issues like this when my machine went to sleep or into some lower power state. Turning off the low-power standby modes when I was performing long-running tests addressed the issue, for what it's worth.

Post Reply