[sane-devel] xane timeout if do scan after preview

Steven King stevenking66@yahoo.co.uk
Sun, 26 Jan 2003 14:14:00 +0000


Hello

I have previously had xsane etc working on my scanner, but had an acciden=
t and=20
have to do some reinstalling. (No backups - accident happened while tryin=
g to=20
get a cd writer working .... ironic really...) Now I cannot get my scanne=
r=20
working properly again.

It seems like a very precise problem, so I hope someone can easily pinpoi=
nt=20
it:

I do a scan preview, and this works well. Then I do an actual scan, and t=
his=20
fails. By "fails", I mean: the scanner jolts a bit and after a while I ge=
t=20
"usb_control/bulk_msg: timeout" in my console output. I have to restart l=
inux=20
to get the scanner available again.

So I did some experiments:

(a) I can do as many scan previews, one after the other, as I like - they=
 all=20
work.=20

(b) I can do as many actual scans as I like, one after the other - they a=
ll=20
work.

(c) I can do an actual scan followed by a preview - they both work.

So it *only* when I do a preview followed by an actual.

I have said this is a new problem since I reinstalled things. That is not=
=20
quite true. It now happens 100% of the time; before it was a very occasio=
nal=20
problem.=20

When I do sane-find-scanner, it sees my scanner, which is at /dev/usbscan=
ner.=20
(Oddly, if I do that as root, it finds my scanner twice: once as=20
/dev/usbscanner and once as /dev/usb/scanner0.)

Installation info:

The scanner is HP 2100C Scanjet
My kernel is 2.4.10-4GB
sane backends 1.0.8-5
sane-frontends 1.0.8-4
xsane 0.84-8 (after this version there are a lot of dependencies that I d=
o not=20
have, and some are quite large to download, so I do not want to use them =
if I=20
can avoid it)

Any clues, please?

Thanks

Steve