Subject: Re: ioctls for dev/usb/uscanner.c
To: None <brook@biology.nmsu.edu>
From: Charles M. Hannum <abuse@spamalicious.com>
List: current-users
Date: 06/23/2004 21:34:43
On Wednesday 23 June 2004 20:23, brook@biology.nmsu.edu wrote:
> Nathan J. Williams writes:
>  > Well, it's duplicating what ugen does. The man page for uscanner(4)
>  > says that it's for compatibility with a Linux driver, but the Linux
>  > folks punted it ages ago (and it's been suggested that we follow
>  > along). So I would suggest not putting more resources into anything
>  > but ensuring that we can punt it as well. One such resource would be
>  > using your scanner with ugen(4) instead uscanner(4) and confirming
>  > that it works.
>
> Yes, there are two drivers that purport to do the same thing.  In
> fact, though, I started by trying ugen and libusb.  That does not work
> for this scanner.  For more details, see my recent posts to the SANE
> mailing list.  Indeed, there has been a long discussion on the libusb
> mailing list about various issues with timeouts and so on.  The
> problem I had with ugen/libusb was that the communication protocol
> would not complete due to timeouts.  Thus, I think this issue is
> rather fundamental to libusb and may not get resolved soon, as no
> clear solution is emerging.

Please update your libusb from -current pkgsrc and try it again.  I fixed an 
important bug yesterday (which was also causing "timeouts" with PTP cameras 
and gphoto).