Dear All,

I was wondering if I could get some help on HPLIP drivers.
I am trying to install Photosmart C5250 all-in-one and unlock its full functionality using HPLIP on 4.3 Beta. After disabling ulpt and umass driver the scanner see the printer as ugen device which is necessary for HPLIP drivers to work. If you wonder why did I have to disable umass driver that is because I noticed that printer gets detected as
umass device when I only disable ulpt.

I start hpssd daemon before the cupsd as necessary. Since I use this machine for testing pf is disabled and permission on device nodes are 0777. I also did change the groups on device nodes into _cupsd I am in the group _cupsd and _saned. /etc/sane.d/dll.conf is edited and I did add hpaio line to be able to
use scanner.  /etc/hp/hp.conf is unedited.

hp-setup utility exits with the error that is unable to communicate to the printer.

The printer works like a charm if I live ulpt driver in the kernel and use ppd from the foomatic-db (essentially if I use hpias. I installed Ubuntu 7.10 to see if the HPLIP has problems with the particular model but the printer and scanner are fully functional. I do know that ugen driver is capable of handling scanners but I am really curious if
anybody got HPLIP fully functional.

The all-in-one is directly connected. No USB hubs.
Here are additional information as dmesg, hp-check.log file sane-find-scanner and similar.



# /usr/local/libexec/cups/backend/hp
direct hp "Unknown" HP printer (HPLIP)

#hp-info is
error no device found

#tail -f /var/log/messages
oko python2.5: hp-info[11445]error: No device found
oko python2.5: hp-info[11445]error:error occurred during interactive mode
error -Error occured during interactive mode

#hp-check -t

hp-check[22108]: info: :
Initializing. Please wait...
scheduler is running

1.2.7

OpenBSD oko.bagdala.net 4.3 GENERIC#675 i386

hp-check[22108]: info: :
hp-check[22108]: info: :---------------
hp-check[22108]: info: :| SYSTEM INFO |
hp-check[22108]: info: :---------------
hp-check[22108]: info: :
hp-check[22108]: info: :Basic system information:
hp-check[22108]: info: :OpenBSD oko.bagdala.net 4.3 GENERIC#675 i386
hp-check[22108]: info: :
hp-check[22108]: info: :Distribution:
hp-check[22108]: info: :unknown 0.0
hp-check[22108]: info: :
HPOJ running?
hp-check[22108]: info: :No, HPOJ is not running (OK).
hp-check[22108]: info: :
hp-check[22108]: info: :Checking Python version...
hp-check[22108]: info: :OK, version 2.5.2 installed
hp-check[22108]: info: :
hp-check[22108]: info: :Checking PyQt version...
error: NOT FOUND OR FAILED TO LOAD!
hp-check[22108]: info: :
hp-check[22108]: info: :Checking SIP version...
error: SIP not installed or version not found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for CUPS...
hp-check[22108]: info: :Status: scheduler is running
hp-check[22108]: info: :Version: 1.2.7
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for Reportlab...
hp-check[22108]: info: :OK, version >= 2.0
hp-check[22108]: info: :
hp-check[22108]: info: :----------------
hp-check[22108]: info: :| DEPENDENCIES |
hp-check[22108]: info: :----------------
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libtool - Library building support services...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: libusb - USB library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: ppdev - Parallel port support kernel module.... warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: PyQt - Qt interface for Python... warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: python-devel - Python development files...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: SANE - Scanning library...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :----------------------
hp-check[22108]: info: :| HPLIP INSTALLATION |
hp-check[22108]: info: :----------------------
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :Currently installed HPLIP version...
hp-check[22108]: info: :HPLIP 2.7.10 currently installed in '/usr/local/share/hplip'.
hp-check[22108]: info: :
hp-check[22108]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[22108]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.7.10

[dirs]
home=/usr/local/share/hplip
run=/var/run
ppd=/usr/local/share/foomatic/db/source/PPD/HP
ppdbase=/usr/local/share/foomatic/db/source/PPD
doc=/usr/local/share/doc/hplip
icon=/usr/local/share/applications
cupsbackend=/usr/local/libexec/cups/backend
foomatic=/usr/local/share/foomatic

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=no
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=no
foomatic-ppd-install=yes
internal-tag=2.7.10.11

hp-check[22108]: info: :
hp-check[22108]: info: :----------------------
hp-check[22108]: info: :| INSTALLED PRINTERS |
hp-check[22108]: info: :----------------------
hp-check[22108]: info: :
hp-check[22108]: info: :
warning: No queues found.
hp-check[22108]: info: :
hp-check[22108]: info: :----------------------
hp-check[22108]: info: :| SANE CONFIGURATION |
hp-check[22108]: info: :----------------------
hp-check[22108]: info: :
hp-check[22108]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[22108]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking output of 'scanimage -L'...
hp-check[22108]: info: :
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

hp-check[22108]: info: :
hp-check[22108]: info: :---------------------
hp-check[22108]: info: :| PYTHON EXTENSIONS |
hp-check[22108]: info: :---------------------
hp-check[22108]: info: :
hp-check[22108]: info: :Checking 'cupsext' CUPS extension...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking 'pcardext' Photocard extension...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking 'hpmudext' I/O extension...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :Checking 'scanext' SANE scanning extension...
hp-check[22108]: info: :OK, found.
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :-----------------
hp-check[22108]: info: :| USB I/O SETUP |
hp-check[22108]: info: :-----------------
hp-check[22108]: info: :
hp-check[22108]: info: :
hp-check[22108]: info: :-----------
hp-check[22108]: info: :| SUMMARY |
hp-check[22108]: info: :-----------
hp-check[22108]: info: :
error: 4 errors and/or warnings.
hp-check[22108]: info: :
hp-check[22108]: info: :Please refer to the installation instructions at:
hp-check[22108]: info: :http://hplip.sourceforge.net/install/index.html


 # sane-find-scanner will now attempt to detect your scanner. If the
 # result is different from what you expected, first make sure your
 # scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
 # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [HP], product=0x5d11 [Photosmart C5200 series]) at libusb:/dev/usb0:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be supported by
 # SANE. Try scanimage -L and read the backend's manpage.

 # Not checking for parallel port scanners.

 # Most Scanners connected to the parallel port or other proprietary ports
 # can't be detected by this program.


OpenBSD 4.3-beta (GENERIC) #675: Wed Feb 27 12:32:17 MST 2008
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1.80GHz ("GenuineIntel" 686-class) 1.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem = 535883776 (511MB)
avail mem = 510115840 (486MB)
User Kernel Config
UKC> disable umass
353 umass* disabled
UKC> disabme\^H \^H\^H \^Hle\^H \^H\^H \^H\^H \^H\^H \^Hable ulpt
352 ulpt* disabled
UKC> di\^H \^H\^H \^Hquit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/01/02, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (61 entries)
bios0: vendor Dell Computer Corporation version "A03" date 03/01/2002
bios0: Dell Computer Corporation OptiPlex GX240
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfba20/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x03
agp0 at pchb0: aperture at 0xf0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage 128 Pro TF" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x12
pci2 at ppb1 bus 2
cbb0 at pci2 dev 7 function 0 "TI PCI1225 CardBus" rev 0x01: irq 11
cbb1 at pci2 dev 7 function 1 "TI PCI1225 CardBus" rev 0x01: irq 10
xl0 at pci2 dev 12 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11, address 00:06:5b:b0:ba:2b
exphy0 at xl0 phy 24: 3Com internal media interface
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x10, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x12: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x12: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLP AS10.2>
wd0: 16-sector PIO, LBA, 9797MB, 20066251 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
sd0 at scsibus0 targ 0 lun 0: <IOMEGA, ZIP 250, 42.S> SCSI0 0/direct removable
sd0: drive offline
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
sd0(pciide0:0:1): using PIO mode 3, Ultra-DMA mode 2
atapiscsi1 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets
cd0 at scsibus1 targ 0 lun 0: <ATAPI, DVD A DH20A4P, 9P57> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x12: irq 11
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x12: irq 10
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC133CL3
spdmem1 at iic0 addr 0x51: 256MB SDRAM non-parity PC133CL3
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x12: irq 9
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x12: irq 10, ICH2 AC97
ac97: codec id 0x41445360 (Analog Devices AD1885)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
biomask ef65 netmask ef65 ttymask ffe7
mtrr: Pentium Pro MTRR support
ugen0 at uhub0 port 2 "HP Photosmart C5200 series" rev 2.00/1.00 addr 2
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
lpt0: out of paper

Reply via email to