Date: Fri, 5 Oct 2007 07:26:40 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb usbdevs uscanner.c Message-ID: <200710050726.l957QeMI059383@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710050726.l957QeMI059383>