SANE vs USB scanner on 8.0

Daniel O'Connor doconnor at gsoft.com.au
Fri Feb 5 04:18:04 UTC 2010


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:
>
>  usb_find_busses() usb_find_devices() usb_device()
>      usb_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 
how the libusb stuff works internally. I note that the pdev does not 
appear free'd but uninitialised.

However I did notice that SANE has 1.0 API support and using that does 
not trigger this problem.

Now to convince configure to pick it up by default :)

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20100205/ca9c8212/attachment.pgp


More information about the freebsd-usb mailing list