Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 08:28:55 +0100
From:      David Marec <david.marec@davenulle.org>
To:        freebsd-current@freebsd.org
Subject:   Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9
Message-ID:  <4EACFCB7.5040309@davenulle.org>
In-Reply-To: <20111029195852.GA90408@stack.nl>
References:  <4EAC0966.2050607@davenulle.org> <20111029195852.GA90408@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 29.10.2011 21:58, Jilles Tjoelker a écrit :
 > 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.

Doing this, device rights become unreliable.

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

What are the user rights that the devfs interface should set  ?
mode 0666 for all usb entries ('usb*') ?
- ugen stands for "generic" usb support. -

Setting 'cups:hplip' rights for 'ugen[0-9]' doesn't do the trick 
anymore: HPlip needs the suitable rights on 'usb/x.y.*' too, which are 
now targeted by the ugenx.y links.





-- 
David Marec, mailto:david.marec@davenulle.org
http://user.lamaiziere.net/david/Site
http://www.diablotins.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EACFCB7.5040309>