[sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3

Jaeger, Gerhard gerhard@gjaeger.de
Fri, 9 Jan 2004 09:57:50 +0100


Hi,

I already got this report and check it here on my box...

Ciao,
  Gerhard

On Freitag, 9. Januar 2004 09:31, Mattias Ellert wrote:
> Noah Daniels wrote:
> > Hi,
> >
> > I'm still having the same problem with the plustek backend that several
> > people have reported, even using this latest build of the various SANE
> > packages.
> >
> > Basically, sane-find-scanner finds the scanner, but scanimage -L does
> > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner
> > DOES start working, and scans a partial low-res image before hanging. I
> > know this behavior has been reported before, by Henrik Rintala.
> >
> > I can provide a debug log if anyone's interested... I'd love to be able
> > to get this working (printing to a Canoscan 650).
> >
> > thanks!
> >
> > --
> > Noah Daniels
>
> Using the latest version of libusb from CVS (or the binary packages from
> 2004-01-05) has been reported to fix the problem that scanimage -L does
> not see the scanner unless the DEBUG environment is used.
>
> The following gdb log of the state of scanimage at the time it freezes
> after a scan was provided by a user having a Canon N670U scanner that
> uses the Plustek backend on MacOS X.
>
> To me it looks like the reader process has finished and is waiting to be
> killed, but the main process is still trying to read from it.
>
> Note that the patch in the bug report
> https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id
>=1308&atid=410366
>
> has been applied here, in order to avoid calling pthread_cancel which is
> broken on MacOS X.
>
> 	Mattias