From owner-freebsd-questions@FreeBSD.ORG Sun Jul 31 11:51:54 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 A60FC16A41F; Sun, 31 Jul 2005 11:51:54 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4877043D45; Sun, 31 Jul 2005 11:51:54 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (localhost [127.0.0.1]) by imf.math.ku.dk (Postfix) with ESMTP id F3B6811681; Sun, 31 Jul 2005 13:51:47 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by imf.math.ku.dk (Postfix) with ESMTP; Sun, 31 Jul 2005 13:51:47 +0200 (CEST) Date: Sun, 31 Jul 2005 13:51:47 +0200 (CEST) From: =?ISO-8859-1?Q?Erik_N=C3=B8rgaard?= To: Marc Fonvieille In-Reply-To: <20050730190333.GA614@nosferatu.blackend.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org Subject: Re: SOLVED: 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: Sun, 31 Jul 2005 11:51:54 -0000 On Sat, 30 Jul 2005, Marc Fonvieille wrote: > Please submit a PR with these both lines. will do - I didn't do that straight away because I saw no functional difference. And then there is the other unresolved problem that sane-find-scanner no longer identifies the scanner: # sane-find-scanner -q found USB scanner (vendor=0x04b8, product=0x0121) at /dev/uscanner0 while scanimage does: # scanimage -L device `snapscan:/dev/uscanner0' is a EPSON EPSON Scanner flatbed scanner So, I guess my patches are not fully right. > > I don't know if there is any benefit from using the uscanner > > device other than the ability to set permissions for the scanner > > only. > > Using uscanner(4) is "the FreeBSD way", ugen(4) is for USB devices > without specific driver. > > You have to use uscanner(4), period :) OK, you win :) I let the alternative solution stand for those who don't like messing with their source code and don't want to wait for the patch to be adopted - after all it works even if it's non FreeBSDish. Cheers - and thanks for your advice, Erik GnuPG: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc pub 1024D/11D11F9E 2003-08-15 Erik Norgaard Key fingerprint = C394 81C4 D137 EEE5 39BE 82D5 3E6B FB3E 11D1 1F9E