HPLIP and FreeBsd

Charlie & Root rostyslav at optonline.net
Fri Mar 16 22:52:45 UTC 2007


I have HP Office Jet 4315 All -in- one(USB).
everething installed. Just one problem - Print Manager(HPlip) does not see 
this usb-printer. I'll appreciate a little help.
Thankyou.
here is some logs:
1)

ool-18bb9d56# /usr/local/share/hplip/check

HP Linux Imaging and Printing System (ver. 1.7.1)
Dependency/Version Check Utility ver. 5.2

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.


---------------
| SYSTEM INFO |
---------------

Basic system information:
FreeBSD ool-18bb9d56.dyn.optonline.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri 
Jan 12 11:05:30 UTC 2007     
root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

Detected distro (/etc/issue):
unknown 0.0

Detected distro (lsb_release):
error: lsb_release not found.

Currently installed HPLIP version...
HPLIP 1.7.1 currently installed in '/usr/local/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf

[hpiod]
# port=0 (dynamic IP port)
port=2208
[hpssd]
# port=0 (dynamic IP port)
port=2207
[dirs]
run=/var/run

[hplip]
version=1.7.1
jdprobe=0

[dirs]
home=/usr/local/share/hplip
run=/var/run
ppd=/usr/local/share/ppd/HP
doc=/usr/local/share/doc/hplip-1.7.1

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=1
pp-build=0
gui-build=1
scanner-build=1
fax-build=1
installinitd=
chkconfig=
internal-tag=1.7.1.5
home=/usr/local/share/hplip
ppd=/usr/local/share/ppd


HPLIP running?
Yes, HPLIP is running (OK).

HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, 
please remove HPOJ.

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.5.2 installed

----------------
| DEPENDENCIES |
----------------


Checking for dependency libcrypto - OpenSSL cryptographic library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency SANE - Scanning library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency GhostScript - PostScript and PDF language interpreter 
and previewer...
OK, found.

Checking for dependency libjpeg - JPEG library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency libpthread - POSIX threads library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency make - GNU make utility to maintain groups of 
programs...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency python-devel - Python development files...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency Reportlab - PDF library for Python...
error: Not found!
This is an OPTIONAL dependency. Some HPLIP functionality may not function 
properly.

Checking for dependency PyQt - Qt interface for Python...
OK, found.

Checking for dependency cups-devel- Common Unix Printing System development 
files...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency ppdev - Parallel port support kernel module....
error: Not found!
This is an OPTIONAL dependency. Some HPLIP functionality may not function 
properly.

Checking for dependency libusb - USB library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency scanimage - Shell scanning program...
OK, found.

Checking for dependency libnetsnmp-devel - SNMP networking library development 
files...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency LSB - Linux Standard Base support...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency xsane - Graphical scanner frontend for SANE...
OK, found.

Checking for dependency cups - Common Unix Printing System...
OK, found.

Checking for dependency Python 2.3 or greater - Required for fax 
functionality...
OK, found.


----------------------
| INSTALLED PRINTERS |
----------------------


hp
--
Device URI: usb:/dev/unlpt0
Installed in HPLIP? No


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in /etc/sane.d/dll.conf'...
Traceback (most recent call last):
  File "/usr/local/share/hplip/check", line 369, in ?
    f = file('/etc/sane.d/dll.conf', 'r')
IOError: [Errno 2] No such file or directory: '/etc/sane.d/dll.conf'  

2)

ool-18bb9d56# /usr/local/share/hplip/info

HP Linux Imaging and Printing System (ver. 1.7.1)
Device Information Utility ver. 3.4

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.

warning: Inrecognized URI: usb:/dev/unlpt0
error: No devices found.
error: Error occured during interactive mode. Exiting.

3)

ool-18bb9d56# /usr/local/share/hplip/probe

HP Linux Imaging and Printing System (ver. 1.7.1)
Printer Discovery Utility ver. 3.1

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.

warning: No devices found on the 'usb' bus. If this isn't the result you are 
expecting,
warning: check to make sure your devices are properly connected.

4)

