Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 09:21:19 -0400
From:      Isaac Mushinsky <itz@mushinsky.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: hplip setup problems
Message-ID:  <200803260921.19650.itz@mushinsky.net>
In-Reply-To: <200803260021.12249.itz@mushinsky.net>
References:  <200803260021.12249.itz@mushinsky.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.mushinsky.net/hplip-trouble
>
> Any help is appreciated. Thanks.
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803260921.19650.itz>