From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 17:30:57 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 4825416A4CE for ; Thu, 4 Nov 2004 17:30:57 +0000 (GMT) Received: from ns.mccme.ru (ns.mccme.ru [62.117.108.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C1F243D49 for ; Thu, 4 Nov 2004 17:30:56 +0000 (GMT) (envelope-from emin@mccme.ru) Received: from mccme.ru (IDENT:emin@mccme.ru [62.117.108.7]) by ns.mccme.ru (8.12.10/8.12.10) with SMTP id iA4HeBpL012255; Thu, 4 Nov 2004 20:40:11 +0300 (MSK) (envelope-from emin@mccme.ru) Date: Thu, 4 Nov 2004 20:30:23 +0300 From: "Eugene M. Minkovskii" To: freebsd-questions@freebsd.org Message-ID: <20041104173023.GB7290@mccme.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Organization: MCCME Moscow Subject: 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 17:30:57 -0000 Hello! I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". it is USB scanner. so, I compile kernel with # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners after that I compile sane-backend port Now, when I attach the scanner I can see: # dmesg|tail ugen0: Canon CanoScan, rev 1.10/1.00, addr 2 ==> success, thinking I. # sane-find-scanner -q found USB scanner (vendor=0x04a9, product=0x220e) at libusb:/dev/usb2:/dev/ugen0 ==> success, thinking I. ==> moreover, in man sane-plustek we can read thet Canon has ==> vendor code 0x04a9, and LIDE 30 has product id 0x220e. Right! # vim /usr/local/etc/sane.d/plustek.conf ==> In this file I comment all and write: ==> [usb] 0x04a9 0x220e ==> devices /dev/ugen0 # scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). ==> Oops! All of my efforts to edit /usr/local/etc/sane.d/plustek.conf, does not lead success. -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский