Linux installation - help needed

General discussions
martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Linux installation - help needed

Post by martinpd » Thu Oct 25, 2018 3:11 am

I am using Linux Mint Debian Edition. When I follow the "Non Windows Workflow" of SoapySDR but I can't get past the first stage. When I try to install the API it fails with a message stating the file has invalid characters. I've downloaded multiple times to no avail. I'm new to Linux. Am I doing something wrong or is it just not compatible with LMDE?
Last edited by martinpd on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Linux installation - help needed

Post by sdrplay » Thu Oct 25, 2018 6:08 am

The .run file needs to be made executable before you run it...

chmod 755 ./SDRplay_RSP_API-Linux-2.13.1.run

then you can run it...

./SDRplay_RSP_API-Linux-2.13.1.run

Best regards,

SDRplay Support

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Thu Oct 25, 2018 3:31 pm

Thanks for the reply. I should have elaborated better- it does begin executing but part way down it stops at the supposedly invalid characters and marks everything after as invalid. Hope that clarifies what is happening.
Last edited by martinpd on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

fventuri
Posts: 37
Joined: Sun Dec 25, 2016 4:24 pm

Re: Linux installation - help needed

Post by fventuri » Fri Oct 26, 2018 12:00 am

Martin,
try running this command:

Code: Select all

sha256sum SDRplay_RSP_API-Linux-2.13.1.run
it should give you exactly this output:

Code: Select all

e2320b9eafffa3cb5d49e956207af2521ccf098aacc1fd9abecc8fb96b364522  SDRplay_RSP_API-Linux-2.13.1.run
If that long hexadecimal number is different, the file you downloaded is probably corrupt.

If you get the error message 'sha256sum: command not found', then try this:

Code: Select all

md5sum SDRplay_RSP_API-Linux-2.13.1.run
using 'md5sum', the output should be:

Code: Select all

6a394db7d5770f11442023ce3ab0ba66  SDRplay_RSP_API-Linux-2.13.1.run
Franco

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Fri Oct 26, 2018 2:20 am

The sums are correct.
Last edited by martinpd on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Linux installation - help needed

Post by sdrplay » Fri Oct 26, 2018 7:40 am

What locale are you using? If not English, I would try that. It works on all Linux distributions I've tried including Mint.

Best regards,

SDRplay Support

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Fri Oct 26, 2018 12:45 pm

English.
This morning when I tried again it seemed to run. A terminal opened as before but instead of stopping at the invalid characters some lines of text quickly went by and the terminal closed. When I opened another terminal and entered sudo service udev restart as per the non windows workflow instructions nothing happened. What should I be seeing?
Last edited by martinpd on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Linux installation - help needed

Post by sdrplay » Fri Oct 26, 2018 1:54 pm

If you run that .run file from a terminal window it should not be opening up any windows. What do described implies that you are double clicking on .run file in an explorer window? If that's the case, use the command I pasted in a terminal window and execute the .run file from the command line.

Best regards,

SDRplay Support

Reason: No reason

martinpd
Posts: 11
Joined: Mon Feb 05, 2018 2:20 pm

Re: Linux installation - help needed

Post by martinpd » Fri Oct 26, 2018 10:28 pm

Thanks. Being new to Linux I didn't realize there would be a difference between issuing a command from the GUI and using the command line.
It appears to install OK but the last input "sudo service udev restart" still shows nothing. What should I see? Here is what I get:

paul@hp17:~/Downloads$ ./SDRplay_RSP_API-Linux-2.13.1.run
Verifying archive integrity... MD5 checksums are OK. All good.
Uncompressing SDRplay RSP API Install Package V2.13.1
Installing SDRplay RSP API library 2.13...
Press space when prompted with --More-- to read the license agreement.

SDRplay Limited
END USER LICENCE AGREEMENT

The SDRplay software (“Product”) you are about to install, run and/or use is lic
ensed by SDRplay Limited, a company registered in England (No. 09035244), whose
registered office is 6 Thornes Office Park, Monkton Road WAKEFIELD WF2 7AN UK(“S
DRplay”), and is subject to the following licence terms (“Licence”).
"You" (or "Your") shall mean an individual or Legal Entity exercising permission
s granted by this License.

By proceeding to install, run and/or use the Product, you confirm that you accep
t and agree to be bound by the terms of this Licence. If you do not agree to any
of the terms of this Licence, SDRplay is unwilling to provide access to the Pro
duct to you and you should not proceed further and may not use the Product.

1. Licence To Use The Product.

1.1 Grant of Licence.
Subject to the terms and conditions of this License, SDRplay hereby grants to yo
u a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable li
cense to reproduce, publicly display, publicly perform, create Derivative works,
incorporate in other products sublicense, and distribute the Product in Object
form.


1.2 Restrictions. You may not: modify, disassemble, decompile or reve
rse engineer the Product, except to the extent specifically authorised under app
licable law notwithstanding contractual prohibition

1.3. Redistribution. You may reproduce and distribute copies of the Product in a
ny medium, without modifications, in Object form, provided that you meet the fol
lowing conditions:
1. You must give any other recipients of the Product or Derivative Works a copy
of this License; and
2. You must cause any modified files to carry prominent notices stating that Yo
u changed the files; and
3. Any Derivative Works that You distribute must include a readable statement t
hat the Copyright in the Product is owned by and licensed by SDRplay. You may ad
d Your own attribution notices within Derivative Works that You distribute, alon
gside or as an addendum to the statement, provided that such additional attribut
ion notices cannot be construed as modifying the License.

You may add Your own copyright statement to Your modifications and may provide a
dditional or different license terms and conditions for use, reproduction, or di
stribution of Your modifications, or for any such Derivative Works as a whole, p
rovided Your use, reproduction, and distribution of the Work otherwise complies
with the conditions stated in this License.


