mir_sdr_2500_StreamInit() Error 0x00000001

General discussions
Post Reply
dtaviation
Posts: 5
Joined: Sun Jan 24, 2016 1:59 am

mir_sdr_2500_StreamInit() Error 0x00000001

Post by dtaviation » Thu Mar 03, 2016 3:59 pm

Hi,

Would someone be able to suggest why intialising the connection to the radio might sometimes fail:

mir_sdr_usb_USB DLL: Revision 0.1.1
mir_sdr_2500_Init: fnaddr = 15
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
mir_sdr_2500_StreamInit: Open failed
initHw: mir_sdr_2500_StreamInit() Error 0x00000001
mir_sdr_Init: initState returns error 7

HW: 2014 Mac Mini, SW: Fedora 23, gr-osmosdr.

Thanks,
Dave
Last edited by dtaviation 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: mir_sdr_2500_StreamInit() Error 0x00000001

Post by sdrplay » Thu Mar 03, 2016 10:21 pm

Hi,

Can you confirm that you are using the official driver with SoapySDR? Can you post the output of...

SoapySDRUtil --probe=sdrplay

Thanks and best regards,

SDRplay Support
Last edited by sdrplay on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

dtaviation
Posts: 5
Joined: Sun Jan 24, 2016 1:59 am

Re: mir_sdr_2500_StreamInit() Error 0x00000001

Post by dtaviation » Thu Mar 03, 2016 10:52 pm

Thanks for that, this shows a problem. However, sometimes the radio starts ok.


$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
[ERROR] SoapySDR::loadModule(/usr/local/lib64/SoapySDR/modules/libremoteSupport.so)
dlopen() failed: /usr/local/lib64/SoapySDR/modules/libremoteSupport.so: undefined symbol: _ZN8SoapySDR8RegistryC1ERKSsRKPFSt6vectorISt3mapISsSsSt4lessISsESaISt4pairIS1_SsEEESaISA_EERKSA_ERKPFPNS_6DeviceESE_ES2_
[ERROR] SoapySDR::loadModule(/usr/local/lib64/SoapySDR/modules/librtlsdrSupport.so)
dlopen() failed: /usr/local/lib64/SoapySDR/modules/librtlsdrSupport.so: undefined symbol: _ZN8SoapySDR6Device18setFrontendMappingEiRKSs

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=null
hardware=null

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 0 Rx, 0 Tx
Timestamps: NO



Here is the full output when I try to start:

mir_sdr_2500_Init: fnaddr = 15

mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, re
g2 = 0x4801
initHw: Register7 = 0x000c94
initHw: Tuner Register0 = 0x05f500
Error: libusb_submit_transfer() -1

mir_sdr_2500_StreamInit: Open failed
initHw: mir_sdr_2500_StreamInit() Error 0x00000001
mir_sdr_Init: initState returns error 7
mir_sdr_2500_Readback001Trim: readback = 0xe240412
mir_sdr_2500_Bypass001Trim: reg13=0x24d reg14=0x69004e
DRT 1 mir_sdr_SetDcMode started
reinit_device end
in destructor: _running=1
mir_sdr_Uninit started
Last edited by dtaviation on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

dtaviation
Posts: 5
Joined: Sun Jan 24, 2016 1:59 am

Re: mir_sdr_2500_StreamInit() Error 0x00000001

Post by dtaviation » Fri Mar 04, 2016 12:25 am

The SoapySDRUtil command was very helpful, thanks.

After having:
1) Removed the offending libraries, which were put there by a build of SoapyRemote
2) Reinstalling your API, and
2) Rebuilding gr-osmosdr and SoapySDR

I now have a working radio again.

Excellent support.
Last edited by dtaviation on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply