From owner-freebsd-current@FreeBSD.ORG Sun Oct 30 07:46:32 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BC7E1065670 for ; Sun, 30 Oct 2011 07:46:32 +0000 (UTC) (envelope-from david.marec@davenulle.org) Received: from smtp23.services.sfr.fr (smtp23.services.sfr.fr [93.17.128.19]) by mx1.freebsd.org (Postfix) with ESMTP id 091FE8FC16 for ; Sun, 30 Oct 2011 07:46:31 +0000 (UTC) Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id 906437000864 for ; Sun, 30 Oct 2011 08:28:55 +0100 (CET) Received: from david.marec (209.103.28.93.rev.sfr.net [93.28.103.209]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id 6E95D7000863 for ; Sun, 30 Oct 2011 08:28:55 +0100 (CET) X-SFR-UUID: 20111030072855453.6E95D7000863@msfrf2304.sfr.fr Message-ID: <4EACFCB7.5040309@davenulle.org> Date: Sun, 30 Oct 2011 08:28:55 +0100 From: David Marec User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111002 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4EAC0966.2050607@davenulle.org> <20111029195852.GA90408@stack.nl> In-Reply-To: <20111029195852.GA90408@stack.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2011 07:46:32 -0000 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/