Coding Support

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Steve Markgraf steve at steve-m.de
Thu Aug 15 20:08:30 UTC 2019


Hi Robert,

On 15.08.19 17:50, Hudspeth, Robert Lee wrote:
> I'm trying to run utilities that capture 978
> <https://github.com/mutability/dump978> & 1090Mhz
> <https://github.com/mutability/dump1090> traffic simultaneously, but I
> can't seem to stop rtl_sdr from allocating too many zero-copy buffers
> and preventing both programs from running simultaneously (I'd like to
> cut down from 15). I've been through librtlsdr.c and rtl_adsb.c with the
> hope of manually changing some variable that will let me accomplish this
> to no avail. 

Just increase the usbfs memory limit, the default is only 16MB.
Either write the new size, or completely disable the limit with:

echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb

Regards,
Steve



More information about the osmocom-sdr mailing list