From hessu at hes.iki.fi Mon Jun 1 09:33:39 2015 From: hessu at hes.iki.fi (Heikki Hannikainen) Date: Mon, 1 Jun 2015 12:33:39 +0300 (EEST) Subject: Multiple hackrf boards support (patch) Message-ID: Hi, I have a little pull request for gr-osmosdr, to enable multiple devices support for hackrf. This allows doing things like full duplex using two boards in a single graph. You can specify either hackrf=0 and hackrf=1 to select by a device index, or the serial number (or an unique suffix of a serial number), hackrf=f00d and hackrf=1234abba. hackrf_info lists multiple devices and their serial numbers. Apps like gqrx seem to magically work, too, and allow device selection. The hackrf project just merged the pull request for libhackrf & tools 3 days ago, and it's already available in macports at least. The gr-osmosdr patches here do work against old libhackrf as before, it detects the presence of the new hackrf_device_list API and enables multiple device support only if it is available. What is the preferred patch format, I have the changes available as a feature branch in github? https://github.com/hessu/gr-osmosdr/tree/feature/hackrf_multidev - Hessu From hessu at hes.iki.fi Tue Jun 2 07:44:07 2015 From: hessu at hes.iki.fi (Heikki Hannikainen) Date: Tue, 2 Jun 2015 10:44:07 +0300 (EEST) Subject: Multiple hackrf boards support (patch) In-Reply-To: References: Message-ID: Hi all, Dimitri merged the patch set to gr-osmosdr master yesterday. Beware of a little catch, there are some examples floating on the net with "hackrf=1" as the device argument. Device index numbers are 0-based (like with rtlsdr and other drivers), so you'll have to use hackrf=0 if you only have a single device attached, hackrf=1 would be the second device. Before this patch the hackrf gr-osmosdr driver did not care about the parameter at all. Device selection by serial number tail ("hackrf=beeff00d") requires updated hackrf firmware. The firmware changes have been in the hackrf git master, but there's no official firmware binary published yet. On Mon, 1 Jun 2015, Heikki Hannikainen wrote: > > Hi, > > I have a little pull request for gr-osmosdr, to enable multiple devices > support for hackrf. This allows doing things like full duplex using two > boards in a single graph. > > You can specify either hackrf=0 and hackrf=1 to select by a device index, or > the serial number (or an unique suffix of a serial number), hackrf=f00d and > hackrf=1234abba. hackrf_info lists multiple devices and their serial numbers. > Apps like gqrx seem to magically work, too, and allow device selection. > > The hackrf project just merged the pull request for libhackrf & tools 3 days > ago, and it's already available in macports at least. > > The gr-osmosdr patches here do work against old libhackrf as before, it > detects the presence of the new hackrf_device_list API and enables multiple > device support only if it is available. > > What is the preferred patch format, I have the changes available as a feature > branch in github? > > https://github.com/hessu/gr-osmosdr/tree/feature/hackrf_multidev - Hessu From horiz0n at gmx.net Tue Jun 2 20:12:43 2015 From: horiz0n at gmx.net (Dimitri Stolnikov) Date: Tue, 02 Jun 2015 22:12:43 +0200 Subject: Multiple hackrf boards support (patch) In-Reply-To: References: Message-ID: Thanks Heikki, i've added your remarks to the wiki https://sdr.osmocom.org/trac/wiki/GrOsmoSDR#HackRFSourceSink Best regards, Dimitri From j-pi at seznam.cz Fri Jun 26 04:29:49 2015 From: j-pi at seznam.cz (P) Date: Fri, 26 Jun 2015 06:29:49 +0200 Subject: [PATCH] add get/set BW for rtl-sdr Message-ID: <558CD53D.2070809@seznam.cz> This patch use freshly implemented feature of rtl-sdr for R820T frontend, bandwidth setting. As of current version BW value cannot be get from rtl-sdr, so only original set value is used. -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-add-get-set-BW-for-rtl-sdr.patch Type: text/x-patch Size: 1704 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: OpenPGP digital signature URL: From arturo.borrero.glez at gmail.com Tue Jun 30 12:11:38 2015 From: arturo.borrero.glez at gmail.com (Arturo Borrero Gonzalez) Date: Tue, 30 Jun 2015 14:11:38 +0200 Subject: sdrangelove build issues on mipsel Message-ID: Hi there, In debian, sdrangelove is having some build issues on mipsel [0]. At first, there was an issue regarding the '-msse2' switch. If I delete the switch, then another build error happens: ======== 8< ======== [...] [ 21%] Building CXX object CMakeFiles/sdrbase.dir/sdrbase/dsp/interpolator.cpp.o /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DUSE_FFTW -Dsdrangelove_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -isystem /usr/include/mipsel-linux-gnu/qt5 -isystem /usr/include/mipsel-linux-gnu/qt5/QtCore -isystem /usr/lib/mipsel-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/mipsel-linux-gnu/qt5/QtWidgets -isystem /usr/include/mipsel-linux-gnu/qt5/QtGui -isystem /usr/include/mipsel-linux-gnu/qt5/QtOpenGL -isystem /usr/include/mipsel-linux-gnu/qt5/QtMultimedia -isystem /usr/include/mipsel-linux-gnu/qt5/QtNetwork -I/tmp/buildd/sdrangelove-0.0.1.20140824/obj-mipsel-linux-gnu -I/tmp/buildd/sdrangelove-0.0.1.20140824/include -I/tmp/buildd/sdrangelove-0.0.1.20140824/include-gpl -fPIC -o CMakeFiles/sdrbase.dir/sdrbase/dsp/interpolator.cpp.o -c /tmp/buildd/sdrangelove-0.0.1.20140824/sdrbase/dsp/interpolator.cpp In file included from /tmp/buildd/sdrangelove-0.0.1.20140824/sdrbase/dsp/interpolator.cpp:4:0: /tmp/buildd/sdrangelove-0.0.1.20140824/include-gpl/dsp/interpolator.h:4:23: fatal error: immintrin.h: No such file or directory #include ^ compilation terminated. [...] ======== 8< ======== Do you have any hint for this? Thanks, best regards. PS: Please keep me in CC, i'm not subscribed. [0] https://buildd.debian.org/status/fetch.php?pkg=sdrangelove&arch=mipsel&ver=0.0.1.20140824-1&stamp=1410582994 -- Arturo Borrero Gonz?lez From arturo.borrero.glez at gmail.com Sun Jun 28 14:03:56 2015 From: arturo.borrero.glez at gmail.com (Arturo Borrero Gonzalez) Date: Sun, 28 Jun 2015 14:03:56 -0000 Subject: sdrangelove build issues on mipsel Message-ID: Hi there, In debian, sdrangelove is having some build issues on mipsel [0]. At first, there was an issue regarding the '-msse2' switch. If I delete the switch, then another build error happens: ======== 8< ======== [...] [ 21%] Building CXX object CMakeFiles/sdrbase.dir/sdrbase/dsp/interpolator.cpp.o /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DUSE_FFTW -Dsdrangelove_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -isystem /usr/include/mipsel-linux-gnu/qt5 -isystem /usr/include/mipsel-linux-gnu/qt5/QtCore -isystem /usr/lib/mipsel-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/mipsel-linux-gnu/qt5/QtWidgets -isystem /usr/include/mipsel-linux-gnu/qt5/QtGui -isystem /usr/include/mipsel-linux-gnu/qt5/QtOpenGL -isystem /usr/include/mipsel-linux-gnu/qt5/QtMultimedia -isystem /usr/include/mipsel-linux-gnu/qt5/QtNetwork -I/tmp/buildd/sdrangelove-0.0.1.20140824/obj-mipsel-linux-gnu -I/tmp/buildd/sdrangelove-0.0.1.20140824/include -I/tmp/buildd/sdrangelove-0.0.1.20140824/include-gpl -fPIC -o CMakeFiles/sdrbase.dir/sdrbase/dsp/interpolator.cpp.o -c /tmp/buildd/sdrangelove-0.0.1.20140824/sdrbase/dsp/interpolator.cpp In file included from /tmp/buildd/sdrangelove-0.0.1.20140824/sdrbase/dsp/interpolator.cpp:4:0: /tmp/buildd/sdrangelove-0.0.1.20140824/include-gpl/dsp/interpolator.h:4:23: fatal error: immintrin.h: No such file or directory #include ^ compilation terminated. [...] ======== 8< ======== Do you have any hint for this? Thanks, best regards. PS: Please keep me in CC, i'm not subscribed. [0] https://buildd.debian.org/status/fetch.php?pkg=sdrangelove&arch=mipsel&ver=0.0.1.20140824-1&stamp=1410582994 -- Arturo Borrero Gonz?lez