gqrx for Mac OS + B200 + UHD

765 views
Skip to first unread message

mki0331

unread,
Nov 29, 2013, 1:25:53 PM11/29/13
to gq...@googlegroups.com
Hello,
first for me is Gqrx the best SDR on the planet!!!! ;-)

I have just received my new B200 from ettus,
but gqrx don't find the device -- I have tried this:

-->
sudo /Applications/Gqrx.app/Contents/MacOS/uhd_find_devices
Mac OS; Clang version 4.1 ((tags/Apple/clang-421.11.66)); Boost_105400; UHD_003.005.003-0-unknown

No UHD Devices Found
--

with gnuradio installed from the macports it is finding it:

sudo uhd_find_devices
Password:
Mac OS; Clang version 5.0 (clang-500.2.79); Boost_105400; UHD_003.006.000-0-unknown

--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: b200
    name:
    serial: E*******B2

Ok it uses a different version of the UHD,
but where must I put the UHD images?

Please help me.....

Alexandru Csete

unread,
Nov 29, 2013, 3:49:53 PM11/29/13
to gq...@googlegroups.com
Hi,

I don't think you can use UHD from macports with the bundled gqrx 2.2
- you would need to recompile both gqrx and some other libraries for
that. However, if you are already having gnuradio and gqrx installed
via macports, I recommend that you also try gqrx from macports.
Michael Dickens has packages both the 2.2 release and one of the
latest revisions from git.

I would be interested to know it works.

Alex

mki0331

unread,
Nov 29, 2013, 7:50:44 PM11/29/13
to gq...@googlegroups.com
Hi,
I have delete the old macports /opt/local and done a clean fresh install of macports.
the first and only software I have installed only gqrx like this:

sudo port install gqrx

and now execute:
sudo gqrx
Password:
Mac OS; Clang version 5.0 (clang-500.2.79); Boost_105500; UHD_003.006.000-0-unknown

