Date: Sat, 28 Aug 2010 12:04:03 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: claudiu vasadi <claudiu.vasadi@gmail.com> Cc: doc@freebsd.org Subject: [patch] Re: cups article - extra info (if possible) Message-ID: <4C793373.60508@gmail.com> In-Reply-To: <AANLkTins-qwpbmjUiR7mT=QkX3pz5O%2BmEBj6jypNGGxs@mail.gmail.com> References: <AANLkTins-qwpbmjUiR7mT=QkX3pz5O%2BmEBj6jypNGGxs@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<http://www.freebsd.org/doc/en/articles/cups/>. > I have a Samsung USB printer and after reading and applying the conditions > mentioned in chapter 3 > (devfs.rules)<http://www.freebsd.org/doc/en/articles/cups/printing-cups-configuring-server.html>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 @@ <programlisting>[system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups -add path 'lpt*' mode 0660 group cups</programlisting> +add path 'lpt*' mode 0660 group cups +add path 'usb/<replaceable>X</replaceable>.<replaceable>Y</replaceable>.<replaceable>Z</replaceable>' mode 0660 group cups</programlisting> + + <note> + <para>Note that <replaceable>X</replaceable>, + <replaceable>Y</replaceable>, and <replaceable>Z</replaceable> + should be replaced with the target USB device listed in the + <filename class="directory">/dev/usb</filename> directory that + corresponds to the printer. To find the correct device, + examine the output of &man.dmesg.8;, where + <filename>ugen<replaceable>X</replaceable>.<replaceable>Y</replaceable></filename> + lists the printer device, which is a symbolic link to a USB + device in <filename class="directory">/dev/usb</filename>.</para> + </note> <para>Next, add two lines to <filename>/etc/rc.conf</filename> as follows:</para> --------------020105060607050608070305--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C793373.60508>