The new cups ports seem to not recognize usb printers on FreeBSD 7.2-STABLE

Steve Randall srandall52 at gmail.com
Sat Dec 5 15:36:54 UTC 2009


On Sat, 05 Dec 2009 07:41:38 -0600
eculp <eculp at encontacto.net> wrote:

> Quoting "Brian W." <brian at brianwhalen.net>:
> 
> > Dirk Meyer wrote:
> >> eculp schrieb:,
> >>
> >>
> >>> would seem that I'm going to have to upgrade all my 7.2-STABLE  
> >>> servers  to either 8.0 or 9.0 that all have usb printers that are  
> >>> being shared  by others through cups.
> >>>
> >>
> >> Please update the ports and try again.
> >> I would like to know if using libusb solves your problems.

libusb is the cause of the problem.


> 
> Thanks, Dirk.  My ports, src, kernel, lib, are completely up to date  
> on all my 7.2 machines.  Daily, I' ve been cvsuping and rebuilding all  
> for the last week.
> cvsup - make buildworld - make buildkernel - make installkernel -
> make installworld - portmaster -a
> This is in addition to having rebuild all cups related ports multiple  
> times.  If I need to do something to "use libusb",  I haven't.  maybe  
> that is the problem.

I should have thought of this sooner.

The best and final (I think) solution is to add --disable-libusb to the
configuration options in cups-base/Makefile and rebuild.

I tested this on 8.0 rather than 7, and didn't try printing, but I
verified that the USB backend sees the traditional /dev/ulptx
device rather than using libusb, so I think it will work for you.


More information about the freebsd-ports mailing list