[Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9

Jilles Tjoelker jilles at stack.nl
Sat Oct 29 19:58:55 UTC 2011


On Sat, Oct 29, 2011 at 04:10:46PM +0200, David Marec wrote:
> So, what's should be the news group&user's rights required by HPLIP/cups 
> on FreeBSD 9 ?

> And, how to handle them with devd ?

Use devfs rules.

Pasting from http://www.stack.nl/~jilles/unix/freebsd-devfs.txt

Create or edit /etc/devfs.rules and put something like this in it:

[devfsrules_mybox=10]
add path 'fd0*' mode 660

See man 8 devfs for more information.

Then put in /etc/rc.conf

devfs_system_ruleset="devfsrules_mybox"

If you want to edit other /dev mountpoints (e.g. for jails) use
something like

devfs_set_rulesets="/usr/jails/jail1/dev=devfsrules_jail1 /usr/jails/jail2/dev=devfsrules_jail2"

-- 
Jilles Tjoelker


More information about the freebsd-usb mailing list