Please pull from branch savemode to save the mode on exit#58
Please pull from branch savemode to save the mode on exit#58awillard69 wants to merge 10 commits into
Conversation
Add git version descriptor to the VERSTR make variable.
Rename the variable 'rx' to 'regxp' to prevent masking of a member variable of same name. Show the name of the device if regexp not match instead of 'Unknown'. Rtlsdr device shows as "rtl=0".
Conflicts: applications/gqrx/mainwindow.cpp
Add clean target for "make clean" to remove the program as well.
Add save of mode setting for next reload.
|
I have a different implementation of this in the pipeline that also stores other options. I'll try to fix the remaining issues and commit it within a few days. I'll post here when it's ready. The next time please create a new fork in order to get rid of the noise (and the commit that was reverted before). |
|
Alexandru, I reforked your repo. I look forward to your new changes. AB9YC From: Alexandru Csete notifications@github.com I have a different implementation of this in the pipeline that also stores other options. I'll try to fix the remaining issues and commit it within a few days. I'll post here when it's ready. |
Following settings are saved: - Demodulator (mode) - Filter offset - Squelch level
|
I have pushed my changes. It currently stores the filter offset, the mode and the squelch level. Please test it and let me know if you find any issues. |
|
Alexandru, I've pulled down the changes and given them a run. I deleted my config file so that nothing would get in the way. However, I encountered several hangs where the front end would become unresponsive and required a kill. Here is the text from a debug compile: ~/wip/gqrx$ ./gqrx No user supplied config file. Using default.
It would frequently hang following the "Force RX reconf..." statement. Also, I don't understand the "Error saving configuration..." message either. Note, I would set frequency to a local WFM station. AB9YC From: Alexandru Csete notifications@github.com I have pushed my changes. It currently stores the filter offset, the mode and the squelch level. Please test it and let me know if you find any issues. |
|
Hmmm, bummer... Does it work without freezes if you revert the last three commits? |
|
I reverted to commit 4af7d11 (my latest since the refresh) and it seems more stable. I didn't have time to evaluate other commits. AB9YC From: Alexandru Csete notifications@github.com Hmmm, bummer... Does it work without freezes if you revert the last three commits? |
|
Don't worry - I believe it is a gnuradio run-time issue and has been
Alex |
|
Happy to help... NAME="Ubuntu" Linux video-station 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 16:26:01 UTC 2012 i686 i686 i386 GNU/Linux processor : 0 processor : 1 AB9YC From: Alexandru Csete notifications@github.com Don't worry - I believe it is a gnuradio run-time issue and has been
Alex |
|
Okay - I mean boost version, not boot version. I'm guessing it is version 1.46, in which case it is a "bad boost" version that should be blacklisted by the gnuradio build script. But due to an error the build script didn't catch it. You can fix your problem by Boost 1.48 is already available but there is some mixup wrt. what is installed and what is not. Here is what I did on Linux Mint 13 (based on Ubuntu 12.04):
Finally, you need to rebuild uhd, gnuradio, gr-osmosdr and gqrx, sorry... |
|
Yes, my boost library version is 1.46. I'll see about getting it upgraded, and then rebuild gnuradio et-al and let you know. AB9YC From: Alexandru Csete notifications@github.com Okay - I mean boost version, not boot version. I'm guessing it is version 1.46, in which case it is a "bad boost" version that should be blacklisted by the gnuradio build script. But due to an error the build script didn't catch it. |
|
I actually found your thread on this topic, http://www.ruby-forum.com/topic/4410846, while trying to better understand how I need to clear this up. I installed boost 1.48, uninstalled many of the lingering 1.46 libs, and tried to recompile gnuradio. Cmake was complaining about a "know bad boost version". I ended up removing the CMakeCache.txt file and regenerating. At least that doesn't complain. I'll have to kick off a full build when I get home and hopefully I'll have more to offer once I get a clean build. AB9YC From: Alexandru Csete notifications@github.com Okay - I mean boost version, not boot version. I'm guessing it is version 1.46, in which case it is a "bad boost" version that should be blacklisted by the gnuradio build script. But due to an error the build script didn't catch it. |
|
Alexandru, Well, after the long process of rebuilding all of gnuradio, then gqrx, it seems to be working and more stable than before. AB9YC From: Alexandru Csete notifications@github.com Okay - I mean boost version, not boot version. I'm guessing it is version 1.46, in which case it is a "bad boost" version that should be blacklisted by the gnuradio build script. But due to an error the build script didn't catch it. |
Save the current demodulator mode; load the last demodulator mode on startup.