[sane-devel] xsane/plustek timeouts (was: xane timeout if do scan after preview)
Gerhard Jaeger
gerhard@gjaeger.de
Thu, 30 Jan 2003 09:27:54 +0100
Hi,
sorry, I didn't notice, that it might be Plustek backend related problem=
!
Well, I aggree with Henning:=20
Try and update your kernel, there are some reports that there are problem=
s
with older USB subsystem implementations, that way, that you have to repl=
ug
the scanner, when the system is up.
Next thing you should do is the debug output:
open a console and start xsane within that after setting the debug level:
SANE_DEBUG_PLUSTEK=3D20 xsane 2>log.txt
Do this in separate directory, because you will get some calibration
data files (using the latest 1.0.10-pre3)
Send me the log...
Cheers
Gerhard
On Mittwoch, 29. Januar 2003 20:04, Henning Meier-Geinitz wrote:
> Hi,
>
> On Mon, Jan 27, 2003 at 10:41:46PM +0000, Steven King wrote:
> > I've been experimenting some more. The problem is not when I scan af=
ter
> > I preview, it is if I scan after changing the scan area. My earlier
> > experiments had a small image on the flatbed, and so the scan area wa=
s
> > being amended automatically. I can scan as much as I want, but only i=
f I
> > avoid changing the scan area. Not great.. Any clues?
>
> I'm neither an xsane nor plustek expert but I'll try to give some
> general hints. I've changed the subject so maybe the maintainers find
> the message and notice the pattern of your problem.
>
> > (If this is a known problem in xsane 0.84, then I will do the upgrade=
, I
> > just don't want to do it only to find it makes no difference.)
>
> I don't think it's realted to xsane. But to make sure, you could try
> other frontends like xscanimage or quiteinsane. Or, as you proposed,
> upgrade xsane.
>
> > I do a scan preview, and this works well. Then I do an actual scan, a=
nd
> > this fails. By "fails", I mean: the scanner jolts a bit and after a w=
hile
> > I get "usb_control/bulk_msg: timeout" in my console output. I have to
> > restart linux to get the scanner available again.
>
> Power-cycling the scanner and/or removing the usb scanner module is
> not enough?
>
> > When I do sane-find-scanner, it sees my scanner, which is at
> > /dev/usbscanner. (Oddly, if I do that as root, it finds my scanner tw=
ice:
> > once as /dev/usbscanner and once as /dev/usb/scanner0.)
>
> Try "ls -l" on both device files. The'll probably have the same
> major/minor numbers (180/48) but /dev/usb/scanner0 won't have access
> permissions for your user.
>
> That's most probably not the reason for your problem.
>
> > The scanner is HP 2100C Scanjet
>
> -> plustek backend
>
> > My kernel is 2.4.10-4GB
>
> That's quite old. I haven't heard of your problem but there is a small
> chance that it's kernel related. I don't know if 2.4.10 already has
> the option read_timeout. You could just try: rmmod scanner; modprobe
> scanner read_timeout=3D120. That option sets the timeout to 120 seconds=
=2E
>
> If everything else fails, try upgrading the kernel. The latest kernel
> USB scanner driver is in Linux 2.4.21-pre4.
>
> > sane backends 1.0.8-5
>
> The current beta version is 1.0.10-pre3. You could try the new
> version, in case it's a problem of the plustek backend.
>
> > sane-frontends 1.0.8-4
>
> Doesn't matter unless you use xscanimage.
>
> > xsane 0.84-8 (after this version there are a lot of dependencies that=
I
> > do not have, and some are quite large to download, so I do not want t=
o
> > use them if I can avoid it)
> >
> > Any clues, please?
>
> Use the source code of xsane. You'll need gtk, but I guess that's
> installed anyway.
>
> For the plustek maintainer a log file may help. Use
>
> SANE_DEBUG_PLUSTEK=3D255 xsane 2>log.txt
>
> And try to reproduce the error.
>
> Bye,
> Henning
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel