Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2010 14:47:40 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: SANE vs USB scanner on 8.0
Message-ID:  <201002051447.51340.doconnor@gsoft.com.au>
In-Reply-To: <200910291347.10390.hselasky@c2i.net>
References:  <200909282240.53802.doconnor@gsoft.com.au> <200910292313.24636.doconnor@gsoft.com.au> <200910291347.10390.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



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