From owner-freebsd-usb@FreeBSD.ORG Thu Oct 29 11:06:01 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 143BE1065679 for ; Thu, 29 Oct 2009 11:06:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF5C8FC19 for ; Thu, 29 Oct 2009 11:06:00 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=v3iADf_x9A3m7LEzgA0A:9 a=ShA53ilT-lHHhj1SgYcA:7 a=2xB3XFiu29bAZoNv8MjV1FQCwe8A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1226593336; Thu, 29 Oct 2009 12:05:58 +0100 From: Hans Petter Selasky To: "Daniel O'Connor" Date: Thu, 29 Oct 2009 12:05:05 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200909282240.53802.doconnor@gsoft.com.au> <200909302341.40232.doconnor@gsoft.com.au> <200910291426.06538.doconnor@gsoft.com.au> In-Reply-To: <200910291426.06538.doconnor@gsoft.com.au> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910291205.05757.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: SANE vs USB scanner on 8.0 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: Thu, 29 Oct 2009 11:06:01 -0000 On Thursday 29 October 2009 04:55:53 Daniel O'Connor wrote: > On Wed, 30 Sep 2009, Daniel O'Connor wrote: > > On Mon, 28 Sep 2009, Hans Petter Selasky wrote: > > > - if (sscanf(dev, "libusb:%d:%d", &busnum, &devnum) != 2) > > > + if ((sscanf(dev, "libusb:%d:%d", &busnum, &devnum) != 2) && > > > + (sscanf(dev, "libusb:/dev/usb:ugen%d.%d", &busnum, > > > &devnum) != 2)) { > > > DBG (DL_MAJOR_ERROR, "%s: could not parse device > > > string: %s\n", me, strerror(errno)); > > > return 0; > > > > > > If it works, get the patch sent to the sane developers. > > > > Unfortunately no (I reworked it to match the path it uses) and now it > > segfaults. I rebuilt sane with debugging (is there some way to make > > libtool not strip on install? It's so tedious manually editing > > makefiles to remove -s..) as well as libusb. > > Have you had a chance to look at this? :) > > Thanks. > > PS I'm not subscribed to usb@ so perhaps I missed a reply. No. Please file a bug-report on the sane mailing list. --HPS