From owner-freebsd-questions@FreeBSD.ORG Wed Mar 26 19:55:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF167106566C for ; Wed, 26 Mar 2008 19:55:31 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp-gs.math.arizona.edu (math051.cs.arizona.edu [150.135.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id D00BE8FC1E for ; Wed, 26 Mar 2008 19:55:31 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp-gs.math.arizona.edu with local-bsmtp (Exim 4.63) (envelope-from ) id 1Jebic-0000YS-57 for freebsd-questions@freebsd.org; Wed, 26 Mar 2008 12:55:31 -0700 Received: from 71-220-166-120.tcsn.qwest.net ([71.220.166.120] helo=.domain.actdsltmp) by smtp-gs.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JebiW-0000Y9-BT; Wed, 26 Mar 2008 12:55:24 -0700 Message-ID: <47EAAA29.5070708@math.arizona.edu> Date: Wed, 26 Mar 2008 12:55:21 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.6 (X11/20070916) MIME-Version: 1.0 To: Isaac Mushinsky References: <200803260021.12249.itz@mushinsky.net> <200803260921.19650.itz@mushinsky.net> In-Reply-To: <200803260921.19650.itz@mushinsky.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -2.1 (--) Cc: freebsd-questions@freebsd.org Subject: Re: hplip setup problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 19:55:32 -0000 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.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. > > 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: 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-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >