New to list, trying portaudio under OpenBSD

I’m working on installing gnuradio under OpenBSD, just got GRC
working. I have no audio, since gnuradio doesn’t handle OpenBSD’s
native “audio” and it also doesn’t recognize my existing portaudio
which works with Audacity.

I can set it up in my cmake cache but it still doesn’t find it. I’m
running the standard OpenBSD port portaudio-svn-1406p1 built from
sources. I’ve had a little experience writing things in C that work
with native audio but I don’t know much about portaudio except it’s
working for other things like Fldigi.

I see NetBSD has gnuradio-audio-portaudio which may be different than
their normal portaudio but I don’t find source for it, only binaries.
OpenBSD audio is very similar to NetBSD’s having borrowed a lot
including audio manpages.

I’ll have other questions, right now I’ve also got no working gui.
But I’ve only had my dongle since Monday. It’s an RTL2832 with a
R820T tuner. I’m trying to get some software for it working, I try
Gnuradio, osmocom, sdr#, hdsdr in round robin fashion working on one
until I hit a stopping point then on to another. Osmocom’s rtl_fm is
the only thing even partly working so far. I get little bursts of
audio about 1 per minute.

Alan, ab1jx


Credit is the root of all evil. - AB1JX

On Fri, Dec 14, 2012 at 1:54 AM, Alan C. [email protected] wrote:

the only thing even partly working so far. I get little bursts of
audio about 1 per minute.

Alan, ab1jx


Credit is the root of all evil. - AB1JX

Hi Alan,
I can’t really help you or give much advice to working on GNU Radio in
OpenBSD. But I if you make progress in getting things set up, please
help
us by updating the wiki’s notes for building. And if there are specific
issues that can be addressed by patches to the build system, please send
them along (by using the Issues tracker on gnuradio.org).

Tom

I’ve got my disabled list down to:
– * gr-comedi
– * gr-qtgui
– * gr-uhd
– * gr-shd
– * gr-fcd
– * gr-wxgui
But mostly I’ve just been finding dependancies and installing them.

I think I’m going to have to give up on gr-fcd because there seems to
be some thread stuff in there that OpenBSD doesn’t do. OpenBSD’s
pthread.h is quite a bit different than Debian’s pthread.h. OpenBSD’s
had thread issues for a while.

I found it does have Jack audio in ports so I don’t need portaudio to
work.

I don’t think I need fcd because my dongle isn’t a Funcube but I think
I do need either wxgui or qtgui to work. I’m completely new to
Gnuradio so I’m not sure what I need.

Alan

On 12/14/12, Tom R. [email protected] wrote:

with native audio but I don’t know much about portaudio except it’s
Gnuradio, osmocom, sdr#, hdsdr in round robin fashion working on one

Hi Alan,
I can’t really help you or give much advice to working on GNU Radio in
OpenBSD. But I if you make progress in getting things set up, please help
us by updating the wiki’s notes for building. And if there are specific
issues that can be addressed by patches to the build system, please send
them along (by using the Issues tracker on gnuradio.org).

Tom


Credit is the root of all evil. - AB1JX

On Sat, Dec 15, 2012 at 12:15 AM, Alan C. [email protected]
wrote:

be some thread stuff in there that OpenBSD doesn’t do. OpenBSD’s
pthread.h is quite a bit different than Debian’s pthread.h. OpenBSD’s
had thread issues for a while.

I found it does have Jack audio in ports so I don’t need portaudio to work.

I don’t think I need fcd because my dongle isn’t a Funcube but I think
I do need either wxgui or qtgui to work. I’m completely new to
Gnuradio so I’m not sure what I need.

Alan

Unless you want to prove that you can get all components working under
OpenBSD, you definitely don’t need to stress about all of them.
gr-comedi,
gr-fcd, gr-shd, and gr-uhd are specific to certain hardware systems.
Just
focus on the ones you are actually interested in.

You’ll probably want one of the GUI components, though. I prefer
gr-qtgui,
but most of the GR apps and examples in the source code are based on
gr-wxgui, so that might be the one you want to focus on.

Tom