Synacktiv-contrib / Modmobmap

Map 2G/3G/4G and more cellular networks in real live with a simple smart phone, pretty much like osmocomBB monitoring feature.
97 stars 72 forks source link

BladeRF setting sample rate is stuck #11

Closed yesimxev closed 3 years ago

yesimxev commented 3 years ago

Although it is a Nuand issue, you might have a workaround

root@kali:~/mnrt/Modmobmap# python modmobmap.py -m srslte_pss -g 'id=1'
Bands argument not set! Using band 7 by default instead.
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11                                                                                

[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11                                                                                

[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11                                                                                

[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] bladerf_open_with_devinfo()
[INFO] bladerf_get_serial() = 5ddcbad6986d4221b002d771858b6cfb
[INFO] setSampleRate(Rx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Tx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
[INFO] setSampleRate(Tx, 0, 1.920000 MHz), actual = 1.920000 MHz
[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
yesimxev commented 3 years ago

Updated to latest srsLTE (srsRAN) and there are no issues

Wnnn-S commented 2 years ago

I did the same, but the problem still exists.