Subject: Re: USB emul under Linux
To: None <martin@duskware.de>
From: M. Warner Losh <imp@bsdimp.com>
List: tech-kern
Date: 01/19/2005 00:10:57
In message: <20041230110032.GD26040@drowsy.duskware.de>
            Martin Husemann <martin@duskware.de> writes:
: On Thu, Dec 30, 2004 at 11:38:21AM +0100, Vincent wrote:
: > Was I wrong ?
: 
: No, it's just not clear what you are trying to say. What I think you mean is:
: 
: You have some linux userland binary that you want to run under emulation.
: This linux binary uses some linux USB library, which does not work when run
: on NetBSD.
: 
: Am I correct?
: 
: If so, that would be a bug in the linux emulation and should be fixed, if
: possible.

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
problems...

Warner