Re: Feedback for portable libusb code

2018-02-11 Thread Romain Tartière
On Sun, Feb 11, 2018 at 09:02:36PM +0100, Hans Petter Selasky wrote: > Can you run "ldd" on your binaries to see they really are using the > libusb you installed? Sure: λ ldd /usr/local/bin/pulseview| grep usb libusb.so.3 => /usr/lib/libusb.so.3 (0x80581a000) λ ll -rt /usr/lib | tail -r-

Re: Feedback for portable libusb code

2018-02-11 Thread Hans Petter Selasky
On 02/05/18 16:35, Romain Tartière wrote: Hi! On Mon, Jan 29, 2018 at 08:10:06PM +0100, Hans Petter Selasky wrote: Does the attached patch for FreeBSD's libusb solve your issue? I have just patched, build and installed libusb. I removed the libusb_open() / libusb_close() calls from usb_get_p

Re: Feedback for portable libusb code

2018-02-05 Thread Romain Tartière
Hi! On Mon, Jan 29, 2018 at 08:10:06PM +0100, Hans Petter Selasky wrote: > Does the attached patch for FreeBSD's libusb solve your issue? I have just patched, build and installed libusb. I removed the libusb_open() / libusb_close() calls from usb_get_port_path() in libsigrok and tested. https://

Re: Feedback for portable libusb code

2018-02-01 Thread Romain Tartière
Hi On Mon, Jan 29, 2018 at 08:10:06PM +0100, Hans Petter Selasky wrote: > Does the attached patch for FreeBSD's libusb solve your issue? Unfortunately, I could not test this before leaving home. I will be back in a few days, feel free to come back to me if you have no news from me in one week.

Re: Feedback for portable libusb code

2018-01-29 Thread Hans Petter Selasky
On 01/29/18 19:44, Romain Tartière wrote: Hello! FreeBSD's libusb allows userland programs to access USB devices in a way similar to GNU/Linux with it's libusb. However, there are some differences between these implementations. I recently diagnosed an issue in sigrok, provided a patch, but the

Feedback for portable libusb code

2018-01-29 Thread Romain Tartière
Hello! FreeBSD's libusb allows userland programs to access USB devices in a way similar to GNU/Linux with it's libusb. However, there are some differences between these implementations. I recently diagnosed an issue in sigrok, provided a patch, but the maintainer is having some questions and I a