From owner-freebsd-usb@FreeBSD.ORG Thu Oct 29 12:43:36 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 575C21065670 for ; Thu, 29 Oct 2009 12:43:36 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id B07788FC12 for ; Thu, 29 Oct 2009 12:43:35 +0000 (UTC) Received: from inchoate.gsoft.com.au (ppp118-210-41-161.lns20.adl2.internode.on.net [118.210.41.161]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n9TChQXI062175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 29 Oct 2009 23:13:27 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Hans Petter Selasky Date: Thu, 29 Oct 2009 23:13:23 +1030 User-Agent: KMail/1.9.10 References: <200909282240.53802.doconnor@gsoft.com.au> <200910291426.06538.doconnor@gsoft.com.au> <200910291205.05757.hselasky@c2i.net> In-Reply-To: <200910291205.05757.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart46550957.rGgP2XCJld"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200910292313.24636.doconnor@gsoft.com.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 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 12:43:36 -0000 --nextPart46550957.rGgP2XCJld Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 29 Oct 2009, Hans Petter Selasky wrote: > 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) !=3D 2) > > > > + if ((sscanf(dev, "libusb:%d:%d", &busnum, &devnum) !=3D > > > > 2) && + (sscanf(dev, "libusb:/dev/usb:ugen%d.%d", > > > > &busnum, &devnum) !=3D 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. Hmm, but isn't the crash in libusb? (I understand that it may be possible that sane is using libusb badly=20 however!) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart46550957.rGgP2XCJld Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBK6Y3s5ZPcIHs/zowRArWQAKCZZTBAAnoXHsAIK4TWV/JLEThkxACfceGr sL/mDtwNzuxh5srOqHpFkEk= =zRGX -----END PGP SIGNATURE----- --nextPart46550957.rGgP2XCJld--