Date: 31 Dec 2000 14:57:21 -0500 From: Chris Shenton <cshenton@OutBounderInc.com> To: "Matthew Emmerton" <matt@gsicomp.on.ca> Cc: <freebsd-questions@FreeBSD.ORG>, chris@shenton.org Subject: Re: (4.2S) Sane Scanner? /dev/uscanner0 "device not configured" Message-ID: <lfy9wwwehq.fsf@Samizdat.uucom.com> In-Reply-To: "Matthew Emmerton"'s message of "Sat, 30 Dec 2000 20:09:32 -0500" References: <lf7l4hig1h.fsf@Samizdat.uucom.com> <011e01c072c6$57299d50$1200a8c0@gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Dec 2000 20:09:32 -0500, "Matthew Emmerton" <matt@gsicomp.on.ca> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lfy9wwwehq.fsf>