cvs commit: src/sys/dev/usb usbdevs uscanner.c

Warner Losh imp at bsdimp.com
Wed Aug 9 00:51:13 UTC 2006


From: des at des.no (Dag-Erling Smørgrav)
Subject: Re: cvs commit: src/sys/dev/usb usbdevs uscanner.c
Date: Sun, 06 Aug 2006 18:45:42 +0200

> Bruce M Simpson <bms at FreeBSD.org> writes:
> >   Log:
> >   Add identifier for the Epson CX3650 all-in-one scanner function.
> >   This enables the scanner function on these devices to be detected
> >   and probed by uscanner(4), but only when ulpt is not loaded.
> 
> Any chance we might at some point fix the USB stack so multiple
> drivers can attach to different endpoints on the same device?

No.  Or maybe yes.

We'll never be able to have multiple drivers attach to the same
endpoint any more than you can have multiple drivers attach to the
serial port at 0x3f8.  However, we can today have multiple drivers
attach to the different configs that are presented by the usb device.
too bad that has turned out in practice not to be too useful.  Also,
one can write a 'bus' driver that allows multiple subdrivers to
attach.  We do that already with uhub.

Warner


More information about the cvs-all mailing list