From owner-freebsd-questions@FreeBSD.ORG Sat Jul 30 11:07:41 2005 Return-Path: X-Original-To: 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 1BE3F16A41F for ; Sat, 30 Jul 2005 11:07:41 +0000 (GMT) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (blackend.org [212.11.35.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5750843D45 for ; Sat, 30 Jul 2005 11:07:40 +0000 (GMT) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.3/8.13.3) with ESMTP id j6UB6NwM021158; Sat, 30 Jul 2005 13:06:23 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost.blackend.org [127.0.0.1]) by gothic.blackend.org (8.13.3/8.13.3) with ESMTP id j6UB6NYa000690; Sat, 30 Jul 2005 13:06:23 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.13.3/8.13.3/Submit) id j6UB6Ivo000689; Sat, 30 Jul 2005 13:06:18 +0200 (CEST) (envelope-from marc) Date: Sat, 30 Jul 2005 13:06:18 +0200 From: Marc Fonvieille To: Erik =?iso-8859-1?B?TsO4cmdhYXJk?= Message-ID: <20050730110618.GB596@gothic.blackend.org> References: <20050729232511.GA3040@epia2.farid-hajji.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Useless-Header: blackend.org X-Operating-System: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: questions@freebsd.org, cpghost Subject: Re: scanimage -L doesn't work as normal user 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: Sat, 30 Jul 2005 11:07:41 -0000 On Sat, Jul 30, 2005 at 12:14:25PM +0200, Erik Nørgaard wrote: > On Sat, 30 Jul 2005, cpghost wrote: > > > > Then as ordinary user: > > > $ sane-find-scanner -q > > > found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON > > > Scanner]) at libusb:/dev/usb0:/dev/ugen0 > > > $ scanimage -L > > > > > > No scanners were identified. > > > > This is normally a problem with permissions. You could set them > > to 0666 in /etc/devfs.conf, and [re]start devfs with > > # /etc/rc.d/devfs start > > This was also what I thought, but I can't seem to get it right: > > In my devfs.conf I have: > # Allow all users to use the scanner > perm ugen0 0666 > > perm usb 0666 > perm usb0 0666 > perm usb1 0666 > > But when I plugin the scanner, ugen0 and ugen0.* has permissions > crw-r--r-- > [...] You have to use uscanner not ugenX You should read the Handbook section related to the image scanners: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html Marc