Hi list,

this is from a programmer out there in the field.
It shows the trouble people have.

        Regards
                Oliver

----------  Forwarded Message  ----------
Subject: Re: HP 7400c info
Date: Tue, 1 May 2001 12:09:10 EDT
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]



>  > scsi->usb driver worked with SCL HP scanners,
>  > Epson scanners, and Acer scanners.  I have all the
>
>  afaik these don't use scsi over usb.
>  Thus, no way.

The trick is to make users of the SCSI->USB driver think
they're talking to SCSI scanners when they're actually
talking to USB scanners.  For instance, if the VID/PID
indicates that the scanner is a USB Epson scanner,
have the driver return a response to SCSI inquiry that
matches the Epson SCSI inquiry pattern.

This is more useful than you'd imagine, and makes
auto-identification of USB scanners work under Linux.

This is how I do auto-identification of USB scanners
with VueScan on Windows and Mac OS, but the problem
is that there's no IOCTL to ask a USB device for it's
VID/PID on Linux (there is in Windows and Mac OS)
and there's no IOCTL to read/write an interrupt endpoint
on Linux (there is in Windows and Mac OS).

[..]

>  From the kernel side at least 3 kernel drivers for USB scanners are there

to

>  stay and probably a fourth will be added.
>  In the kernel there is no way to let those which use SCSI and those that

do

>  use the same driver.

A single, unified SCSI->USB driver is what's needed.  This driver should
auto-recognize all connected USB scanners and make them look like
SCSI scanners to user-mode code.  This way SANE (and VueScan)
would be able to auto-recognize all connected USB scanners without
the user needing to configure _anything_.  Ease of use is good.

Regards,
Ed Hamrick

-------------------------------------------------------

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to