rtl_airband: SoapySDR lib crash or loop with USBDEVFS_DISCARDURB

Post information or questions regarding SDRplay products here
drop.drop
Posts: 1
Joined: Mon Feb 18, 2019 7:31 am

rtl_airband: SoapySDR lib crash or loop with USBDEVFS_DISCARDURB

Postby drop.drop » Wed Mar 13, 2019 2:48 pm

Hello,

I found that with latest (13.03.2019) SoapySDR library + SoapySDRPlay library,
the hardware RSP1 freeze.

The following is output of strace. Is possible that the RSP1 is confused my some commands
and stop communicating on USB interface?
Note that after Raspberry reboot RSP1 is found again.

[pid 962] ioctl(10, USBDEVFS_DISCARDURB, 0x3e375f0) = -1 EINVAL (Invalid argument)
[pid 962] ioctl(10, USBDEVFS_DISCARDURB, 0x3e375c4) = -1 EINVAL (Invalid argument)
[pid 962] ioctl(10, USBDEVFS_DISCARDURB, 0x3e37598) = -1 EINVAL (Invalid argument)
[pid 962] ioctl(10, USBDEVFS_DISCARDURB, 0x3e3756c) = -1 EINVAL (Invalid argument)
[...]

root@xxxxx:~ # /usr/local/bin/SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Lib Version: v0.8.0-g4bfcbc74
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.8
Module found: /usr/local/lib/SoapySDR/modules0.8/libremoteSupport.so (0.5.2-a6fbf2d)
Module found: /usr/local/lib/SoapySDR/modules0.8/librtlsdrSupport.so (0.3.1-c8c5b92)
Module found: /usr/local/lib/SoapySDR/modules0.8/libsdrPlaySupport.so (0.3.0-31a3a36)
Available factories... remote, rtlsdr, sdrplay
Available converters...
- CF32 -> [CF32, CS16, CS8, CU16, CU8]
- CS16 -> [CF32, CS16, CS8, CU16, CU8]
- CS32 -> [CS32]
- CS8 -> [CF32, CS16, CS8, CU16, CU8]
- CU16 -> [CF32, CS16, CS8]
- CU8 -> [CF32, CS16, CS8]
- F32 -> [F32, S16, S8, U16, U8]
- S16 -> [F32, S16, S8, U16, U8]
- S32 -> [S32]
- S8 -> [F32, S16, S8, U16, U8]
- U16 -> [F32, S16, S8]
- U8 -> [F32, S16, S8]

root@xxxxxx:~ # /usr/local/bin/SoapySDRUtil --find
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Found device 0
driver = sdrplay
label = SDRplay Dev0 RSP1A 1XXXXXX96
serial = 1XXXXXX96


Same freeze for /usr/local/bin/SoapySDRUtil --probe

root@xxxxx:~ # /usr/local/bin/SoapySDRUtil --probe
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################

Probe device


strace -fp <pid>
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63310) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac632e4) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac632b8) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac6328c) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63260) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63234) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63208) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac631dc) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac631b0) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63184) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63158) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac6312c) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac63100) = -1 EINVAL (Invalid argument)
[pid 1261] ioctl(15, USBDEVFS_DISCARDURB, 0x9ac630d4) = -1 EINVAL (Invalid argument)
Last edited by drop.drop on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Return to “SDRplay related”

Who is online

Users browsing this forum: No registered users and 5 guests