Skip to content
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

Crash with Sdrplay #50

Closed
LanWolf opened this issue Jan 28, 2020 · 4 comments
Closed

Crash with Sdrplay #50

LanWolf opened this issue Jan 28, 2020 · 4 comments

Comments

@LanWolf
Copy link

LanWolf commented Jan 28, 2020

I tried using the image (2020-01-04) with an sdrplay rsp1 , but is keeps crashing/locking up. sometimes it runs a few minutes, but when changing anything it locks up totally.
Maybe a driver problem ?

Attached an Airspy HF + Discovery, and it runs fine for days now
(except the gain setting, but that already is a known issue afiak)

@jketterl
Copy link
Owner

jketterl commented Jan 29, 2020

difficult to tell. can you please check if there's any messages related to new usb devices / usb devices being disconnected in sudo dmesg -T when it happens? i'm suspecting its the hardware, and my suggestion would be to improve the power supply and / or use a powered usb hub.

the driver itself... well, it has its issues, but those are mostly related to initial startup. once it's running, it's usually fine, so that would be a new one.

also: i thought i had the airspy gain issue sorted by compiling soapy and the airspyhf module from source. i need to double check that.

@LanWolf
Copy link
Author

LanWolf commented Feb 3, 2020

I cannot check messages during crash, beacuse it locks up the whole pi. have to powercycle to get going again.
It mostly hapens when closing the webpage, sliding the waterfall sliders.

What would be the correct gain setting for the airspy ? it was 20, i tried 30 even but no succes

@jketterl
Copy link
Owner

jketterl commented Feb 3, 2020

if it completely locks up the system it's most likely a hardware or driver fault, you'd probably get the same result with other sdr software. you can try the suggestions above, but since you say it happens during disconnect: try setting "always-on": True on the sdrplay device in your config. That's a workaround for sdr devices that cannot reliably shut down / start up at will. Basically it will keep the process that interfaces with your sdr running in the background, avoiding the shutdown.

as for the airspy: you're right, gain control does not work as expected. when i though i had sorted it out, all i got was the correct listing of gain values from SoapySDRUtil --probe, but setting them doesn't work. I will need to investigate this...

@jketterl
Copy link
Owner

branching the airspy gain issue into #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants