From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 20:20:31 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 669F4106566B for ; Thu, 27 Mar 2008 20:20:31 +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 44A7E8FC27 for ; Thu, 27 Mar 2008 20:20:31 +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 1JeyaM-00029C-3s for freebsd-questions@freebsd.org; Thu, 27 Mar 2008 13:20:31 -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 1Jeya2-00028M-KL; Thu, 27 Mar 2008 13:20:10 -0700 Message-ID: <47EC0177.5070003@math.arizona.edu> Date: Thu, 27 Mar 2008 13:20:07 -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> <200803270300.27032.amistry@am-productions.biz> In-Reply-To: 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: 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: Thu, 27 Mar 2008 20:20:31 -0000 Isaac Mushinsky wrote: > Anish Mistry (the port maintainer) has answered below. It seems that this is > a printer defect after all then. I'll try to patch the code to fill in the > missing serial id with some fake string, and shall report if I get the thing > to work. > > Is the hp backend the only entry point to libusb, or should I have to patch > libusb? e.g. cups or sane apps, can they call libusb directly, or only > through hpaio backend? I would rather have a patch to hplip distribution > only, because libusb correctly throws an error code for the missing serial > id. But if some apps query the device directly, the missing serial id may be > a problem, they will all have to all be patched separately. > > > I wouldn't touch HPLIP. If something is wrong report upstream. They should patch. No you do not have to patch any applications. Look at the files usr/src/sys/dev/usb/usbdevs usr//src/sys/dev/usb/ugen.c (I think that this one needs to be patched) usr/src/sys/dev/usb/uscanner.c Cheers, OKO >> It looks like there is some problem with the C42XX printers that is >> causing the serial numbers to no be reported. I got a similar report >> about a HP Photosmart C4200 series a couple weeks ago. Unfortunately >> I'm VERY busy right now. It will be a couple of week before I can >> dive into the issue. If you do happen to find a solution, please let >> me know so I can integrate it into the port and notify others. >> Thanks, >> -- >> Anish Mistry >> amistry@am-productions.biz >> AM Productions http://am-productions.biz/ >> >> > _______________________________________________ > 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" >