From owner-freebsd-doc@FreeBSD.ORG Tue Sep 9 14:48:49 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 104411065670; Tue, 9 Sep 2008 14:48:49 +0000 (UTC) (envelope-from geoffrey@reptiles.org) Received: from mailbox.reptiles.org (mail.reptiles.org [198.96.210.227]) by mx1.freebsd.org (Postfix) with ESMTP id DA0188FC17; Tue, 9 Sep 2008 14:48:48 +0000 (UTC) (envelope-from geoffrey@reptiles.org) Received: from skink.reptiles.org ([198.96.210.227] port=54954) by mailbox.reptiles.org([198.96.210.227] port=25) via TCP with esmtp (3546 bytes) (sender: ) (ident using UNIX) id for ; Tue, 9 Sep 2008 10:48:48 -0400 (EDT) (Smail-3.2.0.121 2005-Nov-17 #4 built 2006-Nov-28) Date: Tue, 9 Sep 2008 10:48:47 -0400 (EDT) From: Geoffrey To: Warren Block In-Reply-To: Message-ID: <20080909103426.N64474@gecko.reptiles.org> 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; format=flowed Cc: doc@freebsd.org 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 14:48:49 -0000 On Tue, 9 Sep 2008, Warren Block wrote: > On Tue, 9 Sep 2008, Geoffrey wrote: >> 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 > > It finds mine if given it the uscanner device: > > % sane-find-scanner /dev/uscanner0 > > # sane-find-scanner will now attempt to detect your scanner. If the > # result is different from what you expected, first make sure your > # scanner is powered up and properly connected to your computer. > > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a kernel SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8, product=0x010a) at /dev/uscanner0 > # Your USB scanner was detected. It may or may not be supported by > # SANE. Try scanimage -L and read the backend's manpage. > > Instead of modifying the generic kernel, just change the Handbook note on > using sane-find-scanner to include /dev/uscanner0 when checking for USB > scanners. > > -Warren Block * Rapid City, South Dakota USA > /dev/uscanner0 was not being created in my installation. This was the source of my grief. That said the kernel somewhat saw it: Sep 8 13:25:41 burp kernel: device_attach: uscanner0 attach returned 6 Sep 8 13:26:27 burp kernel: ugen0: at uhub0 port 3 (addr 3) disconnected Sep 8 13:26:27 burp kernel: ugen0: detached Sep 8 13:26:33 burp kernel: uscanner0: at uhub0 port 2 (addr 2) disconnected Sep 8 13:26:38 burp root: Unknown USB device: vendor 0x05d8 product 0x4002 bus uhub0 Sep 8 13:26:38 burp kernel: uscanner0: on uhub0 Sep 8 13:26:38 burp kernel: uscanner0: bulk-in and/or bulk-out endpoint not found From the documentation there appear to be conflicts in vendor and device ids and if you check these against usbdevs, usbdevs will see this device and vendor as something quite different from what they are. That said the kernel is not using usbdevs at this point. The man page sane-usb explains the workaround for this. What Freebsd are you using Warren? Cheers. -- first step to autoholic recovery: realising the 3000 lb gorilla on your back does not become you. http://www.autoholics.org/programme.php