1.3 Open Source Software. The Product may contain code, commonly refer
red to as open source software, which is distributed under any of the many known
variations of open source licence terms, including terms which allow the free d
istribution and modification of the relevant software’s source code and/or which
require all distributors to make such source code freely available upon request
, including any contributions or modifications made by such distributor (collect
ively, “Open Source Software”). To the extent that the Product contains any Open
Source Software, that element only is licensed to you pursuant to the relevant
licence terms of the applicable third party licensor (“Open Source Licence Terms
”) and not pursuant to this Licence, and you accept and agree to be bound by suc
h terms. A copy of the Open Source Licence Terms will be made available upon req
uest.

2. Confidentiality Obligations. You acknowledge that the Product con
tains confidential, proprietary and trade secret information belonging to SDRpla
y and you agree to hold such information, and any other confidential or propriet
ary information of SDRplay (collectively, "Confidential Information") in strict
confidence and agree not to disclose any Confidential Information to any third p
arty. You will have no obligation to maintain the confidentiality of any informa
tion which: (a) is or becomes publicly available without breach of this Licence;
(b) is rightfully received by you from a third party without an obligation of c
onfidentiality and without breach of this Licence; (c) is required to be disclos
ed by law or regulation or by court order; or (d) has been approved for release
by written permission of SDRplay.

3. Ownership. You acknowledge and agree that SDRplay or its third pa
rty licensors (including in particular Mirics Limited) own all rights, title and
interest in and to the Product and all modifications, enhancements and derivati
ve works SDRplay may develop to or from the Product and any and all intellectual
property rights in all of the foregoing. You agree not to use any of SDRplay’s
or Mirics’ trademarks or other business names included in the Product for any pu
rpose. You acknowledge that, except as expressly set out in this Licence, nothin
g in this Licence will give you rights in respect of any intellectual property r
ights owned by SDRplay or its licensors. All intellectual property rights and ot
her rights of SDRplay and its licensors which are not expressly granted to you b
y this Licence are reserved.

4. Limited Warranty. SDRplay warrants that the Product will, under n
ormal operating conditions, operate substantially in accordance with SDRplay’ pu
blished specification for the Product. SDRplay does not represent or warrant tha
t: (a) the use of the Product will be secure, timely, uninterrupted or error-fre
e or compatible in combination with any other hardware, software, system or data
; (b) the Product will meet your expectations; (c) errors or defects in the Prod
uct will be corrected; or that (d) the Product is free of viruses or other harmf
ul components. SDRplay makes no representation and gives no warranty in respect
of any Open Source Software component of the Product.

Except as expressly set out in this Licence, no implied conditions, warranties o
r other terms, including any implied terms relating to satisfactory quality or f
itness for any purpose, will apply to the Product and, to the maximum extent per
mitted by applicable law, are excluded by SDRplay.

5. SDRplay’ Liability. Nothing in this Licence will limit or exclude
SDRplay’ liability to you: (a) for death or personal injury caused by SDRplay’
negligence; (b) for fraud; (c) for breach of any obligations implied by section
12 of the Sale of Goods Act 1979 or section 2 of the Supply of Goods and Service
s Act 1982; or (d) for any other liability that may not, under applicable law, b
e limited or excluded. Subject to this, in no event will SDRplay be liable to yo
u for any indirect or consequential losses, or for any loss of profit, revenue,
contracts, data, goodwill or other similar losses, and any liability SDRplay doe
s have for losses you suffer arising under or in connection with this Licence an
d/or the Product is strictly limited to losses that were reasonably foreseeable.

6. Data. The Product may, without further notification, transmit t
he serial number of an SDRplay device using the Product to an SDRplay server. No
personal information, including but not limited to information about the comput
er running the Product or its location will be gathered or transmitted as part o
f this process.

7. General. You may not transfer or assign any or all of your righ
ts and/or obligations under this Licence. All notices given by you to SDRplay mu
st be given in writing to SDRplay’ registered office address. If SDRplay fails t
o enforce any of our rights, that does not result in a waiver of that right. If
any provision of these terms and conditions is found to be unenforceable, all ot
her provisions shall remain unaffected. The terms of this Licence may not be var
ied except with SDRplay’ express written consent. The terms of this Licence repr
esent the entire agreement between you and SDRplay in relation to the subject ma
tter of this Licence. The terms of this Licence shall be governed by English law
and you agree that any claim you may have against SDRplay arising under or in c
onnection with this Licence and/or the Product may only be dealt with by the Eng
lish courts, provided that, if you are a consumer: (a) and you live in a part of
the United Kingdom other than England, the applicable law of that part of the U
nited Kingdom will govern and any claim may be brought by you before the courts
there; or (b) you live in another member state of the European Union, any claim
may be brought by you before the courts there.

Press y and RETURN to accept the license agreement and continue with
the installation, or press n and RETURN to exit the installer [y/n] y
Architecture: x86_64
API Version: 2.13
Remove old libraries...
[sudo] password for paul:
Install /usr/local/lib/libmirsdrapi-rsp.so.2.13
Remove old header files...
Install /usr/local/include/mirsdrapi-rsp.h
Udev rules directory found, adding rules...
Libusb found, continuing...
Finished.
paul@hp17:~/Downloads$ sudo service udev restart
paul@hp17:~/Downloads$ sudo service udev restart

Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Linux installation - help needed

Post by sdrplay » Fri Oct 26, 2018 11:28 pm

That all looks good. There shouldn't be any output from that command.

Now when you disconnect and reconnect the RSP (or just connect it if you haven't yet), the output of...

lsusb

within a terminal window will show all USB devices connected. Anything beginning with 1df7 is a RSP

Best regards,

SDRplay Support

Reason: No reason

Post Reply