g0orx / linhpsdr

Linux HPSDR
GNU General Public License v3.0
74 stars 45 forks source link

Support for Radioberry (pihpsdr) #26

Closed imoldovavan closed 5 years ago

imoldovavan commented 5 years ago

It would be great if linhpsdr would have an rx-gain slider like the pihpsdr, so that we can use it with Radioberry over the network. I am willing to help code this in if it is possible or maybe you can point me in the right direction. Thank you, Ion KC8CDQ.

g0orx commented 5 years ago

As long as the Radioberry identifies itself as a Hermes Lite then the Radio tab in linHPSDR configuration should have a gain slider for it. I will bring up my Radioberry and check.

imoldovavan commented 5 years ago

I used the release version. I will compile the latest code from master. I think that is the problem. I will let you know.

imoldovavan commented 5 years ago

Just recompiled and it is doing the same thing. The radio is being recognized as Hermes Lite, FPGA firmware version 4.0. Under the Radio Tab it shows ADC-0 LNA Gain, which I can adjust from -12 to 40. Shouldn't LNA_Gain be RX_Gain??

g0orx commented 5 years ago

Both the Radioberry and the Hermes Lite have a Low Noise Amplifier which this is controlling the gain of, hence the name LNA Gain.

imoldovavan commented 5 years ago

Can you confirm the behavior with the Radioberry? I am unable to lower the gain to usable levels. It works fine with the pihpsdr from PA3GSB on the pi itself, but not thru network.

imoldovavan commented 5 years ago

fixed in https://github.com/g0orx/linhpsdr/commit/2bbccc27504118966358d69702d7fd14d38e3311 commit. "I have changed the code to check for greater than 4.0 firmware version. Radioberry currently returns 4.0 but only handles the old way of setting the LNA gain. g0orx"