Skip to content

Troubleshooting

begreeen edited this page Sep 3, 2018 · 20 revisions

Funcube Dongle Pro+ source is not launching on Arch

Run the software in terminal:

./PW-Sat2_Ground_Station

If you see similar problem with access to audio_alsa_source:

/home/gregg/pwsat/test/ham_app/pw-sat2-gs/main/app/../grc_linux/grc_part -s "fcd+"
Funcube Dongle Plus
Traceback (most recent call last):
  File "grc_part.py", line 46, in <module>
  File "grc/source/funcube_source/funcube_source.py", line 281, in main
  File "grc/source/funcube_source/funcube_source.py", line 195, in __init__
  File "fcdproplus/fcdproplus_swig.py", line 105, in make
RuntimeError: audio_alsa_source
[8981] Failed to execute script grc_part

Try running application with superuser privileges (root):

sudo ./PW-Sat2_Ground_Station

RTL-SDR source is not launching

  1. Run the software in terminal:
./PW-Sat2_Ground_Station
  1. Choose "RTL-SDR" in Signal Source and click "Run Source". Observe terminal and look for similar debug output:
/home/pwsat2/pw-sat2-gs/main/app/../grc_linux/grc_part -s "rtl-sdr"
RTL-SDR
Gtk-Message: Failed to load module "canberra-gtk-module"
gr-osmosdr v0.1.4-127-g4d83c606 (0.1.5git) gnuradio 3.7.12.0
built-in source types: file fcd rtl rtl_tcp uhd rfspace redpitaya 
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.14.0.0-62-g3b42e6f0
Using device #0 Generic RTL2832U OEM
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
Traceback (most recent call last):
  File "grc_part.py", line 49, in <module>
  File "grc/source/rtl_sdr_source/rtl_sdr_source.py", line 333, in main
  File "grc/source/rtl_sdr_source/rtl_sdr_source.py", line 166, in __init__
  File "osmosdr/osmosdr_swig.py", line 962, in make
RuntimeError: Failed to open rtlsdr device.
[1397] Failed to execute script grc_part

the most important part is:

usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
  1. To add udev rules follow next steps.

  2. Run sudo lsusb, look for similar line: Bus 001 Device 008: ID 0bda:2838 Realtek Semiconductor Corp.. The important parts are 0bda (the vendor id) and 2838 (the product id).

  3. Create a new file as root named /etc/udev/rules.d/20.rtlsdr.rules that contains the following line: SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr" With the vendor and product ids for your particular dongle.

  4. Make sure that normal user has rights to access the file /etc/udev/rules.d/20.rtlsdr.rules

  5. Run sudo service udev restart and restart machine

Clone this wiki locally