Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 14:56:25 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Anton Galitch <anton.galitch@gmail.com>, Roland Smith <rsmith@xs4all.nl>
Subject:   Re: Anyone could make Epson Stylus cx4700 work?
Message-ID:  <200705151456.25685.lists@jnielsen.net>
In-Reply-To: <20070515174417.GA58412@slackbox.xs4all.nl>
References:  <7c80322b0705150951t78bb77edk5e3259de80942ee8@mail.gmail.com> <20070515174417.GA58412@slackbox.xs4all.nl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tuesday 15 May 2007 01:44:17 pm Roland Smith wrote:
> On Tue, May 15, 2007 at 01:51:53PM -0300, Anton Galitch wrote:
> >  Hi
> >  I tried to install my epson stylus cx4700 printer, I installed cups,
> > then gutenprint.
> >  When configuring the printer in kde control center it detected the
> > driver for stylus cx4700 and a device was /dev/ulpt0  (its has a usb
> > connection). After doing that I wanted to test it, but it couldnt print
> > anything. neither it can give me information about ink level. It says
> > "Device is busy".
>
> One thing to check for are the permissions of the device file
> /dev/ulpt0. Cups needs to be able to read from and write to this device,
> so you should add an entry for it to /etc/devfs.rules. It should _not_
> be in /etc/devfs.conf, since usb devices can appear at runtime.
>
> (The first line is only needed when you haven't already got a ruleset
> name.)
>
> [foo=10]
> add path 'ulpt*' mode 0660 group cups
>
> And in /etc/rc.conf you should add:
>
> devfs_system_ruleset="foo"
>
> Hope this helps.
>
> Roland

Alternatively, just put this in /etc/devfs.conf:

own	ulpt0	root:cups
perm	ulpt0	0664


That's all I had to do to get my cx4800 printing with ulpt and cups.

FYI, the cardreader on my cx4800 works when ulpt is NOT loaded or in the 
kernel but umass is. Similarly, the scanner only works when neither ulpt nor 
umass is loaded or in the kernel. It doesn't attach to uscanner but it works 
with libusb.

JN




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200705151456.25685.lists>