Giter VIP home page Giter VIP logo

Comments (8)

charlie-foxtrot avatar charlie-foxtrot commented on August 26, 2024 1

Make sure you don't have the standard librtlsdr installed. If you do, or the OS you're using comes with it, make sure to remove and fully clean up first.

Make sure you aren't installing package(s) that are pulling in the standard librtlsdr. If you are, use the Alternative Debian Package Installation Method before installing those packages so the standard one isn't pulled in.

Make sure you're compiling against and linking to the custom librtlsdr.

I was able to start with a clean docker container on x86_64, install just the https://github.com/rtlsdrblog/rtl-sdr-blog version plus the rtl_airband dependencies, compile rtl_airband, then run on both a v3 and v4 in parallel on the same frequencies and get equivalent audio.

When running rtl_airband in the foreground I noticed a message RTL-SDR Blog V4 Detected that may help confirm you're building / linking against the right version of librtlsdr.

$ /opt/rtl_airband/rtl_airband -f
Found Rafael Micro R828D tuner
RTL-SDR Blog V4 Detected
Found Rafael Micro R820T tuner

from rtlsdr-airband.

charlie-foxtrot avatar charlie-foxtrot commented on August 26, 2024

To isolate the problem I would recommend starting with the following:

  1. Verify your hardware setup is good, for example https://github.com/charlie-foxtrot/RTLSDR-Airband/wiki/Troubleshooting#visualizing-rf-spectrum
  2. Output to a local file (not just icecast) to eliminate icecast issues
  3. Instead of scan, configure a single channel, ideally something with lots of activity

from rtlsdr-airband.

hypeARM avatar hypeARM commented on August 26, 2024

Hi Charlie,

  1. Verify your hardware setup is good. βœ… but this is a R828D Tuner
  1. Output to a local file (not just icecast) to eliminate icecast issues ❌ _no signal /

only noise, with 0, 12 and 36 gain settings with ATIS frequency tested on attached video_

SDR_Console.mp4
  1. Instead of scan, configure a single channel, ideally something with lots of activity ❌ no signal, only noise, see details rtl_airband_stats details

Squelch signal_level as dBFS & Squelch noise_level as dBFS, It looks like there is no antenna, but the antenna is connected.

# HELP channel_activity_counter Loops of output_thread with frequency active.
# TYPE channel_activity_counter counter
channel_activity_counter{freq="127.650",label="SBRF ATIS"}	0

# HELP channel_noise_level Raw squelch noise_level.
# TYPE channel_noise_level gauge
channel_noise_level{freq="127.650",label="SBRF ATIS"}	0.051

# HELP channel_dbfs_noise_level Squelch noise_level as dBFS.
# TYPE channel_dbfs_noise_level gauge
channel_dbfs_noise_level{freq="127.650",label="SBRF ATIS"}	-50.768

# HELP channel_signal_level Raw squelch signal_level.
# TYPE channel_signal_level gauge
channel_signal_level{freq="127.650",label="SBRF ATIS"}	0.053

# HELP channel_dbfs_signal_level Squelch signal_level as dBFS.
# TYPE channel_dbfs_signal_level gauge
channel_dbfs_signal_level{freq="127.650",label="SBRF ATIS"}	-50.423

# HELP channel_squelch_counter Squelch open_count.
# TYPE channel_squelch_counter counter
channel_squelch_counter{freq="127.650",label="SBRF ATIS"}	0

# HELP channel_squelch_level Squelch squelch_level.
# TYPE channel_squelch_level gauge
channel_squelch_level{freq="127.650",label="SBRF ATIS"}	0.153

# HELP channel_flappy_counter Squelch flappy_count.
# TYPE channel_flappy_counter counter
channel_flappy_counter{freq="127.650",label="SBRF ATIS"}	0

# HELP channel_ctcss_counter count of windows with CTCSS detected.
# TYPE channel_ctcss_counter counter
channel_ctcss_counter{freq="127.650",label="SBRF ATIS"}	0

# HELP channel_no_ctcss_counter count of windows without CTCSS detected.
# TYPE channel_no_ctcss_counter counter
channel_no_ctcss_counter{freq="127.650",label="SBRF ATIS"}	0

# HELP buffer_overflow_count Number of times a device's buffer has overflowed.
# TYPE buffer_overflow_count counter
buffer_overflow_count{device="0"}	0

# HELP output_overrun_count Number of times a device or mixer output has overrun.
# TYPE output_overrun_count counter
output_overrun_count{device="0"}	0

from rtlsdr-airband.

charlie-foxtrot avatar charlie-foxtrot commented on August 26, 2024

I haven't used a v4 dongle myself but @remsiux got it working in #439

It looks like your hardware verification test was done on windows but you're running rtl_airband on a pi? To make sure the drivers are working on the pi I would recommend doing rtl_tcp on the pi to stream over the network, then observing the waterfall from windows. This will ensure the pi is seeing signal before introducing rtl_airband.

from rtlsdr-airband.

hypeARM avatar hypeARM commented on August 26, 2024

rtl_airband running on a native x86_64 w/ Debian GNU/Linux 12 (bookworm) "Dietpi"

image

Disregard frequency shown on screen, terminal print was taken before photo of the SDR Console change frequency. πŸ‘

image

Work fine with rtl_tcp

from rtlsdr-airband.

hypeARM avatar hypeARM commented on August 26, 2024

additionally I tested rtl_fm with input to ffmpeg and mp3 streaming with icecast server and it worked well!

from rtlsdr-airband.

charlie-foxtrot avatar charlie-foxtrot commented on August 26, 2024

Starting to run out of "easy" answers.....

Has this worked on a different SDR? Ie is this a v4 vs v3 issue?

You're running a 64-bit version of DietPi? What hardware is this on?

Is this just the base OS plus v4 drivers or are there other packages installed?

Instead of using the device serial number, can you try 'index = 0;'?

from rtlsdr-airband.

hypeARM avatar hypeARM commented on August 26, 2024

Has this worked on a different SDR? Ie is this a v4 vs v3 issue?

Work with V3, but V4 has not signal/audio

You're running a 64-bit version of DietPi? What hardware is this on?

image
image

Is this just the base OS plus v4 drivers or are there other packages installed?

Reinstalled, also tested with Ubuntu, V4 dongle remained without signal/audio

Instead of using the device serial number, can you try 'index = 0;'?

Yes, V4 dongle is detected by RTLSDR-Airband, but there is no audio/signal, as reported by remsiux

Apparently it's a bug, but you won't be able to reproduce this without having a V4 dongle 😒

from rtlsdr-airband.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.