pothosware / SoapyAirspyHF

SoapySDR plugin to support the Airspy HF+
https://github.com/pothosware/SoapyAirspyHF/wiki
MIT License
24 stars 17 forks source link

timeout error since firmware 2.0.0 #8

Closed dupilax closed 5 years ago

dupilax commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

what program produced that log message?

dupilax commented 5 years ago

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 commented 5 years ago

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

dupilax commented 5 years ago

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 commented 5 years ago

SoapyAirspyHF : last version with git pull

jazzkutya commented 5 years ago

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 commented 5 years ago

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

dupilax commented 5 years ago

No problem so far.

And AirSpy HF+ definitely worth it !

Thanks a lot

Le 4 juin 2019 à 13:35, jazzkutya notifications@github.com a écrit :

ok, don't change the firmware yet. I will update this comment with a link to download earlier version or SoapyAirspyHF and please try that one

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pothosware/SoapyAirspyHF/issues/8?email_source=notifications&email_token=AFY26PYCK4T2XEADAT5B5FTPYZHPPA5CNFSM4HS2UKF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4I4GI#issuecomment-498634265, or mute the thread https://github.com/notifications/unsubscribe-auth/AFY26P654LGW6SJZSBMVLYTPYZHPPANCNFSM4HS2UKFQ.

dupilax commented 5 years ago

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

firmware downgrade ?

jazzkutya commented 5 years ago

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

dupilax commented 5 years ago

yes this is the one i installed before the test

jazzkutya commented 5 years ago

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 commented 5 years ago

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

this might be just the firmware update you are looking for

dupilax commented 5 years ago

Oh yes maybe !

Sadly I can’t upgrade till saturday. I keep you posted !

Thanks a lot

Le 5 juin 2019 à 01:00, jazzkutya notifications@github.com a écrit :

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

dupilax commented 5 years ago

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

jazzkutya commented 5 years ago

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