Having issues with the site, hardware, source code, or any other issues?
Mathemagician
Posts: 4 Joined: Sun Oct 07, 2018 12:32 pm
Post
by Mathemagician » Sun Oct 07, 2018 12:41 pm
Running into trouble here trying to use CubicSDR on a Macbook Pro. This is both in native Mac OS and in Parallels.
bladeRF-cli sees the device:
Code: Select all
bladeRF> info
Board: bladerf2
Serial #: 80ca389893de4bb699d5751cc3a5f03a
VCTCXO DAC calibration: 0x1f05
FPGA size: 301 KLE
FPGA loaded: yes
USB bus: 4
USB address: 7
USB speed: SuperSpeed
Backend: libusb
Instance: 0
The SoapySDR module and factory are loading:
Code: Select all
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.1-myriadrf~xenial
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr
Search path: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6
Search path: /usr/local/lib/x86_64-linux-gnu/SoapySDR/modules0.6
Search path: /usr/local/lib/SoapySDR/modules0.6
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libHackRFSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libRedPitaya.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libairspySupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libbladeRFSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libmiriSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libosmosdrSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libremoteSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/librfspaceSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/librtlsdrSupport.so
Module found: /usr/lib/x86_64-linux-gnu/SoapySDR/modules0.6/libuhdSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libHackRFSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libRedPitaya.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libairspySupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libbladeRFSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libmiriSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libosmosdrSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libremoteSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/librfspaceSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/librtlsdrSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libuhdSupport.so
Loading modules... linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.010.003.000-0-unknown
done
Available factories...airspy, bladerf, hackrf, miri, null, osmosdr, redpitaya, remote, rfspace, rtlsdr, uhd,
However, SoapySDR does not find the device:
Code: Select all
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.010.003.000-0-unknown
No devices found!
I've tried quite a few things without success and could really use some suggestions.
Thanks!
Mathemagician
Posts: 4 Joined: Sun Oct 07, 2018 12:32 pm
Post
by Mathemagician » Sun Oct 07, 2018 3:07 pm
FWIW, everything works fine all around with an RTLSDR. I just can't get it to work with the bladerf.
I believe it's some issue with the way I've set up SoapySDR, but I'm genuinely out of ideas.
Thanks!
Mathemagician
Posts: 4 Joined: Sun Oct 07, 2018 12:32 pm
Post
by Mathemagician » Sun Oct 07, 2018 10:49 pm
Here is the output of lsusb -v:
Code: Select all
Bus 004 Device 004: ID 2cf0:5250
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x2cf0
idProduct 0x5250
bcdDevice 0.00
iManufacturer 1 Nuand
iProduct 2 bladeRF 2.0
iSerial 3 80ca389893de4bb699d5751cc3a5f03a
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 123
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 1
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Device Status: 0x0000
(Bus Powered)
bglod
Posts: 201 Joined: Thu Jun 18, 2015 6:10 pm
Post
by bglod » Mon Oct 08, 2018 8:46 am
If I'm not mistaken, SoapySDR is still in the process of updating their stuff to support the new version of libbladeRF. That could be what's happening here.
Electrical Engineer
Nuand, LLC.
Mathemagician
Posts: 4 Joined: Sun Oct 07, 2018 12:32 pm
Post
by Mathemagician » Mon Oct 08, 2018 6:46 pm
I suppose that makes sense and is consistent with what I'm seeing. Given that, how should we interpret this?
Untitled.png
bglod
Posts: 201 Joined: Thu Jun 18, 2015 6:10 pm
Post
by bglod » Tue Oct 09, 2018 12:50 pm
Have you tried getting the latest SoapySDR and libbladeRF? You may have to build from source. I'm being told that SoapySDR is indeed released and compatible with the latest libbladeRF.
Electrical Engineer
Nuand, LLC.