Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Sep 2006 15:40:04 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cups 1.2.2 and parallel port printers
Message-ID:  <45002F44.5040508@dial.pipex.com>
In-Reply-To: <17664.10172.939032.620287@jerusalem.litteratus.org>
References:  <20060907121906.71wgo7l4zegws08o@webmail.frontiernet.net>	<17664.5027.243777.190581@jerusalem.litteratus.org>	<45001C82.30200@web.de> <17664.10172.939032.620287@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff wrote:

>Jona Joachim writes:
>
>  
>
>> > 	_In my case_, CUPS as ported does not like the permissions on
>> > /dev/lpt0*.  They default to "crw-------"; setting them to
>> > "crw-rw-rw-" makes the parallel printer appear.
>> > 	There should be a way to tall devfs to change those permissions
>> > automatically, but I haven't been able to figure it out.
>> 
>> You have to specify
>>   perm  lpt0  0666
>> in /etc/devfs.conf
>>    
>>
>
>huff@jerusalem>> dir /dev/lpt*
>crw-------  1 root  wheel    0,  79 Sep  5 20:45 /dev/lpt0
>crw-------  1 root  wheel    0,  80 Sep  5 20:45 /dev/lpt0.ctl
>huff@jerusalem>> grep lpt /etc/devfs.conf
>#       make lpt0 available to CUPS
>perm            /dev/lpt0        0666
>  
>
Did you as root do

sh /etc/rc.d/devfs start

AFAIK rules are only applied when the node is created, which it already 
would have been when you added/changed your rule.

Also not /dev/lpt0 but just lpt0.  Devfs rules only apply to /dev!

--Alex





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45002F44.5040508>