From owner-freebsd-questions Sun Dec 31 11:57:27 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 11:57:25 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from Samizdat.uucom.com (samizdat.uucom.com [198.202.217.54]) by hub.freebsd.org (Postfix) with ESMTP id 9B3FF37B400 for ; Sun, 31 Dec 2000 11:57:24 -0800 (PST) Received: (from cshenton@localhost) by Samizdat.uucom.com (8.9.3/8.9.3) id OAA12437; Sun, 31 Dec 2000 14:57:21 -0500 (EST) To: "Matthew Emmerton" Cc: , chris@shenton.org Subject: Re: (4.2S) Sane Scanner? /dev/uscanner0 "device not configured" References: <011e01c072c6$57299d50$1200a8c0@gsicomp.on.ca> From: Chris Shenton Date: 31 Dec 2000 14:57:21 -0500 In-Reply-To: "Matthew Emmerton"'s message of "Sat, 30 Dec 2000 20:09:32 -0500" Message-ID: Lines: 63 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 30 Dec 2000 20:09:32 -0500, "Matthew Emmerton" said: Matthew> The ugen device indicates an unidentified USB device (USB Matthew> Generic). If it was identified properly, it would have shown Matthew> up as uscanner0. Matthew> For it to be recognized (supported) properly, a set of kernel Matthew> files need to be updated [...] I added the info you described; here are the diffs if anyone wants to add them to the base sources (what's the right procedure to get this done?) *** uscanner.c~ Tue Oct 31 19:48:41 2000 --- uscanner.c Sun Dec 31 13:13:46 2000 *************** *** 143,148 **** --- 143,149 ---- { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_610 }, { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1200 }, { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, + { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, /* UMAX */ { USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, *** usbdevs~ Wed Oct 25 11:52:33 2000 --- usbdevs Sun Dec 31 13:13:44 2000 *************** *** 451,456 **** --- 451,457 ---- product EPSON 610 0x0103 Perfection 610 scanner product EPSON 1200 0x0104 Perfection 1200U / 1200Photo scanner product EPSON 1600 0x0107 Expression 1600 + product EPSON 1640 0x010a Perfection 1640 /* e-TEK Labs products */ product ETEK 1COM 0x8007 Serial port Matthew> /usr/src/sys/dev/usb/usbdevs.h and Matthew> /usr/src/sys/dev/usb/usrbdevs_data.h need to be regenerated. Did this with a make in the dir, then rebuilt the kernel, rebooted, and the scanner's now found on /dev/uscanner0; many thanks. I added group and world read/write to /dev/uscanner so I could use it as non-root. Got a preliminary scan with SANE's "scanimage" then started using "xsane" to check previews and grab images. Very cool. Something's not quite right because I was able to crash my system twice using xsane. Once I had the resolution up at 1600 dpi, which the scanner claims to support. Hung the application (no repaint), then the mouse froze, then finally the system rebooted and required a while to fsck itself. Any suggestions where to look, any core or other diagnotice info I could track down? Thanks for helping me get this working! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message