Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2006 21:55:59 +0400
From:      "Ivakin E. Dmitry" <>
To:        'Anish Mistry' <>,
Subject:   RE: Preliminary HPLIP port (HP Printers) try3
Message-ID:  <!&!>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hello Anish,

I've tried to install this port, have a look some details.

uname -a

FreeBSD 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Sun Apr
23 20:16:04 MSD 2006 i386

My MFD is HP OfficeJet 5610.

Before: I can print from CUPS (/dev/ulpt0), but can't scan (OS couldn't find
any scanner).

1) I've recompile my kernel with no ulpt module support, just check out ugen
is exists. After installation new kernel the MFD recognized as ugen0 (it's
correct according your manual). I found some mistakes, but there are not
very important, every *bsd user can fix it.
2) I've installed new port with no any critical problem, I think. Restart
all services also with no any problems.
3) I've run hp-setup. It tell me the can't connect to hpiod (I can't tell
you exactly, it removed already).
4) Reboot computer. Run hp-setup again. Error message
router# hp-setup

HP Linux Imaging and Printing System (ver. 0.9.10)
Printer/Fax Setup Utility ver. 2.0

Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Traceback (most recent call last):
  File "/usr/local/bin/hp-setup", line 198, in ?
    device_uri = device.getInteractiveDeviceURI(bus)
  File "/usr/local/share/hplip/base/", line 172, in
    probed_devices = probeDevices(bus=bus, filter=filter)
  File "/usr/local/share/hplip/base/", line 261, in probeDevices
  File "/usr/local/share/hplip/base/", line 206, in xmitMessage
    return fields, data, result_code
UnboundLocalError: local variable 'fields' referenced before assignment

5) I've entered to CUPS and delete old USB printer (becase it was configured
as /dev/ulpt0). I've tried to install new one, but no choice for USB port (I
think, because I've removed ulpt0 from kernel). So, I can't print now.
Any suggestions? If you need help as a tester from me, let me know.
Thank you for your work!

Best regards,

Ivakin Dmitriy

-----Original Message-----
[] On Behalf Of Anish Mistry
Sent: Sunday, April 23, 2006 2:52 AM
Subject: Preliminary HPLIP port (HP Printers) try3

I've updated the hplip port skeleton.  It now correctly works with the 
scanners of Officejets.  The hpiod and hpssd daemons run as the hplip 
and nobody users respectively.  Added a missing dependency to 
net-snmp for network printing.

Would some ports gurus comment on how I'm doing things in the port?  
I'm planning on submitting a PR for this soon.


Anish Mistry

Want to link to this message? Use this URL: <!&!AAAAAAAAAAAYAAAAAAAAAIoC3mFJFd5Kp9bSpaGtWDvCgAAAEAAAAHgc4+ItR9tKomrGFDEulL0BAAAAAA==>