Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.3.2 QRadioTuner: radio example failed to detect radio at /dev/radio0
Forum Updated to NodeBB v4.3 + New Features

Qt 5.3.2 QRadioTuner: radio example failed to detect radio at /dev/radio0

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pgregory
    wrote on last edited by
    #1

    I'm running Qt Everywhere 5.3.2 compiled on a beaglebone black running Debian 7.6 kernel 3.14
    I'm trying to get the radio example to detect and use my InstantFM Music USB radio tuner.
    The radio tuner interface is in /dev/radio0. I can use
    v4l2-ctl -d /dev/radio0 -c volume=10,mute=0 -f 91.1 --all
    to tune the device, so it is DDS compatible (I think tat's what it means).
    I can stream the audio using
    arecord -D hw:1,0 -c2 -fS16_LE -r48000 | aplay
    However, when I run the example multimedia/radio/radio it fails to find the tuner with the message: radio not found
    Is there an environment variable to tell QRadioTuner which dev device to open?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, the device is hardcoded to /dev/radio0.

      Since you're already building Qt, you can edit the v4lradiocontrol.cpp file to modify this value

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved