Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2010 00:09:02 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Warren Block <wblock@wonkity.com>
Cc:        Marco Beishuizen <mbeis@xs4all.nl>, freebsd-questions@freebsd.org
Subject:   Re: Using a scanner (USB) as user and not as root
Message-ID:  <20100429220902.GA13539@slackbox.erewhon.net>
In-Reply-To: <alpine.BSF.2.00.1004291505280.25778@wonkity.com>
References:  <alpine.BSF.2.00.1004281939070.3115@yokozuna.lan> <20100428182223.GA34355@slackbox.erewhon.net> <alpine.BSF.2.00.1004282057490.3115@yokozuna.lan> <alpine.BSF.2.00.1004281310520.23838@wonkity.com> <alpine.BSF.2.00.1004292210410.2406@yokozuna.lan> <alpine.BSF.2.00.1004291437530.25778@wonkity.com> <alpine.BSF.2.00.1004292247440.2406@yokozuna.lan> <alpine.BSF.2.00.1004291505280.25778@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:
> On Thu, 29 Apr 2010, Marco Beishuizen wrote:
>=20
> > On Thu, 29 Apr 2010, Warren Block wrote:
> >
> >> For the sake of completeness: devd has to be restarted after changes t=
o=20
> >> devd.conf, and the code above is only executed when the scanner is det=
ected=20
> >> (USB cable plugged in or scanner powered on).
> >
> > I rebooted and plugged in the scanner but no changes.
>=20
> One other difference I found in my /etc/devfs.rules:
>=20
> add path 'ugen*' mode 0660 group operator
> add path 'usb/*' mode 0770 group operator

Mode 0660 should be sufficient. Just make sure there is a newline at the end
of the last rule! Otherwise the shell script that processes them will not s=
ee
them. The command 'devfs rule show' will tell you which rules have actually
been created.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--lrZ03NoBR/3+SXJZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkvaA34ACgkQEnfvsMMhpyVN8ACfeMf7D4SsRt314oSrSA9PALu7
qmcAnimnKfQkKUwXeyjyGTc7ux3uK87P
=t1wl
-----END PGP SIGNATURE-----

--lrZ03NoBR/3+SXJZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100429220902.GA13539>