On Tue, Feb 6, 2018 at 1:35 PM, Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> wrote: > > Hi, > > Ran Shalit <ranshalit@xxxxxxxxx> writes: >> Hello, >> >> Is it possible to write a usb driver in userspace ? >> I see that for peripheral/gadget, there is gadgetfs which can be used for that. >> >> What about host drivers ? >> Can we use for example vfio (seems to be used with pci so I'm not >> sure) ? Or is there another way ? > > Have a look at libusb (libusb.info, IIRC). It's probably what you're > looking for. > Right! I see now that there are 2 main solution nowadays for userspace usb drivers: 1. libusb - for host driver 2. libusb-gadget ( or gadgetfs) - for gadget drivers > good luck Thanks ! > > -- > balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html