Subject: re: USB emul under Linux
To: M. Warner Losh <>
From: matthew green <>
List: tech-kern
Date: 01/22/2005 12:40:10
   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

i thought "libusb" allowed appliations to avoid those differences.

however, in my attempt at porting the "hpoj" printer software for
HP's "all-in-one" printer/scanner/copies/etc, i gave up when something
was attempting to open /dev/ugen0 multiple times and the 2nd time got
EBUSY.  does linux (and/or freebsd?) USB allow multiple opens?