srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.48k stars 1.15k forks source link

Error opening UHD: code 11 "No compatible RF frontend found". #397

Closed asp2k5 closed 5 years ago

asp2k5 commented 5 years ago

hi srsLTE team, I'm having issues getting srsENB or srsUE to detect my SDR hardware (BladeRF x40), In short, when starting srsENB or srsUE it looks for a USRP and then says "No compatible RF frontend found".

Built in Release mode using commit on branch .

--- Software Radio Systems LTE eNodeB ---

Reading configuration file /root/.srs/enb.conf... Opening USRP with args: Error opening UHD: code 11 No compatible RF frontend found Error opening RF device Failed to find device auto with args auto

jonakarl commented 5 years ago

We have the same problem but with usrp n310.

What we discovered is that the uhd versions differ between srsue and udh_find_device
UHD_3.14.1.1-release vs UHD_003.010.003.000-0-unknown

btw: uhd_find_devices works and finds the device.

andrepuschmann commented 5 years ago

@asp2k5's issue is that you are trying to run a bladeRF using the UHD, which doesn't work. Install the bladerf libs. @jonakarl you may need to install srsLTE from source as you've updated UHD and the original deb package has been built with UHD 3.10.3

asp2k5 commented 5 years ago

thank you for reply but i have already intstalled all the reqd libs of bladeRF. error is not UHD based but the "No compatible RF frontend found" after UHD it is trying to look for BladeRF but its failing to recognise.

velichkov commented 5 years ago

Hi @asp2k5,

i have already intstalled all the reqd libs of bladeRF.

How did you installed them, which versions and before or after building srsLTE? What Linux distribution do you use and which version?

after UHD it is trying to look for BladeRF but its failing to recognise.

How do you know this? It's not evident from the logs you've provided as there is no "Opening bladeRF..." message so it seems you have compiled without bladeRF support.

Go do your build directory, open CMakeCache.txt and make sure BLADERF_FOUND is set to TRUE. If it is set to FALSE first remove the CMakeCache.txt and then build as usual - cmake .., ...

JCK-1096 commented 3 years ago

image

Hi, I am getting this error. What does this mean?

asp2k5 commented 3 years ago

FGPA is not compatible. Burn the required FGPA into your SDR, it will work.

On Fri 12 Feb, 2021, 19:32 JayakumarCK2, notifications@github.com wrote:

[image: image] https://user-images.githubusercontent.com/70588262/107777378-bd6eed80-6d10-11eb-9000-7a43e1521fa4.png

Hi, I am getting this error. What does this mean?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/srsLTE/srsLTE/issues/397#issuecomment-778213133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHYMHBPXH3HFHSGB23TUN3S6UYGBANCNFSM4JEBCJNQ .

JCK-1096 commented 3 years ago

Can you please elaborate, what are FPGA images, and what exactly they do? Any link for the relevant information would be helpful.

JCK-1096 commented 3 years ago

image

I have installed UHD libraries, still getting this error. Any leads ?

Chi-Hsin-Wu commented 2 years ago
image

I have installed UHD libraries,but it says that it's available,and uhd_init failed

RogerLin88124 commented 1 year ago

@Chi-Hsin-Wu hello,I have the same problem as you, is there a solution?

stuitee commented 1 year ago

@Chi-Hsin-Wu hello,I have the same problem as you, is there a solution?

andyraf commented 1 month ago

I have the same problem as well. I've even reinstalled Ubuntu 22.04 from scratch and rerun through all the dependencies and builds according to instructions with no success.