Sending data packets to USB bulk endpoint

Wall, Stephen stephen.wall at redcom.com
Thu Mar 26 00:59:08 UTC 2020


> From: John-Mark Gurney <jmg at funkthat.com>
>
> Is there a specific reason you want a native kernel driver instead of
> using something like libusb + cuse4bsd?

Don't know what cuse4bsd is, I'll look into it.  Is that going to be as straightforward as ioctl() calls for the GPIOs, and is it going to handle the audio streams (to/from) well?

> Also, have you looked at usbdi(9)?  It looks like it contains the
> information on how to setup a transfer w/ the buffer, and use that.
> 
> https://www.freebsd.org/cgi/man.cgi?query=usbdi&manpath=FreeBSD+12.1-
> RELEASE+and+Ports

Thanks, I'll look at that.

-spw


More information about the freebsd-drivers mailing list