From owner-freebsd-questions@FreeBSD.ORG Fri May 23 07:32:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A58041065733 for ; Fri, 23 May 2008 07:32:21 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from venus.karoo.kcom.com (venus.karoo.kcom.com [212.50.160.60]) by mx1.freebsd.org (Postfix) with ESMTP id 32FC48FC21 for ; Fri, 23 May 2008 07:32:20 +0000 (UTC) (envelope-from glyn@millingtons.org) X-IronPort-AV: E=Sophos;i="4.27,526,1204502400"; d="scan'208";a="306372471" Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by venus.karoo.kcom.com with ESMTP; 23 May 2008 08:32:18 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 645EF22840; Fri, 23 May 2008 08:33:34 +0100 (BST) To: =?iso-8859-1?Q?S=E9bastien?= Morand References: <4835E523.2090304@gmail.com> <86iqx6vx7o.fsf@nowhere.org> <48366F70.3070103@gmail.com> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Weekday: Friday of the Seventh Week of Ordinary Time, A.D. 2008 From: Glyn Millington Date: Fri, 23 May 2008 08:33:34 +0100 In-Reply-To: <48366F70.3070103@gmail.com> (=?iso-8859-1?Q?=22S=E9bastien?= Morand"'s message of "Fri\, 23 May 2008 07\:17\:04 +0000") Message-ID: <86hccptqy9.fsf@nowhere.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: devfs and scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 07:32:22 -0000 S=E9bastien Morand writes: >> Is the uscanner0 device also dealt with in /etc/devfs.rules ? >> > > I don't have such a file, is devd.conf the same purpose? No it isn't. /etc/devfs.conf deals with devices avaiable at boot time - cdrom drives etc devices that are plugged in and unplugged - usb gadgets like scanners :-) - are handled by /etc/devfs.rules So get rid of that entry in /etc/devfs.conf and insert the right thing in /etc/devfs.rules Mine looks like this:- [system=3D10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups ## Glyn added these below add path 'da*' mode 0660 group operator add path 'uscanner*' mode 0660 group operator add path 'tap*' mode 0660 group operator You will want to change operator to scanner for your scanner group.=20 That first line gives the ruleset a name and a number; then in /etc/rc.conf you should put the line devfs_system_ruleset=3D"system" That should work after a reboot. atb Glyn