From owner-freebsd-usb@FreeBSD.ORG Sun Jul 26 18:09:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3575B106564A for ; Sun, 26 Jul 2009 18:09:59 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id A2E4C8FC1C for ; Sun, 26 Jul 2009 18:09:58 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id n6QI9rSt044062; Sun, 26 Jul 2009 20:09:53 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.3/8.14.3) with ESMTP id n6QIAVRf015271; Sun, 26 Jul 2009 20:10:31 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.3/8.14.3/Submit) id n6QIAQeb015270; Sun, 26 Jul 2009 20:10:26 +0200 (CEST) (envelope-from marc) Date: Sun, 26 Jul 2009 20:10:26 +0200 From: Marc Fonvieille To: Hans Petter Selasky Message-ID: <20090726181026.GB1223@gothic.blackend.org> References: <20090726125542.GA40587@abigail.blackend.org> <20090726131224.GA40957@abigail.blackend.org> <200907261527.36773.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200907261527.36773.hselasky@c2i.net> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.0-BETA2 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: SANE, USB image scanner and -CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 18:09:59 -0000 On Sun, Jul 26, 2009 at 03:27:36PM +0200, Hans Petter Selasky wrote: > On Sunday 26 July 2009 15:12:24 Marc Fonvieille wrote: > > On Sun, Jul 26, 2009 at 02:55:42PM +0200, Marc Fonvieille wrote: > > > Then I read the CVS logs about SANE's ports and > > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/sane-backends/Makefi > > >le seems to say that SANE is broken since removal of uscanner(8), am I > > > right? > > > > Ok, I read the Makefile, SANE is by default w/o libusb support cause > > it's broken with libusb coming with 8.X so it's normal that the scanner > > is not found. > > Is there any plan in fixing that problem before 8.0-RELEASE? > > I think this is an old error. Have you tried compiling SANE from ports with > libusb support enabled? > It's impossible cause of this Makefile part: .if (defined(WITHOUT_USB) || ${OSVERSION} > 800000) CONFIGURE_ARGS+= --disable-libusb .else .if ${OSVERSION} < 800069 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .endif .endif So SANE is built w/o libusb support even if you check the option. I tried to comment this part but the build failed on sanei_usb.c etc. I think someone with USB foo should have a look to the port. -- Marc