ool-18bb9d56# tail -f /var/log/messages
Mar 16 18:39:21 ool-18bb9d56 python: hp-info[2638]: warning: Inrecognized URI: 
usb:/dev/unlpt0
Mar 16 18:39:21 ool-18bb9d56 python: hp-info[2638] error: No devices found.
Mar 16 18:39:21 ool-18bb9d56 python: hp-info[2638] error: Error occured during 
interactive mode. Exiting.
Mar 16 18:40:23 ool-18bb9d56 python: hp-probe[2705]: warning: No devices found 
on the 'usb' bus. If this isn't the result you are expecting,
Mar 16 18:40:23 ool-18bb9d56 python: hp-probe[2705]: warning: check to make 
sure your devices are properly connected.
Mar 16 18:40:36 ool-18bb9d56 kernel: ulpt0: HP Officejet 4300 series, rev 
2.00/1.00, addr 2, iclass 255/204
Mar 16 18:40:36 ool-18bb9d56 kernel: ulpt0: using bi-directional mode
Mar 16 18:40:51 ool-18bb9d56 python: hp-probe[2734]: warning: No devices found 
on the 'usb' bus. If this isn't the result you are expecting,
Mar 16 18:40:51 ool-18bb9d56 python: hp-probe[2734]: warning: check to make 
sure your devices are properly connected.
Mar 16 18:42:45 ool-18bb9d56 python: hp-setup[2872] error: No devices 
found.Please make sure your printer is properly connected and powered-on.

5)

ool-18bb9d56# dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3200.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf49  Stepping = 9
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
real memory  = 535121920 (510 MB)
avail memory = 505544704 (482 MB)
ACPI APIC Table: <INTEL  D11020M >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <INTEL D11020M> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff iomem 0xfff00000-0xffffffff on 
acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce 7600 GS> port 0x2000-0x207f mem 
0x31000000-0x31ffffff,0x20000000-0x2fffffff,0x30000000-0x30ffffff irq 18 at 
device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
atapci0: <ATI IXP400 SATA150 controller> port 
0x3068-0x306f,0x3084-0x3087,0x3060-0x3067,0x3080-0x3083,0x3030-0x303f mem 
0x32107600-0x321077ff irq 23 at device 17.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <ATI IXP400 SATA150 controller> port 
0x3058-0x305f,0x307c-0x307f,0x3050-0x3057,0x3078-0x307b,0x3020-0x302f mem 
0x32107400-0x321075ff irq 22 at device 18.0 on pci0
ata4: <ATA channel 0> on atapci1
ata5: <ATA channel 1> on atapci1
ohci0: <ATI SB400 USB Controller> irq 19 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <ATI SB400 USB Controller> on ohci0
usb0: USB revision 1.0
uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1: <ATI SB400 USB Controller> irq 19 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <ATI SB400 USB Controller> on ohci1
usb1: USB revision 1.0
uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0: <ATI SB400 USB 2.0 controller> irq 19 at device 19.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: waiting for BIOS to give up control
usb2: timed out waiting for BIOS
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <ATI SB400 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci2: <ATI IXP400 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3000-0x300f at device 20.1 on pci0
ata0: <ATA channel 0> on atapci2
ata1: <ATA channel 1> on atapci2
pcm0: <ATI SB450 High Definition Audio Controller> mem 0x32100000-0x32103fff 
irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0x32000000-0x320000ff 
irq 21 at device 2.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:16:76:6d:0a:5e
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 4 on 
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0x1
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: vendor 0x15ca USB Optical Mouse, rev 2.00/5.12, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounters tick every 1.000 msec
acd0: CDRW <52X24X52 CD-RW 1.06 20030129/1.06> at ata1-master UDMA33
ad3: 286168MB <Seagate ST3300620A 3.AAC> at ata1-slave UDMA100
ad8: 305245MB <Seagate ST3320620AS 3.AAE> at ata4-master SATA150
pcm0: <HDA Codec: Realtek ALC883>
pcm0: <HDA Driver Revision: 20070105_0038>
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad8s1a
cd0 at ata1 bus 0 target 0 lun 0
cd0: < 52X24X52 CD-RW 1.06> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [90367 x 2048 byte records]
ulpt0: HP Officejet 4300 series, rev 2.00/1.00, addr 2, iclass 255/204
ulpt0: using bi-directional mode



One more thing, printer by itself works in KDE, but not with HPLIP


More information about the freebsd-questions mailing list