gqrx-sdr / gqrx

Software defined radio receiver powered by GNU Radio and Qt.
http://gqrx.dk
GNU General Public License v3.0
2.95k stars 533 forks source link

Incorrect gain slider setup #138

Closed csete closed 8 years ago

csete commented 10 years ago

There appears to be a problem with the setup of some of the gain sliders (see for example mixer gain for Funcube Dongle Pro)

m0mik commented 10 years ago

When switching from an Ettus B210 (where I was changing the PGA0 gain setting in the GUI) to an Ettus USRP2+WBX I had the following error on starting gqrx which may be related to what you have seen with the Funcube Dongle Pro:


m@mbu:~$ gqrx
linux; GNU C++ version 4.6.3; Boost_105300; UHD_003.007.000-1-ga8caec5f

gr-osmosdr v0.1.0-77-g567fcbdf (0.1.1git) gnuradio v3.7.4git-0-g69dcaa75 built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf rfspace Using Volk machine: avx_64_mmx_orc gr-osmosdr v0.1.0-77-g567fcbdf (0.1.1git) gnuradio v3.7.4git-0-g69dcaa75 built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf rfspace -- Opening a USRP2/N-Series device... -- Current recv frame size: 1472 bytes -- Current send frame size: 1472 bytes -- Using subdev spec 'A:0'. terminate called after throwing an instance of 'std::runtime_error' what(): set_rx_gain("PGA"): gain not found. Available gains: PGA0

Aborted (core dumped)

The fix was to comment out the gain setting in the config file at '~/.config/gqrx/default.conf' and restart gqrx:

gains=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x6\0P\0G\0\x41\0\0\0\x2\0\0\0\xdd)

Mike

csete commented 10 years ago

No, this issue is purely cosmetic and does not have functional consequences.

See issue #125 instead.

csete commented 8 years ago

I can not reproduce it anymore.