From owner-freebsd-ports@FreeBSD.ORG Tue Apr 4 22:55:59 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 990DE16A41F for ; Tue, 4 Apr 2006 22:55:59 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 602EF43D76 for ; Tue, 4 Apr 2006 22:55:32 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.4/8.13.4) with ESMTP id k34NAYAQ079406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 Apr 2006 19:10:40 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-ports@freebsd.org Date: Tue, 4 Apr 2006 18:55:12 -0400 User-Agent: KMail/1.9.1 References: <200603311221.26099.duncan.fbsd@gmail.com> <20060403.132711.21331470.imp@bsdimp.com> <200604031621.54761.amistry@am-productions.biz> In-Reply-To: <200604031621.54761.amistry@am-productions.biz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1199470.2e0SP2z5K0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604041855.26719.mistry.7@osu.edu> X-Spam-Status: No, score=-8.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88/1375/Tue Apr 4 10:55:06 2006 on mail.united-ware.com X-Virus-Status: Clean Subject: Preliminary HPLIP port (HP Printers) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 22:55:59 -0000 --nextPart1199470.2e0SP2z5K0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've got a preliminary version of hplip ported. You can download the=20 port skeleton: http://am-productions.biz/docs/hplip.tgz MD5 (hplip.tgz) =3D ff1d670605cfcd4f519e9239fd08db3d SHA256 (hplip.tgz) =3D=20 61c29b302d58feeba496173e95e258bd66c811fae2a15530103df3469a899080 I've updated the port skeleton to include the dependency to py-qt so=20 that hp-toolbox works. Note, the posted skeleton does not work with=20 my Officejet, but it DOES work reading and writing with my Deskjet=20 5550. That means hp-toolbox shows ink levels, status messages, the=20 works. If you have a Deskjet this should unlock all the=20 functionality that HP has provided with the hplip software. I'm working on getting some feedback from the hplip folks about why, GetInEP is returning a bogus endpoint in the Device::Read method. This seems Officejet specific and I'm still waiting on a=20 reply from the HP engineers on the HPLIP list. The side-effect of this is not being able to read from Officejet=20 devices means that scanning, and status information is not provided. =20 Device::Write works, so I'm able to at least print to my Officejet=20 5510v. The key right now for hplip, you have to run the printer as a=20 ugen device not ulpt. If you'd like to try to get it setup, you need to: 1) make sure your printer is attaching as a ugen device. 2) install the port using the linked skeleton above 3) Add the following to you rc.conf: hpiod_enable=3D"YES" hpssd_enable=3D"YES" Note: right now those daemons run as root, I'm going to change that once everything is working, but for right now that was easiest. 4) Stop cups 5) You MUST start the services in the following order /usr/local/etc/rc.d/hpiod start && /usr/local/etc/rc.d/hpssd start=20 && /usr/local/etc/rc.d/cupsd start 5) Run hp-setup and follow the prompts. 6) You should have been able to print out the test page in step 5.=20 If not, send the relevant parts of your syslog output. 7) Run hp-toolbox for all of that fun printer information =2D-=20 Anish Mistry --nextPart1199470.2e0SP2z5K0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEMvlexqA5ziudZT0RAgttAJ91m6IUAlxMfelwV9lW2JDLtqphAgCeLl5b Wpu6m9GEX3KYrNQuFT0ikDY= =rcum -----END PGP SIGNATURE----- --nextPart1199470.2e0SP2z5K0--