-
Notifications
You must be signed in to change notification settings - Fork 185
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
Problem with miri driver #359
Comments
LibUSB error 6 is "busy", so likely a driver or some other app has claimed the device? |
I appreciate your help, but issue is still there: joe@localhost:~$ SoapySDRUtil --find=rtlsdr Soapy SDR -- the SDR abstraction library###################################################### Detached kernel driver Soapy SDR -- the SDR abstraction library###################################################### Detached kernel driver joe@localhost:~$ SoapySDRUtil --make=rtlsdr Soapy SDR -- the SDR abstraction library###################################################### Make device rtlsdr Also, I've run lsusb -v & lsusb with/without radio attached to see how interface is registered; it looked normal: L've run usb-devices; registered OK: joe@localhost:~$ usb-devices I've checked lsmod, if there is colosion; msi modules are registered first: joe@localhost:~$ lsmod The difference between rtl-sdr and miri drivers is that rtl-sdr creates several devices: dvb/*, lirc0, media0, swradio0. I appreciate any suggestion what I can check next. Thankyou. |
That's what I meant ;) There are drivers loaded that claim the device. |
Thank you for sticking with me and helping me get miri driver to work. joe@localhost:~$ SoapySDRUtil --make=miri Soapy SDR -- the SDR abstraction library###################################################### Make device miri The CubicSDR still is not working & it hung-sup. On terminal (stdout) it is printing "000..." |
Not looking good. Perhaps you shouldn't use that "miri" driver and use the more robust SoapySDRPlay driver ("sdrplay"). (It's not USB 3, the |
Yes, miri driver looks choppy. Unfortunately there is no SoapySDRPlay driver in current debian depository ready to use. I'll try to build it & I hope everything will work fine. I appreciate your help and I let you know (probably tomorrow) how it worked. |
https://packages.debian.org/bullseye/soapysdr0.7-module-all |
You can use my SoapyMiri driver. :) It works perfectly for me in SDR++ and GNUradio. But I only have a package for Arch: https://aur.archlinux.org/packages/soapymiri-git |
The driver name "soapyMiri" is really asking for confusion with "miri" :) Maybe "mirisdr" to match the library name and common scheme in Soapy? Hardly better though. |
Yeah, but you know the two hardest problems in computer science. :) AFAIK, there is no other project named "SoapyMiri", so I went with that, even against the naming convention. There already is a "miri" driver for Soapy, If you want to use the driver in question, you have to replace miri_source_c.cc in SoapyOsmo with this fixed version and recompile: https://gist.github.com/ericek111/4e59b94ecfc20a182c2bb1c3fab5fa42 |
;)
And it's not packaging some "mirisdr" but just "miri" (libmiriSupport.so). |
Thank you for help, however I was not successful to run msi2500/msi001 radio on debian. Beside soapy-module-mirisdr, I have tried mirisdr, ericel111's driver with sdrpp and driver from sdrplay.com; nothing worked. I believe this hardware is not ready for deployment and more established hardware should be used. There is a new soapy-module-mirisdr driver on debian sid, but sid would brake my current system. So I have to wait or use other hardware. |
Still I'll try to build gr-osmosdr-gqrx with ericek111's driver. Also, I have a question; is msi2500 API opened, or we have to use binary blob from SDRPlay? |
Can you explain how to correctly build flowgraph to not lost samples?
My center frequency 1227.6 Mhz and sample rate 5M or 8M. |
Apply this commit to libmirisdr |
I'm maintaining a fork with @vladisslav2011's fixes here: https://github.com/ericek111/libmirisdr-5 Thanks, Vladisslav, I learned a lot from your commits! It also made using RSP1 easier and smoother for me. |
@vladisslav2011 Thanks for that commit. |
@ericek111 : about driver name confusion with already existing "miri" driver name from SoapyOsmo driver, what about using "mirisdr" for your driver ? |
SoapyOsmo is outdated, the driver itself does not work (see pothosware/SoapyOsmo#9) and has been removed from gr-osmosdr 2 years ago. My driver is called "soapyMiri", which does not conflict with the SoapyOsmo driver and while I do agree on the confusion part, I think it's SoapyOsmo that should be updated, especially now that there's an alternative. |
I agree with you, miri support should be removed from SoapyOsmo. Other devices in the past have been removed from it when alternative came out See here: https://github.com/pothosware/SoapyOsmo/blob/master/Changelog.txt I opened an issue for this. |
I have receiver with msi2500/msi001 chip-set and I'm trying to use Cubicsdr with Soapy-miri driver. After installing I'm getting following messages:
debian@localhost:~$ SoapySDRUtil --find=miri
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Found device 0
driver = miri
label = Mirics MSi2500 default (e.g. VTX3D card)
miri = 0
debian@localhost:
$$ SoapySDRUtil --make=miridebian@localhost:
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Make device miri
Using device #0: Mirics MSi2500 default (e.g. VTX3D card)
usb_claim_interface error -6
Error making device: Failed to open mirisdr device.
debian@localhost:~$
The CubicSDR does not work; the soapy driver is not loaded.
BTW I have copied mirisdr.rules into proper place no change, also Soapy does not work even if I'm root.
The Sopy rtl-sdt driver works perfectly. All software is recent pool from the last version of debian.
I would greatly appreciate any suggestion
The text was updated successfully, but these errors were encountered: