List Info

Thread: hplip setup problems




hplip setup problems
country flaguser name
United States
2008-03-25 23:21:12
I am close to assasinating my HP Photosmart C4280 in
frustration.

1. This is an all-in-one device. (I did not try the scanner
setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not
kld-loaded. 
3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs 
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip
distribution.

hpssd, cups started in the order needed. hp-setup detects
the printer, and then says 'Unable to create queue'. CUPS
web interface actually adds the printer, but then cannot
print test page to it. cups user runs hpssd (I tried root
too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
get_string_descriptor -5: Input/output error
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid
serial id string ret=-5

Here is all relevant output:
http://omsk.m
ushinsky.net/hplip-trouble

Any help is appreciated. Thanks.


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-25 23:38:37
Isaac Mushinsky wrote:
> I am close to assasinating my HP Photosmart C4280 in
frustration.
>
> 1. This is an all-in-one device. (I did not try the
scanner setup yet)
> 2. ulpt, umass, uscanner modules are not in kernel and
not kld-loaded. 
> 3. Machine is FreeBSD 7-stable/amd64.
> 4. hplip is 2.8.2
>
> $ usbdevs 
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>  addr 2: Photosmart C4200 series, HP
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>
> There is a ppd file for these series with the hplip
distribution.
>
> hpssd, cups started in the order needed. hp-setup
detects the printer, and then says 'Unable to create
queue'.
Do you have correct permissions on device nodes?



>  CUPS web interface actually adds the printer, but then
cannot print test page to it. cups user runs hpssd (I tried
root too).
>
> /var/log/messages has:
> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135:
unable get_string_descriptor -5: Input/output error
> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951:
invalid serial id string ret=-5
>
> Here is all relevant output:
> http://omsk.m
ushinsky.net/hplip-trouble
>
> Any help is appreciated. Thanks.
>
>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>   

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-25 23:56:10
> Do you have correct permissions on device nodes?
I think so, see the lsdevs output at the link provided. The
permissions are 
even more liberal; I'll change them back when the problem is
fixed.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 01:01:02
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
> I am close to assasinating my HP Photosmart C4280 in
frustration.
>
> 1. This is an all-in-one device. (I did not try the
scanner setup yet)
> 2. ulpt, umass, uscanner modules are not in kernel and
not kld-loaded.
> 3. Machine is FreeBSD 7-stable/amd64.
> 4. hplip is 2.8.2
>
> $ usbdevs
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>  addr 2: Photosmart C4200 series, HP
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>
> There is a ppd file for these series with the hplip
distribution.
>
> hpssd, cups started in the order needed. hp-setup
detects the printer, and
> then says 'Unable to create queue'. CUPS web interface
actually adds the
> printer, but then cannot print test page to it. cups
user runs hpssd (I
> tried root too).
>
> /var/log/messages has:
> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135:
unable
> get_string_descriptor -5: Input/output error Mar 25
23:57:56 omsk python:
> io/hpmud/musb.c 1951: invalid serial id string ret=-5
>
> Here is all relevant output:
> http://omsk.m
ushinsky.net/hplip-trouble
>
> Any help is appreciated. Thanks.
>

Here are debug msgs from libusb:

usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fffffffdea0 8 1000
usb_control_msg: 128 6 512 0 0x800d80100 124 1000
usb_control_msg: 128 6 770 1033 0x7fffffffde10 255 5000
usb_control_msg: 128 6 771 1033 0x7fffffffde10 255 5000
USB error: error sending control message: Input/output
error
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0


>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribefreebsd.org"


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 01:49:52
fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:

> I am close to assasinating my HP Photosmart C4280 in
frustration.
>
> 1. This is an all-in-one device. (I did not try the
scanner setup yet)
> 2. ulpt, umass, uscanner modules are not in kernel and
not kld-loaded.

So far as I can determine, there is no reason to avoid
uscanner in
the kernel --- uscanner does not/should not grab the scanner
function
of your all-in-one.  It should then be possible to attach
your single
function scanner with sane --- although it is sensible to
get hplip up
without that complication first.


> 3. Machine is FreeBSD 7-stable/amd64.
> 4. hplip is 2.8.2
>
> $ usbdevs
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
> addr 2: Photosmart C4200 series, HP
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>
> There is a ppd file for these series with the hplip
distribution.
>
> hpssd, cups started in the order needed. hp-setup
detects the printer, and
> then says 'Unable to create queue'. CUPS web interface
actually adds the
> printer, but then cannot print test page to it. cups
user runs hpssd (I
> tried root too).
>
> /var/log/messages has:
> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135:
unable get_string_descriptor -5: Input/output error
> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951:
invalid serial id string ret=-5
>
> Here is all relevant output:
> http://omsk.m
ushinsky.net/hplip-trouble

A lot of stuff advertised here doesn't seem to be
visible/existent to lynx.

devfd.rules looks right
check group --- have you added whoever is using the printer
to group cups
                    (at least root and/or toor to print the
test page)?

since you say you cannot print the test page, I assume you
ran hp-setup from
a gui and can get into cups admin afterwards --- have you
set the printer
you defined in hp-setup as the default printer in cups
admin?

Is the printer ready (accepting jobs) according to cups
admin?

if your failed test pages are showing up in the job queue,
it may be
desirable to kill some of them in case you do something that
does make it
work.

> Any help is appreciated. Thanks.

That's all I can think of off the top of my head.

-- 
Lars Eighner
http://www.lars
eighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 02:04:39
On Wednesday 26 March 2008 02:49:52 you wrote:
> fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:
> > I am close to assasinating my HP Photosmart C4280
in frustration.
> >
> > 1. This is an all-in-one device. (I did not try
the scanner setup yet)
> > 2. ulpt, umass, uscanner modules are not in kernel
and not kld-loaded.
>
> So far as I can determine, there is no reason to avoid
uscanner in
> the kernel --- uscanner does not/should not grab the
scanner function
> of your all-in-one.  It should then be possible to
attach your single
> function scanner with sane --- although it is sensible
to get hplip up
> without that complication first.
>
> > 3. Machine is FreeBSD 7-stable/amd64.
> > 4. hplip is 2.8.2
> >
> > $ usbdevs
> > addr 1: UHCI root hub, Intel
> > addr 1: UHCI root hub, Intel
> > addr 1: UHCI root hub, Intel
> > addr 1: EHCI root hub, Intel
> > addr 2: Photosmart C4200 series, HP
> > addr 1: UHCI root hub, Intel
> > addr 1: UHCI root hub, Intel
> > addr 1: UHCI root hub, Intel
> > addr 1: EHCI root hub, Intel
> >
> > There is a ppd file for these series with the
hplip distribution.
> >
> > hpssd, cups started in the order needed. hp-setup
detects the printer,
> > and then says 'Unable to create queue'. CUPS web
interface actually adds
> > the printer, but then cannot print test page to
it. cups user runs hpssd
> > (I tried root too).
> >
> > /var/log/messages has:
> > Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135:
unable
> > get_string_descriptor -5: Input/output error Mar
25 23:57:56 omsk python:
> > io/hpmud/musb.c 1951: invalid serial id string
ret=-5
> >
> > Here is all relevant output:
> > http://omsk.m
ushinsky.net/hplip-trouble
>
> A lot of stuff advertised here doesn't seem to be
visible/existent to lynx.
>
> devfd.rules looks right
> check group --- have you added whoever is using the
printer to group cups
>                     (at least root and/or toor to print
the test page)?
yes
>
> since you say you cannot print the test page, I assume
you ran hp-setup
> from a gui and can get into cups admin afterwards ---
have you set the
> printer you defined in hp-setup as the default printer
in cups admin?
>
> Is the printer ready (accepting jobs) according to cups
admin?
yes, cups thinks the printer is up and  'ready', and accepts
jobs for it.

>
> if your failed test pages are showing up in the job
queue, it may be
> desirable to kill some of them in case you do something
that does make it
> work.
>
> > Any help is appreciated. Thanks.
>
> That's all I can think of off the top of my head.

I think the trouble is somewhere in usb or libusb: 
hp:/usb/Photosmart_C4200_series?serial=0 does not look
right. The libusb 
exception seems to occur while trying to obtain the 'serial
number'. Whatever 
that means -- is the device expected to provide it?


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 07:33:12
On Wednesday 26 March 2008 04:29:45 you wrote:
> Isaac Mushinsky wrote:
> > On Wednesday 26 March 2008 02:49:52 you wrote:
> >> fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:
> >>> I am close to assasinating my HP
Photosmart C4280 in frustration.
> >>>
> >>> 1. This is an all-in-one device. (I did
not try the scanner setup yet)
> >>> 2. ulpt, umass, uscanner modules are not
in kernel and not kld-loaded.
> >>
> >> So far as I can determine, there is no reason
to avoid uscanner in
> >> the kernel --- uscanner does not/should not
grab the scanner function
> >> of your all-in-one.  It should then be
possible to attach your single
> >> function scanner with sane --- although it is
sensible to get hplip up
> >> without that complication first.
> >>
> >>> 3. Machine is FreeBSD 7-stable/amd64.
> >>> 4. hplip is 2.8.2
> >>>
> >>> $ usbdevs
> >>> addr 1: UHCI root hub, Intel
> >>> addr 1: UHCI root hub, Intel
> >>> addr 1: UHCI root hub, Intel
> >>> addr 1: EHCI root hub, Intel
> >>> addr 2: Photosmart C4200 series, HP
> >>> addr 1: UHCI root hub, Intel
> >>> addr 1: UHCI root hub, Intel
> >>> addr 1: UHCI root hub, Intel
> >>> addr 1: EHCI root hub, Intel
> >>>
> >>> There is a ppd file for these series with
the hplip distribution.
> >>>
> >>> hpssd, cups started in the order needed.
hp-setup detects the printer,
> >>> and then says 'Unable to create queue'.
CUPS web interface actually
> >>> adds the printer, but then cannot print
test page to it. cups user runs
> >>> hpssd (I tried root too).
> >>>
> >>> /var/log/messages has:
> >>> Mar 25 23:57:56 omsk python:
io/hpmud/musb.c 135: unable
> >>> get_string_descriptor -5: Input/output
error Mar 25 23:57:56 omsk
> >>> python: io/hpmud/musb.c 1951: invalid
serial id string ret=-5
> >>>
> >>> Here is all relevant output:
> >>> http://omsk.m
ushinsky.net/hplip-trouble
> >>
> >> A lot of stuff advertised here doesn't seem to
be visible/existent to
> >> lynx.
> >>
> >> devfd.rules looks right
> >> check group --- have you added whoever is
using the printer to group
> >> cups (at least root and/or toor to print the
test page)?
> >
> > yes
> >
> >> since you say you cannot print the test page,
I assume you ran hp-setup
> >> from a gui and can get into cups admin
afterwards --- have you set the
> >> printer you defined in hp-setup as the default
printer in cups admin?
> >>
> >> Is the printer ready (accepting jobs)
according to cups admin?
> >
> > yes, cups thinks the printer is up and  'ready',
and accepts jobs for it.
> >
> >> if your failed test pages are showing up in
the job queue, it may be
> >> desirable to kill some of them in case you do
something that does make
> >> it work.
> >>
> >>> Any help is appreciated. Thanks.
> >>
> >> That's all I can think of off the top of my
head.
> >
> > I think the trouble is somewhere in usb or
libusb:
> > hp:/usb/Photosmart_C4200_series?serial=0 does not
look right. The libusb
> > exception seems to occur while trying to obtain
the 'serial number'.
> > Whatever that means -- is the device expected to
provide it?
>
> My understanding is that you didn't succeed to print
from that printer.
> You have to get printing function first
> before you can get scanning.
> It is easily to use your device as only printer if you
live ulpt driver
> inside the kernel but ugen driver is used to
communicate and give you
> information as the ink level for instance. If you live
ulpt driver you
> will not be able to scan
> libusb is used to communicate with the scanner. That is
one of two ways
> that scanners talk to kernel.
>
>
> Could you give me the output of
>
All of these things I posted on http://omsk.m
ushinsky.net/hplip-trouble
>
> # /usr/local/libexec/cups/backend/hp  (make sure you
have the right path
> this is mine on OpenBSD 4.3 current)
You already saw that: doesn't hp-setup call it? Added it to
exhibit page too:

$  /usr/local/libexec/cups/backend/hp
usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fffffff8600 8 1000
usb_control_msg: 128 6 512 0 0x802213080 124 1000
usb_control_msg: 128 6 770 1033 0x7fffffff8570 255 5000
usb_control_msg: 128 6 771 1033 0x7fffffff8570 255 5000
USB error: error sending control message: Input/output
error
direct hp:/usb/Photosmart_C4200_series?serial=0 "HP
Photosmart C4200 
series" "HP Photosmart C4200 series USB 0
HPLIP" "MFG:HP;MDL:Photosmart C4200 
series;CLS:PRINTER;DES:Photosmart C4200 series;SN:;"
You have new mail in /var/mail/root

>
> If you get something like
> direct hp "Unknown" HP printer
(*HPLIP*)"
>
> means that ugen driver cannot get VedorName and Product
ID
>
>  Give me also outputs of
>
> #hp-info
>
~> hp-info

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

Copyright (c) 2001-7 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.

Using device: hp:/usb/Photosmart_C4200_series?serial=0

hp:/usb/Photosmart_C4200_series?serial=0

error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0
error: Error opening device (Device not found). Exiting.

> and
>
> #hp-check -t

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

Copyright (c) 2001-7 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode
before compiling 
the HPLIP supplied tarball (.tar.gz or .run) to determine if
the proper 
dependencies are
installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to
determine if a distro 
supplied package (.deb, .rpm, etc) or an already built HPLIP
supplied tarball 
has the proper
dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both)
(Default): This mode 
will check both of the above cases (both compile- and
run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid ppd_dir value: None

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

Basic system information:
FreeBSD omsk.mushinsky.net 7.0-STABLE FreeBSD 7.0-STABLE #5:
Mon Mar 17 
22:20:23 EDT 2008     roottomsk.mushinsky.net:/usr/obj/usr/src/sys/K20080316  
amd64

Distribution:
unknown 0.0

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

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

Checking SIP version...
OK, Version 4.7.4 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.3.6


------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run
hp-check with the -c 
parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run
hp-check with the -r 
parameter (ie, hp-check -r).

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

Checking for dependency: cups-ddk - CUPS driver development
kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY
dependency. Some HPLIP 
functionality may not function properly.

Checking for dependency: cups-devel- Common Unix Printing
System development 
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
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: GhostScript - PostScript and PDF
language interpreter 
and previewer...
OK, found.

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

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

Checking for dependency: libnetsnmp-devel - SNMP networking
library 
development files...
error: NOT FOUND! 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! This is a REQUIRED dependency. Please make
sure that this 
dependency is installed before installing or running HPLIP.

Checking for dependency: libtool - Library building support
services...
OK, found.

Checking for dependency: libusb - USB library...
error: NOT FOUND! 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! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
sure that this dependency is installed before installing or
running HPLIP.

Checking for dependency: PIL - Python Imaging Library
(required for 
commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY
dependency. Some HPLIP 
functionality may not function properly.

Checking for dependency: ppdev - Parallel port support
kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY
dependency. Please make sure 
that this dependency is installed before installing or
running HPLIP.

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

Checking for dependency: python-devel - Python development
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
sure that this dependency is installed before installing or
running HPLIP.

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

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

Checking for dependency: Reportlab - PDF library for
Python...
OK, found.

Checking for dependency: SANE - Scanning library...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY
dependency. Please make sure 
that this dependency is installed before installing or
running HPLIP.

Checking for dependency: SANE - Scanning library development
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
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: xsane - Graphical scanner frontend
for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


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

Current contents of '/usr/local/etc/hp/hplip.conf' file:
# 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.8.2

[dirs]
home=/usr/local/share/hplip
run=/var/run
ppd=/usr/local/share/ppd/HP
ppdbase=/usr/local/share/ppd
doc=/usr/local/share/doc/hplip-2.8.2
icon=/usr/local/share/applications
cupsbackend=/usr/local/libexec/cups/backend
cupsfilter=/usr/local/libexec/cups/filter
drv=/usr/local/libexec/cups/driver

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


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                                Model
  ---------------------------------------- 
----------------------------------
  hp:/usb/Photosmart_C4200_series?serial=0  HP Photosmart
C4200 series

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


Photosmart_C4200
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Photosmart_C4200_series?serial=0
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0
error: Device not found


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

'hpaio' in '/usr/local/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a
Hewlett-Packard 
Photosmart_C4200_series all-in-one


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.


-----------------
| USB I/O SETUP |
-----------------


-----------
| SUMMARY |
-----------

error: 14 errors and/or warnings.

Please refer to the installation instructions at:
http:
//hplip.sourceforge.net/install/index.html

>
> Out of curiosity what is the output of
>
> #sane-find-scanner
I did not setup anything yet. But it can see the scanner:
~> sane-find-scanner

  # 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=0x5c11
[Photosmart C4200 
series]) at libusb:/dev/usb3:/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.
~
>
> > _______________________________________________
> > freebsd-questionsfreebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribefreebsd.org"


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 08:21:19
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
> I am close to assasinating my HP Photosmart C4280 in
frustration.
>
> 1. This is an all-in-one device. (I did not try the
scanner setup yet)
> 2. ulpt, umass, uscanner modules are not in kernel and
not kld-loaded.
> 3. Machine is FreeBSD 7-stable/amd64.
> 4. hplip is 2.8.2
>
> $ usbdevs
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>  addr 2: Photosmart C4200 series, HP
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: UHCI root hub, Intel
> addr 1: EHCI root hub, Intel
>
> There is a ppd file for these series with the hplip
distribution.
>
> hpssd, cups started in the order needed. hp-setup
detects the printer, and
> then says 'Unable to create queue'. CUPS web interface
actually adds the
> printer, but then cannot print test page to it. cups
user runs hpssd (I
> tried root too).
>
> /var/log/messages has:
> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135:
unable
> get_string_descriptor -5: Input/output error Mar 25
23:57:56 omsk python:
> io/hpmud/musb.c 1951: invalid serial id string ret=-5
>
> Here is all relevant output:
> http://omsk.m
ushinsky.net/hplip-trouble
>
> Any help is appreciated. Thanks.
>
>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribefreebsd.org"

What is interesting is that the failure of usb_control_msg
happens only 
when 'serial number' is requested. The function had been
called successfully 
before that.

# export USB_DEBUG=4
# hp-info

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

Copyright (c) 2001-7 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.

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fffffff5a20 8 1000
usb_control_msg: 128 6 512 0 0x800d80100 124 1000
usb_control_msg: 128 6 770 1033 0x7fffffff5990 255 5000
usb_control_msg: 128 6 771 1033 0x7fffffff5990 255 5000
USB error: error sending control message: Input/output
error
Using device: hp:/usb/Photosmart_C4200_series?serial=0

hp:/usb/Photosmart_C4200_series?serial=0

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 770 1033 0x7fffffffde60 255 5000
usb_control_msg: 128 6 771 1033 0x7fffffffde60 255 5000
USB error: error sending control message: Input/output
error
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0
error: Error opening device (Device not found). Exiting.


/var/log/messages:
Mar 26 09:17:14 omsk kernel: ugen0: <HP Photosmart C4200
series, class 0/0, 
rev 2.00/1.00, addr 2> on uhub3
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951: invalid
serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615: invalid
serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057: unable to
open 
hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Unable to
communicate with 
device (code=12): hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Error
opening device 
(Device not found). Exiting.

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 14:49:01
Isaac Mushinsky wrote:
Obviously the device can not communicate with the kernel. My
first hunch 
would be to blame on ugen driver
of BSD but look at this lines from hp-check that I copied
from you message.
You are missing slue of REQUIRED libraries.
Are you running CUPS development version. You are not
supposed to do 
that. You can try to install
each of the missing libraries by hand and then try hp-setup.
Something 
is very WRONG with your installation.
Even better. If you have a spare machine to for testing. Try
one more 
time to install things. Install firstly CUPS and
SANE-backends and then 
install HPLIP (nothing else). If you see the same output
from hp-check 
try installing
missing libraries by hand. If after all everything works I
would reports 
HPLIP port as broken as the required libraries
should be installed as dependencies.  On the positive side
SANE seems 
see the scanner. Can you scan?

Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a
Hewlett-Packard 
Photosmart_C4200_series all-in-one

found USB scanner (vendor=0x03f0 [HP], product=0x5c11
[Photosmart C4200 
series]) at libusb:/dev/usb3:/dev/ugen0



Checking for dependency: cups-devel- Common Unix Printing
System development 
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
sure that this dependency is installed before installing or
running HPLIP.


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


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

Checking for dependency: libnetsnmp-devel - SNMP networking
library 
development files...
error: NOT FOUND! 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! This is a REQUIRED dependency. Please make
sure that this 

Checking for dependency: libusb - USB library...
error: NOT FOUND! 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! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
sure that this dependency is installed before installing or
running HPLIP.
dependency is installed before installing or running HPLIP.

Checking for dependency: python-devel - Python development
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
sure that this dependency is installed before installing or
running HPLIP.






> On Wednesday 26 March 2008 04:29:45 you wrote:
>   
>> Isaac Mushinsky wrote:
>>     
>>> On Wednesday 26 March 2008 02:49:52 you wrote:
>>>       
>>>> fOn Wed, 26 Mar 2008, Isaac Mushinsky
wrote:
>>>>         
>>>>> I am close to assasinating my HP
Photosmart C4280 in frustration.
>>>>>
>>>>> 1. This is an all-in-one device. (I did
not try the scanner setup yet)
>>>>> 2. ulpt, umass, uscanner modules are
not in kernel and not kld-loaded.
>>>>>           
>>>> So far as I can determine, there is no
reason to avoid uscanner in
>>>> the kernel --- uscanner does not/should not
grab the scanner function
>>>> of your all-in-one.  It should then be
possible to attach your single
>>>> function scanner with sane --- although it
is sensible to get hplip up
>>>> without that complication first.
>>>>
>>>>         
>>>>> 3. Machine is FreeBSD 7-stable/amd64.
>>>>> 4. hplip is 2.8.2
>>>>>
>>>>> $ usbdevs
>>>>> addr 1: UHCI root hub, Intel
>>>>> addr 1: UHCI root hub, Intel
>>>>> addr 1: UHCI root hub, Intel
>>>>> addr 1: EHCI root hub, Intel
>>>>> addr 2: Photosmart C4200 series, HP
>>>>> addr 1: UHCI root hub, Intel
>>>>> addr 1: UHCI root hub, Intel
>>>>> addr 1: UHCI root hub, Intel
>>>>> addr 1: EHCI root hub, Intel
>>>>>
>>>>> There is a ppd file for these series
with the hplip distribution.
>>>>>
>>>>> hpssd, cups started in the order
needed. hp-setup detects the printer,
>>>>> and then says 'Unable to create queue'.
CUPS web interface actually
>>>>> adds the printer, but then cannot print
test page to it. cups user runs
>>>>> hpssd (I tried root too).
>>>>>
>>>>> /var/log/messages has:
>>>>> Mar 25 23:57:56 omsk python:
io/hpmud/musb.c 135: unable
>>>>> get_string_descriptor -5: Input/output
error Mar 25 23:57:56 omsk
>>>>> python: io/hpmud/musb.c 1951: invalid
serial id string ret=-5
>>>>>
>>>>> Here is all relevant output:
>>>>> http://omsk.m
ushinsky.net/hplip-trouble
>>>>>           
>>>> A lot of stuff advertised here doesn't seem
to be visible/existent to
>>>> lynx.
>>>>
>>>> devfd.rules looks right
>>>> check group --- have you added whoever is
using the printer to group
>>>> cups (at least root and/or toor to print
the test page)?
>>>>         
>>> yes
>>>
>>>       
>>>> since you say you cannot print the test
page, I assume you ran hp-setup
>>>> from a gui and can get into cups admin
afterwards --- have you set the
>>>> printer you defined in hp-setup as the
default printer in cups admin?
>>>>
>>>> Is the printer ready (accepting jobs)
according to cups admin?
>>>>         
>>> yes, cups thinks the printer is up and 
'ready', and accepts jobs for it.
>>>
>>>       
>>>> if your failed test pages are showing up in
the job queue, it may be
>>>> desirable to kill some of them in case you
do something that does make
>>>> it work.
>>>>
>>>>         
>>>>> Any help is appreciated. Thanks.
>>>>>           
>>>> That's all I can think of off the top of my
head.
>>>>         
>>> I think the trouble is somewhere in usb or
libusb:
>>> hp:/usb/Photosmart_C4200_series?serial=0 does
not look right. The libusb
>>> exception seems to occur while trying to obtain
the 'serial number'.
>>> Whatever that means -- is the device expected
to provide it?
>>>       
>> My understanding is that you didn't succeed to
print from that printer.
>> You have to get printing function first
>> before you can get scanning.
>> It is easily to use your device as only printer if
you live ulpt driver
>> inside the kernel but ugen driver is used to
communicate and give you
>> information as the ink level for instance. If you
live ulpt driver you
>> will not be able to scan
>> libusb is used to communicate with the scanner.
That is one of two ways
>> that scanners talk to kernel.
>>
>>
>> Could you give me the output of
>>
>>     
> All of these things I posted on http://omsk.m
ushinsky.net/hplip-trouble
>   
>> # /usr/local/libexec/cups/backend/hp  (make sure
you have the right path
>> this is mine on OpenBSD 4.3 current)
>>     
> You already saw that: doesn't hp-setup call it? Added
it to exhibit page too:
>
> $  /usr/local/libexec/cups/backend/hp
> usb_set_debug: Setting debugging level to 4 (on)
> usb_os_find_busses: Found /dev/usb0
> usb_os_find_busses: Found /dev/usb1
> usb_os_find_busses: Found /dev/usb2
> usb_os_find_busses: Found /dev/usb3
> usb_os_find_busses: Found /dev/usb4
> usb_os_find_busses: Found /dev/usb5
> usb_os_find_busses: Found /dev/usb6
> usb_os_find_busses: Found /dev/usb7
> usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
> usb_control_msg: 128 6 512 0 0x7fffffff8600 8 1000
> usb_control_msg: 128 6 512 0 0x802213080 124 1000
> usb_control_msg: 128 6 770 1033 0x7fffffff8570 255
5000
> usb_control_msg: 128 6 771 1033 0x7fffffff8570 255
5000
> USB error: error sending control message: Input/output
error
> direct hp:/usb/Photosmart_C4200_series?serial=0
"HP Photosmart C4200 
> series" "HP Photosmart C4200 series USB 0
HPLIP" "MFG:HP;MDL:Photosmart C4200 
> series;CLS:PRINTER;DES:Photosmart C4200
series;SN:;"
> You have new mail in /var/mail/root
>
>   
>> If you get something like
>> direct hp "Unknown" HP printer
(*HPLIP*)"
>>
>> means that ugen driver cannot get VedorName and
Product ID
>>
>>  Give me also outputs of
>>
>> #hp-info
>>
>>     
> ~> hp-info
>
> HP Linux Imaging and Printing System (ver. 2.8.2)
> Device Information Utility ver. 3.4
>
> Copyright (c) 2001-7 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.
>
> Using device: hp:/usb/Photosmart_C4200_series?serial=0
>
> hp:/usb/Photosmart_C4200_series?serial=0
>
> error: Unable to communicate with device (code=12): 
> hp:/usb/Photosmart_C4200_series?serial=0
> error: Error opening device (Device not found).
Exiting.
>
>   
>> and
>>
>> #hp-check -t
>>     
>
> HP Linux Imaging and Printing System (ver. 2.8.2)
> Dependency/Version Check Utility ver. 13.0
>
> Copyright (c) 2001-7 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.
>
> Note: hp-check can be run in three modes:
> 1. Compile-time check mode (-c or --compile): Use this
mode before compiling 
> the HPLIP supplied tarball (.tar.gz or .run) to
determine if the proper 
> dependencies are
> installed to successfully compile HPLIP.
> 2. Run-time check mode (-r or --run): Use this mode to
determine if a distro 
> supplied package (.deb, .rpm, etc) or an already built
HPLIP supplied tarball 
> has the proper
> dependencies installed to successfully run.
> 3. Both compile- and run-time check mode (-b or --both)
(Default): This mode 
> will check both of the above cases (both compile- and
run-time dependencies).
>
> Saving output in log file: hp-check.log
>
> Initializing. Please wait...
> warning: Invalid ppd_dir value: None
>
> ---------------
> | SYSTEM INFO |
> ---------------
>
> Basic system information:
> FreeBSD omsk.mushinsky.net 7.0-STABLE FreeBSD
7.0-STABLE #5: Mon Mar 17 
> 22:20:23 EDT 2008     roottomsk.mushinsky.net:/usr/obj/usr/src/sys/K20080316  
> amd64
>
> Distribution:
> unknown 0.0
>
> HPOJ running?
> No, HPOJ is not running (OK).
>
> Checking Python version...
> OK, version 2.5.2 installed
>
> Checking PyQt version...
> OK, version 3.17 installed.
>
> Checking SIP version...
> OK, Version 4.7.4 installed
>
> Checking for CUPS...
> Status: scheduler is running
> Version: 1.3.6
>
>
> ------------------------------------
> | COMPILE AND RUNTIME DEPENDENCIES |
> ------------------------------------
>
> note: To check for compile-time only dependencies,
re-run hp-check with the -c 
> parameter (ie, hp-check -c).
> note: To check for run-time only dependencies, re-run
hp-check with the -r 
> parameter (ie, hp-check -r).
>
> Checking for dependency: cups - Common Unix Printing
System...
> OK, found.
>
> Checking for dependency: cups-ddk - CUPS driver
development kit...
> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY
dependency. Some HPLIP 
> functionality may not function properly.
>
> Checking for dependency: cups-devel- Common Unix
Printing System development 
> files...
> error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
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: GhostScript - PostScript and
PDF language interpreter 
> and previewer...
> OK, found.
>
> Checking for dependency: libcrypto - OpenSSL
cryptographic library...
> error: NOT FOUND! This is a REQUIRED dependency. Please
make sure that this 
> dependency is installed before installing or running
HPLIP.
>
> Checking for dependency: libjpeg - JPEG library...
> error: NOT FOUND! This is a REQUIRED dependency. Please
make sure that this 
> dependency is installed before installing or running
HPLIP.
>
> Checking for dependency: libnetsnmp-devel - SNMP
networking library 
> development files...
> error: NOT FOUND! 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! This is a REQUIRED dependency. Please
make sure that this 
> dependency is installed before installing or running
HPLIP.
>
> Checking for dependency: libtool - Library building
support services...
> OK, found.
>
> Checking for dependency: libusb - USB library...
> error: NOT FOUND! 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! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
> sure that this dependency is installed before
installing or running HPLIP.
>
> Checking for dependency: PIL - Python Imaging Library
(required for 
> commandline scanning with hp-scan)...
> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY
dependency. Some HPLIP 
> functionality may not function properly.
>
> Checking for dependency: ppdev - Parallel port support
kernel module....
> error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY
dependency. Please make sure 
> that this dependency is installed before installing or
running HPLIP.
>
> Checking for dependency: PyQt - Qt interface for
Python...
> OK, found.
>
> Checking for dependency: python-devel - Python
development files...
> error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
dependency. Please make 
> sure that this dependency is installed before
installing or running HPLIP.
>
> Checking for dependency: Python 2.3 or greater -
Required for fax 
> functionality...
> OK, found.
>
> Checking for dependency: Python 2.2 or greater - Python
programming 
> language...
> OK, found.
>
> Checking for dependency: Reportlab - PDF library for
Python...
> OK, found.
>
> Checking for dependency: SANE - Scanning library...
> error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY
dependency. Please make sure 
> that this dependency is installed before installing or
running HPLIP.
>
> Checking for dependency: SANE - Scanning library
development files...
> error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY
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: xsane - Graphical scanner
frontend for SANE...
> OK, found.
>
>
> ----------------------
> | HPLIP INSTALLATION |
> ----------------------
>
>
> Currently installed HPLIP version...
> HPLIP 2.8.2 currently installed in
'/usr/local/share/hplip'.
>
> Current contents of '/usr/local/etc/hp/hplip.conf'
file:
> # 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.8.2
>
> [dirs]
> home=/usr/local/share/hplip
> run=/var/run
> ppd=/usr/local/share/ppd/HP
> ppdbase=/usr/local/share/ppd
> doc=/usr/local/share/doc/hplip-2.8.2
> icon=/usr/local/share/applications
> cupsbackend=/usr/local/libexec/cups/backend
> cupsfilter=/usr/local/libexec/cups/filter
> drv=/usr/local/libexec/cups/driver
>
> # Following values are determined at configure time and
cannot be changed.
> [configure]
> network-build=yes
> pp-build=no
> gui-build=yes
> scanner-build=yes
> fax-build=yes
> cups11-build=no
> doc-build=yes
> shadow-build=no
> foomatic-drv-install=yes
> foomatic-ppd-install=yes
> foomatic-rip-hplip-install=yes
> internal-tag=2.8.2.10
>
>
> --------------------------
> | DISCOVERED USB DEVICES |
> --------------------------
>
>   Device URI                                Model
>   ---------------------------------------- 
----------------------------------
>   hp:/usb/Photosmart_C4200_series?serial=0  HP
Photosmart C4200 series
>
> ---------------------------------
> | INSTALLED CUPS PRINTER QUEUES |
> ---------------------------------
>
>
> Photosmart_C4200
> ----------------
> Type: Printer
> Installed in HPLIP?: Yes, using the hp: CUPS backend.
> Device URI: hp:/usb/Photosmart_C4200_series?serial=0
> error: Unable to communicate with device (code=12): 
> hp:/usb/Photosmart_C4200_series?serial=0
> error: Device not found
>
>
> ----------------------
> | SANE CONFIGURATION |
> ----------------------
>
> 'hpaio' in '/usr/local/etc/sane.d/dll.conf'...
> OK, found. SANE backend 'hpaio' is properly set up.
>
> Checking output of 'scanimage -L'...
> device `hpaio:/usb/Photosmart_C4200_series?serial=0' is
a Hewlett-Packard 
> Photosmart_C4200_series all-in-one
>
>
> ---------------------
> | PYTHON EXTENSIONS |
> ---------------------
>
> Checking 'cupsext' CUPS extension...
> OK, found.
>
> Checking 'pcardext' Photocard extension...
> OK, found.
>
> Checking 'hpmudext' I/O extension...
> OK, found.
>
> Checking 'scanext' SANE scanning extension...
> OK, found.
>
>
> -----------------
> | USB I/O SETUP |
> -----------------
>
>
> -----------
> | SUMMARY |
> -----------
>
> error: 14 errors and/or warnings.
>
> Please refer to the installation instructions at:
> http:
//hplip.sourceforge.net/install/index.html
>
>   
>> Out of curiosity what is the output of
>>
>> #sane-find-scanner
>>     
> I did not setup anything yet. But it can see the
scanner:
> ~> sane-find-scanner
>
>   # 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=0x5c11
[Photosmart C4200 
> series]) at libusb:/dev/usb3:/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.
> ~
>   
>>>
_______________________________________________
>>> freebsd-questionsfreebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscribefreebsd.org"
>>>       
>
>
>   

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: hplip setup problems
country flaguser name
United States
2008-03-26 14:55:21
Isaac Mushinsky wrote:
> On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky
wrote:
>   
>> I am close to assasinating my HP Photosmart C4280
in frustration.
>>
>> 1. This is an all-in-one device. (I did not try the
scanner setup yet)
>> 2. ulpt, umass, uscanner modules are not in kernel
and not kld-loaded.
>> 3. Machine is FreeBSD 7-stable/amd64.
>> 4. hplip is 2.8.2
>>
>> $ usbdevs
>> addr 1: UHCI root hub, Intel
>> addr 1: UHCI root hub, Intel
>> addr 1: UHCI root hub, Intel
>> addr 1: EHCI root hub, Intel
>>  addr 2: Photosmart C4200 series, HP
>> addr 1: UHCI root hub, Intel
>> addr 1: UHCI root hub, Intel
>> addr 1: UHCI root hub, Intel
>> addr 1: EHCI root hub, Intel
>>
>> There is a ppd file for these series with the hplip
distribution.
>>
>> hpssd, cups started in the order needed. hp-setup
detects the printer, and
>> then says 'Unable to create queue'. CUPS web
interface actually adds the
>> printer, but then cannot print test page to it.
cups user runs hpssd (I
>> tried root too).
>>
>> /var/log/messages has:
>> Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135:
unable
>> get_string_descriptor -5: Input/output error Mar 25
23:57:56 omsk python:
>> io/hpmud/musb.c 1951: invalid serial id string
ret=-5
>>
>> Here is all relevant output:
>> http://omsk.m
ushinsky.net/hplip-trouble
>>
>> Any help is appreciated. Thanks.
>>
>>
>> _______________________________________________
>> freebsd-questionsfreebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribefreebsd.org"
>>     
>
> What is interesting is that the failure of
usb_control_msg happens only 
> when 'serial number' is requested. The function had
been called successfully 
> before that.
>
>   
I do not know if it has something to do with my previous
observation 
that you are missing slue of libraries?
But hp-check has to give you all REQUIRED outputs OK  before
we start 
blaming drivers. I am ready to believe that
if you have all libraries installed manually and normal CUPS
(please no 
develop version) that the things might work.

Best,
Predrag


> # export USB_DEBUG=4
> # hp-info
>
> HP Linux Imaging and Printing System (ver. 2.8.2)
> Device Information Utility ver. 3.4
>
> Copyright (c) 2001-7 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.
>
> usb_set_debug: Setting debugging level to 4 (on)
> usb_os_find_busses: Found /dev/usb0
> usb_os_find_busses: Found /dev/usb1
> usb_os_find_busses: Found /dev/usb2
> usb_os_find_busses: Found /dev/usb3
> usb_os_find_busses: Found /dev/usb4
> usb_os_find_busses: Found /dev/usb5
> usb_os_find_busses: Found /dev/usb6
> usb_os_find_busses: Found /dev/usb7
> usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
> usb_control_msg: 128 6 512 0 0x7fffffff5a20 8 1000
> usb_control_msg: 128 6 512 0 0x800d80100 124 1000
> usb_control_msg: 128 6 770 1033 0x7fffffff5990 255
5000
> usb_control_msg: 128 6 771 1033 0x7fffffff5990 255
5000
> USB error: error sending control message: Input/output
error
> Using device: hp:/usb/Photosmart_C4200_series?serial=0
>
> hp:/usb/Photosmart_C4200_series?serial=0
>
> usb_set_debug: Setting debugging level to 4 (on)
> usb_os_find_busses: Found /dev/usb0
> usb_os_find_busses: Found /dev/usb1
> usb_os_find_busses: Found /dev/usb2
> usb_os_find_busses: Found /dev/usb3
> usb_os_find_busses: Found /dev/usb4
> usb_os_find_busses: Found /dev/usb5
> usb_os_find_busses: Found /dev/usb6
> usb_os_find_busses: Found /dev/usb7
> usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
> usb_control_msg: 128 6 770 1033 0x7fffffffde60 255
5000
> usb_control_msg: 128 6 771 1033 0x7fffffffde60 255
5000
> USB error: error sending control message: Input/output
error
> error: Unable to communicate with device (code=12): 
> hp:/usb/Photosmart_C4200_series?serial=0
> error: Error opening device (Device not found).
Exiting.
>
>
> /var/log/messages:
> Mar 26 09:17:14 omsk kernel: ugen0: <HP Photosmart
C4200 series, class 0/0, 
> rev 2.00/1.00, addr 2> on uhub3
> Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135:
unable 
> get_string_descriptor -5: Input/output error
> Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951:
invalid serial id string 
> ret=-5
> Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135:
unable 
> get_string_descriptor -5: Input/output error
> Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615:
invalid serial id string 
> ret=-5
> Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057:
unable to open 
> hp:/usb/Photosmart_C4200_series?serial=0
> Mar 26 09:17:23 omsk python: hp-info[1074]: error:
Unable to communicate with 
> device (code=12):
hp:/usb/Photosmart_C4200_series?serial=0
> Mar 26 09:17:23 omsk python: hp-info[1074]: error:
Error opening device 
> (Device not found). Exiting.
>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>   

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-10] [11-20] [21]

about | contact  Other archives ( Real Estate discussion Medical topics )