From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 05:14:27 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD955106564A for ; Thu, 27 Mar 2008 05:14:27 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp224.math.arizona.edu (smtp224.math.arizona.edu [128.196.224.202]) by mx1.freebsd.org (Postfix) with ESMTP id AB5B68FC24 for ; Thu, 27 Mar 2008 05:14:27 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.63) (envelope-from ) id 1JekRW-00083U-BC for questions@freebsd.org; Wed, 26 Mar 2008 22:14:27 -0700 Received: from 71-220-166-120.tcsn.qwest.net ([71.220.166.120] helo=.domain.actdsltmp) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JekRR-00083B-OM; Wed, 26 Mar 2008 22:14:22 -0700 Message-ID: <47EB2D28.8050700@math.arizona.edu> Date: Wed, 26 Mar 2008 22:14:16 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.6 (X11/20070916) MIME-Version: 1.0 To: Isaac Mushinsky , questions@freebsd.org References: <200803260021.12249.itz@mushinsky.net> <200803262215.14727.itz@mushinsky.net> <47EB150E.6080007@math.arizona.edu> <200803270014.47726.itz@mushinsky.net> In-Reply-To: <200803270014.47726.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: -1.6 (-) Cc: 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: Thu, 27 Mar 2008 05:14:27 -0000 Isaac Mushinsky wrote: > On Wednesday 26 March 2008 23:31:26 Predrag Punosevac wrote: > >> 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" >>>> >>> final piece of information: sane cannot open the HP all-in-one as a >>> scanner with same error (getting serial id). However, my Nikon LS40-ED (a >>> 35mm film scanner) works fine. So the problem is apparently not my >>> installation or libusb. >>> >> I would not bet my life on it. There are two ways on which sane-backend >> talk to scanners. Libusb is one of the ways. >> I have two Epson scanners. One of them does use libusb one of them >> doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb >> you have to remove uscanner driver from the kernel in order to use it. >> >> Cheers, >> Predrag >> >> >>> ~> 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=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at >>> libusb:/dev/usb2:/dev/ugen1 >>> 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. >>> >>> # You may want to run this program as root to find all devices. Once >>> you # found the scanner devices, be sure to adjust access permissions as >>> # necessary. >>> >>> The Nikon scanner works, the HP device fails to return serial id as >>> above. _______________________________________________ >>> 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" >>> > > I have a spare partition, so when I have the time I'll try to install linux on > it and see. This printer is listed as supported and 'working perfectly' on > linuxprinting.org > > Also, I loaded ulpt and it is able to talk to the printer. > That is the whole point of the discussion. HPLIP is written for Linux and at least my experience with HPLIP on Ubuntu you just plug things and they work. So the problem is definitely not in HPLIP but in configuration and possibly FreeBSD drivers. Using Ubuntu will also not help you with FreeBSD configuration. Cheers, Predrag P. S. One way of approaching the problem is to attach that all-in-one device on Linux machine and use it on your FreeBSD machine via the network. > _______________________________________________ > 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" >