LimeSDR with Gqrx is working!

If you moving the LimeSDr around from station to station … be careful about ESD.

It looks like the software installed in my Linux box, it just won’t do anything. Windows 7 has been installed 3 times and it is still doa. Where do you get api-ms-win-crt-runtime-l1-1-0.dll? The LimeSDR is a paperweight right now.

Larry in El Paso

Never posted the output of
lsusb

I don’t know what lsusb is, how to find it/run it.

Larry in El Paso

In a terminal … type
lsusb

hit enter … once before plugging the LimeSDR into the Linux/Ubuntu box
plu it in,

then do the lsusb again… copy/paste the output here

Mike, in a previous question you asked about the lights. I have two green lit and one red that flashes.
Here is the USB
larry@larry-desktop:~$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 045e:076d Microsoft Corp. LifeCam HD-5000
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 2100:9e57 RT Systems RTS01 Radio Cable
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0624:0200 Avocent Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 002: ID 2109:0811 VIA Labs, Inc. Hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
larry@larry-desktop:~$ #no LimeSDR plugged in
larry@larry-desktop:~$ lsusb
Bus 003 Device 003: ID 1d50:6108 OpenMoko, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 045e:076d Microsoft Corp. LifeCam HD-5000
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 2100:9e57 RT Systems RTS01 Radio Cable
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0624:0200 Avocent Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 002: ID 2109:0811 VIA Labs, Inc. Hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
larry@larry-desktop:~$ # LimeSDR plugged in

Larry in El Paso

Thats the LimeSDR …

so is it working on the Linux/Ubuntu Box ?

In terminal

LimeSuiteGUI

The software appears to be working.
larry@larry-desktop:~$ gqrx
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

Controlport disabled
No user supplied config file. Using “default.conf”
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy redpitaya
Using Volk machine: sse4_a_64_orc
FM demod gain: 1.52789
IQ DCR alpha: 1.04166e-05
Using audio backend: auto
New filter offset: 0 Hz
BookmarksFile is /home/larry/.config/gqrx/bookmarks.csv
Loading configuration from: “default.conf”
Configuration file: “/home/larry/.config/gqrx/default.conf”
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy redpitaya

FATAL: No supported devices found to pick from.

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.



No change in output device:
old:
new:

Failed to set RX input rate to 1e+07
Your device may not be working properly.

IQ DCR samp_rate: 1e+07
IQ DCR alpha: 1e-07
Changing NB_RX quad rate: 96000 -> 1e+07
Requested sample rate: 10000000
Actual sample rate : “10000000.000000”
DEC 1: HBF_140_27
DEC 2: HBF_140_87
New decimator: 4
IQ DCR samp_rate: 2.5e+06
IQ DCR alpha: 4e-07
Changing NB_RX quad rate: 1e+07 -> 2.5e+06
Input decimation: 4
Quadrature rate: “2500000.000000”
New FFT rate: 25 Hz
Requested bandwidth: 0 Hz
Actual bandwidth : 0 Hz
setFreqCorr : 0 ppm
New LNB LO: 0 Hz
updateHWFrequencyRange failed fetching new hardware frequency range
New mode index: 0
Filter preset for mode 0 LO: 0 HI: 0
setFftRate to “25 fps”
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to “8192”
New FFT rate: 25 Hz
Configure I/O devices.
CIoConfig : Available input devices:
0 : “RFSPACE SDR-IQ Receiver”
1 : “RFSPACE SDR-IP Receiver”
2 : “RFSPACE NetSDR Receiver”
3 : “RFSPACE Cloud-IQ Receiver”
4 : “RTL-SDR Spectrum Server”
5 : “Red Pitaya Transceiver Server”
6 : “Complex Sampled (IQ) File”
CIoConfig : Available output devices:
0 : “RS880 HDMI Audio [Radeon HD 4200 Series] Digital Stereo (HDMI)”
1 : “Built-in Audio Digital Stereo (IEC958)”
2 : “PCM2901 Audio Codec Analog Stereo”
saveConfig
saveSettings *** FIXME_ SQL on/off
New FFT rate: 25 Hz
Loading configuration from: “/home/larry/.config/gqrx/default.conf”
Configuration file: “/home/larry/.config/gqrx/default.conf”
No change in input device:
old: driver=lime,soapy=0
new: driver=lime,soapy=0



No change in output device:
old:
new:

Failed to set RX input rate to 1e+07
Your device may not be working properly.

