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

Steven King stevenking66 at yahoo.co.uk
Sun Jan 26 14:14:00 GMT 2003


Hello

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

It seems like a very precise problem, so I hope someone can easily pinpoint 
it:

I do a scan preview, and this works well. Then I do an actual scan, and this 
fails. By "fails", I mean: the scanner jolts a bit and after a while I get 
"usb_control/bulk_msg: timeout" in my console output. I have to restart linux 
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 
work. 

(b) I can do as many actual scans as I like, one after the other - they all 
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 
quite true. It now happens 100% of the time; before it was a very occasional 
problem. 

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 twice: once as 
/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 do not 
have, and some are quite large to download, so I do not want to use them if I 
can avoid it)

Any clues, please?

Thanks

Steve




More information about the sane-devel mailing list