From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 15:40:40 2008 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE34A1065679 for ; Tue, 22 Apr 2008 15:40:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 531708FC16 for ; Tue, 22 Apr 2008 15:40:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3MFePlk048197; Tue, 22 Apr 2008 17:40:28 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 8C6A1B829; Tue, 22 Apr 2008 17:40:25 +0200 (CEST) Date: Tue, 22 Apr 2008 17:40:25 +0200 From: Roland Smith To: David Reedy Jr Message-ID: <20080422154025.GC36675@slackbox.xs4all.nl> Mail-Followup-To: David Reedy Jr , FreeBSD-questions@freebsd.org References: <200804211305.56895.davidrjr@comcast.net> <20080421195416.GA6884@slackbox.xs4all.nl> <200804221008.37489.davidrjr@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R+My9LyyhiUvIEro" Content-Disposition: inline In-Reply-To: <200804221008.37489.davidrjr@comcast.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.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD-questions@freebsd.org Subject: Re: Unable to open device file "/dev/lpt0": Permission denied 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, 22 Apr 2008 15:40:41 -0000 --R+My9LyyhiUvIEro Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 22, 2008 at 10:08:37AM -0500, David Reedy Jr wrote: > > IICR, the print device should belong to the cups group. At least, > > that's my working setup. > > > > I have the following in /etc/devfs.conf: > > > > # Give cups printer access > > own lpt0 root:cups > > perm lpt0 0660 >=20 > Thanks for the info. This didn't actually fix the problem, but I know it= =20 > was needed since I read somewhere that everything that cupsd spawns=20 > runs as cups. >=20 > What I ended up doing was resetting my cupsd.conf to default and redid=20 > my settings. I must have had a typo in there somewhere before because=20 > as soon as I restarted cupsd after making the changes, the parallel and= =20 > usb ports suddenly became available as devices for the printer. It happens. :-) > I had previously selected lpd and then manually specified the uri as=20 > parallel:/dev/lpt0. >=20 > The laser on the parallel port is now working fine.=20 Good. > I also went ahead=20 > and setup my deskjet on usb:/dev/ulpt0. Print test pages get marked as=20 > completed but nothing actually comes out of the printer. Still trying=20 > to figure that one out. Have a look at the cups logfiles in /var/log/cups. They should give you some pointers. You'll probably need to set the device permissions for ulpt in devfs.rules, not devfs.conf! 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) --R+My9LyyhiUvIEro Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgOBukACgkQEnfvsMMhpyWAlACePvDWRHdYVfmO3tFVF0ijGMOX 7V8AoIkDr9j7h8tfnd5w4FmSoqWcu7E+ =IZJR -----END PGP SIGNATURE----- --R+My9LyyhiUvIEro--