gr-osmosdr v0.1.0-44-g0d10f5e9 (0.1.1git) gnuradio 3.7.2
built-in source types: file fcd rtl rtl_tcp uhd hackrf netsdr
-- Loading firmware image: /opt/local/share/uhd/images/usrp_b200_fw.hex... done
Using Volk machine: sse4_2_64_orc
2013-11-30 01:25:56.552 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:25:56.552 gqrx[64457:507] CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
2013-11-30 01:25:56.743 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:26:04.832 gqrx[64457:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
gr-osmosdr v0.1.0-44-g0d10f5e9 (0.1.1git) gnuradio 3.7.2
built-in source types: file fcd rtl rtl_tcp uhd hackrf netsdr
-- Loading FPGA image: /opt/local/share/uhd/images/usrp_b200_fpga.bin... done
-- Operating over USB 3.
-- Detecting internal GPSDO.... not found
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 32 MHz
-- Actually got clock rate 32 MHz
-- Performing timer loopback test... pass
-- Using subdev spec 'A:A'.
2013-11-30 01:26:22.750 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:26:22.782 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:26:22.782 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:26:22.902 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:26:22.902 gqrx[64457:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:26:53.022 gqrx[64457:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

I can select my device and after I pressed "startSDR" I hear for about 2s a bit noise and then nothing :-(

last message on console:
libc++abi.dylib: terminating with uncaught exception of type uhd::value_error: ValueError: b200: unknown RX antenna option:

then I tried it with portaudio:

sudo port install gqrx +portaudio

sudo gqrx
Mac OS; Clang version 5.0 (clang-500.2.79); Boost_105500; UHD_003.006.000-0-unknown

gr-osmosdr v0.1.0-44-g0d10f5e9 (0.1.1git) gnuradio 3.7.2
built-in source types: file fcd rtl rtl_tcp uhd hackrf netsdr
-- Loading firmware image: /opt/local/share/uhd/images/usrp_b200_fw.hex... done
Using Volk machine: sse4_2_64_orc

Using Default Device
Built-in Output is the chosen device using Core Audio as the host
2013-11-30 01:29:12.040 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:29:12.041 gqrx[64756:507] CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
2013-11-30 01:29:51.431 gqrx[64756:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
PortAudio V19-devel (built Nov 29 2013 22:35:50) (version 1899)
Number of audio devices: 2
  0:  Built-in Microph  I:2  O:0
  1:  Built-in Output  I:0  O:2
2013-11-30 01:29:57.715 gqrx[64756:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
gr-osmosdr v0.1.0-44-g0d10f5e9 (0.1.1git) gnuradio 3.7.2
built-in source types: file fcd rtl rtl_tcp uhd hackrf netsdr
-- Loading FPGA image: /opt/local/share/uhd/images/usrp_b200_fpga.bin... done
-- Operating over USB 3.
-- Detecting internal GPSDO.... not found
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 32 MHz
-- Actually got clock rate 32 MHz
-- Performing timer loopback test... pass
-- Using subdev spec 'A:A'.

Using Default Device
Built-in Output is the chosen device using Core Audio as the host
2013-11-30 01:30:14.424 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:30:14.755 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:30:14.786 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:30:14.787 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:30:14.820 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
2013-11-30 01:30:14.821 gqrx[64756:507] CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.

Using Default Device
Built-in Output is the chosen device using Core Audio as the host
Latency =  0,02133, requested sampling_rate = 48000
d_portaudio_buffer_size_frames = 1024

Using Default Device
Built-in Output is the chosen device using Core Audio as the host
Latency =  0,02133, requested sampling_rate = 48000
d_portaudio_buffer_size_frames = 1024
aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

the same as without portaudio but a bit more scrambled text ;-) on the console.

cheers markus

Alexandru Csete

unread,
Nov 29, 2013, 8:12:28 PM11/29/13
to gq...@googlegroups.com
You should not run gqrx with sudo. It's not necessary.
Also, I expect that only the portaudio version will work.

There appears to be an UHD error:
libc++abi.dylib: terminating with uncaught exception of type
uhd::value_error: ValueError: b200: unknown RX antenna option:

but you only get this message the first time???

Anyway, I am afraid there is not much I can do at the moment as I
don't have the device and I am already overloaded with work. Maybe
somebody on the gnuradio list can confirm whether the B200 works with
gqrx on linux and/or mac. The macports maintainer might also be able
to help you there.

Alex
> --
> You received this message because you are subscribed to the Google Groups
> "Gqrx SDR" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gqrx+uns...@googlegroups.com.
> To post to this group, send email to gq...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gqrx/d0667012-49f2-415f-b3e5-0c6910b681e4%40googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.

mki0331

unread,
Nov 30, 2013, 5:17:53 PM11/30/13
to gq...@googlegroups.com
Hi Alex,
I have here with a fresh new installed Ubuntu 12.04.3-desktop 64bit and the snapshot ppa:

FATAL:
GR-UHD detected ABI compatibility mismatch with UHD library.
GR-UHD was build against ABI: 3.4.0-3,
but UHD library reports ABI: 3.6.0-1

Suggestion: install an ABI compatible version of UHD,
or rebuild GR-UHD component against this ABI version.

any Ideas?
cheers markus

Alexandru Csete

unread,
Dec 1, 2013, 7:47:06 AM12/1/13
to gq...@googlegroups.com
People have been poking me (very annoying) to upgrade UHD in the PPA
to have B200 support. I have done that yesterday but now I also have
to rebuild a bunch of packages that depend on it and that usually
takes many days.

The builds should be ready for 12.04 so you can now try upgrading gqrx
to 2.2.0+1git20131201-2cd256ed-gqrx~precise1

This is only for Precise; the others are still to be done and I am
having trouble building gnuradio and it's driving me nuts. Sorry for
the inconvenience with broken repository etc, but I have no way to
"lock" the repository while I am upgrading the packages. We just have
to live with gqrx/snapshots being broken for a few days during
upgrade.

You can track progress here:
https://launchpad.net/~gqrx/+archive/snapshots/+packages

You can see there are 12 packages that are built for 5 versions of
ubuntu and 3 architectures. That's 180 builds per upgrade... Some of
them take 10 minutes, some of them take 10 hours.

Fortunately, I don't upgrade all packages all the time. In case of UHD
it is "only" 6 packages still giving 90 builds.

Alex
> https://groups.google.com/d/msgid/gqrx/047c2a83-8b90-43fd-85c4-4011cc731cfc%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages