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

timeout error since firmware 2.0.0 #8

Closed
dupilax opened this issue Jun 4, 2019 · 18 comments
Closed

timeout error since firmware 2.0.0 #8

dupilax opened this issue Jun 4, 2019 · 18 comments

Comments

@dupilax
Copy link

dupilax commented Jun 4, 2019

Hello

I get lot of error timeout during the day with new firmware 2.0.0 (was 1.0.0 before)
Same Raspberry PI with same power supply, not overloaded.

Here is a log in daemon.log :
SoapySDR device 'driver=airspyhf,device_id=0': readStream failed: TIMEOUT, disabling

Any clue to debug this ?

Thanks

@jazzkutya
Copy link
Contributor

that's interesting, I got similar results but I thought this was due to the gain settings I added to this project but I also upgraded fw from 1.0 to latest 1.x so maybe real cause is the firmware. which exact version of airspyhf are you using?

@jazzkutya
Copy link
Contributor

jazzkutya commented Jun 4, 2019

also in my experience this timeout only happens at start of stream and when setting agc on/off later while streaming. Changing gain also stops the hardware stream for a bit of time but afaik not for more than the default timeout of 100msec

@jazzkutya
Copy link
Contributor

what program produced that log message?

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019

it it rtl_airband

it happens for an hour and half after launching rtl_airband and not changing gain or AGC

maybe downgrading to firmware 1.0.0 worth a try ?

@jazzkutya
Copy link
Contributor

don't forget if you downgrade you reintroduce the firmware upgrade bug. what version or which commit of SoapyAirspyHF are you using?

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019

Yes I have to keep a screwdriver nearby... ;-)
there is new option to change the gain in rtl_airband. I will try today with AGC as before

SoapySDRUtil --info
######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Lib Version: v0.8.0-gac770377
API Version: v0.8.0
ABI Version: v0.8

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019

SoapyAirspyHF : last version with git pull

@jazzkutya
Copy link
Contributor

jazzkutya commented Jun 4, 2019

ok, don't change the firmware yet. I will update this comment with a link to download earlier version of SoapyAirspyHF and please try that one
here's the download link for earlier version: https://github.com/pothosware/SoapyAirspyHF/archive/e8582d43600105060b45729655a8979edd35639a.zip

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019

firmware 2.0.0
SoapyAirSpyHF last version installed
just launch rtl_airband with AGC,
keep you posted
thanks a lot

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019 via email

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019

too bad...
SoapySDR device 'driver=airspyhf,device_id=0': readStream failed: TIMEOUT, disabling

firmware downgrade ?

@jazzkutya
Copy link
Contributor

Have you tried the earlier SoapyAirspyhf version I mentioned above with a download link?

@dupilax
Copy link
Author

dupilax commented Jun 4, 2019

yes this is the one i installed before the test

@jazzkutya
Copy link
Contributor

thanks, that means the problem exists even with the earlier SoapyAirSpyHF, the one that does not support gain settings. You could try to convince the developers or rtl_airband to ignore timeouts or revert back to old firmware but I don't like that option, for me gain settings are a must :)

@jazzkutya
Copy link
Contributor

jazzkutya commented Jun 4, 2019

R2.2.0 - 2019-06-04 Better underrun/overrun handling.

this might be just the firmware update you are looking for

@dupilax
Copy link
Author

dupilax commented Jun 5, 2019 via email

@dupilax
Copy link
Author

dupilax commented Jun 8, 2019

You're right, this is the needed firmware version !
No timeout since 6 hours...
Thanks a lot

@jazzkutya
Copy link
Contributor

thank you for the feedback, can you close this issue please?

@dupilax dupilax closed this as completed Jun 8, 2019
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