Thread: FreeBSD scanner
View Single Post
  #2   (View Single Post)  
Old 2nd October 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

/etc/devfs.rules does not exist by default. Just create it.

After you have made the changes, you will have to apply them. Apart from restarting, I do not know exactly how to do that.

Note: Do not, ever, edit the /etc/defaults. The defaults are defaults, and are overwritten or added to by the /etc/ files. There are no exceptions to that rule. /etc/defaults are there for reference only.

All you need to do is :

1. Create /etc/devfs.rules
2. Add the following to it
Code:
[system=5]
add path uscanner0 mode 660
3. Add this line to /etc/rc.conf
Code:
devfs_system_ruleset="system"
4. Restart.

Then ls -l /dev/uscanner0 should look like this:
Code:
crw-rw----  1 root    operator    0,  87 Sep 20 09:23 uscanner0
which tells us that it has worked.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote