-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GNU Radio KrakenSDR Block: "Exception: Failed to get IQ Samples" #5
Comments
Note that after the GNU Radio FFT flow graph fails to get IQ samples, If I run the sdr@nTSDR05:~$ kraken_test
Found 5 device(s):
0: Realtek, RTL2838UHIDIR, SN: 1004
1: Realtek, RTL2838UHIDIR, SN: 1000
2: Realtek, RTL2838UHIDIR, SN: 1001
3: Realtek, RTL2838UHIDIR, SN: 1002
4: Realtek, RTL2838UHIDIR, SN: 1003
Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0. Unplugging Kraken from USB data port and reconnected, re-ran the sdr@nTSDR05:~$ kraken_test
Found 5 device(s):
0: Realtek, RTL2838UHIDIR, SN: 1004
1: Realtek, RTL2838UHIDIR, SN: 1000
2: Realtek, RTL2838UHIDIR, SN: 1001
3: Realtek, RTL2838UHIDIR, SN: 1002
4: Realtek, RTL2838UHIDIR, SN: 1003
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T/2 tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
Allocating 15 (non-zero-copy) user-space buffers If I then open 5 separate terminals and run the following: Thanks, |
Can you please post the contents of the logs from Firmware/_logs? |
Thanks for the prompt reply. Another quick note: After finishing the original post, I tried the Here are the contents of the log files located in
|
This is the core problem. This usually means that there is some problem communicating with the KrakenSDR. So most likely a USB data cable problem. Please try another high quality USB cable, and also try the ports on the back of your PC. Sometimes the ports on the front of desktop computers are internally connected with very low quality cabling, and so they won't work well with high data rate devices. It could also be a power supply issue, but the Apple charger is probably going to be good quality unless it happens to be a fake Apple product. Edit: Just realized the Dell Precision 5540 is a laptop. Still try other USB ports on the laptop. If you're using a dock try eliminate that too. |
Thank you for the feedback. I have on order some new cables and a bigger power supply. I'll check back after they arrive and I get this up and running so we can close this issue. Thanks Again, -- Joel |
Hi again, Thanks for your patience. I had some time to test this issue, and it seems like the KrakenSDR just does not like my laptop for some reason. As a result I will close this issue. Just an FYI for anyone who wants to know, the cables and charger I ordered were Anker brands: They worked excellent in my case, however, that was not the solution to this problem. I fired up another laptop with a Win10 image and WSL2 running Ubuntu 22.04. I installed the Thanks for all your help and Best Regards, --Joel |
Hello,
I am having a problem using the KrakenSDR in GNU Radio. It seems it will not get IQ samples. Here is all the information I collected so far. My apologies for the length of this post, but I was trying to be as comprehensive as possible:
PC Specs:
Dell Precision 5540 i9-9880H 2.3Ghz, 64GB RAM.
GNU Radio v3.10.7.0
Using a 20W Apple USB-C Charger Brick for iPad with Anker fast charging cables as the Kraken Power Supply.
Linux Mint 21.3 Fresh Install on separate partition
Install all system updates.
Install the following per Install Scripts
*** Note that during this step, the
make
process fails due to a missingrtl-sdr.h
file not found.Here is a snippet of the output:
To fix the above error:
7) Delete and reinstall the
librtlsdr
library:librtlsdr
to system:_daq_core
:and now the
_daq_core
will build.gr-krakensdr
GNU Radio Block as per GNU Radio OOT Block Install Instructionsdaq_chain_config.ini
:Make the following changes:
./heimdall_only_start.sh
: This script starts and shows theHave Coffee Watch Radar
and seems to be working properly.Run
gnuradio-companion &
and try to run the in thekraken_fft_display.grc
in the~/gr-krakensdr/examples
folder.The following is shown in the Terminal:
Note that in the above case, the GUI shows, but basically 'freezes' instantly since the Kraken can't collect IQ samples.
A quick note: Prior to discovering the
librtlsdr
delete/reinstall to get the_daq_core
to build, I had the problem where GNU Radio could not connect to the Kraken, and the output in the terminal was:Ethernet Connection Failed, Error: <class 'ConnectionRefusedError'>
with no GUI display.So I have made some progress since that was happening.
What should I try from here?
Thanks,
-- Joel
The text was updated successfully, but these errors were encountered: