Comments (7)
Linux 64bit
Which Linux distribution and version?
I can't get it to work. "A problem has come up while accessing the audio system: audio_alsa_sink"
Which entry in the "Audio Device" field? Also, typical Linux sound systems are very primitive and cannot manage more than one sound at once, so if you're running a Linux distribution that uses sound effects, try turning them off, see if this helps. I've seen this method work on my Ubuntu Mate distribution -- it speaks to the current primitive state of Linux sound.
Thanks for your feedback!
from plsdr.
from plsdr.
I see that it defaulted to 'plughw', I'm not sure why.
That's a way to improve audio responsiveness, as explained in the documentation (https://arachnoid.com/PLSDR/), but in the event of difficulty, try making no entry at all -- a blank field.
In the documentation (https://arachnoid.com/PLSDR/), I say, "The Audio Device entry may normally be left blank, but on some Linux systems an entry of "plughw:0,0" may (by bypassing a slow audio protocol) produce better results than the system default."
But as it happens, this entry might cause problems on some Linux distributions, in which case, leave it blank. My program's documentation (https://arachnoid.com/PLSDR/) is worth reading.
One more thing -- did I remember to suggest that you read the documentation (https://arachnoid.com/PLSDR/)?
from plsdr.
Ok I'm reading.
Here I switched it to blank, and got a crash:
./PLSDR.py
QML debugging is enabled. Only use this in a safe environment.
linux; GNU C++ version 4.8.5; Boost_105400; UHD_003.008.005-0-unknown
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.12.0
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya freesrp
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
len(audio_taps) = 231
INFO: Audio sink arch: alsa
ERROR: [plughw:0,0]: No such file or directory
rtlsdr_demod_write_reg failed with -9
r82xx_write: i2c wr failed=-9 reg=17 len=1
r82xx_set_freq: failed=-9
len(audio_taps) = 231
INFO: Audio sink arch: alsa
Traceback (most recent call last):
File "./PLSDR.py", line 545, in run_stop_event
self.run_stop()
File "./PLSDR.py", line 558, in run_stop
self.start_process()
File "./PLSDR.py", line 537, in start_process
self.radio.start()
File "/usr/lib64/python2.7/site-packages/gnuradio/gr/top_block.py", line 109, in start
top_block_start_unlocked(self._impl, max_noutput_items)
File "/usr/lib64/python2.7/site-packages/gnuradio/gr/runtime_swig.py", line 5654, in top_block_start_unlocked
return _runtime_swig.top_block_start_unlocked(r, max_noutput_items)
RuntimeError: list contains invalid format!
Aborted (core dumped)
<<
from plsdr.
ERROR: [plughw:0,0]: No such file or directory
This message means the audio device field is not blank. Choose the "Configure" tab, extend it horizontally, reveal the entry, and delete it. And try running the program without the debug configuration, otherwise it has no chance to read its default configuration from your home directory.
from plsdr.
my solution .:
.- >>> cd PLSDR
.- >>> sudo python PLSDR.py -O plughw:0,1
inside the program, go to the tab Configure.
and Audio Device , add
plughw:0,1
from plsdr.
my solution .:
.- >>> cd PLSDR
.- >>> sudo python PLSDR.py -O plughw:0,1
inside the program, go to the tab Configure.
and Audio Device , addplughw:0,1
The second step should be all that is necessary. The point is to specify the output device, which my program provides an input for. The expression:
sudo python PLSDR.py -O plughw:0,1
Shouldn't be necessary, and it certainly shouldn't use "sudo" which will launch my program, Python and GNURadio with root authority. Bad idea.
If "sudo" appears to be required, instead make the user a member of the group that owns the resource being requested. That limits the exposure and risk.
I hope this helps.
from plsdr.
Related Issues (17)
- v2.0 crashes if no config file HOT 1
- The PLSDR it does not open HOT 2
- RTL SDR v3 dongle is not recognized
- Sdrplay with gnuradio 3.8 + gr-soapy + gr-fospher (Request) HOT 5
- Gnu Radio 3.9 HOT 3
- PLSDR can not start on Pi3B with the latest Pi OS HOT 2
- install_qt5_libary.bat -- still has "python2.7" in it, does not work.
- PLSDR not starting on either Windows OR Ubuntu 22.04 HOT 3
- Selecting RTL-SDR TCP causes a crash HOT 5
- Python 3.10 errors: argument 1 has unexpected type 'float'
- runtime error "gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.4.0"
- plsdr will not start HOT 2
- Support multiple devices of the same type
- Raspberry Pi audio sink topology failure HOT 2
- Python2 deprecated HOT 5
- Crash with SDRPlay HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plsdr.