From owner-freebsd-current Fri Nov 2 1:11:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.dada.it (mail4.dada.it [195.110.96.56]) by hub.freebsd.org (Postfix) with SMTP id 5FE4B37B405 for ; Fri, 2 Nov 2001 01:11:34 -0800 (PST) Received: (qmail 11115 invoked from network); 2 Nov 2001 09:11:30 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 2 Nov 2001 09:11:30 -0000 Received: (from riccardo@localhost) by torrini.org (8.11.6/8.11.6) id fA29BCN67010 for freebsd-current@FreeBSD.ORG; Fri, 2 Nov 2001 10:11:12 +0100 (CET) (envelope-from riccardo) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 02 Nov 2001 10:11:12 +0100 (CET) From: Riccardo Torrini To: freebsd-current@FreeBSD.ORG Subject: uscanner and devfs Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG With world of 31 oct I finally make my new scanner visible. It appear under /dev as uscanner0 and on console I got the notify: uscanner0: EPSON Perfection1240, rev 1.00/1.14, addr 2 and if I switch it off I got: uscanner0: at uhub0 port 1 (addr 2) disconnected uscanner0: detached and sane is able to use it, it works. But... .../dev/uscanner is owned by root:operator with mode 644 and only root can use it, I changed mode to 666 and also my user can scan. So the question: /dev/uscanner0 is a dynamic entry under DEVFS and I am unable to change mode to 666 at boot time if scanner is off. How can I make it reboot resistant, or how can I change protection every time I switch it on? Yes, I know that /etc/rc.devfs is executed only at boot time. Is /etc/usbd.conf usable also for chown/chmod commands? Must usbd be running (I have no usbd now but it attach/detach the same). TIA, Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message