myriadrf / LimeSuite

Driver and GUI for LMS7002M-based SDR platforms
https://myriadrf.org/projects/lime-suite/
Apache License 2.0
465 stars 182 forks source link

The port is busy. Connection LimeRFE + LimeSDR #367

Closed egortaran closed 1 year ago

egortaran commented 1 year ago

Issue Description

Hello everyone. I would like to run srsRAN on LimeSDR v1.4s using LimeRFE amplifier. How to do it? I use this documentation. When I use LimeSuite GUI, following the instructions, the ports open.

LimeSDR ``` INFO: Disconnected control port INFO: Reference clock 30.72 MHz INFO: Connected Control port: LimeSDR-USB FW:4 HW:4 Protocol:1 GW:2.23 Ref Clk: 30.72 MHz ```
LimeRFE ``` Port opened Firmware version: 1 Hardware version: 0x10 ```

But since the device is already busy, I can not be able to connect srsRAN.

srsRAN ``` [ERROR] Cannot claim interface - Resource busy [ERROR] Failed to open device [ERROR] connection is not open [ERROR] TransferPacket: Write failed (ret=0) [ERROR] connection is not open [ERROR] TransferPacket: Write failed (ret=0) [ERROR] Failed to open. Device is busy. Failed to create Soapy object Error initializing radio. ```

Technology stack

Ubuntu 22.04 (Intel® Core™ i7-7700 CPU @ 3.60GHz × 8) srsRAN 22.04 (open5gs) LimeSDR v1.4s (LimeSuite v20.10.0, SoapySDR 0.7.2) LimeRFE 1v31

9600 commented 1 year ago

Don't use LimeSuiteGUI to open the LimeSDR and instead just use this to connect to the LimeRFE and configure it. That way the SDR will be free for srsRAN to open.