Raspberry Pi???
Raspberry Pi???
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 --
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 --
Last edited by rec on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
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
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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
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 --
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 --
Last edited by rec on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
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
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
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
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
Chris N2CR
Last edited by n2cr on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
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
Best regards,
SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
Any updates on when this will be available? Would love to post its availability to the Odroid forums.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
Last edited by n2cr on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
-
- Posts: 10
- Joined: Fri Jun 10, 2016 10:21 pm
Re: Raspberry Pi???
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
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
Last edited by pachoduran on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason
Re: Raspberry Pi???
We now have an SD Card image you can download - see https://youtu.be/SRhcpya3LnU
Reason: No reason