Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2004 23:06:13 +0100 (CET)
From:      maarfree@xs4all.nl
To:        freebsd-questions@freebsd.org
Subject:   /dev/uscanner0 owned by root:scanner but only access for users of  group operator
Message-ID:  <4948.80.127.55.226.1102025173.squirrel@80.127.55.226>

next in thread | raw e-mail | index | archive | help
Hi list,

I have my Canon Lide 20 usb scanner working om my system. Setup was easy
following the handbook.

But I did not like all users being member of group operator;
So I added a group scanner,
to /dev/devfs.rules I add:
add path uscanner0 mode 0660 group scanner #  (group scanner is added)
I add a user to group scanner.
When I do ll /dev/uscanner0
crw-rw----  1 root  scanner  233,   0 Dec  2 22:24 /dev/uscanner0
When I do sane-find-scanner as the user I get:
found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
and subsequently the scanner is not useable for the user.
But when I add this user to group operator:
found USB scanner (vendor=0x04a9, product=0x220d) at /dev/uscanner0
and the scanner is working.
but I see the scanner still belongs to user root and group scanner...

Anyone an idea?

Maarten


FreeBSD klaptopje.lan 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Nov 26
14:37:55 UTC 2004     root@klaptopje.lan:/usr/obj/usr/src/sys/GENERIC 
i386





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