Dear Osmocom community,
as the pandemic continues and physical meetings are out of the question
for the forseeable future, it would be a good idea to have a periodic
virtual online meeting of the interested Osmocom community.
I was thinking of a format where we would serve two major purposes:
1) technical talks about osmocom relevant topics - ideally
current/recent developments
* can be pre-recorded to avoid any problems with technical setup,
streaming, ...
* should ideally have a Q+A session at their initial "airing" during
one OsmoDevCall
2) unstructured solicited social event (USSE)
* random chat in audio (optionally video)
* not recorded, obviously
The recording of the technical presentation should then be permanently
made available (like the presentations of our prior OsmoCon /
OsmoDevCon).
Not every OsmoDevCall would neccessarily need the two parts, but I think
it would be great if we can make that happen. We could also have e.g. a
two-weekly schedule for the USSE and a monthly schedule for the
technical presentation.
We'd need somebody to volunteer to "manage" the "broadcast" side of
this, preferably somebody with at least some prior exposure to online
events (like the c3voc).
I'm using https://osmocom.org/issues/4928 to collect a tentative list
of topics. Feel free to add your ideas there, as well as any comment/
feedback you may have.
Regards,
Harald
--
- Harald Welte <laforge(a)osmocom.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Hi,
I´m trying to get my FUNcube Dongle (V1.O NOT the Pro+) to work on
Ubuntu 20.04.1 LTS but it doesn´t work.
On a rasberry pi4 (Raspbian 10) the dongle is working in
gnuradio-companion together with the osmocom-source. So the hardware
seems to work.
On Ubuntu I get following errors:
1. Gnuradio-companion as "osmocom Source" with device string "fcd=0":
Executing: /usr/bin/python3 -u /home/reald/grc/osmocomsrc_fcd.py
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using FUNcube Dongle V1.0 (hw:2)
gr::log :INFO: audio source - Audio source arch: alsa
gr::log :INFO: fcd0 - Audio device hw:2 opened
gr::log :INFO: fcd_control0 - FunCube Dongle V1.0 initialized.
gr::log :INFO: fcd_control0 - Dongle: FCDAPP 18.10
gr::log :INFO: fcd_control0 - LNA gain set to: 20
Traceback (most recent call last):
File "/home/reald/grc/osmocomsrc_fcd.py", line 275, in <module>
main()
File "/home/reald/grc/osmocomsrc_fcd.py", line 253, in main
tb = top_block_cls()
File "/home/reald/grc/osmocomsrc_fcd.py", line 145, in __init__
self.osmosdr_source_0 = osmosdr.source(
File "/usr/lib/python3/dist-packages/osmosdr/osmosdr_swig.py", line
1074, in make
return _osmosdr_swig.source_make(*args, **kwargs)
RuntimeError: boost::too_many_args: format-string referred to fewer
arguments than were passed
>>> Done (return code 1)
2. GQRX
When configuring gqrx the dongle is listed. But after every start of
gqrx the message
"boost::too_many_args: format-string referred to fewer arguments then
were passed - Please select another device"
appears and the dongle cannot be used.
3. osmocom_fft -a fcd=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf
bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using FUNcube Dongle V1.0 (hw:2)
gr::log :INFO: audio source - Audio source arch: alsa
gr::log :INFO: fcd0 - Audio device hw:2 opened
gr::log :INFO: fcd_control0 - FunCube Dongle V1.0 initialized.
gr::log :INFO: fcd_control0 - Dongle: FCDAPP 18.10
gr::log :INFO: fcd_control0 - LNA gain set to: 20
Couldn't instanciate source (no device present?).
The device itself is found:
$ lsusb
Bus 001 Device 009: ID 04d8:fb56 Microchip Technology, Inc. FUNcube
Dongle V1.0
$ dmesg
[10627.256845] usb 1-9: new full-speed USB device number 9 using xhci_hcd
[10627.408263] usb 1-9: New USB device found, idVendor=04d8,
idProduct=fb56, bcdDevice= 0.02
[10627.408268] usb 1-9: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[10627.408272] usb 1-9: Product: FUNcube Dongle V1.0
[10627.408275] usb 1-9: Manufacturer: Hanlincrest Ltd.
[10627.416513] hid-generic 0003:04D8:FB56.0007: hiddev1,hidraw3: USB HID
v1.11 Device [Hanlincrest Ltd. FUNcube Dongle V1.0 ] on
usb-0000:00:14.0-9/input2
[10627.849214] usb 1-5.1.1: reset high-speed USB device number 8 using
xhci_hcd
[10628.703275] parport0: no more devices allowed
[10628.703283] ppdev0: failed to register device!
Package: gr-osmosdr
Version: 0.2.0-2
Package: libosmosdr0
Version: 0.1.8.effcaa7-7
Any ideas? Thanks for your help!
Regards
Dennis
Hi Guys…..
Um im far from an expert at all this, I hardly even know what this device is capable of doing.. but I bought one because they sound very interesting if you know what you doing, what you can tune into etc…
But I have run into some trouble..
I bought a RTL_SDR Receiver R820T2 USB Tuner 100KHz-1 7GHz UV HF… I have a Mac OS running MoJave version10.14.6 (18G103).
I downloaded CubicSDR, it installed perfectly.. the trouble I’m having is the software not picking up my Tuner.. well it does pick it up after a few minutes, but its like its not throwing enough power to keep a stable connection to CubicSDR..
What can I do to fix this? Is there anything at all I can do to fix this pretty easily? Or is it very hard? Or do I have to buy more parts etc??
Can you please let me know so I know if its just a waste of space lol…
Cheers,
Regards
Jarrod
Signed-off-by: Ron Economos <w6rz(a)comcast.net>
---
include/osmosdr/source.h | 1 +
lib/sink_iface.h | 1 +
lib/source_iface.h | 2 ++
python/bindings/python_bindings.cc | 12 ++++++------
python/bindings/source_python.cc | 2 +-
5 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/include/osmosdr/source.h b/include/osmosdr/source.h
index 3ea716d..20c77b1 100644
--- a/include/osmosdr/source.h
+++ b/include/osmosdr/source.h
@@ -63,6 +63,7 @@ public:
*
* \param seek_point sample offset in file
* \param whence one of SEEK_SET, SEEK_CUR, SEEK_END (man fseek)
+ * \param chan the channel index 0 to N-1
* \return true on success
*/
virtual bool seek( long seek_point, int whence, size_t chan = 0 ) = 0;
diff --git a/lib/sink_iface.h b/lib/sink_iface.h
index 39aabc7..15ea952 100644
--- a/lib/sink_iface.h
+++ b/lib/sink_iface.h
@@ -201,6 +201,7 @@ public:
/*!
* Select the active antenna of the underlying radio hardware.
+ * \param antenna the antenna name
* \param chan the channel index 0 to N-1
* \return the actual antenna's name
*/
diff --git a/lib/source_iface.h b/lib/source_iface.h
index abb70eb..14f05bb 100644
--- a/lib/source_iface.h
+++ b/lib/source_iface.h
@@ -43,6 +43,7 @@ public:
*
* \param seek_point sample offset in file
* \param whence one of SEEK_SET, SEEK_CUR, SEEK_END (man fseek)
+ * \param chan the channel index 0 to N-1
* \return true on success
*/
virtual bool seek( long seek_point, int whence, size_t chan = 0 ) { return false; }
@@ -210,6 +211,7 @@ public:
/*!
* Select the active antenna of the underlying radio hardware.
+ * \param antenna the antenna name
* \param chan the channel index 0 to N-1
* \return the actual antenna's name
*/
diff --git a/python/bindings/python_bindings.cc b/python/bindings/python_bindings.cc
index 7204b2b..428417d 100644
--- a/python/bindings/python_bindings.cc
+++ b/python/bindings/python_bindings.cc
@@ -16,9 +16,9 @@ namespace py = pybind11;
// Headers for binding functions
/**************************************/
-/* The following comment block is used for
-/* gr_modtool to insert function prototypes
-/* Please do not delete
+// The following comment block is used for
+// gr_modtool to insert function prototypes
+// Please do not delete
/**************************************/
// BINDING_FUNCTION_PROTOTYPES(
void bind_sink(py::module& m);
@@ -50,9 +50,9 @@ PYBIND11_MODULE(osmosdr_python, m)
py::module::import("gnuradio.gr");
/**************************************/
- /* The following comment block is used for
- /* gr_modtool to insert binding function calls
- /* Please do not delete
+ // The following comment block is used for
+ // gr_modtool to insert binding function calls
+ // Please do not delete
/**************************************/
// BINDING_FUNCTION_CALLS(
bind_sink(m);
diff --git a/python/bindings/source_python.cc b/python/bindings/source_python.cc
index 48bf10c..0cab394 100644
--- a/python/bindings/source_python.cc
+++ b/python/bindings/source_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(1) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(source.h) */
-/* BINDTOOL_HEADER_FILE_HASH(574373c3c7682569b0fd7eea577739da) */
+/* BINDTOOL_HEADER_FILE_HASH(d1a3d9ea3d815fe4f18acc3eef21f1b6) */
/***********************************************************************************/
#include <pybind11/complex.h>
--
2.17.1
Hi Sylvain,
Since I switched to Ubuntu 20.04, I am not able to get Posphor working with
osmocom_fft. I am getting the following error:
[!] gl_cmap shader compilation failed (cmap_simple.glsl)
[w] Color map shader 'simple' failed to load, will use fallback
[!] gl_cmap shader compilation failed (cmap_bicubic.glsl)
[w] Color map shader 'bicubic' failed to load, will use fallback
[!] gl_cmap shader compilation failed (cmap_fallback.glsl)
[!] Color map shader 'fallback' failed, aborting
gr::log :ERROR: qt_sink_c0 - Failed to initialize fosphor
The app is running, but the render area of the spectrum is completely
blank.
I am on your "gr3.8" branch. OpenCL is exactly the same as on Ubuntu 18.04
(I need the older 340 Nvidia driver on my old NVS 4200M, if you remember),
GLFW is the latest master. Everything compiles just fine, only at runtime
this issue presents itself.
If you have any idea, that would be lovely.
Regards,
Csaba
When using gr-osmosdr with an xtrx board
Executing: /usr/bin/python3 -u /home/gwe/sources/nop.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/osmosdr/osmosdr_swig.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 670, in _load_unlocked
File "<frozen importlib._bootstrap>", line 583, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 1043, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: /usr/lib/libgnuradio-osmosdr.so.0.2.0: undefined symbol: xtrx_tune_rx_bandwidth
libgnuradio-osmosdr has no references to libxtrx*.so*:
$ ldd /usr/lib/libgnuradio-osmosdr.so.0.2.0.0 | grep xtrx
$
After adding the mandatory library in CMakeLists.txt, flowgraph start
correctly:
Executing: /usr/bin/python3 -u /home/gwe/sources/nop.py
CPU Features: SSE2+ SSE4.1+ AVX- FMA-
Using sse2 for xtrxdsp_iq16_sc32
Using sse2 for xtrxdsp_iq8_ic16
Using sse2 for xtrxdsp_iq16_ic16i
Using sse2 for xtrxdsp_iq8_ic8i
Using sse2 for xtrxdsp_sc32i_iq16
Using sse2 for xtrxdsp_iq8_sc32
Using sse2 for xtrxdsp_iq8_sc32i
Using sse2 for xtrxdsp_iq16_sc32i
Using sse2 for xtrxdsp_sc32_iq16
Using sse2 for xtrxdsp_iq8_ic16i
Using sse2 for xtrxdsp_ic16i_iq16
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.2.0
built-in source types: file xtrx
xtrx
xtrx_obj::xtrx_obj = 4
And the libgnuradio-osmosdr is correctly linked to libxtrx*.so*
$ ldd /usr/lib/libgnuradio-osmosdr.so.0.2.0.0 | grep xtrx
libxtrx.so.0 => /usr/local/lib/libxtrx.so.0 (0x00007f0cf7188000)
libxtrxll.so.0 => /usr/local/lib/libxtrxll.so.0 (0x00007f0cf6535000)
libxtrxdsp.so.0 => /usr/local/lib/libxtrxdsp.so.0 (0x00007f0cf6526000)
$
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou(a)trabucayre.com>
---
lib/xtrx/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/xtrx/CMakeLists.txt b/lib/xtrx/CMakeLists.txt
index 9297bf0..7f31829 100644
--- a/lib/xtrx/CMakeLists.txt
+++ b/lib/xtrx/CMakeLists.txt
@@ -26,6 +26,10 @@ target_include_directories(gnuradio-osmosdr PRIVATE
${LIBXTRX_INCLUDE_DIRS}
)
+APPEND_LIB_LIST(
+ ${LIBXTRX_LIBRARIES}
+)
+
list(APPEND gr_osmosdr_srcs
${CMAKE_CURRENT_SOURCE_DIR}/xtrx_obj.cc
${CMAKE_CURRENT_SOURCE_DIR}/xtrx_source_c.cc
--
2.26.2
From: Clayton Smith <argilo(a)gmail.com>
The T/R switching code added in ae2253c516bfdc9ae4575ecd61fe0e6cd8608a0d
fails to set custom filter bandwidths because it sets bandwidth and
sample rate in the wrong order. As noted in the documentation for
hackrf_set_sample_rate: "If you want to override the baseband filter
selection, you must do so after setting the sample rate."
To solve this problem I moved the set_bandwidth call after
set_sample_rate. It was also necessary to skip the call if a custom
bandwidth was not requested.
---
lib/hackrf/hackrf_common.cc | 5 ++++-
lib/hackrf/hackrf_common.h | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/hackrf/hackrf_common.cc b/lib/hackrf/hackrf_common.cc
index a6de22aab6..666dc60f84 100644
--- a/lib/hackrf/hackrf_common.cc
+++ b/lib/hackrf/hackrf_common.cc
@@ -37,6 +37,7 @@ hackrf_common::hackrf_common(const std::string &args) :
_center_freq(0),
_freq_corr(0),
_auto_gain(false),
+ _requested_bandwidth(0),
_bandwidth(0),
_bias(false),
_started(false)
@@ -339,6 +340,7 @@ double hackrf_common::set_bandwidth( double bandwidth, size_t chan )
int ret;
// osmosdr::freq_range_t bandwidths = get_bandwidth_range( chan );
+ _requested_bandwidth = bandwidth;
if ( bandwidth == 0.0 ) /* bandwidth of 0 means automatic filter selection */
bandwidth = _sample_rate * 0.75; /* select narrower filters to prevent aliasing */
@@ -411,9 +413,10 @@ bool hackrf_common::get_bias()
void hackrf_common::start()
{
_started = true;
- set_bandwidth(get_bandwidth());
set_center_freq(get_center_freq());
set_sample_rate(get_sample_rate());
+ if (_requested_bandwidth != 0)
+ set_bandwidth(get_bandwidth());
set_gain(get_gain());
set_bias(get_bias());
}
diff --git a/lib/hackrf/hackrf_common.h b/lib/hackrf/hackrf_common.h
index bb553c3bc6..d1ab47b6fb 100644
--- a/lib/hackrf/hackrf_common.h
+++ b/lib/hackrf/hackrf_common.h
@@ -104,6 +104,7 @@ private:
double _freq_corr;
bool _auto_gain;
double _amp_gain;
+ double _requested_bandwidth;
double _bandwidth;
bool _bias;
bool _started;
--
2.25.1