Jump to: navigation, search

LimeSDR on FreeBSD

Revision as of 17:44, 14 January 2021 by Cederom (Talk | contribs)

Work in progress, stay tuned :-)

People involved: janBeh, HPS, CeDeROM, DB.

1 LimeSDR utilities on FreeBSD

1.1 GQRX + LimeSDR Mini.

  • TODO

1.2 LimeSuite FreeBSD Port.


2 Known problems

2.1 Software / Utilities

2.1.1 LimeSuite and SoapySDR cannot open LimeSDR USB device while detect works fine.

  • [ONGO] problem fixed. upstream / firmware updated.
    • [TODO] make solution public.
    • [TODO] verify the solution.
    • [TODO] fix the device open problem.
  • [TODO] unable to open usb device - find a cause of the problem - probably a LibUSB reset related.
  • [DONE] Make LimeSuite work with SoapySDR (LimeSuite generates a driver for SoapySDR).
  • [DONE] Create LimeSuite port for FreeBSD.

2.1.2 wx assertions on application startup.


2.2 Software / OS / FreeBSD

2.2.1 Excessive debug output.

  • [ONGO] problem fixed. upstream / firmware updated.
    • [TODO] make solution public.
    • [TODO] verify the solution.
    • [TODO] fix the device open problem.
  • Likely setting the verbosity level to a different value in FreeBSD could fix the issue, as maybe libusb on FreeBSD is just more verbose, but I’m not sure if there are any real errors or issues).
  • one way to control LibUSB verbosity is using environmental variables like LIBUSB_DEBUG=0 LimeSuiteGUI.


2.3 Firmware / USB

2.3.1 USB reset.

  • This is a FreeBSD related issue. See post on the freebsd-usb mailinglist: https://lists.freebsd.org/pipermail/freebsd-usb/2020-July/016715.html and its follow-ups.
  • [TODO] analyze LibUSB reset problem that prevents LimeSDR working on FreeBSD.
  • [TODO] enabling non-root FreeBSD users to execute a reset or removing the call from the driver, we’re still debating on how or if the first can be achieved)


2.4 Firmware / RADIO

2.4.1 `LimeSDR-Mini` Hardware Self-Test fail with `LimeQuickTest`.

  • [TODO] problem won't fix: changes to testing application not welcome (see https://github.com/myriadrf/LimeSuite/issues/339).
  • [TODO] cause found: tests need to be performed with antennas disconnected (both RX and TX port empty) and device should be cold (board temperature over 40C will fail RF Loopback Test).
  • [TODO] report issue on upstream github, done: https://github.com/myriadrf/LimeSuite/issues/339
  • [TODO] some tests fail, depends on hardware and firmware relese. verify. confirmed with @cederom device on FreeBSD.

2.4.2 MCU error 3 / SXR tune failed.

3 References