On Wed, Jan 20, 2021 at 05:08:16PM +0100, Rocky Hotas wrote: > Hello! > I would like to run this executable > > <https://github.com/mvp/uhubctl/> > > on NetBSD, but even on a supported hardware platform (Raspberry Pi 3 > B+) it is unusable, due to libusb not properly working. I was using > libusb1-1.0.24 from pkgsrc 2020Q4. > > As suggested here: > > <https://github.com/mvp/uhubctl/issues/306#issuecomment-761072149> > > (bypassing pkgsrc) I cloned the repository of libusb and built from it. > After successfully completing the operations, the basic tools > examples/listdevs and example/testlibusb do not work. > > This happens both with: > > - NetBSD 9.1 on Raspberry Pi 3 B+ (evbarm); > - NetBSD 9.0 on a laptop (amd64). > > What could it be the reason?
I don't know; but I'm using libusb in one of my projets, and it enumerates my device just fine. I'm not sure if it can work with anything but ugen devices, though ... -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --