From owner-freebsd-usb@FreeBSD.ORG Fri Feb 5 04:18:03 2010 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 EF646106566B for ; Fri, 5 Feb 2010 04:18:03 +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 677C98FC0A for ; Fri, 5 Feb 2010 04:18:02 +0000 (UTC) Received: from inchoate.gsoft.com.au ([203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id o154HsYD072966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 5 Feb 2010 14:47:54 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Hans Petter Selasky Date: Fri, 5 Feb 2010 14:47:40 +1030 User-Agent: KMail/1.9.10 References: <200909282240.53802.doconnor@gsoft.com.au> <200910292313.24636.doconnor@gsoft.com.au> <200910291347.10390.hselasky@c2i.net> In-Reply-To: <200910291347.10390.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2139699.qPoS04aA2m"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002051447.51340.doconnor@gsoft.com.au> X-Spam-Score: -3.64 () ALL_TRUSTED,AWL,BAYES_00 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: Fri, 05 Feb 2010 04:18:04 -0000 --nextPart2139699.qPoS04aA2m 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: > The libUSB device pointer usage in sane needs to be audited. Probably > it is best to figure out where the following functions are called: > > =A0usb_find_busses() usb_find_devices() usb_device() > =A0 =A0 =A0usb_get_busses() > > And carefully check how the libusb device handle pointers are > updated. I wasn't really up to that unfortunately :( I had a look and I couldn't see it free anything, but I am not 100% sure=20 how the libusb stuff works internally. I note that the pdev does not=20 appear free'd but uninitialised. However I did notice that SANE has 1.0 API support and using that does=20 not trigger this problem. Now to convince configure to pick it up by default :) =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 --nextPart2139699.qPoS04aA2m 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) iD8DBQBLa5vv5ZPcIHs/zowRArC9AJ4un/653Dl9vx/VHSt8mOwWgNqISACeJ9Pi G27Z+Wfgk7qggABo7XrUZtg= =6oMy -----END PGP SIGNATURE----- --nextPart2139699.qPoS04aA2m--