From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 19:32:51 2004 Return-Path: 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 B75A816A4CE for ; Thu, 4 Nov 2004 19:32:51 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3988843D5A for ; Thu, 4 Nov 2004 19:32:51 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id A39E64ACE6; Thu, 4 Nov 2004 20:32:24 +0100 (CET) Date: Thu, 4 Nov 2004 20:34:38 +0100 From: cpghost@cordula.ws To: "Eugene M. Minkovskii" Message-ID: <20041104193438.GA3381@bsdbox.farid-hajji.net> References: <20041104173023.GB7290@mccme.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041104173023.GB7290@mccme.ru> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: sane-plustek backend does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 19:32:51 -0000 On Thu, Nov 04, 2004 at 08:30:23PM +0300, Eugene M. Minkovskii wrote: > Hello! > > I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". > it is USB scanner. Here's my setup for the LIDE 30: /usr/local/etc/sane.d/plustek.conf: ----------------------------------- # Plustek-SANE Backend configuration file # For use with LM9831/2/3 based USB scanners [usb] 0x04A9 0x220E option lampOff 120 option warmup 0 option lOffOnEnd 1 option posOffX 0 option posOffY 0 option tpaOffX 0 option tpaOffY 0 option negOffX 0 option negOffY 0 option posShadingY -1 option tpaShadingY -1 option negShadingY -1 option invertNegatives 0 option cacheCalData 0 option altCalibration 0 # for skipping whole calibration step option skipCalibration 1 option skipFine 0 option skipFineWhite 0 option red_gain -1 option green_gain -1 option blue_gain -1 option redGamma 1.0 option greenGamma 1.0 option blueGamma 1.0 option grayGamma 1.0 option enableTPA 0 device /dev/uscanner0 ------------------------------------------------ BEWARE: This file WILL be overridden if you reinstall or update sane-backends. Make a backup copy before doing that. The next step is to set the mode for /dev/uscanner0 correctly: /etc/devfs.conf: ---------------- # ... among others set: perm uscanner0 0666 ===== Then restart devfs after you plug in the LIDE 30: # /etc/rc.d/devfs stop # /etc/rc.d/devfs start That should be it. Cheers, cpghost. -- Cordula's Web. http://www.cordula.ws/