Subject: Re: USB emul under Linux
To: M. Warner Losh <email@example.com>
From: Vincent <firstname.lastname@example.org>
Date: 01/19/2005 11:47:18
M. Warner Losh a écrit :
> The ugen interface and the linux interfaces are fairly different. In
> addition, Linux's usb stack behaves somewhat differently than NetBSD's
> stack, so doing a perfect emulation would be somewhat different. The
> treatment of pipes is somewhat different and would present the biggest
In some way, the libusb is precisely meant to hide these differences.
Wherefore, a new question : is it possible to design a special libusb
which, even though being a Linux type library, would translate into
native NetBSD kernel USB calls.
Or should I implement a fake socket type Linux libusb, whose calls would
be caught by a BSD demon listening on some port, who would then call the
true libusb, and report the results ?