From owner-freebsd-doc@FreeBSD.ORG Tue Sep 9 11:32:26 2008 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63D361065680 for ; Tue, 9 Sep 2008 11:32:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4CF308FC2D for ; Tue, 9 Sep 2008 11:32:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id Ca1y1a0040vp7WLA4bGRAy; Tue, 09 Sep 2008 11:16:25 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id CbGQ1a0084v8bD78RbGQLP; Tue, 09 Sep 2008 11:16:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=fFdDhwihEOwA:10 a=QycZ5dHgAAAA:8 a=7dMF7dD7rRahwGs-c-YA:9 a=wMbXFLgfkuAUHCpV5FIA:7 a=sfAN90zzYkg7piFPkbFLdPp0-8wA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 4EC8217B84E; Tue, 9 Sep 2008 04:16:24 -0700 (PDT) Date: Tue, 9 Sep 2008 04:16:24 -0700 From: Jeremy Chadwick To: Geoffrey Message-ID: <20080909111624.GA94373@icarus.home.lan> References: <20080908172940.K64474@gecko.reptiles.org> <20080909055234.GA98761@abigail.blackend.org> <20080909064619.Y64474@gecko.reptiles.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080909064619.Y64474@gecko.reptiles.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: doc@FreeBSD.org, Marc Fonvieille Subject: Re: sane configuration in Freebsd 7 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 11:32:26 -0000 On Tue, Sep 09, 2008 at 06:59:04AM -0400, Geoffrey wrote: > On Tue, 9 Sep 2008, Marc Fonvieille wrote: >> I'm not sure to understand you. What do you mean by "sane-find-scanner >> won't find a scanner if uscanner is in the kernel" ? >> > Sorry. I need to be more specific. "sane-find-scanner" will > not find a usb scanner if: > > BURP:#device uscanner # Scanners > > is not remarked out in your kernel config file OR if you load > the kld uscanner. > > Sane uses usblib and usblib can't find the scanner > if uscanner is loaded. > Yes, you have to build and install a new kernel to do this as > uscanner is in the generic kernel: > GENERIC:device uscanner # Scanners > > ... > > Ah. This is true. However uscanner is a local modification. > As far as I can determine linux used a different kernel device for > scanners (though I may be wrong). Regardless, with the uscanner > references omitted the man page is correct in stating the scanner kernel > device interferes with usblib discovery of the scanner. Usblib uses > ugen. Uscanner just gets in the way. I think what Geoffrey is trying to say is the following: When the uscanner driver (either built into the kernel, or loaded as kernel module) is used, it causes sane-find-scanner (usblib) to fail detection of a scanner. Meaning, uscanner is getting in the way of the detection. This is a problem because "device uscanner" is enabled by default in the GENERIC kernel, which means sane-find-scanner will fail unless you rebuild your kernel with uscanner disabled/removed. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |