From owner-freebsd-questions@FreeBSD.ORG Tue Nov 15 17:38:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA36316A41F for ; Tue, 15 Nov 2005 17:38:00 +0000 (GMT) (envelope-from fj@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37FA543D53 for ; Tue, 15 Nov 2005 17:38:00 +0000 (GMT) (envelope-from fj@panix.com) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail3.panix.com (Postfix) with ESMTP id 8E74213ABF7; Tue, 15 Nov 2005 12:37:59 -0500 (EST) Received: (from fj@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id jAFHbxG12990; Tue, 15 Nov 2005 12:37:59 -0500 (EST) Date: Tue, 15 Nov 2005 12:37:59 -0500 From: Joe Altman To: blue.raccoon@wanadoo.nl, freebsd-questions@freebsd.org Message-ID: <20051115173759.GA7113@panix.com> Mail-Followup-To: Joe Altman , blue.raccoon@wanadoo.nl, freebsd-questions@freebsd.org References: <20051115164610.F3B1216A466@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051115164610.F3B1216A466@hub.freebsd.org> User-Agent: Mutt/1.5.10i Cc: Subject: Re: USB Problems with Scanjet 3400c, from: freebsd-questions Digest, Vol 113, Issue 7 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: Tue, 15 Nov 2005 17:38:00 -0000 On Tue, Nov 15, 2005 at 04:46:10PM +0000, freebsd-questions-request@freebsd.org wrote: > > 20. USB Problems with Scanjet 3400c (Blue Raccoon) > ------------------------------ > > Message: 20 > Date: Tue, 15 Nov 2005 15:35:53 +0100 > From: Blue Raccoon > Subject: USB Problems with Scanjet 3400c > To: freebsd-questions@freebsd.org > Message-ID: <200511151535.53425.blue.raccoon@wanadoo.nl> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > I am VERY new to FreeBSD and am having serious problems setting up my HP > Scanjet 3400c. I installed the SANE back-end and it cannot find any > scanners. So I take it the above means that sane-find-scanner returns no information on your scanner, and scanimage -L will also fail? (BTW: you may need some sort of frontend AKA GUI; something like the Sane Project's frontend, or XSane's frontend). I just checked /usr/local/etc/sane.d/ and there seems to be no backend for this scanner, IFF the backend for this model of 3400 is sane-niash[1]. In dll.conf, there is a line for niash; I suggest trying to put this after the "niash" in the dll.conf file: :/dev/uscanner0 so that you have this line: niash::/dev/uscanner0 then reboot, to see if it works. You can read about it in the man page for dll.conf, sane-dll. I think this might work, as there is an entry in /usr/local/lib/sane/: ~ $: grep -i niash /usr/local/lib/sane/* Binary file /usr/local/lib/sane/libsane-niash.so matches Binary file /usr/local/lib/sane/libsane-niash.so.1 matches But I dont' know, since my HP is a 2200C. > I don't think SANE is to blame though, because the dmesg command shows (among > other things) this: > > uscanner0: Hew product 0x0405, rev 1.00/0.00, addr 2 > uscanner0: setting config no failed > device_attach: uscanner0 attach returned 6 > uhub0: port 2, set config at addr 2 failed > uhub0: device problem (STALLED), disabling port 2 And you know that your USB port works, because you use XP on this machine, correct? > There is no point in loading the scanner from the command line, because > 'kldload uscanner' brings up: > > kldload: can't load uscanner: File exists You will also need to set up device bits, in /etc/devfs.conf: #####Scanner perm uscanner0 > I compiled a kernel (just to see if I could), but the GENERIC kernel also > chokes on the scanner. I did include > > device usb > device uhci > device ohci > device uscanner That should be all you need. > in my kernel though. > > I am running FreeBSD 6.0 (release) on a 4 year old PC (900 Mhz Pentium). > And the scanner is fine, by the way (No problems with XP). I suggest here: and here: . [1] The Sane Project indicates that it is new; so perhaps that backend has not yet made it into the distribution? I don't know...