From owner-freebsd-questions@FreeBSD.ORG Tue May 15 19:02:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D57A116A400 for ; Tue, 15 May 2007 19:02:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF8913C45A for ; Tue, 15 May 2007 19:02:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l4FJ2Vgg078954; Tue, 15 May 2007 21:02:31 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 110D6B82B; Tue, 15 May 2007 21:02:31 +0200 (CEST) Date: Tue, 15 May 2007 21:02:31 +0200 From: Roland Smith To: John Nielsen Message-ID: <20070515190230.GC59938@slackbox.xs4all.nl> Mail-Followup-To: John Nielsen , freebsd-questions@freebsd.org, Anton Galitch References: <7c80322b0705150951t78bb77edk5e3259de80942ee8@mail.gmail.com> <20070515174417.GA58412@slackbox.xs4all.nl> <200705151456.25685.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline In-Reply-To: <200705151456.25685.lists@jnielsen.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Anton Galitch , freebsd-questions@freebsd.org Subject: Re: Anyone could make Epson Stylus cx4700 work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 19:02:33 -0000 --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 pri= nt > > > 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=3D10] > > add path 'ulpt*' mode 0660 group cups > > > > And in /etc/rc.conf you should add: > > > > devfs_system_ruleset=3D"foo" > > > > Hope this helps. > > > > Roland >=20 > Alternatively, just put this in /etc/devfs.conf: >=20 > own ulpt0 root:cups > perm ulpt0 0664 >=20 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 --=20 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) --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGSgPGEnfvsMMhpyURArnHAJkBr2U5qSUMq/FjZlCFIB/QwUc6qQCfX2Qc y5Fl4tnHrnksdCtJiY16oxI= =2y7v -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD--