Ham Radio and Linux - Building SDR++ on the Raspberry Pi from source code.

Поділитися
Вставка
  • Опубліковано 19 сер 2024

КОМЕНТАРІ • 106

  • @aandpman
    @aandpman 2 роки тому +2

    WooHOO! I just did it on 3 of my Pi's! 2 Pi4's * a Pi3. It worked, after I made sure I edited the script to eliminate SDRPlay (I use RTL-SDR's)... I didn't have need to install the SDRPlay api to get my stuff going. Thanks for a great instructional vid. :-)

  • @spytromics
    @spytromics 2 роки тому +2

    Great video. Your screen capture software is using 93% of one core, so SDR++ should be OK in normal use. Also, your Raspbian is so old that it's no longer called that! It's now Raspberry Pi OS. The new OS also supports booting from an SSD drive on a Pi 4, which is much faster than a SD card. I really enjoy your videos. Thanks so much!

  • @StefanMX
    @StefanMX 2 роки тому +2

    Despite being an absolute beginner to Linux/Raspberry I got it to work. I connected the ADALM Pluto. After reducing the bandwidth to 1Mhz, reducing the audio rate and disabling the waterfall the Pluto is working fine. The Arm processor can not keep up with the default settings. Greetings from Greece.

  • @HyyskanPolttaja
    @HyyskanPolttaja 2 роки тому +1

    Thanks Kevin! I compiled Sdr++ on my RPI4 and it now works with my SDRPlay RSP2.

  • @briantooze3415
    @briantooze3415 2 роки тому

    Hi Kevin, Thank you for this video. I failed to get the modified script to run so I followed your Command Line instructions which worked great. Like you, I found some dependencies missing but through your guidance worked my way through the problems. I now have SDR++ running on my Pi4. Thanks again. Brian.

    • @loughkb
      @loughkb  2 роки тому

      Glad you found it helpful Brain.

  • @SDR-DXobserver
    @SDR-DXobserver 2 роки тому

    Kevin, thanks for making this happen. It's nice to see a "real" usefull and comprehensive SDR control program running on a Pi4. I had SDR++ running on Win10 and the Pi version is a real asset. Thanks to you and Alexandre for all the efforts!

  • @ericblaine1316
    @ericblaine1316 2 роки тому

    Worked perfectly with the quick mods you mentioned to the library. Installed on Pi 4 with a 4” touchscreen. Thanks for the video and instruction.

  • @pincus321
    @pincus321 2 роки тому

    Thank you for your efforts here Kevin, I will try this on my Pi as a result of your encouragement

  • @Jake_WY7JMS
    @Jake_WY7JMS 2 роки тому

    1/21/2022 - I don't see anything referencing his GIT in his RPI script. Glad you emphasized about what you added and included your changes in the description of your video here.

  • @MrWeavis
    @MrWeavis 2 роки тому

    Thank you Kevin for a job well done. It's a pleasure to have a great SDR program running on my Pi 4 working with my AirspyHF+.

    • @MrWeavis
      @MrWeavis 2 роки тому

      Hi Kevin. I just tried to run your SDR.sh on the new Bullseye OS without success. Any thoughts?

    • @RESlusher
      @RESlusher 2 роки тому

      @@MrWeavis I'm trying to do the same thing now myself on a RPi 4 B with Bullseye. Did you ever get it worked out?

  • @PaulaBean
    @PaulaBean 2 роки тому +3

    7:29 the terminal offers 'tab completion', you can just type the first few characters of a filename (enough to uniquely identify the file) and press the TAB key and the terminal supplies the rest of the filename ;-)

  • @davidh5645
    @davidh5645 2 роки тому

    I absolutely love these types of videos from you!

  • @dvcrash
    @dvcrash 2 роки тому

    Love it! Thanks for sharing Kevin. Got to love Linux and got to love those Pi's!!

  • @derekdowns6275
    @derekdowns6275 2 роки тому

    Thanks for your work & working with the author! This makes my day!

  • @FlingerFilms
    @FlingerFilms 2 роки тому +2

    Haha
    Ironically.. I wrote a script to do this also..
    I mentioned to Alexandre he should have an RPI build script.
    😉
    He's pretty smart.. very busy..
    Definitely support the SDR++ Patreon

  • @chrisherd991
    @chrisherd991 2 роки тому

    Thank you for putting this together, I cant wait to do this for my sdrplay duo.

    • @chrisherd991
      @chrisherd991 2 роки тому

      Hi Kevin, I have built this and it works, but there is a small issue in your written script. The text in the nots shows " SDR..." when it should be "SDRPlusPlus". BTW I was able to connect wefax using FLDIGI and I can see the audio in the waterfall. Thank you again for your good work.

  • @PaulaBean
    @PaulaBean 2 роки тому

    Excellent video. Thanks for fleecing all these things out!

  • @geofham8332
    @geofham8332 2 роки тому

    Hi, enjoyed the video Kevin, many thanks. Still learning here. From Nr Liverpool UK

  • @mariofazio6006
    @mariofazio6006 Рік тому

    Thanks for video building sdrpp, regards from Argentina, Bahia Blanca. LU4EOU

  • @Kensownvids
    @Kensownvids 2 роки тому +1

    Nice job Kevin. How about building cqrlog. Sometimes the posted builds don’t work. I am going to try this build. Beautiful weather here in Yucca Valley CA.

  • @fryslander
    @fryslander 2 роки тому

    Hi Kevin ,thanks for sharing, it's a great help. 73 Wim PA3GTL

  • @bobwong8268
    @bobwong8268 2 роки тому

    👍👍👍👍👍
    Great!
    Thanks!

  • @fjellfrank
    @fjellfrank 2 роки тому

    Great video. and it works :)

  • @muddyexport5639
    @muddyexport5639 2 роки тому

    Good vid and job! BZ (Bravo Zulu, USN jargon acronum/pro sign for Job Well Done).
    73
    de N5XS. 73 AR BK

  • @JohnTarbox
    @JohnTarbox 2 роки тому

    Nice job Kevin.

  • @jeffreyplum5259
    @jeffreyplum5259 2 роки тому

    Could you cover the use of the SoapyRemote SDR server software with SDR++. SoapyRemote is an application for driving an SDR module remotely. It is a remoteserver. SDR++ or CubicSDR would control it on a local machine. I believe SoapyRemote is available for the Pi already. Many thanks for your fine work.

  • @Siskiyous6
    @Siskiyous6 2 роки тому +1

    I have it on my Linux Mint Desktop, but running it does nothing - sigh

    • @derekdowns6275
      @derekdowns6275 2 роки тому

      Same here, running "Tricia". Haven't tried building from source yet for the Mint box, but building now on the pi4!

  • @user-sk8ph6bk2m
    @user-sk8ph6bk2m 2 роки тому

    I could install SDR++ for Raspberry Pi OS 64bit(beta) with some modification.
    API for arm ubuntu (ARM64-3.07.1) should be selected.
    thanks a lot

  • @derekcopsey6989
    @derekcopsey6989 2 роки тому

    Thanks Kevin

  • @larrytaylor7753
    @larrytaylor7753 2 роки тому

    Well done.

  • @derekdowns6275
    @derekdowns6275 2 роки тому

    libvolk2-dev is not available for the pi, but libvolk1-dev is, which I see you're aware of, by your script.

  • @philhowe5450
    @philhowe5450 2 роки тому

    Hi Kevin, great video, I now have SDR++ running. I'm trying to hear audio from the SDR via a XRDP session however there is no audio. I've installed the PulseAudio add on without success, any ideas? Phil VK4IIO

  • @mrlintonious
    @mrlintonious 6 місяців тому

    I know thsi is two years late. I have just gotten a Pi5, and SDR++ does not Run. I tried a few Distro's, and got SDR++ installed, it shows in the Menu, but does not Run, and I think the Pi OS, it Installes, but my RSP1/SDRPlay does not show as option to Select. Seems there not any Distro's for Pi5 to fully work as ARM 64Bit. Any help? Perhaps a similar Video like this, with Pi OS, and Ubuntu? Thank you, and really hope you can help. WSJTX, FLDigi and FLrig works, and it "chats" to my Icom Radio. gqrx, also does not see the RSP1/SDRPlay. It is just my RSP1. Used to work fine on my ex Windows Laptop with SDRUno, but that no longer works, hence me getting the Pi5. Thaking you in advance.

    • @loughkb
      @loughkb  6 місяців тому +1

      Follow this one, maybe it'll work for you. Getting the SDR play working under Linux.
      ua-cam.com/video/1iyvgeES51E/v-deo.htmlsi=FZuMSFdXsiyCOMzc

    • @mrlintonious
      @mrlintonious 6 місяців тому

      Hi. I followed the Script to the T, above, and was able to get SDR++ installed. Only had to change, libvolk1-dev to libvolk-dev, as it did not see libvolk1-dev as a sourse. I then had to Build the SoapySDRPlay for the device to be seen therafter. Thanx once again. Greatly appreciated. This was for Ubuntu 23.10@@loughkb

  • @panoshountis1516
    @panoshountis1516 Рік тому

    Great video. Any idea if I can use the same raspberry pi with 2 SDR dongles, one feeding SDR++ as you presented here and another one picking up ADS-B signal?

    • @loughkb
      @loughkb  Рік тому

      I doubt there'd be enough CPU to handle that kind of load. Maybe on the Pi 4.

  • @derekdowns6275
    @derekdowns6275 2 роки тому

    When I run sdrpp from the command line, I see an error that I think reveals the issue with audio problems: RtApiAlsa::callbackEvent: audio write error, underrun.
    Anyone else having this issue? Recorded audio seems ok.
    OS: Raspbian GNU/Linux 10 (buster) armv7l
    Host: Raspberry Pi 4 Model B Rev 1.4
    Kernel: 5.10.52-v7l+

    • @loughkb
      @loughkb  2 роки тому +1

      That could be RTAudio being too old. Build the newer version and try?
      -----
      git clone github.com/thestk/rtaudio && cd rtaudio
      mkdir build && cd build
      cmake -DCMAKE_INSTALL_PREFIX:PATH="/usr" -DRTAUDIO_API_JACK=OFF -DRTAUDIO_API_ALSA=OFF ..
      sudo apt remove librtaudio-dev
      sudo make install

  • @magicjim11
    @magicjim11 2 роки тому

    I get this error when running your script "Unable to locate package libairspyhf-dev" any ideas how to solve it ? May be it is possible to put working image for rpi sdr++ with sdrplay support? 73 de 4x6ir

  • @DiyintheGhetto
    @DiyintheGhetto 2 роки тому

    Just a update. It looks like it downloaded everything. But when going to the make install it stops at 71% saying missing api. Then stops

    • @loughkb
      @loughkb  2 роки тому +1

      If you're using SDRPlay hardware, then you need to install their API first.

    • @DiyintheGhetto
      @DiyintheGhetto 2 роки тому

      @@loughkb Where do I get that at And how do I install that?

    • @loughkb
      @loughkb  2 роки тому

      @@DiyintheGhetto It's on the SDRPlay web site under downloads. I think I left a link to it in the video description.

  • @sajanduwal3932
    @sajanduwal3932 2 роки тому

    Hello sir,
    Which version of Raspberry Pi is best for GNU Radio and RTL-SDR operating on Linux OS?

    • @loughkb
      @loughkb  2 роки тому

      Go for the 4. You'll need the extra CPU power. They can run on a 3b+, but only just as the CPU runs near 100% under this load.

  • @jma8352
    @jma8352 Рік тому

    whats the advantage over a windows 10 laptop?

  • @jeffreyplum5259
    @jeffreyplum5259 2 роки тому +1

    It would be nice to know how long the build takes.. Of course, that depends largely on your Pi's memory and boot deviceSSDs and 4 0r8 GB pis may build it faster than 2 GB Pi running off an SD card.. I guess this means I put an SDR module on my Xmas list. I think both Pis and SDRs can be addicting they have so many uses. Many Thanks.

  • @bern047
    @bern047 2 роки тому

    Excellent Kevin, looking to install this on my Pi and you did a great job, is you script all ready to go? I will be using the RSP2, will it be ok?

    • @loughkb
      @loughkb  2 роки тому

      It should work fine. The script is in the video description, just copy and paste into an editor, save to your desktop and make it executable. It works fine on the Pi4, 3 or earlier struggle due to lower CPU horsepower. Be sure you install the SDRPlay API from their site as I showed and your RSP2 should work fine.

    • @bern047
      @bern047 2 роки тому

      @@loughkb Please help Kevin the script is asking for user and password for Github, I am missing something basic, what do I do? thanks

    • @loughkb
      @loughkb  2 роки тому +1

      @Bernard Mannas Github shouldn't ask for a password. Maybe they're having trouble right now. They have been a little less reliable since microsoft acquired them.
      What exactly is on the screen? The lines just before the error and the error itself.

    • @bern047
      @bern047 2 роки тому

      @@loughkb I have sorted it out Kevin, I copied what you did in the step by step walk through, copied the git web address and it all works fine now, thanks

    • @loughkb
      @loughkb  2 роки тому +1

      @@bern047 Glad you got it solved.

  • @edbeckerich3737
    @edbeckerich3737 2 роки тому +1

    Dude, sudo apt install htop -immediately!!

  • @GisleVanem00
    @GisleVanem00 2 роки тому

    bash, yuk! Bad on Rasberry too.

  • @jean-pierredesoza2340
    @jean-pierredesoza2340 2 роки тому

    Hi Kevin, you may use the tab key to autocomplete file names once they are no more ambiguous.(Edit) I just realised this is not true within a Linux terminal, it's a known shortcoming when you're coming from macOS or Windows...

    • @loughkb
      @loughkb  2 роки тому +1

      That depends on what terminal you're using and how it's configured. Tab complete is an option that has to be enabled and isn't always by default.

    • @bobwong8268
      @bobwong8268 2 роки тому

      @@loughkb 👍👍👍👍👍Exactly!
      For myself Linux's Terminals and Shell can do more than that. Take for eg, Termux on an Android phone, we simply type first letter of a command like 's' and type [tab] key twice to get a list of all commands started with 's'. We can even [Ctrl][r] to start a reverse search for commands we previously use!
      Eg1: [Ctrl][r] upd
      Eg2: [Ctrl][r] upg
      Now, weekly update & upgrade become a breeze ;)
      Forgotten to put "sudo" in front of a command say: "apt install xyz"? Simply type: "sudo !!" [Enter]
      There is really much more to it...
      Just my 2 cents back.

  • @brianbrown4965
    @brianbrown4965 2 роки тому

    sadly i was lost just a few mins in

  • @bahathir_
    @bahathir_ 2 роки тому +1

    It is wise to git clone first, change into the directory and start running the rpi installer script.
    Thank you. 73.

    • @loughkb
      @loughkb  2 роки тому +3

      Yes, but I wanted to make a single script that would do it all in as few steps as possible.
      But mostly, walking through things step by step helps people that are learning linux.

    • @bahathir_
      @bahathir_ 2 роки тому

      @@loughkb
      Great. In this case,
      $ cd ~/Desktop
      $ git clone ...url...
      $ cd source_directory
      $ . rpi_install_script.sh
      Focus I am using ' . script.sh' , In this method I not need to 'chmod +x' the script.sh.
      Thank you.

  • @Jenko022
    @Jenko022 2 роки тому

    Thanks for this. I now have SDR++ on my Pi4. I wanted this as it has the same look as SDR# but my rtl dongle does work well on the Windows computer. Just one question, I use a Bluetooth speaker but cant get the audio from sdr++ to output to it. Is it HDMI or audio jack only?

    • @loughkb
      @loughkb  2 роки тому

      SDR++ is going to use whatever audio device you pick in the audio sink. The Pi might be defaulting to HDMI, or defaulting to the headphone jack. You can change that in the pi config program.
      Does other software produce audio? Like youtube in a browser?

    • @Jenko022
      @Jenko022 2 роки тому

      @@loughkb Thanks for this. Currently using GQRX with a bluetooth speaker and get good audio. Will go i to SDR++ again but couldnt seem to see any audio options.

    • @loughkb
      @loughkb  2 роки тому

      @@Jenko022 In the menu bars on the left, look for audio sink. If it's not there, add it in the module manager section.
      Under the audio sink, you can choose from available audio devices for output.

    • @Jenko022
      @Jenko022 2 роки тому

      @@loughkb Thanks, working perfect now with sound on my BT speaker. Awesome!!

  • @OE8ZZZ
    @OE8ZZZ 2 роки тому

    Great video Kevin! I installed SDR++ on a PI and got it running with a RTL-SDR (Nooelec NESDR) but I have this crackly audio too. I'm using the audio jack and therefor I disabled the HDMI audio output. It sounds like the PI is on it's limit. Is there a way to optimize it for maximum power? I'm using the latest Raspbian on a Raspberry PI 3 B with a cheap Yosoo 5" TFT from Amazon. shows about 350% CPU usage and 30% memory. Any idea? 73 de OE8ACT - Patrick

    • @loughkb
      @loughkb  2 роки тому +1

      I even had trouble with gqrx on the Pi 3 series. Just not quite enough horsepower.
      I don't know what to suggest off hand.

  • @andrewjwhall
    @andrewjwhall 2 роки тому

    Hi Kevin! Thank you for all your awesome videos! Sorry to posted this here but I don't use facebook anymore! I have started to use Linux again, as a result of your videos, mostly for my SDR receivers. However there is one program that has me banging my head against the wall! "Dream DRM Decoder". The source code is there but there is just SO many ways you could install this program. It needs extra decoders, pulseaudio etc. Most of the install scripts are just out of date and don't fully work. To be quite honest this has got way over my head! Can you help (idea for another video)! I am using Linux Mint 20.2 "Uma" MATE Edition, recommend for beginners like myself. Hope you can help. All the best & 73's, Andrew, QTH, Germany.

    • @loughkb
      @loughkb  2 роки тому

      I looked at Dream a few years ago. At the time, I think I did build it and it was a pain to do. I never did get it to work though. You need a receiver with a very high bandwidth filter since most DRM broadcasts are very wide.

    • @andrewjwhall
      @andrewjwhall 2 роки тому

      @@loughkb Hi Kevin! Thank you for coming back to me! I guess if you had trouble with Dream, with your knowledge, then it must be a nightmare in general to install! Looks like I will have to put that one on the back burner for now. The sad thing is I had a look round for alternatives to Dream but did not find anything else (to my knowledge) for Linux! With regards to my receiver it will do the job as I have run it with Dream on Windows! All the best & 73's!

    • @loughkb
      @loughkb  2 роки тому

      @@andrewjwhall Have you tried the windows version under WINE? It may run just fine.

    • @andrewjwhall
      @andrewjwhall 2 роки тому

      @@loughkb Good idea! I will give it a try! Thanks Kevin!

    • @andrewjwhall
      @andrewjwhall 2 роки тому +1

      That worked a treat! Thanks for the pointer Kevin! 73's

  • @W4BIN
    @W4BIN 2 роки тому

    Kevin, the lighting on you was poor, did you forget to turn a light or two on?
    Kevin, why do you range and paste windows style ? instead of LINUX style, 1. range with mouse pointer, 2. change focus and 3. press center mouse button/wheel. (Slackware since June 28 1979 3.? to 14.2 just a user!) Ron W4BIN

  • @progrockrules9463
    @progrockrules9463 2 роки тому

    I am pretty new to rasberry pi and SDR. If you already have a SDRplay, which is the receiver, what is the role of the rasberry pi here ?

    • @bobwong8268
      @bobwong8268 2 роки тому

      In short: the PC or computer.
      Raspberry Pi is a SBC: Single Board Computer driven by Arm processors like Android smartphones.
      HTH.

  • @porcusdiu
    @porcusdiu 2 роки тому +1

    Excuse me,
    this software support TETRA and DMR decoder?
    Many thanks,
    '73 de I T 9 * * *

  • @antoniomaldonado9282
    @antoniomaldonado9282 2 роки тому

    Hola Kevin,tengo instalado el sdr++ con rtl sdr en Raspberry pi 4 y funciona perfecto pero mi pregunta es,pueden convivir en el mismo sdr++ rtl sdr y sdrplay? me gustaria poner mi sdrplay tambien,gracias de antemano,73. EA7KEM.

    • @loughkb
      @loughkb  2 роки тому +1

      They should work one at a time. I don't know if you can use them at the same time.

  • @MixedGril
    @MixedGril 6 місяців тому

    welke editor heb je gebruikt(gui)

    • @loughkb
      @loughkb  6 місяців тому

      I'd have to rewatch the video to confirm, but I usually use pluma for text editing under Linux

  • @W4TRI
    @W4TRI 2 роки тому

    Kevin I'm running the same OS as you. Ever had your volume control lock to mute even though you are seeing signals on the screen? What directory do I have to blow away to have a true new install because removing the packages leaves something behind. Thanks!

    • @loughkb
      @loughkb  2 роки тому

      No on the volume control.
      True new install of what? Removing what packages leaves something behind?
      I don't follow.

    • @W4TRI
      @W4TRI 2 роки тому

      @@loughkb A true new install of the App SDR++ The removal process leaves behind the old config directory at ~/.config/sdrpp and in my case (probably not unique) a total removal of this directory and contents made a reinstall work perfect. Check issue 367 on the SDR++ Github for further. Not sure what the cause was but this cures it.

    • @loughkb
      @loughkb  2 роки тому

      I had a problem over on the laptop and Alexandre told me to delete the config folder. Fixed it.

    • @W4TRI
      @W4TRI 2 роки тому

      @@loughkb Yep. I asked him if this could be included later as an option but it's just as easy to delete and reinstall once you know what and where. Working well now.

  • @charlesschindler1971
    @charlesschindler1971 2 роки тому

    👋Hell-o friend!👋 🐈