Hello
I'm trying to get the osmo-trx-lms to work with my LimeSDR. the setup is the latest version of LimeSDR and osmo-trx built from source with the command (./configure --with-lms) .
I can see the device through LimeUtil but when I try the command it fails with the following error
Info: SSE3 support compiled in and supported by CPU
Info: SSE4.1 support compiled in and supported by CPU
Sun Jul 29 07:01:27 2018 DLGLOBAL <0002> telnet_interface.c:104 telnet at 127.0.0.1 4237
Sun Jul 29 07:01:27 2018 DLCTRL <0009> control_if.c:887 CTRL at 127.0.0.1 4236
Config Settings
Log Level… 3
Device args…
TRX Base Port… 5700
TRX Address… 127.0.0.1
GSM BTS Address… 127.0.0.1
Channels… 1
Tx Samples-per-Symbol… 4
Rx Samples-per-Symbol… 4
EDGE support… 0
Reference… 0
C0 Filler Table… 1
Multi-Carrier… 0
Tuning offset… 0
RSSI to dBm offset… 0
Swap channels… 0
Tx Antennas… 'BAND1’
Rx Antennas… ‘LNAW’
Setting SCHED_RR priority(18)
Sun Jul 29 07:01:27 2018 DMAIN <0000> osmo-trx.cpp:379 [tid=140014553808704] Config: Setting SCHED_RR failed
I tried using the configuration file from the osmo-trx git url and the below file as well. both gave the same result.
https://osmocom.org/attachments/3219/limesdr.cfg1
Any ideas?
Thanks
Bahaeddin Sagar
Hello
I submitted a pull request on Github[1] which fixes bug with bias-T
power. The bias-T voltage was staying on after rtl tools ended. This
is dangerous and can lead to damage device.
[1] https://github.com/steve-m/librtlsdr/pull/47
Hi,
I have submitted a pull request on Github[1] which improves the
performance of the hackrf source. With this patch the conversion
int8_t -> float is done in realtime instead of looking up values in
the "_lut" lookup table.
In this way the compiler is able to generate AVX/SSE code (-O3
-march=native) to perform the conversion.
In [2] you can find a benchmark to show the differences.
Using -Ofast (or -O3) and -march=native I get ~2.8x using an
Intel i7 (4th gen) and 3.1x on a Core i5 (6th gen).
Gqrx with the patched library can play a WFM radio without any
interruption even with just 3 buffers (option="hackrf=0,buffers=3").
Best regards,
Alain
[1] https://github.com/osmocom/gr-osmosdr/pull/14
[2] https://gist.github.com/carpikes/cad029c338605f70d9f687aeee447db4
For anyone using the willcode/gr-osmosdr sdrplay2 branch, the SDRplay
API/SDK version 2.13 is now required. Previously, any 2.X version would
work.
There was a change to a function signature in 2.13, and since there
aren't a lot of users of this branch, I decided not to sprinkle ifdefs
around the code.
Thanks to krippendorf for the fix.
With just 'inline', if the compiler decides not to inline them, it isn't
required to emit them at all. For some targets with -Os that is causing
build failures.
Perhaps we might consider using '__attribute__((always_inline))' for
GCC builds, but 'static inline' is a good start.
---
src/rtl_adsb.c | 8 ++++----
src/rtl_power.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/rtl_adsb.c b/src/rtl_adsb.c
index 9087de4..7aea8dd 100644
--- a/src/rtl_adsb.c
+++ b/src/rtl_adsb.c
@@ -183,7 +183,7 @@ int magnitute(uint8_t *buf, int len)
return len/2;
}
-inline uint16_t single_manchester(uint16_t a, uint16_t b, uint16_t c, uint16_t d)
+static inline uint16_t single_manchester(uint16_t a, uint16_t b, uint16_t c, uint16_t d)
/* takes 4 consecutive real samples, return 0 or 1, BADSAMPLE on error */
{
int bit, bit_p;
@@ -224,17 +224,17 @@ inline uint16_t single_manchester(uint16_t a, uint16_t b, uint16_t c, uint16_t d
return BADSAMPLE;
}
-inline uint16_t min16(uint16_t a, uint16_t b)
+static inline uint16_t min16(uint16_t a, uint16_t b)
{
return a<b ? a : b;
}
-inline uint16_t max16(uint16_t a, uint16_t b)
+static inline uint16_t max16(uint16_t a, uint16_t b)
{
return a>b ? a : b;
}
-inline int preamble(uint16_t *buf, int i)
+static inline int preamble(uint16_t *buf, int i)
/* returns 0/1 for preamble at index i */
{
int i2;
diff --git a/src/rtl_power.c b/src/rtl_power.c
index 00f4d9f..625d818 100644
--- a/src/rtl_power.c
+++ b/src/rtl_power.c
@@ -250,7 +250,7 @@ void sine_table(int size)
}
}
-inline int16_t FIX_MPY(int16_t a, int16_t b)
+static inline int16_t FIX_MPY(int16_t a, int16_t b)
/* fixed point multiply and scale */
{
int c = ((int)a * (int)b) >> 14;
--
2.17.1
Hi all,
So I decided to add support for SpyServer in gr-osmosdr. It is currently
at a fork of mirrored in github: https://github.com/racerxdl/gr-osmosdr
What should be my next steps to get this to the official branch?
--
Lucas Teske
Teske Virtual System
GPG: BD29 7EF3 4CCB EB61 B790 06C3 351A 8000 DEAD CE11
GPG: 4A90 974B ACE0 A9A6 AF09 B3B1 6C39 C1C1 6A9D A7BE
GPG: BD09 9175 6DE8 37F4 08D3 B296 DE7A 51C3 87C9 27EE