cvs commit: src/sys/dev/usb usbdevs uscanner.c
Luigi Rizzo
luigi at FreeBSD.org
Fri Oct 5 00:26:41 PDT 2007
luigi 2007-10-05 07:26:40 UTC
FreeBSD src repository
Modified files:
sys/dev/usb usbdevs uscanner.c
Log:
Add entries for Epson multifunction scanner/printer/card readers,
with all functions supported. This is done adding usb device IDs
to the table of recognised devices (because there is no standard
'scanner' class, so no other way to recognise them), and with
a small change to the uscanner attach routine that prevents
reconfiguring the whole USB device while we are dealing only with
one of its USB interfaces.
The latter part has been suggested by Steinar Hamre in
http://www.freebsd.org/cgi/query-pr.cgi?pr=107665 , i have
only added a bit of explaination to the code.
I have personally tried this on the Epson DX-5050 and DX-6000
devices (on the US market they have different names, CX-something).
I have good reasons to think that, possibly with the mere addition
of more USB ids to the table in uscanner.c, this should work with
all Epson multifunction devices in that family (from DX-3800 to
DX-7000 - these units are in the 50-120$ price range).
More details on related topics (SANE configuration, OCR, etc.)
at http://info.iet.unipi.it/~luigi/FreeBSD/dx5050.html
Manpage updates coming soon.
Approved by: re, imp
MFC after: 3 days
Revision Changes Path
1.328 +2 -0 src/sys/dev/usb/usbdevs
1.89 +36 -6 src/sys/dev/usb/uscanner.c
More information about the cvs-src
mailing list