Skip to content

Instantly share code, notes, and snippets.

@cjcliffe
Created October 1, 2015 04:02
Show Gist options
  • Save cjcliffe/9f4ed1e2098a0bbd0a53 to your computer and use it in GitHub Desktop.
Save cjcliffe/9f4ed1e2098a0bbd0a53 to your computer and use it in GitHub Desktop.
```
[robertdngsimac2:~/SoapySDRPlay/build] rduering% /Applications/CubicSDR.app/Contents/MacOS/CubicSDR
Loading:: configuration file '/Users/rduering/Library/Application Support/CubicSDR/config.xml'
Loaded PPM for device 'Generic RTL2832U OEM :: 00000001' at 0ppm
Loaded I/Q Swap for device 'Generic RTL2832U OEM :: 00000001' as not swapped
Loaded Direct Sampling Mode for device 'Generic RTL2832U OEM :: 00000001': off
Loaded offset for device 'Generic RTL2832U OEM :: 00000001' at 0Hz
Loaded PPM for device 'SDRPlay Device (experimental)' at 0ppm
Loaded I/Q Swap for device 'SDRPlay Device (experimental)' as not swapped
Loaded Direct Sampling Mode for device 'SDRPlay Device (experimental)': off
Loaded offset for device 'SDRPlay Device (experimental)' at 0Hz
SoapySDR init..
API Version: v0.3.0-g603da6be
ABI Version: v0.3-0
Install root: /usr/local
Module found: /usr/local/lib/SoapySDR/modules/libsdrPlaySupport.so
Loading modules... done
Available factories...null, sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz
mir_sdr_2500_Init(2)
mir_sdr_usb_Init()
mir_sdr_usb_USB DLL: Revision 0.1.1
Opened device with idVendor = 0x1df7 idProduct = 0x2500 fwVersion = 0x0200
Msg: libusb_get_configuration() = 0
mir_sdr_2500 attachFn(hnd, 0x0200, 1, 0)
mir_sdr_2500_Init: revisionId = 0x0200, doing FW update
fwDownload: FW image size = 6008
mir_sdr_usb_WaitForReattach()
mir_sdr_2500 detachFn()
mir_sdr_usb_Uninit()
Releasing interface in mir_sdr_usb_Uninit()
Closing driver handle in mir_sdr_usb_Uninit()
Closed driver handle in mir_sdr_usb_Uninit()
Closed eventThread in mir_sdr_usb_Uninit()
Exited libusb in mir_sdr_usb_Uninit()
mir_sdr_usb_Uninit() completed
mir_sdr_usb_Init()
mir_sdr_usb_USB DLL: Revision 0.1.1
Opened device with idVendor = 0x1df7 idProduct = 0x2500 fwVersion = 0x0206
Msg: libusb_get_configuration() = 0
mir_sdr_2500 attachFn(hnd, 0x0206, 1, 0)
mir_sdr_usb_SetInterface(2)
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_Init: fnaddr = 4
mir_sdr_2500_SetRegister(0x05, 0x00000c)
mir_sdr_2500_SetRegister(0x09, 0x00000e)
mir_sdr_2500_SetRegister(0x00, 0x000200)
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
mir_sdr_2500_SetRegister(0x02, 0x004801)
mir_sdr_2500_SetRegister(0x09, 0x28bb85)
mir_sdr_2500_SetRegister(0x08, 0x00fa80)
mir_sdr_2500_SetRegister(0x07, 0x000005)
initHw: Register7 = 0x000005
mir_sdr_2500_SetRegister(0x09, 0x04f440)
initHw: Tuner Register0 = 0x04f440
mir_sdr_2500_StreamInit(0, 393216)
mir_sdr_usb_StreamInit(0, 393216)
mir_sdr_2500_StartRx()
mir_sdr_usb_FlushLocalBuffer()
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_2500_SetRegister(0x04, 0x0624dd)
mir_sdr_2500_SetRegister(0x03, 0x01181f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x000003)
mir_sdr_2500_SetRegister(0x09, 0x250202)
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_2500_SetRegister(0x09, 0x032101)
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x0002108a, gainSetting=0x210, FsToggle=0, RfToggle=1, GrToggle=1
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_StopRx()
mir_sdr_2500_StreamUninit()
mir_sdr_usb_StreamUninit(1)
mir_sdr_2500_SetRegister(0x08, 0x006280)
mir_sdr_2500_Uninit()
mir_sdr_2500_SetRegister(0x09, 0x063000)
mir_sdr_2500_SetRegister(0x09, 0x00800e)
mir_sdr_2500_SetRegister(0x03, 0x091300)
mir_sdr_2500_SetRegister(0x05, 0x000004)
mir_sdr_usb_Uninit()
Releasing interface in mir_sdr_usb_Uninit()
Closing driver handle in mir_sdr_usb_Uninit()
Closed driver handle in mir_sdr_usb_Uninit()
Closed eventThread in mir_sdr_usb_Uninit()
Exited libusb in mir_sdr_usb_Uninit()
mir_sdr_usb_Uninit() completed
[DEBUG] init sps: 336
Found device 0
driver = sdrplay
label = SDRPlay Device (experimental)
Make device driver=sdrplay,label=SDRPlay Device (experimental)
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz
mir_sdr_2500_Init(2)
mir_sdr_usb_Init()
mir_sdr_usb_USB DLL: Revision 0.1.1
Opened device with idVendor = 0x1df7 idProduct = 0x2500 fwVersion = 0x0206
Msg: libusb_get_configuration() = 1
mir_sdr_2500 attachFn(hnd, 0x0206, 1, 0)
mir_sdr_usb_SetInterface(2)
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_Init: fnaddr = 4
mir_sdr_2500_SetRegister(0x05, 0x00000c)
mir_sdr_2500_SetRegister(0x09, 0x00000e)
mir_sdr_2500_SetRegister(0x00, 0x000200)
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
mir_sdr_2500_SetRegister(0x02, 0x004801)
mir_sdr_2500_SetRegister(0x09, 0x28bb85)
mir_sdr_2500_SetRegister(0x08, 0x00fa80)
mir_sdr_2500_SetRegister(0x07, 0x000005)
initHw: Register7 = 0x000005
mir_sdr_2500_SetRegister(0x09, 0x04f440)
initHw: Tuner Register0 = 0x04f440
mir_sdr_2500_StreamInit(0, 393216)
mir_sdr_usb_StreamInit(0, 393216)
mir_sdr_2500_StartRx()
mir_sdr_usb_FlushLocalBuffer()
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_2500_SetRegister(0x04, 0x0624dd)
mir_sdr_2500_SetRegister(0x03, 0x01181f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x000003)
mir_sdr_2500_SetRegister(0x09, 0x250202)
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_2500_SetRegister(0x09, 0x032101)
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x00020392, gainSetting=0x210, FsToggle=0, RfToggle=0, GrToggle=0
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_StopRx()
mir_sdr_2500_StreamUninit()
mir_sdr_usb_StreamUninit(1)
mir_sdr_2500_SetRegister(0x08, 0x006280)
mir_sdr_2500_Uninit()
mir_sdr_2500_SetRegister(0x09, 0x063000)
mir_sdr_2500_SetRegister(0x09, 0x00800e)
mir_sdr_2500_SetRegister(0x03, 0x091300)
mir_sdr_2500_SetRegister(0x05, 0x000004)
mir_sdr_usb_Uninit()
Releasing interface in mir_sdr_usb_Uninit()
Closing driver handle in mir_sdr_usb_Uninit()
Closed driver handle in mir_sdr_usb_Uninit()
Closed eventThread in mir_sdr_usb_Uninit()
Exited libusb in mir_sdr_usb_Uninit()
mir_sdr_usb_Uninit() completed
[DEBUG] init sps: 336
mir_sdr_version=1.100000
SDR post-processing thread started..
SDR thread initializing..
Using device #0
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz
mir_sdr_2500_Init(2)
SS
ppmir_sdr_usb_Init()
ee
ccmir_sdr_usb_USB DLL: Revision 0.1.1
tt
rruumm vviissuuaall ddaattaa tthhrreeaaOpened device with idVendor = 0x1df7 idProduct = 0x2500 fwVersion = 0x0206
dd
Msg: libusb_get_configuration() = 1
ss
ttaarrtteedd..
mir_sdr_2500 attachFn(hnd, 0x0206, 1, 0)
mir_sdr_usb_SetInterface(2)
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_Init: fnaddr = 4
mir_sdr_2500_SetRegister(0x05, 0x00000c)
mir_sdr_2500_SetRegister(0x09, 0x00000e)
mir_sdr_2500_SetRegister(0x00, 0x000200)
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
mir_sdr_2500_SetRegister(0x02, 0x004801)
mir_sdr_2500_SetRegister(0x09, 0x28bb85)
mir_sdr_2500_SetRegister(0x08, 0x00fa80)
mir_sdr_2500_SetRegister(0x07, 0x000005)
initHw: Register7 = 0x000005
mir_sdr_2500_SetRegister(0x09, 0x04f440)
initHw: Tuner Register0 = 0x04f440
mir_sdr_2500_StreamInit(0, 393216)
mir_sdr_usb_StreamInit(0, 393216)
mir_sdr_2500_StartRx()
mir_sdr_usb_FlushLocalBuffer()
mir_sdr_SetFs: Sample Freq requested 2047999.978065
mir_sdr_2500_SetRegister(0x04, 0x0624dd)
mir_sdr_2500_SetRegister(0x03, 0x01181f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2048000.0+0.0Hz=2048000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x000003)
mir_sdr_2500_SetRegister(0x09, 0x250202)
mir_sdr_SetRf: f->222064000.000Hz (int=25 frac=20 afc=0) fSynth:3553024000.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=222064000.0+0.0+0.0Hz+0.0Hz=222064000.0Hz RfToggle->1
mir_sdr_2500_SetRegister(0x09, 0x032101)
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
FFT visual data thread started.
setToggleStates: initialising sampNum=0x000204fa, gainSetting=0x210, FsToggle=0, RfToggle=1, GrToggle=1
setToggleStates: initialising Fs=2047999.978, Rf=222064000.000, Gr=40
mir_sdr_2500_StopRx()
mir_sdr_2500_StreamUninit()
mir_sdr_usb_StreamUninit(1)
Audio Device #0 Apple Inc.: Built-in Microphone
Default Output? No
Default Input? No
Input channels: 2
Output channels: 0
Duplex channels: 0
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
96000hz
Audio Device #1 Apple Inc.: Built-in Input
Default Output? No
Default Input? No
Input channels: 2
Output channels: 0
Duplex channels: 0
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
96000hz
Audio Device #2 Apple Inc.: Built-in Output
Default Output? Yes
Default Input? Yes
Input channels: 0
Output channels: 2
Duplex channels: 0
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
96000hz
Audio Device #3 ma++ ingalls for Cycling '74: Soundflower (2ch)
Default Output? No
Default Input? No
Input channels: 2
Output channels: 2
Duplex channels: 2
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
176400hz
192000hz
Audio Device #4 ma++ ingalls for Cycling '74: Soundflower (64ch)
Default Output? No
Default Input? No
Input channels: 64
Output channels: 64
Duplex channels: 64
Native formats:
32-bit float normalized between plus/minus 1.0.
Supported sample rates:
44100hz
48000hz
88200hz
96000hz
176400hz
192000hz
Loaded font 'Bitstream Vera Sans Mono' from 'vera_sans_mono16.fnt', parsed 167 characters.
Loaded font 'Bitstream Vera Sans Mono' from 'vera_sans_mono12.fnt', parsed 167 characters.
mir_sdr_2500_SetRegister(0x08, 0x006280)
mir_sdr_2500_Uninit()
mir_sdr_2500_SetRegister(0x09, 0x063000)
mir_sdr_2500_SetRegister(0x09, 0x00800e)
mir_sdr_2500_SetRegister(0x03, 0x091300)
mir_sdr_2500_SetRegister(0x05, 0x000004)
mir_sdr_usb_Uninit()
Releasing interface in mir_sdr_usb_Uninit()
Closing driver handle in mir_sdr_usb_Uninit()
Closed driver handle in mir_sdr_usb_Uninit()
Closed eventThread in mir_sdr_usb_Uninit()
Exited libusb in mir_sdr_usb_Uninit()
mir_sdr_usb_Uninit() completed
[DEBUG] init sps: 336
[DEBUG] Set sample rate
[DEBUG] Changed center frequency
[INFO] Using format CF32.
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.400MHz rf=100.588MHz bw=1.536MHz if=0.000MHz
mir_sdr_2500_Init(2)
mir_sdr_usb_Init()
mir_sdr_usb_USB DLL: Revision 0.1.1
Opened device with idVendor = 0x1df7 idProduct = 0x2500 fwVersion = 0x0206
Msg: libusb_get_configuration() = 1
mir_sdr_2500 attachFn(hnd, 0x0206, 1, 0)
mir_sdr_usb_SetInterface(2)
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_GetFnAddr()
mir_sdr_2500_Init: fnaddr = 4
mir_sdr_2500_SetRegister(0x05, 0x00000c)
mir_sdr_2500_SetRegister(0x09, 0x00000e)
mir_sdr_2500_SetRegister(0x00, 0x000200)
mir_sdr_2500_Init: adjusting squelch trim 0x1, rx gating enable 1, tx_trim 0, reg2 = 0x4801
mir_sdr_2500_SetRegister(0x02, 0x004801)
mir_sdr_2500_SetRegister(0x09, 0x28bb85)
mir_sdr_2500_SetRegister(0x08, 0x00f380)
mir_sdr_2500_SetRegister(0x07, 0x000005)
initHw: Register7 = 0x000005
mir_sdr_2500_SetRegister(0x09, 0x04f420)
initHw: Tuner Register0 = 0x04f420
mir_sdr_2500_StreamInit(0, 393216)
mir_sdr_usb_StreamInit(0, 393216)
mir_sdr_2500_StartRx()
mir_sdr_usb_FlushLocalBuffer()
mir_sdr_SetFs: Sample Freq requested 2399999.976158
mir_sdr_2500_SetRegister(0x04, 0x033333)
mir_sdr_2500_SetRegister(0x03, 0x01199f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2400000.0+0.0Hz=2400000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x008513)
mir_sdr_2500_SetRegister(0x09, 0x216332)
mir_sdr_SetRf: f->100587520.000Hz (int=21 frac=633 afc=851) fSynth:3218800640.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100587520.0+0.0+0.0Hz+0.0Hz=100587520.0Hz RfToggle->1
mir_sdr_2500_SetRegister(0x09, 0x032101)
mir_sdr_SetGr: GR->40[16,24,0,0] gRset->0x210 DCCALmode=4 DCCALspd=1 GrToggle->1
setToggleStates: initialising sampNum=0x000206ba, gainSetting=0x210, FsToggle=0, RfToggle=0, GrToggle=0
setToggleStates: initialising Fs=2399999.976, Rf=100587520.000, Gr=40
[DEBUG] stream sps: 336
Stereo Disabled
Audio thread initializing..
Initialized demodulator stack size of 2048000
Demodulator thread started..
Demodulator preprocessor thread started..
Demodulator worker thread started..
Audio thread started.
Audio thread initializing..
Audio thread started.
[DEBUG] Changed center frequency
mir_sdr_2500_SetRegister(0x09, 0x007fb3)
mir_sdr_2500_SetRegister(0x09, 0x210c92)
mir_sdr_SetRf: f->99201499.000Hz (int=21 frac=c9 afc=7fb) fSynth:3174447968.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=99201499.0+0.0+0.0Hz+0.0Hz=99201499.0Hz RfToggle->1
mir_sdr_ReadPacket: Rf update confirmed: Rf=99201499.0Hz RfToggle=1
[DEBUG] Changed center frequency
mir_sdr_2500_SetRegister(0x09, 0x00d953)
mir_sdr_2500_SetRegister(0x09, 0x205de2)
mir_sdr_SetRf: f->97502849.000Hz (int=20 frac=5de afc=d95) fSynth:3120091168.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=97502849.0+0.0+0.0Hz+0.0Hz=97502849.0Hz RfToggle->0
mir_sdr_ReadPacket: Rf update confirmed: Rf=97502849.0Hz RfToggle=0
[DEBUG] Changed center frequency
mir_sdr_2500_SetRegister(0x09, 0x00d953)
mir_sdr_2500_SetRegister(0x09, 0x211f62)
mir_sdr_SetRf: f->99502849.000Hz (int=21 frac=1f6 afc=d95) fSynth:3184091168.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=99502849.0+0.0+0.0Hz+0.0Hz=99502849.0Hz RfToggle->1
mir_sdr_ReadPacket: Rf update confirmed: Rf=99502849.0Hz RfToggle=1
[DEBUG] Changed center frequency
mir_sdr_2500_SetRegister(0x09, 0x00d953)
mir_sdr_2500_SetRegister(0x09, 0x219c62)
mir_sdr_SetRf: f->101502849.000Hz (int=21 frac=9c6 afc=d95) fSynth:3248091168.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101502849.0+0.0+0.0Hz+0.0Hz=101502849.0Hz RfToggle->0
mir_sdr_ReadPacket: Rf update confirmed: Rf=101502849.0Hz RfToggle=0
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment