Page 1 of 1
Raspberry Pi???
Posted: Sun Mar 27, 2016 1:03 am
by rec
I tried running a program on my Raspberry Pi and it failed in libusb_open with error -3, which is access failed for insufficient permissions.
That's usually a failure to install a rules file in /etc/udev/rules.d where rules that enable support to usb devices are kept. There's a 66-mirics.rules file installed on my x86_64 linux box, but there wasn't any such on the Raspberry Pi. When I copied the file over to the Raspberry Pi, my program stopped failing in libusb_open.
The x86_64 linux API installer installs /etc/udev/rules.d/66-mirics.rules, but the arm raspberry pi installer doesn't install any such file.
-- rec -- ad5dz --
Re: Raspberry Pi???
Posted: Sun Mar 27, 2016 6:02 am
by sdrplay
You need the Raspberry Pi 2 & 3 driver which also does the udev install...
http://www.sdrplay.com/starthere.php or
http://www.sdrplay.com/raspberrypi2.html
The Linux driver will not work on the Raspberry Pi 2/3
Best regards,
SDRplay Support
Re: Raspberry Pi???
Posted: Sun Mar 27, 2016 2:38 pm
by rec
I did download and install SDRplay_RSP_MiricsAPI-1.9.2.RPi.run and it did not install any udev rules. That's how I got the error I reported in my first message. There is no udev rules file for the Mirics USB bridge in the Raspberry Pi API installer package.
To work around the problem for the time being one may copy /etc/udev/rules.d/66-mirics.rules from an Intel linux install into /etc/udev/rules.d on a Raspberry Pi.
I am telling you, for the second time, that the Raspberry Pi installer is defective. You should fix it.
-- rec -- ad5dz --
Re: Raspberry Pi???
Posted: Sun Mar 27, 2016 7:37 pm
by sdrplay
I thought the dev rules where in that package. If not, create it using sudo nano /etc/udev/rules.d/66-mirics.rules
and paste the following and then save the file
SUBSYSTEM=="usb" ATTR{idVendor}=="1df7" ATTR{idProduct}=="2500" MODE:="0666"
After that, type sudo service dev restart and disconnect the RSP (if connected) and reconnect again.
The dev rules will make it into a future release.
Best regards,
SDRplay Support
Re: Raspberry Pi???
Posted: Mon Mar 28, 2016 11:28 am
by n2cr
Would it be possible to get a 64-bit version of the Pi RSP shared library? I'm trying to build gr-osmosdr on my Odroid-C2 which is a 64-bit quad core ARMv8 and the 32-bit driver can't be linked with the rest of the source code which has been compiled for 64-bit.
Chris N2CR
Re: Raspberry Pi???
Posted: Mon Mar 28, 2016 6:47 pm
by sdrplay
I have an odroid device and it is on the list of platforms to support. I'll try to find some time to get it on there and tested.
Best regards,
SDRplay Support
Re: Raspberry Pi???
Posted: Thu Aug 04, 2016 11:17 pm
by n2cr
sdrplay wrote:I have an odroid device and it is on the list of platforms to support. I'll try to find some time to get it on there and tested.
Best regards,
SDRplay Support
Any updates on when this will be available? Would love to post its availability to the Odroid forums.
Re: Raspberry Pi???
Posted: Tue Aug 09, 2016 9:39 pm
by pachoduran
Hi, i make this step by step for configure the raspberry pi with me SDRPLAY:
udo apt-get update
sudo apt-get upgrade
sudo apt-get install cmake
download api
chmod 755 SDRplay_RSP_MiricsAPI-RPi-1.95.2.run
./SDRplay_RSP_MiricsAPI-RPi-1.95.2.run
sudo nano /etc/udev/rules.d/66-mirics.rules
SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="2500",MODE="0666"
sudo service udev restart
sudo apt-get install libusb-1.0-0
sudo apt-get install libusb-1.0-0-dev
ldconfig -p | grep libusb
ldconfig -p | grep mirsdrapi
ldconfig -p | grep oapy
Re: Raspberry Pi???
Posted: Mon Jun 19, 2017 6:23 am
by jon
We now have an SD Card image you can download - see
https://youtu.be/SRhcpya3LnU