From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 23:13:57 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 082DC1065672 for ; Fri, 21 Mar 2008 23:13:57 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp224.math.arizona.edu (smtp224.math.arizona.edu [128.196.224.202]) by mx1.freebsd.org (Postfix) with ESMTP id D29A68FC13 for ; Fri, 21 Mar 2008 23:13:56 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.63) (envelope-from ) id 1JcqQt-0005pw-NU for questions@freebsd.org; Fri, 21 Mar 2008 16:13:56 -0700 Received: from 71-220-166-120.tcsn.qwest.net ([71.220.166.120] helo=.domain.actdsltmp) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JcqQt-0005po-Hu for questions@freebsd.org; Fri, 21 Mar 2008 16:13:55 -0700 Message-ID: <47E44130.4020306@math.arizona.edu> Date: Fri, 21 Mar 2008 16:13:52 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.6 (X11/20070916) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -1.7 (-) Cc: Subject: uscanner and ugen drivers questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 23:13:57 -0000 Dear All, I was playing with various scanners and all-in-one devices on FreeBSD (probably 6-7 different scanners and all-in-one devices) and I noticed that the range of scanners supported on FreeBSD is far smaller than that of sane-backends. This is due to the fact that there is no standard device class for USB scanners. Therefore for instance uscanner driver will only recognise devices whose USB IDs are explicitly listed in the table in the driver itself. Parallel port scanners and all-in-one devices are even in worse shape due to the limitation of lpt driver but they can be considered semi-obsolete so I didn't even bother to play with them. I was wondering if anybody has tried manually to add the device and the vendor ID to uscanner.c and recompile the kernel. Will that work. In particular last night I played little bit with Epscon CX3810 all-in-one which I got for $5. The device is recognized as /dev/ulpt0 and is usable as a printer with the Gutenprint driver. If I remove ulpt and umass driver from the kernel the device is seen as ulpt but sane-find-scanner list it as Unknown device. I tried to edit /usr/local/etc/sane.d/epson.conf and add the vendor name and the product ID but the scanner is not responsive. The CX3810 is fully supported by Epson and Epson2 backend and works out of box on Ubuntu. Did anybody play with these things at all or people are using just a few usable devices ( I have couple of working scanners on FreeBSD for instance)? Another question. Is it possible to unload driver from the kernel without recompiling it like on OpenBSD with config utility. Cheers, Predrag