On Thu, 25 Jun 2020 20:16:14 +0200 Hans Petter Selasky <h...@selasky.org> wrote:
> Hi, > > > On 2020-06-25 19:59, Jan Behrens wrote: > > In both cases there is an issue when calling the libusb_reset_device() > > function. > > Unless the device requires it, libusb_reset_device(), will only > re-enumerate the device. Beware that this only is allowed if you are > running the application as root. Else libusb_reset_device() will be a > no-operation. But in my case, the call causes the program to abort (due to returning an error status, I assume). This is the context where the SoapySDR driver calls libusb_reset_device(): https://github.com/myriadrf/LimeSuite/blob/1c1c202f9a6ae4bb34068b6f3f576f7f8e74c7f1/src/ConnectionFTDI/ConnectionFT601.cpp#L212 > > --HPS > Regards, Jan _______________________________________________ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"