From owner-freebsd-ports@FreeBSD.ORG Sat Nov 6 23:34:57 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34A661065674 for ; Sat, 6 Nov 2010 23:34:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E72B08FC12 for ; Sat, 6 Nov 2010 23:34:56 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id oA6NYtcL069520; Sat, 6 Nov 2010 17:34:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id oA6NYtGR069517; Sat, 6 Nov 2010 17:34:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 6 Nov 2010 17:34:55 -0600 (MDT) From: Warren Block To: Jason Naughton In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 06 Nov 2010 17:34:55 -0600 (MDT) Cc: ports@freebsd.org Subject: Re: sane-backend 1.0.21 broke on 8.0? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 23:34:57 -0000 On Sat, 6 Nov 2010, Jason Naughton wrote: > I went to the handbook first before sending this email and before madly > surfing the web. If you look at my epson.conf file: > > # grep -v "^#" /usr/local/etc/sane.d/epson.conf > usb 0x04b8 0x011e > usb /dev/uscanner0 > > The second line is pointless as with Freebsd 8.X there is no /dev/uscanner > of any kind. The first line indicates that there's a usb scanner of > product id: 0x04b8 and Vendor id: 0x011e as indicated in the file in > question. > ... > That is why when I issue the command: > > # scanimage -d epson --format=tiff > foo.tiff > > it actually works. Yet it's in low resolution and so forth. Yet if > I issue the command: > > # 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). > > Which is quite annoying. Okay, the other thing to check is permissions to the USB devices. From devfs.rules: add path 'ugen*' mode 0660 group operator add path 'usb/*' mode 0660 group operator With that, and the USB IDs in epson.conf, my Epson 1640SU works fine with a normal user: % scanimage -L device `epson2:libusb:/dev/usb:/dev/ugen2.3' is a Epson Perfection1640 flatbed scanner