Date: Fri, 02 Nov 2001 10:11:12 +0100 (CET) From: Riccardo Torrini <riccardo@torrini.org> To: freebsd-current@FreeBSD.ORG Subject: uscanner and devfs Message-ID: <XFMail.20011102101112.riccardo@torrini.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20011102101112.riccardo>