IQ DCR samp_rate: 2.5e+06
IQ DCR alpha: 4e-07
Requested sample rate: 10000000
Actual sample rate : “10000000.000000”
DEC 1: HBF_140_15
DEC 2: HBF_140_27
DEC 3: HBF_140_87
New decimator: 8
IQ DCR samp_rate: 1.25e+06
IQ DCR alpha: 7.99999e-07
Changing NB_RX quad rate: 2.5e+06 -> 1.25e+06
Input decimation: 8
Quadrature rate: “1250000.000000”
New FFT rate: 25 Hz
Requested bandwidth: 0 Hz
Actual bandwidth : 0 Hz
setFreqCorr : 0 ppm
New LNB LO: 0 Hz
updateHWFrequencyRange failed fetching new hardware frequency range
New mode index: 0
Filter preset for mode 0 LO: 0 HI: 0
setFftRate to “25 fps”
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to “8192”
New FFT rate: 25 Hz
New FFT rate: 25 Hz
New FFT rate: 25 Hz
New filter offset: -448000 Hz
QXcbWindow: Unhandled client message: "COMPIZ_TOOLKIT_ACTION"
New filter offset: -593000 Hz
saveSettings *** FIXME
SQL on/off
New FFT rate: 25 Hz

My latest from my Linux box

Larry in El Paso

change the settings from
10000000
to
5000000

select decimation 8

This was a screen capture from my Ubuntu Laptop … no LimeSDR attached … i use an Odroid-C2 with my LimeSDR (its in my garage since my wife does not like hame stuff)

I’m trying to copy your settings as close as I can and I have no audio or indication in the GUI of any activity.

Click on device of sub setting Audio output … look for the sound device that is the device you want … or set to default.

if trying default … open another terminal and type/return
pavucontrol

its probably not installed so

sudo apt-get install pavucontrol
yes to all needed

did you trying clicking on hte power button?
its in the same place as the play button in my pics —
power button is older version of gqrx
play button is from recent build of gqrx from git

before all this ,… you probably should use LimeSuiteGUI to update your LimeSDR …

Well, I did this first
larry@larry-desktop:~$ pavucontrol
The program ‘pavucontrol’ is currently not installed. You can install it by typing:
sudo apt install pavucontrol

so then I did that and it installed
Setting up pavucontrol (3.0-3build1) …
Processing triggers for menu (2.1.47ubuntu1) …
larry@larry-desktop:~$

This is such a convoluted process. Silly me for thinking this hardware was ready to work out of the box.
No wonder the Windows applications aren’t working. Actually nothing was ready to go.

Thanks for your help. This is going to have me in White Knuckle mode.

Larry in El Paso

HA !!!

your not with the latest code either … PPA is probably 2 months behind Git building …

Did you ever update your LimeSDR board ?

I my self am not sure how to setup the I/Q calibration yet,

Using a LimeSDR (or any DIY SDR ie UHFSDR) takes more savy than buying an Icom off of the shelf.

Tx is not setup yet by qgrx/pihpsdr/SdrRadio –
I think that only Pothos and GnuRadio can Tx a audio file …

Lime is not heading up that part of the scheme … it takes time for people to test adn report bugs – and help fix bugs too …

Iv found 2 myself so far.

I’m in my Linux box right now. What is my first step?

Oh crud …

First is to
apt-get remove LimeSuite SoapySDR gqrx-sdr ---- NO WAIT !!! (well do that before building stuff)

find the repositorys for Limesuite, SoapySDR(Pothos) and gqrx and downloads them …

I always use from a terminal at /Downloads

sudo apt-get build-dep gqrx-sdr
sudo apt-get build-dep LimeSuite
sudo apt-get build-dep SoapySDR

git clone GitHub - myriadrf/LimeSuite: Driver and GUI for LMS7002M-based SDR platforms

git clone GitHub - gqrx-sdr/gqrx: Software defined radio receiver powered by GNU Radio and Qt.

git clone GitHub - pothosware/SoapySDR: Vendor and platform neutral SDR support library.

Each of these comes with mildly accurate build instructions …

cd LimeSuite
mkdir build
cd build
cmake …/

OPSS … you need to might need to

apt-get install make git autotools volk

if the cmake fails … read back through to see what its missing / complaining about. – get it installed – search with synaptic first … then internet.

Since yours is probably a fresh Ubuntu – do all the new guys a favor and keep a text file of all the stuff you had to add/install to get to a working point. – my systems are all mostly flush with pre-requisits to building on linux.

It looks like I have a bunch of first steps.

This might take a bit…

Larry in El Paso

I typed in sudo apt-get build-dep gqrx-sdr, put in the password and it said
E: You must put some ‘source’ URIs in your sources.list
Is this normal?

One of my Favorite quotes –

“Hang-on butter-cup —cuas-- Kansas— it’s going BYE BYE”