[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] E100 - dial_tone.py error

From: Ben Hilburn
Subject: Re: [Discuss-gnuradio] E100 - dial_tone.py error
Date: Tue, 8 Mar 2011 17:30:43 -0500

Oh, forgot to mention:

If you aren't sure about where the problem lies, turn up the volume in alsamixer, then try running this command:

$ mplayer /usr/share/sounds/gnome/default/alerts/sonar.ogg

(note that you may have to root):

$ su
# mplayer /usr/share/sounds/gnome/default/alerts/sonar.ogg

If you don't hear anything, then I would debug the issue outside of GNURadio to simplify the number of things involved.


On Tue, Mar 8, 2011 at 5:23 PM, Ben Hilburn <address@hidden> wrote:
Sound works just fine on my E100.  I haven't done anything special aside from turning up the sound levels in alsamixer.

I have updated the c++ dial_tone example, and can successfully use it on my E100 without issue.  The updated code is here:


Note that the commits for that are kind of scattered about, unfortunately.  After updating the dial_tone example, I turned it into a test for something else, and then realized the updated dial_tone on its own was useful and reverted it back.  As a result, you probably don't want to cherry-pick individual commits, but just grab the files you want.  I could put together a patch that does it, but I'm about to head out for the day.

Remember to enable the Makefile and SUBDIR, like the README file says in the dial_tone directory.

Hope this helps!


On Tue, Mar 8, 2011 at 3:36 PM, Ingmar Meins <address@hidden> wrote:
I have not been able to get sound working (quickly) on my E100 either so I gave up and plugged in a USB headset which I address as hw:1,0 in python.

On 9/03/2011 5:12 AM, Divya Paul wrote:

I am new to using GNUradio and the USRP hardware. I installed GNUradio, GRC and UHD on the E100. I have run the examples for the UHD and it is working without any problem. From the GNUradio examples, When I tried running the dial_tone.py, I get the following error: 

audio_alsa_sink[hw:0,0]: Device or resource busy
Traceback (most recent call last):
  File "./dial_tone.py", line 55, in <module>
  File "./dial_tone.py", line 48, in __init__
    dst = audio.sink (sample_rate, options.audio_output)
  File "/usr/local/lib/python2.6/site-packages/gnuradio/audio_alsa.py", line 329, in sink
    return _audio_alsa.sink(*args, **kwargs)
RuntimeError: audio_alsa_sink

Also,in python, the importing of modules is working:
Python 2.6.5 (r265:79063, Dec 14 2010, 12:41:31) 
[GCC 4.5.2 20101204 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnuradio import gr
>>> from gnuradio import audio

When I go to System--> Preferences --> Sound, a window pops up that says 'Waiting for sound system to respond'. Does this mean that there is no sound system? 
How can I verify that my GNUradio install on the E100 is done right? 


_______________________________________________ Discuss-gnuradio mailing list address@hidden http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Discuss-gnuradio mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]