atom feed13 messages in org.freebsd.freebsd-docRe: sane configuration in Freebsd 7
FromSent OnAttachments
GeoffreySep 8, 2008 2:35 pm 
Marc FonvieilleSep 8, 2008 10:52 pm 
GeoffreySep 9, 2008 3:58 am 
Jeremy ChadwickSep 9, 2008 4:16 am 
GeoffreySep 9, 2008 6:21 am 
Warren BlockSep 9, 2008 6:41 am 
GeoffreySep 9, 2008 7:48 am 
Marc FonvieilleSep 9, 2008 9:25 am 
GeoffreySep 9, 2008 9:34 am 
Marc FonvieilleSep 9, 2008 9:39 am 
Warren BlockSep 9, 2008 9:47 am 
Jeremy ChadwickSep 9, 2008 9:47 am 
Marc FonvieilleSep 9, 2008 9:59 am 
Subject:Re: sane configuration in Freebsd 7
From:Geoffrey (geof@reptiles.org)
Date:Sep 9, 2008 9:34:43 am
List:org.freebsd.freebsd-doc

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 ro@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.

cheers.