From owner-freebsd-questions@FreeBSD.ORG Thu Jan 9 00:31:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E95CB0C for ; Thu, 9 Jan 2014 00:31:17 +0000 (UTC) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id DA0E711FB for ; Thu, 9 Jan 2014 00:31:16 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 62341220D3 for ; Thu, 9 Jan 2014 00:30:16 +0000 (GMT) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Thu, 09 Jan 2014 00:30:16 +0000 From: dgmm To: freebsd-questions@freebsd.org Subject: sane - scanimage asks for password Date: Thu, 9 Jan 2014 00:30:15 +0000 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE-p7; KDE/4.10.5; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <201401090030.15085.freebsd01@dgmm.net> X-Gradwell-MongoId: 52cded98.91af-7014-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 00:31:17 -0000 Hi folks, I just used sane recently for the first time in some while. I do regular=20 portsnap/portupgrade and something has changed with sane since I last used = it. =20 When I run scanimage it asks for the users password on localhost. =46rom the command line, that's not a big deal but running Gimp from the de= sktop=20 causes Gimp to stop when initialising the xsane plugin. That can be worked= =20 around by running Gimp from a terminal but I'd much rather know why scanima= ge=20 is asking for the password and how to either stop it asking or set it up to= it=20 knows how to read the password. The installer and man page both list some info which I either don't underst= and=20 or am simply getting wrong. My main interest at this stage is finding out what "resource" is in=20 ~/.sane/pass man page and googling around only tells me that ~/.sane/pass is line of the= =20 format user:password;resource but I don't know what resource ought to be. The user is in group operator and devfs.rules assigns group operator to=20 /dev/ugen4.2 and dev/usb/4.2.0, mode 0666 Also, %cat /usr/local/etc/devd/saned.conf=20 notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "cdev" "ugen[0-9].[0-9]"; match "vendor" "0x04A9"; match "product" "0x1908"; action "chown -L dave:dave /dev/$cdev && chmod -L 660 /dev/$cdev"; }; (The chown line has been tried with operator:operator, root;operator,=20 saned:saned and dave:saned etc) scanimage -L Password for dave on localhost?=20 device `pixma:04A91908' is a CANON Canoscan 9000F multi-function peripheral Any helpful pointers gratefully accepted.