You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 16.04虚拟机运行GNURadio报错:未找到支持设备

Fixing "FATAL: No supported devices found to pick from" in GNURadio with RTL-SDR (Ubuntu 16.04 VM)

Hey there, let's work through this frustrating device detection error you're hitting with GNURadio and RTL-SDR on your Ubuntu 16.04 virtual machine. I've dealt with this exact issue a few times, so here are the step-by-step fixes that should get your setup working:

1. Confirm your RTL-SDR is passed through to the VM

Virtual machines often struggle with USB device access first. Let's check if the device is visible inside your VM:

  • Run this command in your Ubuntu terminal to list connected USB devices:
    lsusb
    
    Look for a line like ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T — if you don't see this, you need to pass the device from your host machine to the VM:
    • Open your VM's settings, go to the USB controller section, add the RTL-SDR device to the list of accessible USB devices, and ensure it's set to connect exclusively to the VM (not the host).

2. Fix user permissions for USB access

By default, regular users don't have permission to access RTL-SDR devices. Let's fix that:

  • Create a udev rule file to grant access:
    sudo nano /etc/udev/rules.d/rtl-sdr.rules
    
    Paste this line into the file:
    SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", GROUP="plugdev", MODE="0666"
    
  • Save and close the file, then reload udev rules:
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  • Add your user to the plugdev group to apply the permissions:
    sudo usermod -aG plugdev $USER
    
  • Log out and back in for the group changes to take effect.

3. Verify RTL-SDR tools can detect the device

Let's rule out hardware/driver issues with the basic rtl-sdr utilities:

  • Install the tools if you haven't already:
    sudo apt-get install rtl-sdr
    
  • Run the test command to check device detection:
    rtl_test -t
    
    If you see output about the RTL-SDR being detected, great! If not, unload the default DVB-T driver that might be conflicting:
    sudo rmmod dvb_usb_rtl28xxu
    
    Then run rtl_test -t again — this should now pick up the device.

4. Ensure gr-osmosdr is compiled with RTL-SDR support

Your gr-osmosdr version mentions built-in rtl_tcp support, but let's confirm it was compiled with full RTL-SDR enabled:

  • If you installed gr-osmosdr from source, re-run the cmake configure step with explicit RTL support:
    cd /path/to/gr-osmosdr/build
    cmake -DENABLE_RTL=ON ..
    make && sudo make install
    sudo ldconfig
    
  • If you used a PPA to install, make sure you're using a trusted GNURadio PPA that includes proper RTL-SDR integration for Ubuntu 16.04.

5. Double-check your GNURadio Companion source configuration

Sometimes auto-detection fails, so manually specifying the device can help:

  • In your GNURadio flowgraph, select the osmosdr Source block.
  • In its properties, set the Device Arguments field to rtl=0 (this targets the first RTL-SDR device connected).
  • Save and re-run your flowgraph.

Your original error for reference:

Generating: '/home/natalia/Downloads/top_block_NoGUI.py'
Executing: /usr/bin/python -u /home/natalia/Downloads/top_block_NoGUI.py
Using Volk machine: avx2_64_mmx_orc
gr-osmosdr v0.1.4-98-gc653754d (0.1.5git) gnuradio 3.7.9
built-in source types: file fcd rtl_tcp rfspace redpitaya
FATAL: No supported devices found to pick from. Trying to fill up...

内容的提问来源于stack exchange,提问作者Natiya

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 04:26:12