On Tue, May 15, 2007 at 02:56:25PM -0400, John Nielsen wrote: > 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 >
This will only work if the printer is connected and switched on at boot! Generally it's better to put USB devices in /etc/devfs.rules. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
pgpyJXqnpYseJ.pgp
Description: PGP signature