From owner-freebsd-doc@FreeBSD.ORG Sat Aug 28 16:04:09 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85DBE1065693 for ; Sat, 28 Aug 2010 16:04:09 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 33D658FC12 for ; Sat, 28 Aug 2010 16:04:08 +0000 (UTC) Received: by qwg5 with SMTP id 5so4107682qwg.13 for ; Sat, 28 Aug 2010 09:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=t59F+1Rk/dYxVi7BIXeh8UMn8ZxxiP7ZtXCei1yQBIU=; b=XxZ0ndygHDwU662KwC5MnyHZeleZ/vZPgEP1rx2GnbiH+yceEeBUrFC7hN9Tejq6WC nZO5MExmvD2TyLBD63zp3VlNuFhIHAt12fvoD7F6fS3A72d821W9Ijrxy7AetrXnwS4n emJJWdVAUtt2FdfsHf3I813p8XGM95Ux9QW6c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=WqvEix8pYpbaoEXXig0RPoM+uTaEAWYSDf+g+o6q48jynBmzhEm2t+kACfyOdovOth inaWDOhFGGx3JGM7+oi3iwPYv3ZfPpRAdcgYhHmnjZaVk3iT/WFqweQrg7s1omY6ZNvm Htz2uP7nAAVavUjEMGnRdJcsa6eWno9nFyNvo= Received: by 10.229.236.213 with SMTP id kl21mr1581265qcb.120.1283011446867; Sat, 28 Aug 2010 09:04:06 -0700 (PDT) Received: from schism.local (75.97.128.170.res-cmts.sewb.ptd.net [75.97.128.170]) by mx.google.com with ESMTPS id f15sm5966965qcr.25.2010.08.28.09.04.04 (version=SSLv3 cipher=RC4-MD5); Sat, 28 Aug 2010 09:04:05 -0700 (PDT) Message-ID: <4C793373.60508@gmail.com> Date: Sat, 28 Aug 2010 12:04:03 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: claudiu vasadi References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: multipart/mixed; boundary="------------020105060607050608070305" Cc: doc@freebsd.org Subject: [patch] Re: cups article - extra info (if possible) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2010 16:04:09 -0000 This is a multi-part message in MIME format. --------------020105060607050608070305 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 8/28/10 9:15 AM, claudiu vasadi wrote: > Hello, > > I had to set up a cups server and I followed the freebsd cups > article. > I have a Samsung USB printer and after reading and applying the conditions > mentioned in chapter 3 > (devfs.rules)I > noticed that cups was unable to detect my printer. That, until I > stumble > across a blog that explained the reason. Cups is unable to read the symlink > created from ugen*.* and the permissions on ugen need to be adjusted too. > So, I added "add path 'ugenX.Y' mode 0660 group cups" to my devfs.rules and > I believe this extra info is worth mentioning in the article. > > Please advise if otherwise. > Hello doc@, Perhaps the attached patch might work? Comments welcome, as always. Here's how it looks: http://www.glenbarber.us/articles/cups/article.html Regards, -- Glen Barber --------------020105060607050608070305 Content-Type: text/plain; name="articles.cups.article.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="articles.cups.article.diff.txt" --- article.sgml.orig 2010-08-28 11:53:21.000000000 -0400 +++ article.sgml 2010-08-28 11:52:17.000000000 -0400 @@ -95,7 +95,20 @@ [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups -add path 'lpt*' mode 0660 group cups +add path 'lpt*' mode 0660 group cups +add path 'usb/X.Y.Z' mode 0660 group cups + + + Note that X, + Y, and Z + should be replaced with the target USB device listed in the + /dev/usb directory that + corresponds to the printer. To find the correct device, + examine the output of &man.dmesg.8;, where + ugenX.Y + lists the printer device, which is a symbolic link to a USB + device in /dev/usb. + Next, add two lines to /etc/rc.conf as follows: --------------020105060607050608070305--