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

RSPdxR2 Support #2155

Closed
alphafox02 opened this issue Jun 7, 2024 · 18 comments
Closed

RSPdxR2 Support #2155

alphafox02 opened this issue Jun 7, 2024 · 18 comments

Comments

@alphafox02
Copy link

I'm sure it's already known, but just putting here in case, the R2 needs SDRPlay API 3.15 on Linux. SDRAngel is currently at 3.14.

@f4exb
Copy link
Owner

f4exb commented Jun 8, 2024

Indeed this is mentioned here: https://www.sdrplay.com/api/
Also the link has the .2 minor version (for Linux) i.e. https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.15.2.run
Also arch value was changed from x86_64 to amd64 and aarch64 to arm64. This is the command to be used to get the proper value:
echo $(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)

@f4exb
Copy link
Owner

f4exb commented Jun 8, 2024

Dockerfile updated: f4exb/sdrangel-docker@1dbe120

@bodri82
Copy link

bodri82 commented Jun 8, 2024

can you update to the regular sdrangel not docker:) so i can use rspdx-r2 i compiled whit sdrplay but dont work tanx in advance

@alphafox02
Copy link
Author

I’m curious what the .2 change brought?

@srcejon
Copy link
Collaborator

srcejon commented Jun 8, 2024

I've updated https://github.com/srcejon/sdrplayapi with 3.15.2 (which is used on https://github.com/f4exb/sdrangel/wiki/Compile-from-source-in-Linux)

I've updated Mac arm64 build to use 3.15.0.

@alphafox02
Copy link
Author

Will that get sucked up into the 22.04 deb build?

@bodri82
Copy link

bodri82 commented Jun 8, 2024

I've updated https://github.com/srcejon/sdrplayapi with 3.15.2 (which is used on https://github.com/f4exb/sdrangel/wiki/Compile-from-source-in-Linux)

I've updated Mac arm64 build to use 3.15.0.

I have compiled but when I run sdrangel I can't select the antenna or change the vfo with the mouse I see the menu for the antenna but can't click

@f4exb
Copy link
Owner

f4exb commented Jun 8, 2024

Will that get sucked up into the 22.04 deb build?

It means creating a new image based on 24.04 for the Appveyor build. I suppose this is feasible but I am busy with something else at the moment. Moreover 24.04 is not yet available with do-release-upgrade so I suppose some fixes are still expected.

@srcejon
Copy link
Collaborator

srcejon commented Jun 8, 2024

I've made a PR on sdrangel-windows-libraries f4exb/sdrangel-windows-libraries#22 with the 3.15 update.

@alphafox02
Copy link
Author

Don’t suppose you could sustain dual builds and keep 22.04 going for awhile 😀

@ON4KHG
Copy link

ON4KHG commented Jun 17, 2024

I tried the last build sdrangel-7.21.2-19-g12677b1bf-win64.exe but not possible to select the Antenna port, Gain,... of the associated RSPdx-r2. The buttons are present in SDRAngel but they are not active (nothing happens when clicking on them).
Thanks.

@srcejon
Copy link
Collaborator

srcejon commented Jun 17, 2024

Sorry @f4exb, need one more update to sdrangel-windows-libraries: f4exb/sdrangel-windows-libraries#23

@srcejon
Copy link
Collaborator

srcejon commented Jun 17, 2024

I tried the last build sdrangel-7.21.2-19-g12677b1bf-win64.exe but not possible to select the Antenna port, Gain,... of the associated RSPdx-r2. The buttons are present in SDRAngel but they are not active (nothing happens when clicking on them). Thanks.

Looks like the driver needed to have support added for the new SDRPLAY_RSPdxR2 device ID - which I've done in the above patch.

I'm assuming it is otherwise the same as RSPdx in terms of capabilities.

@srcejon
Copy link
Collaborator

srcejon commented Jun 17, 2024

I tried the last build sdrangel-7.21.2-19-g12677b1bf-win64.exe but not possible to select the Antenna port, Gain,... of the associated RSPdx-r2.

Give this a try: https://github.com/f4exb/sdrangel/actions/runs/9548252693

@ON4KHG
Copy link

ON4KHG commented Jun 17, 2024

I tried it and it now perfectly works ! I can select the gain, antenna port, etc
Many thanks for your efforts.
Regards,

ON4KHG

@alphafox02
Copy link
Author

I see it’s included in the Linux build, thank you! I don’t have that particular model to check, but all othered are working on 3.15.

Should I close this out?

@srcejon
Copy link
Collaborator

srcejon commented Jun 18, 2024

Should now work in Linux, Windows and Mac, so I think we can do.

@srcejon srcejon closed this as completed Jun 18, 2024
@ON4KHG
Copy link

ON4KHG commented Jun 18, 2024

Sure, it can be closed. Thanks.

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

5 participants