From owner-freebsd-doc@FreeBSD.ORG Tue Sep 9 16:58:24 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 A40681065671 for ; Tue, 9 Sep 2008 16:58:24 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1D76C8FC15 for ; Tue, 9 Sep 2008 16:58:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA05.westchester.pa.mail.comcast.net with comcast id CcNR1a00d0QuhwU55goPGT; Tue, 09 Sep 2008 16:48:23 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA02.westchester.pa.mail.comcast.net with comcast id CgoB1a00Y4v8bD73NgoC8p; Tue, 09 Sep 2008 16:48:12 +0000 X-Authority-Analysis: v=1.0 c=1 a=fFdDhwihEOwA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=2gEdFaLTscvvBjkBONUA:9 a=GAlT_-ubm6yRkA4abbkA:7 a=FNfzJbeNz-FadCtKFyTTOoGFPvUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 90A3017B84E; Tue, 9 Sep 2008 09:48:21 -0700 (PDT) Date: Tue, 9 Sep 2008 09:48:21 -0700 From: Jeremy Chadwick To: Geoffrey Message-ID: <20080909164821.GA2891@icarus.home.lan> References: <20080908172940.K64474@gecko.reptiles.org> <20080909055234.GA98761@abigail.blackend.org> <20080909064619.Y64474@gecko.reptiles.org> <20080909162604.GA1032@gothic.blackend.org> <20080909122947.X64474@gecko.reptiles.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080909122947.X64474@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 16:58:24 -0000 On Tue, Sep 09, 2008 at 12:35:06PM -0400, Geoffrey wrote: > On Tue, 9 Sep 2008, Marc Fonvieille wrote: > >> On Tue, Sep 09, 2008 at 06:59:04AM -0400, Geoffrey wrote: >>> On Tue, 9 Sep 2008, Marc Fonvieille wrote: >>> >>> Hi Marc >>> >>>> On Mon, Sep 08, 2008 at 05:36:18PM -0400, Geoffrey wrote: >>>>> >>>>> Hi >>>>> >>>>> Regarding >>>>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html, >>>>> >>>>> sane-find-scanner won't find a scanner if uscanner is in the kernel (as >>>> >>>> Hello, >>>> >>>> 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 >>> >> [...] >> >> % sane-find-scanner -q >> found USB scanner (vendor=0x04a9, product=0x220e) at /dev/uscanner0 >> >> % kldstat -v | grep scanner >> 267 uhub/uscanner >> >> I can reproduce the same behavior on another machine (both of them run a >> kernel with uscanner support in). >> >> You should check your configuration and maybe see if your scanner does >> not need you to load a firmware. >> > Please attach your `uname -a`. As I've noted I'm running > FreeBSD burp.bogstomp.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Mon > Sep 8 16:11:35 EDT 2008 > root@burp.bogstomp.org:/usr/obj/usr/src/sys/BURP i386 > > /dev/uscanner0 is not being created on my installation. From > the manpages (excepting those that were modified) sane appears to not > want uscanner as it is presently configured to use usblib which uses > ugen*. Ugen* can't see the scanner with uscanner in the kernel or > loaded as a module on my installation. Okay, so with that information combined with the dmesg output you provided earlier (not quoted above), it's safe to say the problem here is that your scanner is not recognised by uscanner(4), and needs code written or USB device IDs added to the list to get support for it. Devices which aren't recognised often show up as ugen(4) devices. This thread should definitely be moved to freebsd-usb. -- | 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 |