pabr / leantrx

Web UI for leansdr on embedded platforms
GNU General Public License v3.0
12 stars 6 forks source link

No sound just a tone on pluto #2

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi

I am running plutosdr on linux with web interface and I here a constant tone. There is no sound for FM radio or any channel.

Thanks

pabr commented 4 years ago

The tone is emitter when there is nothing else to send. It shows that audio streaming is working. It should disappear when you enable one or more channel by ticking their boxes in the web UI.

ghost commented 4 years ago

I did select the channels but no audio. I could see in the waterfall that there is a signal there for fm but couldnt hear.

Also when I started ./start.sh I received an error message of a kernel error do you think that is the problem?

Is it possible to use a windows pc to perform this? I tried but the pluto was not booting from the sdcard. I also tried on android phone but it wasnt booting either. It only worked on linux pc.

Thanks for your help.

On Fri, Dec 13, 2019, 10:20 AM pabr notifications@github.com wrote:

The tone is emitter when there is nothing else to send. It shows that audio streaming is working. It should disappear when you enable one or more channel by ticking their boxes in the web UI.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pabr/leantrx/issues/2?email_source=notifications&email_token=AHDRLGYEYLZTHWYKRJUY7UTQYMZT3A5CNFSM4J2DMT7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZEMYY#issuecomment-565331555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDRLG5W73Q5DWYH3YN4C5DQYMZT3ANCNFSM4J2DMT7A .

unixpunk commented 4 years ago

@khan2018 do you have this running directly ON the pluto? If so, I found that there isn't enough CPU power to handle the samplerate that's used in some of these preset leansdr screens. You may need to tweak things to use a lower sample rate to view less of the spectrum at once. Hope that helps.

pabr commented 4 years ago

@khan2018 My mistake, IIRC the tone is generated in the browser when the demodulator is not streaming, so it probably indicates that the software is not fully installed and running. leantrx must run directly on the PlutoSDR if you intend to demodulate more that a couple MHz, due to USB bandwidth limitations. Then in theory you can access the web UI from any modern browser (but I only test with firefox and chrome). Are you using a USB OTG cable, USB hub, USB-ethernet adapter and USB flash drive ? If the PlutoSDR fails to autorun the flash drive, you can try to login over ssh and execute start.sh manually.

@unixpunk Yes, for some presets you need to unlock the second CPU core (google "plutosdr setenv maxcpus") and it might still be tight depending on firmware version, network load, etc. I haven't tested this software in a while.

ghost commented 4 years ago

I have a usb hub and usb-ethernet adapter separate. I tried to connect using them both but did not work on windows. On linux it was just pluto directly attached. I am trying to run on android but again same problem pluto does not boot from the flash drive. I just put the files you mentioned on the flash. Is there any step I am missing. Also how do you run the RFAnalyzer with pluto? Thanks,

pabr commented 4 years ago

It looks like your best option is to connect the Pluto directly to a linux linux PC. Please follow the procedure at http://www.pabr.org/radio/leantrx/leantrx.en.html#plutosdr_usbdev_install and copy-paste the output of start.sh here.

AFAIK RFAnalyzer only supports rtl-sdr hardware, not Pluto.