Date: Thu, 27 Mar 2008 13:20:07 -0700 From: Predrag Punosevac <punosevac@math.arizona.edu> To: Isaac Mushinsky <itz@mushinsky.net> Cc: freebsd-questions@freebsd.org Subject: Re: hplip setup problems Message-ID: <47EC0177.5070003@math.arizona.edu> In-Reply-To: <bbe9e35d0803270722s5034eee1j5a7271192be8d568@mail.gmail.com> References: <200803260021.12249.itz@mushinsky.net> <200803270300.27032.amistry@am-productions.biz> <bbe9e35d0803270722s5034eee1j5a7271192be8d568@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47EC0177.5070003>