From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 14:50:48 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 C579D106573C for ; Fri, 7 Mar 2008 14:50:48 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.freebsd.org (Postfix) with ESMTP id 976D98FC21 for ; Fri, 7 Mar 2008 14:50:48 +0000 (UTC) (envelope-from ejcerejo@optonline.net) Received: from localhost (ool-44c03822.dyn.optonline.net [68.192.56.34]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with SMTP id <0JXD0088Q7WJ7XZ0@mta3.srv.hcvlny.cv.net> for FreeBSD-questions@freebsd.org; Fri, 07 Mar 2008 09:50:43 -0500 (EST) Date: Fri, 07 Mar 2008 09:50:42 -0500 From: "E. J. Cerejo" To: FreeBSD-questions@freebsd.org Message-id: <20080307095042.4f600558.ejcerejo@optonline.net> MIME-version: 1.0 X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Cc: Subject: Can't Print Anymore With CUPS --- 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: Fri, 07 Mar 2008 14:50:48 -0000 I'm running FreeBSD 7RC3, and I've got cups-base-1.3.5_2, hplip-2.7.12 and foomatic-db-hpijs-1.4 installed. When I first configured cups it was printing just fine and fast and now I get this error: "Unable to open device file "/dev/unlpt0": Permission denied" and the printer goes into "stop" mode. I have this for the configuration: Description: HP Officejet Location: Home Printer Driver: HP OfficeJet 4300 Foomatic/hpijs (recommended) Printer State: stopped, accepting jobs, published. Device URI: usb:/dev/unlpt0 I googled it and all I could find was changing the Device URI from usb to file. I can print like that except it just crawls, it takes the printer about 10 minutes to print a simple text page. My devfs.rules file looks like this: [devfsrules_common=7] add path 'ad*' mode 666 group operator add path 'acd*' mode 666 group operator add path 'cd*' mode 666 group operator add path 'pass*' mode 666 group operator add path 'xpt*' mode 666 group operator add path 'ugen*' mode 0660 group operator add path 'lpt*' mode 666 group cups add path 'ulpt*' mode 666 group cups add path 'unlpt*' mode 666 group cups add path 'fd*' mode 666 group operator add path 'ad*' mode 666 group operator add path 'ad*s* mode 666 group operator My rc.conf looks like this: linux_enable="YES" moused_enable="YES" usbd_enable="YES" sshd_enable="YES" dbus_enable="YES" polkitd_enable="YES" hald_enable="YES" devd_enable="YES" # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" # Wireless Configuration ifconfig_ath0="ssid NETGEAR172 bssid 00:90:4c:7e:00:6e DHCP wepmode on weptxkey 1 wepkey 1:0xXXXXXXXXX" defaultrouter="192.168.1.1" hostname="ecerejo.netgear.com" # CUPS Configuration devfs_system_ruleset="devfsrules_common" lpd_enable="NO" hpiod_enable="YES" hpssd_enable="YES" cupsd_enable="YES" My devfs.conf looks like this: # Historically X depended on this, but version 4.3.0 doesn't seem to anymore #link ttyv0 vga # Commonly used by many ports #link acd0 cdrom link cd0 cdrom link cd0 dvd # Allow a user in the wheel group to query the smb0 device #perm smb0 0660 # Allow members of group operator to cat things to the speaker #own speaker root:operator #perm speaker 0660 # Allow all users to access CD's perm /dev/acd0 0666 perm /dev/acd1 0666 perm /dev/cd0 0666 perm /dev/cd1 0666 # Allow all USB Devices to be mounted perm /dev/da0 0666 # perm /dev/da1 0666 # perm /dev/da2 0666 # perm /dev/da3 0666 # Misc other devices perm /dev/pass0 0666 perm /dev/xpt0 0666 perm /dev/agpgart 0666 # perm /dev/uscanner0 0666 As far as I am concerned I haven't changed anything since I set cups up, it's weird that it just broke like that.