Thanks for all your suggestions. I tried this today:
sudo ./tx_voice.py -f 120M -I plughw:0,0
gr_fir_fff: using SSE
gr_buffer::allocate_buffer: warning: tried to allocate
992 items of size 33. Due to alignment requirements
4096 were allocated. If this isn’t OK, consider padding
your structure to a power-of-two bytes.
On this platform, our allocation granularity is 4096 bytes.
…
sudo ./rx_voice.py -f 120M -O plughw:0,0
gr_fir_fff: using SSE
audio_alsa_sink[plughw:0,0]: Device or resource busy
Traceback (most recent call last):
File “./rx_voice.py”, line 138, in
main()
File “./rx_voice.py”, line 128, in main
tb = my_top_block(demods[options.modulation], rx_callback, options)
File “./rx_voice.py”, line 67, in init
self.audio_tx = audio_tx(options.audio_output)
File “./rx_voice.py”, line 55, in init
audio_sink = audio.sink(44100, audio_output_dev)
File “/usr/lib64/python2.5/site-packages/gnuradio/audio_alsa.py”, line
236, in sink
return _audio_alsa.sink(*args)
RuntimeError: audio_alsa_sink
I am using Basic Tx/RX. And I still don’t understand how to transmit and
receive my own music via USRP. I also tried sudo ./usrp_wfm_rcv.py -f
91M -O
plughw:0,0 to record the FM radio to my computer. It gives me almost the
same error: audio_alsa_sink[plughw:0,0]: Device or resource busy. Can
you
give me some clue to transmit and receive my own music file? Thanks a
lot!
plughw:0,0 to record the FM radio to my computer. It gives me almost the
same error: audio_alsa_sink[plughw:0,0]: Device or resource busy. Can you
Is some other application locking the sound card? An IM client, a media
player, even a browser? Also, are you in the relevant groups? (audio,
whatever)?
Incidentally, is your end goal to do something that involves sound? If
you’re doing RF stuff alone and are only looking to test some basic GNU
Radio functionality, you might be better off skipping the ALSA issues
(which seem to be fairly common on this list and often difficult to work
out). You can use things like benchmark_tx.py and benchmark_rx.py to
test transceiver functionality, etc.
-Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org