Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 09:36:50 -0600
From:      Steve Randall <srandall52@gmail.com>
To:        eculp <eculp@encontacto.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: The new cups ports seem to not recognize usb printers	on FreeBSD 7.2-STABLE
Message-ID:  <20091205093650.6439cec5@locust.local>
In-Reply-To: <20091205074138.11126jd79g8tg0gs@econet.encontacto.net>
References:  <20091202084306.121847d0zp3fztwk@econet.encontacto.net> <20091202084306.121847d0zp3fztwk@econet.encontacto.net> <20091204124910.11215lzimo1iaagw@econet.encontacto.net> <otHhXjzvvd@dmeyer.dinoex.sub.org> <4B19FACE.7000102@brianwhalen.net> <20091205074138.11126jd79g8tg0gs@econet.encontacto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 05 Dec 2009 07:41:38 -0600
eculp <eculp@encontacto.net> wrote:

> Quoting "Brian W." <brian@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091205093650.6439cec5>