Newbe: Jerky sound with usrp_wfm_rcv.py

I finally got the usrp up and running. I am having two problems.

  1. I believe that the data rate is overflowing the usb line becuase the
    sound from usrp_wfm_rcv.py is jerky and the text UaUaUaUaUa… is
    streaming to the screen (about 1-2 times per second). I am running the
    pre-compiled packages available through Ubuntu on a Dell inspiron 1501
    1.6 GHz processor. Would compiling from scratch help? Is there a way
    to decimate the data before it comes across the usb?

  2. I need to unplug and plug the usrp after each use otherwise I get the
    error
    “RuntimeError: Unable to find USRP #0”. Cycling the power is the only
    work around I have at this point. Any suggestions on how to fix this
    one? Full disclosure: I had to copy the files from
    /usr/local/share/usrp/Rev* to /usr/share/usrp to get the firmware to
    automatically load do I need to do anything else?

Thanks for any help or advice.
Justin S.

Justin S. wrote:

I finally got the usrp up and running. I am having two problems.

  1. I believe that the data rate is overflowing the usb line becuase
    the sound from usrp_wfm_rcv.py is jerky and the text UaUaUaUaUa… is
    streaming to the screen (about 1-2 times per second). I am running
    the pre-compiled packages available through Ubuntu on a Dell inspiron
    1501 1.6 GHz processor. Would compiling from scratch help? Is there
    a way to decimate the data before it comes across the usb?

Use the following option to usrp_wfm_rcv.py:

-O plughw:0,0

And see if that helps. If it does, the problem was that your sound card
doesn’t directly support 32 ks/s, so turning on the ALSA resampler fixed
it.

  1. I need to unplug and plug the usrp after each use otherwise I get
    the error
    “RuntimeError: Unable to find USRP #0”. Cycling the power is the only
    work around I have at this point. Any suggestions on how to fix this
    one? Full disclosure: I had to copy the files from
    /usr/local/share/usrp/Rev* to /usr/share/usrp to get the firmware to
    automatically load do I need to do anything else?

I think this is a recent Ubuntu problem. Which version do you use?

matt

Matt E. wrote:

Justin S. wrote:

… sound from usrp_wfm_rcv.py is jerky and the text UaUaUaUaUa…
Use the following option to usrp_wfm_rcv.py:

-O plughw:0,0
And see if that helps.
Yup, that did the trick, thanks.

  1. I need to unplug and plug the usrp after each use otherwise I get
    the error
    “RuntimeError: Unable to find USRP #0”. Cycling the power is the
    only work around I have at this point. Any suggestions on how to fix
    this one? Full disclosure: I had to copy the files from
    /usr/local/share/usrp/Rev* to /usr/share/usrp to get the firmware to
    automatically load do I need to do anything else?

I think this is a recent Ubuntu problem. Which version do you use?
It was a fresh install just for this project:
gnuradio, usrp … 3.0.2-2
Ununtu 7.04

matt
Thank you for getting back to me so quickly! It was beautiful to get
that station tuned in and crisp!

Justin

On Thu, Apr 26, 2007 at 10:22:46PM -0400, Justin S. wrote:

“RuntimeError: Unable to find USRP #0”. Cycling the power is the
only work around I have at this point. Any suggestions on how to fix
this one? Full disclosure: I had to copy the files from
/usr/local/share/usrp/Rev* to /usr/share/usrp to get the firmware to
automatically load do I need to do anything else?

I think this is a recent Ubuntu problem. Which version do you use?
It was a fresh install just for this project:
gnuradio, usrp … 3.0.2-2
Ununtu 7.04

I’m working on this problem…

Eric

I think this is a recent Ubuntu problem. Which version do you use?
It was a fresh install just for this project:
gnuradio, usrp … 3.0.2-2
Ununtu 7.04

I’m working on this problem…

I also have the same problem with the new Feisty and a week old svn
version of gnuradio. I’m not sure if the problem in me or in gnuradio.
I now sometimes have to power cycle USRP after quitting an application
and starting a new one. I never had this problem before feisty.

kernel: 2.6.20-15-generic #2 SMP

juha

gnuradio, usrp … 3.0.2-2
Ununtu 7.04

I’m working on this problem…

Eric

Eric,
It looks like you have found and fixed this problem. How can I get the
update?


Justin

On Fri, Apr 27, 2007 at 11:38:14AM +0300, Juha V. wrote:

and starting a new one. I never had this problem before feisty.

kernel: 2.6.20-15-generic #2 SMP

juha

Hi folks, I am working on this problem. I can reproduce it. It
appears to be related to new USB power management features in the
kernel. I’m currently hacking the FX2 firmware.

Please stand by…

Eric

Justin S. wrote:

It looks like you have found and fixed this problem. How can I get the
update?

The fix is already in the developer trunk which you can check out and
compile using subversion and the directions on the Wiki.

A patched version of 3.0.3 is also available from subversion at:

http://gnuradio.org/svn/gnuradio/tags/releases/3.0.3-usb-fix

When 3.0.4 is released, it will contain this fix in the source tarball
that you download.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

Dave hartzell wrote:

Is there a fix for this? I think I’m experiencing it, and just
noticed that my SDR-IQ (annoyingly) also flaps on/off when plugged
into an Ubuntu 7.04 system (using the gnuradio 3.0.2-2 packages).

GNU Radio 3.0.4 is the most recent stable release and contains the bug
fix for this issue. Since Debian packages don’t exist for this, you’ll
need to download the release tarball and compile and install it.

Alternatively, we will be shortly posting the first release candidate
for GNU Radio 3.1, which will be in the form of a source tarball for
download as well as Debian packages suitable for Debian or Ubuntu Linux
systems.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

Hi all,

Is there a fix for this? I think I’m experiencing it, and just
noticed that my SDR-IQ (annoyingly) also flaps on/off when plugged
into an Ubuntu 7.04 system (using the gnuradio 3.0.2-2 packages).

/var/log/messages reports the devices disconnecting and reconnecting
about every five seconds…

Thanks,

Dave
n0tgd

On Fri, Oct 05, 2007 at 03:26:41PM -0700, Dave hartzell wrote:

Dave
n0tgd

It’s fixed in the 3.0.4 tarball

ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.0.4.tar.gz

and in the trunk as of r5175 (4/27/2007).

Eric

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs