From owner-freebsd-ports@FreeBSD.ORG Wed Apr 5 08:43:08 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 9A2E116A420 for ; Wed, 5 Apr 2006 08:43:08 +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 20BCC43D46 for ; Wed, 5 Apr 2006 08:43:07 +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 k358wCIk022333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Apr 2006 04:58:18 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-ports@freebsd.org Date: Wed, 5 Apr 2006 04:43:03 -0400 User-Agent: KMail/1.9.1 References: <200603311221.26099.duncan.fbsd@gmail.com> <200604031621.54761.amistry@am-productions.biz> <200604041855.26719.mistry.7@osu.edu> In-Reply-To: <200604041855.26719.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8242407.pZmWzgYHEf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604050443.03742.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/1376/Wed Apr 5 01:51:25 2006 on mail.united-ware.com X-Virus-Status: Clean Subject: Re: 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: Wed, 05 Apr 2006 08:43:08 -0000 --nextPart8242407.pZmWzgYHEf Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 04 April 2006 18:55, Anish Mistry wrote: > I've got a preliminary version of hplip ported. You can download > the port skeleton: > http://am-productions.biz/docs/hplip.tgz > > MD5 (hplip.tgz) =3D ff1d670605cfcd4f519e9239fd08db3d > SHA256 (hplip.tgz) =3D > 61c29b302d58feeba496173e95e258bd66c811fae2a15530103df3469a899080 > > I've updated the port skeleton to include the dependency to py-qt > so that hp-toolbox works. Note, the posted skeleton does not work > with my Officejet, but it DOES work reading and writing with my > Deskjet 5550. That means hp-toolbox shows ink levels, status > messages, the works. If you have a Deskjet this should unlock all > the > 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 > reply from the HP engineers on the HPLIP list. > > The side-effect of this is not being able to read from Officejet > devices means that scanning, and status information is not > provided. Device::Write works, so I'm able to at least print to my > Officejet 5510v. The key right now for hplip, you have to run the > printer as a 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=20 > 5) You MUST start the services in the following order > /usr/local/etc/rc.d/hpiod start && /usr/local/etc/rc.d/hpssd start > && /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. > If not, send the relevant parts of your syslog output. > 7) Run hp-toolbox for all of that fun printer information I've uploaded an improved version of the port that works with my=20 Officejet 5510v. You can now pull status information. Scanning and=20 faxing work too! I didn't have a destination fax number to send=20 something to, but the machine did initialize, dial, and timeout=20 correctly. The scan correctly grabbed the image :). http://am-productions.biz/docs/hplip-try2.tgz MD5 (hplip-try2.tgz) =3D 6eed0dc30e062d9f78c584e13fca16a0 SHA256 (hplip-try2.tgz) =3D=20 a96c772232caea7c22ae55d5d06bb521c306101d1906d8d14e8a7e3b2002844a To get scanning to work you need to do the following since the library=20 symlinking isn't fixed yet. rm /usr/local/lib/sane/libsane-hpaio.so.1 ln=20 =2Ds /usr/local/lib/sane/libsane-hpaio.so.1 /usr/local/lib/libsane-hpaio.so= =2E1 hp-toolbox is your friend. =2D-=20 Anish Mistry --nextPart8242407.pZmWzgYHEf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEM4MXxqA5ziudZT0RAoMJAJ0YzM9JZQmy6yjtjcLm9eLA5z7FFwCeKHyk Gjs4moVCSwyF6uYr67jpzaY= =IrZE -----END PGP SIGNATURE----- --nextPart8242407.pZmWzgYHEf--