devfs and scanner
Glyn Millington
glyn at millingtons.org
Fri May 23 07:32:22 UTC 2008
Sébastien Morand <seb.morand at gmail.com> 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=10]
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.
That first line gives the ruleset a name and a number; then in
/etc/rc.conf you should put the line
devfs_system_ruleset="system"
That should work after a reboot.
atb
Glyn
More information about the freebsd-questions
mailing list