Replies: 3 comments
-
|
Hi, Thanks for your debugging tips. I will try to respond to a number of them.
Even a better approach would be to create a access group , but when you use crontab to start sdrberry on boot it will directly run with root user.
Hope this clarifies some items. 73, |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your rapid and thorough feedback. I really want to encourage you. I have used liquid-dsp on an earlier project and I like it very much. I do not know anything about how to make a spectograph or a waterfall. I'm really glad you have published your code. A few different friends at my local maker space have been giving your code a try, with various levels of success.
I have tried this and it is a good workaround. Maybe we should make a radioberry wiki page just like hackrf has and we can put in some of these tips?
I agree, especially on the Pi 4. On the Pi 5 on some other projects I do get away with using pulseaudio.
I agree keeping the install script simple is a good idea. I think having multiple choices on radios will need testing. I think one needs to test the case where there are multiple radios known to soapy, but only one of them is connected. I saw a problem when I tried this, but since I reinstalled since then I no longer have the logs. I had first installed for rtlsdr then later added hackrf to soapy. If I did not keep rtlsdr connected then there was a crash when I started sdrberry. My workaround was to simply rename the rtlsdr soapy library, then everything worked. A related suggestion is to change install script from:
to: This is because a friend of mine tried to build the code on a pi he had installed that did not have 'pi' as the default user.
Very good point. Maybe the wiki debug page should discuss CPU throttling as a cause of choppiness? Also it might suggest reducing the sample rate to reduce the workload and avoid any underruns. I checked my CPU temperature. It pretty much stays around 59 degrees C. The Rpi will throttle at 80 degrees C. I currently have it in a case that has a fan to cool it. If I make a more portable package I would put some sort of big passive cooler or maybe a small active cooler as you suggest. I note that at rate 384 kHz I do see 'underrun' messages: These underrun messages go away with rate 192 kHz and temp stays around 59C. Unfortunately I don't have time to investigate further. I'm really happy with the output at 48 and 96 kHz. I have a Hermes Lite 2 and I typically run it at these rates, not 384 kHz.
I think I should spend more time to narrow down the exact issue before asking for you to look at it. I am thinking that the issue might not be the touch screen, it might be that the keyboard I was using was falsely advertising itself as a mouse and/or touchscreen. So, let's not worry about it now. |
Beta Was this translation helpful? Give feedback.
-
|
If underruns are detected sdrberry will adjust the resample factor. thresholdUnderrun determines the threshold. The acquired resample rate is also saved for next startup. The same applies for overruns. I am still looking if there is a more elegant solution but for now this works well. I had to customize the resampler of liquid-dsp to minimize the delay during adjustment. Because it will generate clicks in de audio. Indeed liquid-dsp is a great library and good documented. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
'Discussions' may be a good place to discuss debugging tips, and perhaps better ones can move into the wiki.
As mentioned in an earlier discussion, I was able to get hackrf work well enough to receive FM stereo broadcasts. Next I installed a Radioberry, erased the HDD, re-installed the OS, and rebuilt sdrberry for RDB and DSI.
Some tips on debugging things I ran into when doing this:
Waterfallgain = "40" ). 96 kHz mode is also decent.
After all this, am having good FT8 and SSB reception.
Beta Was this translation helpful? Give feedback.
All reactions